@charset "utf-8";

/* ==========================================================================
   법률사무소 차민 — style.css
   Palette is lifted from the printed identity: the business card's charcoal
   ground and champagne foil, plus the logotype's blue for the symbol only.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  /* dark ground — the business card */
  --ink:        #17191D;
  --ink-2:      #1F2329;
  --ink-3:      #262B32;
  --ink-line:   #333941;

  /* champagne foil */
  --gold:       #C6A667;
  --gold-hi:    #E7D6AE;
  --gold-lo:    #8C7440;

  /* logotype blue — symbol and links only, never large fields */
  --navy:       #1B5E9E;
  --navy-hi:    #4A8FCB;

  /* light ground */
  --paper:      #F6F4F0;
  --paper-2:    #EDEAE3;
  --paper-3:    #DFDAD0;
  --paper-line: #D6D0C4;

  /* text */
  --slate:      #243C48;   /* the logotype's own colour */
  --slate-2:    #4A5A66;
  --muted:      #6E7480;
  --on-ink:     #E8E5DE;
  --on-ink-2:   #A2A8B2;
  --on-ink-3:   #767D88;

  --wrap:       1180px;
  --gutter:     clamp(1.25rem, 4vw, 2.5rem);
  --sec-y:      clamp(4.5rem, 10vw, 8.5rem);
  --radius:     2px;

  --ease:       cubic-bezier(.22, .61, .36, 1);
  --header-h:   84px;

  --f-sans:     'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
                'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif;
  --f-serif:    'Cormorant Garamond', 'Times New Roman', serif;
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.011em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

/* --------------------------------------------------------------- helpers */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 860px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: .9rem;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ------------------------------------------------------- section shells */
.sec { padding-block: var(--sec-y); }
.sec--ink { background: var(--ink); color: var(--on-ink); }
.sec--paper { background: var(--paper); }
.sec--paper2 { background: var(--paper-2); }
.sec--flush-top { padding-top: 0; }
.sec--flush-bottom { padding-bottom: 0; }

/* separates two same-ground sections without a colour change */
.sec--divided {
  position: relative;
  padding-top: clamp(3rem, 7vw, 5.5rem);
}
.sec--divided::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  margin-inline: auto;
  height: 1px;
  background: var(--ink-line);
}

/* eyebrow: a hairline, a serif index numeral, then the label */
.eyebrow {
  display: flex;
  align-items: baseline;
  gap: .85rem;
  margin-bottom: 1.5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  flex: 0 0 auto;
  width: 34px;
  height: 1px;
  background: currentColor;
  transform: translateY(-.3em);
  opacity: .7;
}
.eyebrow__no {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: .04em;
  opacity: .85;
}

.sec-title {
  font-size: clamp(1.75rem, 4.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.sec--ink .sec-title { color: #fff; }

/* A long headline in a half-width column breaks mid-phrase at the default
   size. Step it down so each line holds a complete thought. */
.sec-title--long {
  font-size: clamp(1.45rem, 3.1vw, 2.1rem);
  line-height: 1.38;
}

.sec-lead {
  margin-top: 1.35rem;
  max-width: 46ch;
  font-size: clamp(1rem, 1.6vw, 1.075rem);
  line-height: 1.85;
  color: var(--slate-2);
}
.sec--ink .sec-lead { color: var(--on-ink-2); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--paper-line);
}
.sec--ink .rule, .rule--ink { background: var(--ink-line); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #14161A;
}
.btn--gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); }

.btn--ghost-gold {
  border-color: rgba(198, 166, 103, .55);
  color: var(--gold);
}
.btn--ghost-gold:hover { border-color: var(--gold); background: rgba(198, 166, 103, .1); }

.btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn--ink:hover { background: #22262D; border-color: #22262D; }

.btn--ghost-ink {
  border-color: var(--paper-line);
  color: var(--slate);
}
.btn--ghost-ink:hover { border-color: var(--slate); background: rgba(36, 60, 72, .05); }

.btn--kakao {
  background: #FAE100;
  border-color: #FAE100;
  color: #191600;
}
.btn--kakao:hover { background: #FFEC3D; border-color: #FFEC3D; }

/* Kakao yellow shouts next to the champagne palette. On a page section the
   mark carries the recognition and the button stays quiet; the floating
   button keeps the full yellow, where being found matters more. */
.btn--kakao-quiet {
  border-color: rgba(250, 225, 0, .38);
  color: var(--on-ink);
  background: rgba(250, 225, 0, .06);
}
.btn--kakao-quiet .btn__ico { fill: #FAE100; }
.btn--kakao-quiet:hover { border-color: rgba(250, 225, 0, .8); background: rgba(250, 225, 0, .12); }

.btn__ico { flex: 0 0 auto; width: 1.05em; height: 1.05em; fill: currentColor; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.25rem;
}

/* a text link that draws its underline on hover */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--gold);
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size .35s var(--ease);
}
.tlink:hover { background-size: 100% 1px; }
/* .tlink is inline-flex and breaks running text; use this inside a sentence */
.ilink {
  font-weight: 700;
  color: var(--gold-lo);
  text-decoration: underline;
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}
.ilink:hover { color: var(--slate); }
.sec--ink .ilink { color: var(--gold); }
.sec--ink .ilink:hover { color: var(--gold-hi); }
.tlink__arrow { transition: transform .35s var(--ease); }
.tlink:hover .tlink__arrow { transform: translateX(4px); }
.tlink--slate { color: var(--slate); }

/* on a phone a half-width second button reads as a mistake, not a choice */
@media (max-width: 480px) {
  .btn-row { gap: .65rem; }
  .hero .btn-row,
  .cta .btn-row { flex-direction: column; align-items: stretch; }
  .hero .btn-row .btn,
  .cta .btn-row .btn { width: 100%; }
}

/* ---------------------------------------------------------------- header */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              backdrop-filter .35s var(--ease);
}
.hdr__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.hdr.is-stuck,
.hdr.is-solid {
  background: rgba(23, 25, 29, .92);
  border-bottom-color: var(--ink-line);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
}

.hdr__logo { flex: 0 0 auto; display: block; }
.hdr__logo img {
  height: 44px;
  width: auto;
  transition: height .35s var(--ease);
}
@media (max-width: 860px) { .hdr__logo img { height: 32px; } }

.hdr__nav { margin-left: auto; }
.hdr__list { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.hdr__link {
  position: relative;
  display: block;
  padding: .4rem 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--on-ink);
  transition: color .25s var(--ease);
}
.hdr__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.hdr__link:hover { color: #fff; }
.hdr__link:hover::after { transform: scaleX(1); }
.hdr__link[aria-current='page'] { color: var(--gold); }
.hdr__link[aria-current='page']::after { transform: scaleX(1); }

.hdr__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem 1.1rem;
  border: 1px solid rgba(198, 166, 103, .5);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: .92rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.hdr__cta:hover { background: rgba(198, 166, 103, .12); border-color: var(--gold); }
.hdr__cta svg { width: 15px; height: 15px; fill: currentColor; }

/* burger */
.hdr__burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
}
.hdr__burger span {
  display: block;
  position: relative;
  width: 22px; height: 1.5px;
  background: var(--on-ink);
  transition: background-color .2s var(--ease);
}
.hdr__burger span::before,
.hdr__burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px; height: 1.5px;
  background: var(--on-ink);
  transition: transform .3s var(--ease);
}
.hdr__burger span::before { top: -7px; }
.hdr__burger span::after  { top: 7px; }

body.nav-open .hdr__burger span { background: transparent; }
body.nav-open .hdr__burger span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .hdr__burger span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .hdr__burger { display: flex; }
  .hdr__nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin: 0;
    background: var(--ink);
    padding: 2.5rem var(--gutter) 3rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  body.nav-open .hdr__nav { opacity: 1; visibility: visible; transform: none; }
  .hdr__list { flex-direction: column; align-items: stretch; gap: 0; }
  .hdr__link {
    padding: 1.15rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    border-bottom: 1px solid var(--ink-line);
  }
  .hdr__link::after { display: none; }
  .hdr__cta { display: none; }
  .hdr__nav-foot { margin-top: 2rem; display: grid; gap: .75rem; }
}
@media (min-width: 981px) { .hdr__nav-foot { display: none; } }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  padding-top: calc(var(--header-h) + clamp(3rem, 9vw, 6.5rem));
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}

/* a faint engraved grid + one warm pool of light, both very low contrast */
.hero__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right,  rgba(198,166,103,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(198,166,103,.045) 1px, transparent 1px);
  background-size: clamp(56px, 8vw, 96px) clamp(56px, 8vw, 96px);
  mask-image: radial-gradient(120% 85% at 50% 30%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 85% at 50% 30%, #000 25%, transparent 78%);
}
.hero__glow {
  position: absolute;
  z-index: -1;
  top: -22%; left: 50%;
  width: min(1150px, 130vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle,
              rgba(27, 94, 158, .22) 0%,
              rgba(27, 94, 158, .07) 42%,
              transparent 68%);
  pointer-events: none;
}

.hero__inner { text-align: center; }

/* Hangul label: .2em is Latin tracking and sprawls at this string length */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: clamp(.6rem, 2vw, 1.1rem);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: .03em;   /* bigger type needs less tracking, not more */
  color: var(--gold);
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  flex: 0 0 auto;
  width: clamp(18px, 4vw, 48px);
  height: 1px;
  background: currentColor;
  opacity: .55;
}
/* at this size the flanking rules push the line off a phone screen */
@media (max-width: 480px) {
  .hero__eyebrow::before,
  .hero__eyebrow::after { display: none; }
}

/* --- the signature: the firm's name is the two partners' names ---------- */
.nm {
  margin-top: clamp(2rem, 5vw, 3.25rem);
}

.nm__eq {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.85rem, 2.5vw, 1.75rem);
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--on-ink-3);
}
.nm__op {
  font-family: var(--f-serif);
  font-size: 1.45em;
  font-weight: 500;
  color: var(--gold-lo);
}
.nm__key {
  font-style: normal;
  font-weight: 800;
  color: var(--gold);
}

/* the hairline that drops from the equation into the mark */
.nm__stem {
  width: 1px;
  height: clamp(1.5rem, 4vw, 2.75rem);
  margin: clamp(.6rem, 1.6vw, 1rem) auto;
  background: linear-gradient(to bottom, transparent, var(--gold-lo) 35%, var(--gold));
  transform-origin: top;
}

.nm__result {
  display: block;
  font-size: clamp(4.5rem, 16vw, 10.25rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: clamp(-.02em, .6vw, .12em);
  padding-left: clamp(0px, .6vw, .12em);   /* optical: cancel the trailing track */
  /* champagne foil, translated from the card's hot-stamped logotype */
  background-image: linear-gradient(168deg,
              var(--gold-hi) 4%, var(--gold) 34%,
              var(--gold-lo) 56%, var(--gold) 74%, var(--gold-hi) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .nm__result { color: var(--gold); }
}

.hero__wordmark {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 700;
  letter-spacing: .01em;
  color: #fff;
}
.hero__wordmark small {
  display: block;
  margin-top: .5rem;
  font-family: var(--f-serif);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--on-ink-3);
}

.hero__note {
  margin: clamp(1.5rem, 3.5vw, 2.25rem) auto 0;
  max-width: 34ch;
  font-size: clamp(.98rem, 1.7vw, 1.06rem);
  line-height: 1.85;
  color: var(--on-ink-2);
}
.hero__note b { color: var(--on-ink); font-weight: 700; }

.hero .btn-row { justify-content: center; }

/* the grounded info strip that closes the hero */
.hero__meta {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--ink-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero__meta-item {
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(.5rem, 2vw, 1.5rem);
  text-align: left;
}
.hero__meta-item + .hero__meta-item { border-left: 1px solid var(--ink-line); }
.hero__meta-k {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .85;
}
.hero__meta-v {
  display: block;
  margin-top: .5rem;
  font-size: clamp(.9rem, 1.7vw, 1.02rem);
  font-weight: 600;
  color: var(--on-ink);
  font-variant-numeric: tabular-nums;
}
.hero__meta-v small {
  display: block;
  font-size: .82em;
  font-weight: 500;
  color: var(--on-ink-3);
}
@media (max-width: 700px) {
  .hero__meta { grid-template-columns: 1fr; }
  .hero__meta-item + .hero__meta-item { border-left: 0; border-top: 1px solid var(--ink-line); }
}

/* ------------------------------------------------------- page hero (sub) */
.phero {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem));
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.phero__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right,  rgba(198,166,103,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(198,166,103,.04) 1px, transparent 1px);
  background-size: clamp(56px, 8vw, 96px) clamp(56px, 8vw, 96px);
  mask-image: radial-gradient(120% 100% at 20% 0%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 100% at 20% 0%, #000 10%, transparent 72%);
}
.phero__title {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.04em;
  color: #fff;
}
.phero__sub {
  margin-top: 1.25rem;
  max-width: 50ch;
  font-size: clamp(1rem, 1.7vw, 1.1rem);
  line-height: 1.85;
  color: var(--on-ink-2);
}
.phero__en {
  font-family: var(--f-serif);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* breadcrumb */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.4rem;
  font-size: .82rem;
  color: var(--on-ink-3);
}
.crumb a:hover { color: var(--gold); }
.crumb__sep { opacity: .5; }
.crumb [aria-current] { color: var(--on-ink-2); }

/* ------------------------------------------------------------ two-column */
.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .split--media-first > :first-child { order: 2; }
  .split--media-first > :last-child { order: 1; }
  .split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 3rem); }
}

.prose p + p { margin-top: 1.15rem; }
.prose { font-size: clamp(1rem, 1.6vw, 1.07rem); line-height: 1.9; color: var(--slate-2); }
.sec--ink .prose { color: var(--on-ink-2); }
.prose b, .prose strong { color: var(--slate); font-weight: 700; }
.sec--ink .prose b, .sec--ink .prose strong { color: var(--on-ink); }

/* a framed image with a thin champagne rule offset behind it */
.framed { position: relative; }
.framed::before {
  content: '';
  position: absolute;
  inset: clamp(-14px, -1.6vw, -22px) clamp(-14px, -1.6vw, -22px) auto auto;
  width: 42%;
  aspect-ratio: 1;
  border-top: 1px solid rgba(198, 166, 103, .45);
  border-right: 1px solid rgba(198, 166, 103, .45);
  pointer-events: none;
}
.framed img { width: 100%; }
.framed__cap {
  margin-top: 1rem;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--on-ink-3);
}
.sec--paper .framed__cap, .sec--paper2 .framed__cap { color: var(--muted); }

/* ------------------------------------------------------------- attorneys */
.atts {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 820px) { .atts { grid-template-columns: 1fr 1fr; } }

.att {
  display: flex;
  flex-direction: column;
}
.att__figure {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  border-radius: var(--radius);
}
.att__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 12%;
  filter: saturate(.94) contrast(1.02);
  transition: transform .8s var(--ease), filter .8s var(--ease);
}
.att:hover .att__figure img { transform: scale(1.028); filter: saturate(1) contrast(1.04); }
.att__figure::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(36, 60, 72, .1);
  pointer-events: none;
}

.att__role {
  margin-top: 1.6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-lo);
}
.att__name {
  margin-top: .55rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--slate);
}
.att__name em {
  font-style: normal;
  color: var(--gold-lo);
}
.att__en {
  margin-top: .3rem;
  font-family: var(--f-serif);
  font-size: .95rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.att__line {
  margin-top: 1.1rem;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--slate-2);
}

/* the attorney's own statement — set apart from the prose that follows it
   by a champagne rule rather than by another weight of the same grey */
.att__quote {
  margin-bottom: clamp(1.5rem, 3.2vw, 2.1rem);
  padding-left: clamp(1rem, 2vw, 1.4rem);
  border-left: 2px solid var(--gold);
  font-size: clamp(1.12rem, 2.3vw, 1.4rem);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: -0.03em;
  color: var(--slate);
}
.att__contact {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--paper-line);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  font-size: .9rem;
  color: var(--muted);
}
.att__contact a:hover { color: var(--slate); }
.att__contact dt { display: inline; font-weight: 700; color: var(--gold-lo); margin-right: .45rem; }
.att__contact dd { display: inline; margin: 0; }
.att__contact div { font-variant-numeric: tabular-nums; }

/* profile detail lists on attorneys.html */
.cv { display: grid; gap: clamp(1.75rem, 4vw, 2.75rem); }
@media (min-width: 720px) { .cv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cv__group { }
/* these headings carry Korean, so they get Korean tracking — the wide .16em
   used on the Latin micro-labels pulls Hangul syllables apart */
.cv__h {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding-bottom: .85rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--paper-line);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gold-lo);
}
.sec--ink .cv__h { border-bottom-color: var(--ink-line); color: var(--gold); }
.cv__h span {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .05em;
  opacity: .8;
}
.cv__list { display: grid; gap: .7rem; }

/* A long list (7+ committee posts) squeezed into one narrow grid cell wraps
   every line and leaves the neighbouring cell empty. Let it span the row and
   flow in two columns instead. */
.cv__group--wide { grid-column: 1 / -1; }
@media (min-width: 620px) {
  .cv__list--2col {
    display: block;
    columns: 2;
    column-gap: clamp(1.75rem, 3.5vw, 3rem);
  }
  .cv__list--2col li { break-inside: avoid; margin-bottom: .7rem; }
}
.cv__list li {
  position: relative;
  padding-left: 1.05rem;
  font-size: .97rem;
  line-height: 1.75;
  color: var(--slate-2);
}
.sec--ink .cv__list li { color: var(--on-ink-2); }
.cv__list li::before {
  content: '';
  position: absolute;
  left: 0; top: .78em;
  width: 4px; height: 1px;
  background: var(--gold);
  opacity: .8;
}
.cv__list b { color: var(--slate); font-weight: 700; }
.sec--ink .cv__list b { color: var(--on-ink); }
.cv__year {
  display: inline-block;
  min-width: 4.2em;
  margin-right: .35rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-weight: 600;
}
.sec--ink .cv__year { color: var(--on-ink-3); }

/* -------------------------------------------------------- practice areas */
.pgrid {
  display: grid;
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}
@media (min-width: 660px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: clamp(1.85rem, 3.4vw, 2.6rem);
  background: var(--ink);
  transition: background-color .35s var(--ease);
  overflow: hidden;
}
.pcard::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.pcard:hover { background: var(--ink-2); }
.pcard:hover::before { transform: scaleX(1); }

.pcard__no {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--gold);
  opacity: .8;
}
.pcard__h {
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.pcard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.05rem;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--on-ink-2);
}
/* a leading dot on every item, so a wrapped line never starts with a
   dangling separator the way an `li + li` divider would */
.pcard__tags li { display: flex; align-items: baseline; gap: .45rem; }
.pcard__tags li::before {
  content: '';
  flex: 0 0 auto;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .55;
  transform: translateY(-.28em);
}
.pcard__link { margin-top: auto; padding-top: .6rem; }

/* light variant used on practice.html detail blocks */
.pdetail { display: grid; gap: clamp(3rem, 7vw, 5rem); }
.pblock {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--paper-line);
}
@media (min-width: 880px) { .pblock { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); } }
.pblock__no {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--gold-lo);
}
.pblock__h {
  margin-top: .5rem;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--slate);
}
.pblock__lead { margin-top: 1rem; font-size: 1rem; line-height: 1.9; color: var(--slate-2); }
.pitems {
  display: grid;
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
}
@media (min-width: 560px) { .pitems { grid-template-columns: 1fr 1fr; } }
.pitem {
  background: var(--paper);
  padding: 1.35rem 1.5rem;
}
.pitem__h {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate);
}
.pitem__d {
  margin-top: .4rem;
  font-size: .92rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ------------------------------------------------------------- awards */
.awards {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) { .awards { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); } }

.awards__figure {
  position: relative;
  border: 1px solid var(--ink-line);
  padding: clamp(.75rem, 1.6vw, 1.15rem);
  background: var(--ink-2);
}
.awards__figure img { width: 100%; }

/* no accompanying copy — the figure stands alone, centred, rather than
   sitting in one half of a two-column grid with an empty neighbour */
.awards--solo { display: block; }
.awards--solo .awards__figure { max-width: 440px; margin-inline: auto; }

.tally {
  display: grid;
  gap: 1px;
  margin-top: 2.25rem;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}
@media (min-width: 560px) { .tally { grid-template-columns: repeat(3, 1fr); } }
.tally__cell { background: var(--ink); padding: 1.4rem 1.35rem; }
.tally__n {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--gold);
}
.tally__n sub {
  font-family: var(--f-sans);
  font-size: .32em;
  font-weight: 700;
  vertical-align: baseline;
  bottom: 0;
  margin-left: .25em;
  letter-spacing: 0;
}
.tally__k {
  margin-top: .55rem;
  font-size: .87rem;
  line-height: 1.6;
  color: var(--on-ink-2);
}

/* ------------------------------------------------------- contact routes */
.ways {
  display: grid;
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
}
@media (min-width: 820px) { .ways { grid-template-columns: repeat(3, 1fr); } }

.way {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  background: var(--paper);
  padding: clamp(1.75rem, 3.2vw, 2.5rem);
}
.way__k {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-lo);
}
.way__h {
  font-size: clamp(1.15rem, 2.2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate);
}
.way__d { font-size: .95rem; line-height: 1.8; color: var(--muted); }
.way__cta { margin-top: auto; padding-top: 1.1rem; }
.way__cta .btn { width: 100%; }

/* ----------------------------------------------------------------- steps */
.steps {
  display: grid;
  gap: 1px;
  background: var(--paper-line);
  border-block: 1px solid var(--paper-line);
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.sec--ink .steps { background: var(--ink-line); border-block-color: var(--ink-line); }

.step { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.25rem) clamp(1.35rem, 2.5vw, 1.75rem); }
.sec--ink .step { background: var(--ink); }
.step__no {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  letter-spacing: .08em;
  color: var(--gold-lo);
}
.sec--ink .step__no { color: var(--gold); }
.step__h {
  margin-top: .7rem;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--slate);
}
.sec--ink .step__h { color: #fff; }
.step__d {
  margin-top: .55rem;
  font-size: .93rem;
  line-height: 1.8;
  color: var(--muted);
}
.sec--ink .step__d { color: var(--on-ink-2); }

/* ------------------------------------------------------------------- CTA */
.cta {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  isolation: isolate;
}
.cta__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 130% at 85% 15%, rgba(198,166,103,.16) 0%, transparent 62%),
    radial-gradient(70% 120% at 10% 90%, rgba(27,94,158,.16) 0%, transparent 60%);
}
.cta__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  padding-block: var(--sec-y);
}
@media (min-width: 900px) {
  .cta__inner { grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); }
}
.cta__h {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.04em;
  color: #fff;
}
.cta__d { margin-top: 1.1rem; max-width: 44ch; color: var(--on-ink-2); line-height: 1.85; }
.cta__actions { display: grid; gap: .75rem; }
@media (min-width: 480px) and (max-width: 899px) { .cta__actions { grid-auto-flow: column; } }

/* heading and copy removed — centre the number and buttons instead of
   leaving them pinned to one column of an otherwise empty grid */
.cta__inner--solo { display: block; text-align: center; }
.cta__inner--solo .cta__actions {
  grid-auto-flow: row;
  max-width: 400px;
  margin-inline: auto;
}

/* reversed mark closing the block — alt is empty because the header and
   footer already announce the firm name to a screen reader */
.cta__logo {
  width: clamp(124px, 17vw, 158px);
  height: auto;
  margin: 0 auto clamp(.4rem, 1.4vw, .9rem);
}

.cta__tel {
  display: block;
  font-family: var(--f-serif);
  font-size: clamp(2.1rem, 5.5vw, 3.1rem);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.1;
  color: var(--gold);
  /* Cormorant defaults to old-style figures; a phone number has to read
     unambiguously, so force lining figures here. */
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}
.cta__tel:hover { color: var(--gold-hi); }

/* Cormorant draws its hyphen on a slant — a Garamond convention that reads
   as a tilted dash in a phone number. Borrow Pretendard's flat one, lighter
   and slightly smaller so it sits with the serif digits instead of on top
   of them. The character itself is still a plain U+002D, so copying the
   number still yields 063-452-9075. */
.tel-sep {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: .9em;
  vertical-align: .04em;
}

/* --------------------------------------------------------------- contact */
.info {
  display: grid;
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
}
@media (min-width: 700px) { .info { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .info { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px) { .info--3 { grid-template-columns: repeat(3, 1fr); } }
.info__cell { background: var(--paper); padding: 1.6rem 1.5rem; }
.info__k {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-lo);
}
.info__v {
  margin-top: .7rem;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}
.info__v small { display: block; margin-top: .3rem; font-size: .86rem; font-weight: 500; color: var(--muted); }
.info__v a:hover { color: var(--gold-lo); }

/* two items of equal standing — neither is a subordinate of the other */
.info__v--stack a { display: block; }
.info__v--stack a + a { margin-top: .35rem; }

/* Slot for a 네이버/카카오 "지도 퍼가기" iframe once the office's place is
   registered. Empty by default — nothing renders until an iframe is pasted in. */
.mapframe:not(:empty) {
  position: relative;
  border: 1px solid var(--paper-line);
  background: var(--paper-2);
  aspect-ratio: 16 / 9;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
@media (max-width: 640px) { .mapframe:not(:empty) { aspect-ratio: 4 / 3; } }
.mapframe iframe { width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------- 약도 이미지 */
/* A still map that opens the real one when tapped — the aspect ratio is very
   wide, so on a phone it is cropped around the pin rather than shrunk to a
   sliver. */
.mapimg {
  position: relative;
  overflow: hidden;
  margin-block: clamp(1.75rem, 4vw, 2.75rem) 0;
  border: 1px solid var(--paper-line);
  background: var(--paper-2);
}
.mapimg--lead { margin-block: 0 clamp(1.75rem, 4vw, 2.75rem); }

.mapimg a { display: block; position: relative; }
.mapimg img { display: block; width: 100%; height: auto; }

.mapimg__hint {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: .55rem 1rem;
  background: rgba(23, 25, 29, .88);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.mapimg a:hover .mapimg__hint { background: var(--gold); color: var(--ink); }

@media (max-width: 640px) {
  .mapimg img {
    height: 300px;
    object-fit: cover;
    object-position: 50% 42%;   /* keeps the pin in frame */
  }
}

/* ------------------------------------------------------------ address panel */
.addrpanel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  background: var(--ink);
  color: var(--on-ink);
  border: 1px solid var(--ink-line);
}
@media (min-width: 880px) {
  .addrpanel { grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr); align-items: start; }
}
.addrpanel__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right,  rgba(198,166,103,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(198,166,103,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(110% 130% at 8% 0%, #000 5%, transparent 68%);
  -webkit-mask-image: radial-gradient(110% 130% at 8% 0%, #000 5%, transparent 68%);
}
.addrpanel__k {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
/* Hangul does not take the wide Latin tracking */
.addrpanel__k--ko { font-size: .82rem; letter-spacing: .02em; text-transform: none; }
.addrpanel__v {
  margin-top: 1.15rem;
  font-size: clamp(1.45rem, 3.6vw, 2.3rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.038em;
  color: #fff;
}
.addrpanel__v strong { font-weight: 800; color: var(--gold); }
.addrpanel__zip {
  margin-top: 1rem;
  font-size: .95rem;
  color: var(--on-ink-3);
  font-variant-numeric: tabular-nums;
}
.addrpanel__links { display: grid; gap: .65rem; margin-top: 1.2rem; }
.addrpanel__links .btn { width: 100%; }

.copybtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  margin-top: .65rem;
  padding: .8rem 1.1rem;
  border: 1px dashed var(--ink-line);
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  color: var(--on-ink-2);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.copybtn:hover { border-color: var(--gold); color: var(--gold); }
.copybtn.is-done { border-style: solid; border-color: var(--gold); color: var(--gold); }

/* ------------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--paper-line); }
.faq__item { border-bottom: 1px solid var(--paper-line); }
.faq__q {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  width: 100%;
  padding: 1.5rem 0;
  text-align: left;
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--slate);
  transition: color .25s var(--ease);
}
.faq__q:hover { color: var(--gold-lo); }
.faq__q-mark {
  flex: 0 0 auto;
  font-family: var(--f-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-lo);
  line-height: 1.5;
}
.faq__sign {
  flex: 0 0 auto;
  margin-left: auto;
  position: relative;
  width: 14px; height: 14px;
  margin-top: .45em;
}
.faq__sign::before, .faq__sign::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .35s var(--ease);
}
.faq__sign::after { transform: rotate(90deg); }
.faq__q[aria-expanded='true'] .faq__sign::after { transform: rotate(0deg); }

.faq__a {
  overflow: hidden;
  height: 0;
  transition: height .4s var(--ease);
}
.faq__a-inner {
  padding: 0 0 1.75rem calc(1.15rem + 1.25rem);
  max-width: 68ch;
  font-size: .98rem;
  line-height: 1.9;
  color: var(--slate-2);
}
@media (max-width: 560px) { .faq__a-inner { padding-left: 0; } }

/* ---------------------------------------------------------------- notice */
.notice {
  display: flex;
  gap: .9rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--paper-line);
  border-left: 2px solid var(--gold);
  background: var(--paper-2);
  font-size: .92rem;
  line-height: 1.8;
  color: var(--slate-2);
}
.sec--ink .notice { background: var(--ink-2); border-color: var(--ink-line); border-left-color: var(--gold); color: var(--on-ink-2); }
.notice__k { flex: 0 0 auto; font-weight: 700; color: var(--gold-lo); }
.sec--ink .notice__k { color: var(--gold); }

/* ---------------------------------------------------------------- footer */
.ftr {
  background: var(--ink);
  color: var(--on-ink-2);
  padding-block: clamp(3.5rem, 7vw, 5rem) 2.25rem;
  font-size: .92rem;
}
.ftr__top {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--ink-line);
}
@media (min-width: 860px) { .ftr__top { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); } }

/* vertical lockup — sized by width, since fixing the height would shrink
   the stacked mark to a fraction of the horizontal version */
.ftr__logo img { width: clamp(150px, 15vw, 196px); height: auto; }
.ftr__tag {
  margin-top: 1.35rem;
  max-width: 32ch;
  line-height: 1.85;
  color: var(--on-ink-3);
}
.ftr__h {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.15rem;
}
.ftr__list { display: grid; gap: .7rem; }
.ftr__list a:hover { color: var(--on-ink); }
.ftr__addr { font-style: normal; display: grid; gap: .7rem; }
.ftr__addr div { font-variant-numeric: tabular-nums; }
.ftr__addr b { color: var(--gold); font-weight: 700; margin-right: .5rem; }
.ftr__addr a:hover { color: var(--on-ink); }

.ftr__bottom {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  align-items: center;
  font-size: .84rem;
  color: var(--on-ink-3);
}
.ftr__legal { max-width: 56ch; line-height: 1.75; }
/* required disclosure under the bar association's advertising rules —
   kept at body colour rather than the muted grey around it */
.ftr__resp { white-space: nowrap; }
.ftr__resp b { color: var(--on-ink); font-weight: 700; }
.ftr__copy { margin-left: auto; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .ftr__copy { margin-left: 0; } }

/* --------------------------------------------------- floating quick call */
.quick {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: grid;
  justify-items: end;
  gap: .6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.quick.is-on { opacity: 1; visibility: visible; transform: none; }
.quick__btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .28);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.quick__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 0, 0, .34); }
.quick__btn svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.quick__btn--tel   { background: var(--gold); color: #14161A; }
.quick__btn--kakao { background: #FAE100; color: #191600; }
.quick__btn--insta {
  background: linear-gradient(135deg, #F9CE34 0%, #EE2A7B 52%, #6228D7 100%);
  color: #fff;
}
.quick__btn--blog  { background: #03C75A; color: #fff; }

/* Four labelled pills stacked on a phone would cover most of the screen, so
   below this width they collapse to icon-only circles. */
@media (max-width: 560px) {
  .quick { gap: .5rem; }
  .quick__label { display: none; }
  .quick__btn {
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
  }
  .quick__btn svg { width: 19px; height: 19px; }
}

/* ================================================================ motion */
/* Everything below is additive. With CSS animations unavailable the static
   layout above is already the finished state. */

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal-ready .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal-ready .reveal.is-in[data-delay='1'] { transition-delay: .09s; }
.reveal-ready .reveal.is-in[data-delay='2'] { transition-delay: .18s; }
.reveal-ready .reveal.is-in[data-delay='3'] { transition-delay: .27s; }
.reveal-ready .reveal.is-in[data-delay='4'] { transition-delay: .36s; }
.reveal-ready .reveal.is-in[data-delay='5'] { transition-delay: .45s; }

/* the one orchestrated moment on the site: the name resolving into the mark */
.js .hero__eyebrow,
.js .nm__eq,
.js .nm__stem,
.js .nm__result,
.js .hero__wordmark,
.js .hero__note,
.js .hero .btn-row,
.js .hero__meta { opacity: 0; }

.js .hero.is-live .hero__eyebrow { animation: nm-fade .9s var(--ease) .1s both; }
.js .hero.is-live .nm__eq        { animation: nm-fade .9s var(--ease) .45s both; }
.js .hero.is-live .nm__key       { animation: nm-key 1.1s var(--ease) 1.15s both; }
.js .hero.is-live .nm__plain     { animation: nm-dim 1.1s var(--ease) 1.15s both; }
.js .hero.is-live .nm__stem      { animation: nm-stem .8s var(--ease) 1.55s both; }
.js .hero.is-live .nm__result    { animation: nm-result 1.25s var(--ease) 1.85s both; }
.js .hero.is-live .hero__wordmark{ animation: nm-fade .9s var(--ease) 2.5s both; }
.js .hero.is-live .hero__note    { animation: nm-fade .9s var(--ease) 2.7s both; }
.js .hero.is-live .btn-row       { animation: nm-fade .9s var(--ease) 2.9s both; }
.js .hero.is-live .hero__meta    { animation: nm-fade .9s var(--ease) 3.1s both; }

@keyframes nm-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes nm-key {
  from { color: var(--on-ink-3); }
  to   { color: var(--gold); }
}
@keyframes nm-dim {
  from { opacity: 1; }
  to   { opacity: .38; }
}
@keyframes nm-stem {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}
@keyframes nm-result {
  from { opacity: 0; transform: translateY(26px) scale(.965); letter-spacing: .16em; }
  to   { opacity: 1; transform: none; }
}

/* the plain characters stay dimmed once the sequence has run */
.js .hero.is-live .nm__plain { opacity: .38; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .hero__eyebrow, .js .nm__eq, .js .nm__stem, .js .nm__result,
  .js .hero__wordmark, .js .hero__note, .js .hero .btn-row, .js .hero__meta { opacity: 1; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ print-ish */
@media print {
  .hdr, .quick, .skip-link, .cta__field, .hero__field, .hero__glow { display: none !important; }
  body { background: #fff; color: #000; }
}
