/* ==========================================================================
   Amana Family Law — main stylesheet
   Fonts: Satoshi (Fontshare) + Corinthia (Google Fonts, signature only), self-hosted
   ========================================================================== */

@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Corinthia"; src: url("../fonts/corinthia-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --panel: #f1f1f0;
  --ink: #1d1d1d;
  --ink-2: #333333;
  --muted: #5f5f5f;
  --muted-2: #8a8a8a;
  --slate: #6a7a94;
  --gold: #cda872;
  --gold-hover: #c09a62;
  --gold-ink: #9f7a43;
  --gold-soft: #f6efe4;
  --green: #1c5a42;
  --line: #e5e5e3;
  --line-strong: #2a2a2a;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 20, .04), 0 4px 14px rgba(20, 20, 20, .04);
  --shadow: 0 1px 2px rgba(20, 20, 20, .03), 0 10px 34px rgba(20, 20, 20, .06);
  --shadow-lg: 0 2px 4px rgba(20, 20, 20, .04), 0 24px 60px rgba(20, 20, 20, .10);

  --container: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);

  --font: "Satoshi", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Corinthia", "Brush Script MT", cursive;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-soft); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff;
  transform: translateY(-150%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.center { text-align: center; }

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 { font-weight: 400; letter-spacing: -0.035em; color: var(--ink); }
.display { font-size: clamp(40px, 4.4vw, 58px); line-height: 1.1; letter-spacing: -0.04em; }
.h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.12; }
.h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.14; }
.h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -0.025em; }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); }
.subtitle { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; color: var(--slate); letter-spacing: -0.01em; }
.statement {
  font-size: clamp(24px, 3.1vw, 36px); line-height: 1.3; font-weight: 500;
  letter-spacing: -0.02em; text-align: center; max-width: 1100px; margin-inline: auto; color: var(--ink);
}
.muted { color: var(--muted); }

/* Tag pill */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 18px rgba(0,0,0,.05);
  color: var(--gold-ink); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  line-height: 1.4;
}
.section-head { display: grid; gap: 22px; justify-items: start; }
.section-head.center { justify-items: center; }
.section-head--row { grid-template-columns: 1fr auto; align-items: end; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 20px 8px 8px; border-radius: 999px;
  background: var(--btn-bg); color: #fff;
  font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 18px rgba(205, 168, 114, .28);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease-out);
}
.btn:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 28px rgba(205, 168, 114, .38); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn__icon {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--gold);
  transition: transform .5s var(--ease-out);
}
.btn__icon svg { width: 14px; height: 14px; }
.btn:hover .btn__icon { transform: rotate(-12deg) scale(1.06); }
.btn--lg { font-size: 18px; padding: 10px 24px 10px 10px; }
.btn--lg .btn__icon { width: 32px; height: 32px; }

.btn-soft {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-ink);
  font-size: 14px; font-weight: 500;
  transition: background-color .3s, transform .45s var(--ease-out), gap .45s var(--ease-out);
}
.btn-soft .btn__icon { width: 24px; height: 24px; background: #fff; color: var(--gold); }
.btn-soft .btn__icon svg { width: 12px; height: 12px; }
.btn-soft:hover { background: #efe3cf; gap: 13px; }

.btn-dark {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  width: 100%; padding: 16px 24px; border-radius: 10px;
  background: #000; color: #fff; font-weight: 500; font-size: 16px;
  transition: background-color .3s, transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.btn-dark:hover { background: #1f1f1f; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.btn-dark[disabled] { opacity: .7; cursor: progress; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .45s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: transform .5s var(--ease-out), background-color .4s, box-shadow .4s;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 108px; transition: height .4s var(--ease-out); }
.site-header.is-scrolled { background: rgba(250, 250, 250, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.site-header.is-scrolled .site-header__inner { height: 80px; }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 158px; height: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__link { position: relative; font-size: 16px; font-weight: 500; color: var(--ink); padding: 6px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { margin-left: 8px; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); position: relative; z-index: 120; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--ease-out), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; display: flex; flex-direction: column;
  padding: 110px var(--gutter) 40px; background: var(--bg);
  clip-path: circle(0 at calc(100% - 44px) 52px);
  visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 52px); visibility: visible; transition: clip-path .8s var(--ease-in-out), visibility 0s; }
.mobile-menu__links { display: grid; gap: 6px; }
.mobile-menu__links a {
  display: block; font-size: clamp(34px, 9vw, 48px); letter-spacing: -0.035em; line-height: 1.25;
  opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .7s var(--ease-out);
}
.menu-open .mobile-menu__links a { opacity: 1; transform: none; }
.menu-open .mobile-menu__links a:nth-child(1) { transition-delay: .25s; }
.menu-open .mobile-menu__links a:nth-child(2) { transition-delay: .31s; }
.menu-open .mobile-menu__links a:nth-child(3) { transition-delay: .37s; }
.menu-open .mobile-menu__links a:nth-child(4) { transition-delay: .43s; }
.menu-open .mobile-menu__links a:nth-child(5) { transition-delay: .49s; }
.mobile-menu__links a[aria-current="page"] { color: var(--gold-ink); }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 18px; opacity: 0; transition: opacity .6s .5s; }
.menu-open .mobile-menu__foot { opacity: 1; }
.mobile-menu__foot p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(16px, 3vw, 40px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); gap: clamp(28px, 3vw, 40px); align-items: center; }
.hero__copy { display: grid; gap: 26px; justify-items: start; align-content: center; }
.hero__copy .tag { white-space: nowrap; font-size: 11.5px; letter-spacing: .07em; }
@media (max-width: 1180px) { .hero__copy .tag { white-space: normal; } }
.hero__copy .subtitle { max-width: 420px; }
.hero__media { display: grid; gap: 14px; }
.hero__img {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 628 / 414;
  background: #e9ece6; box-shadow: var(--shadow);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero__chips { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.75); box-shadow: 0 1px 2px rgba(0,0,0,.03);
  font-size: 15px; color: var(--ink-2); letter-spacing: -0.005em;
}

/* Page hero (inner pages) */
.page-hero { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 110px); text-align: center; }
.page-hero__inner { display: grid; gap: 22px; justify-items: center; }
.page-hero .h1 { max-width: 760px; }
.page-hero .lede { max-width: 780px; }

/* ---------- Lawyer feature ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(32px, 6vw, 64px); align-items: center; }
.feature--top { align-items: start; }
.portrait-card { position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.portrait-card__img { position: relative; overflow: hidden; aspect-ratio: 528 / 503; background: #dfe1dc; }
.portrait-card__img img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 20%; will-change: transform; }
.portrait-card__social { position: absolute; top: 16px; left: 16px; display: grid; gap: 12px; z-index: 2; }
.portrait-card__social a {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(240, 240, 238, .85); color: #222; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .45s var(--ease-out), background-color .3s;
}
.portrait-card__social a:hover { transform: scale(1.1); background: #fff; }
.portrait-card__social svg { width: 15px; height: 15px; }
.portrait-card--wide .portrait-card__img { aspect-ratio: 396 / 310; }
.portrait-card__sig { display: grid; place-items: center; height: 54px; }
.signature { font-family: var(--font-script); font-size: 34px; line-height: 1; color: #222; letter-spacing: 0; }
.feature__copy { display: grid; gap: 24px; justify-items: start; }
.feature__copy .h2 { max-width: 420px; }
.feature__copy p { color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 490px; }
.feature__copy .prose-stack { display: grid; gap: 18px; }

.pills { display: flex; flex-wrap: wrap; gap: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 10px;
  border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm);
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.pill svg { width: 12px; height: 12px; color: #a6a6a6; flex-shrink: 0; }
.pill--small { font-size: 11px; padding: 5px 13px 5px 9px; }
.pill-card {
  display: grid; gap: 4px; padding: 14px 24px 16px 26px; border-radius: 14px;
  background: var(--surface); box-shadow: var(--shadow-sm); max-width: 470px;
}
.pill-card__title { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pill-card__title svg { width: 12px; height: 12px; color: #a6a6a6; }
.pill-card p { font-size: 12.5px; line-height: 1.5; color: var(--muted); padding-left: 20px; }

/* ---------- Panels (gray textured) ---------- */
.panel { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--panel); }
.panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/bg-swirl-1000.webp") center / cover no-repeat; opacity: .35; mix-blend-mode: multiply;
}
.panel > * { position: relative; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); padding: clamp(36px, 4vw, 48px) clamp(16px, 2.5vw, 28px); }
.values__item { display: grid; align-content: center; justify-items: center; gap: 26px; text-align: center; padding: 0 clamp(16px, 3vw, 34px); }
.values__item + .values__item { border-left: 1px solid rgba(255,255,255,.9); }
.values__item h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.1; }
.values__item p { font-size: 17px; line-height: 1.3; color: var(--ink-2); max-width: 310px; }

.story-panels { display: grid; gap: 30px; max-width: 840px; margin-inline: auto; }
.story { display: grid; grid-template-columns: 0.75fr 1.25fr; align-items: center; padding: 36px 30px; }
.story h2 { font-size: clamp(30px, 3.4vw, 38px); font-weight: 400; letter-spacing: -0.04em; text-align: center; }
.story p { font-size: 13.5px; line-height: 1.22; color: var(--ink-2); padding-left: 20px; border-left: 3px solid #fff; padding-block: 18px; }

/* ---------- Practice cards ---------- */
.practice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 64px; }
.p-card {
  position: relative; display: grid; grid-template-columns: 100px 1fr; min-height: 180px;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.p-card__img { position: relative; overflow: hidden; }
.p-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.p-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0) 20%, rgba(255,255,255,.55) 70%, #fff 100%); }
.p-card:hover .p-card__img img { transform: scale(1.08); }
.p-card__body { display: grid; align-content: start; gap: 10px; padding: 28px 36px 30px 40px; }
.p-card__body h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.p-card__body p { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 330px; }
.p-card__body .btn-soft { justify-self: start; margin-top: 10px; }
.p-card__link::before { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- Process ---------- */
.process { position: relative; overflow: hidden; background: #f2f2f1; }
.process::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/bg-swirl-1800.webp") center / cover no-repeat; opacity: .3; mix-blend-mode: multiply;
}
.process > * { position: relative; }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; margin-top: 72px; }
.step { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 0 8px; }
.step__num { font-size: clamp(52px, 5.4vw, 64px); line-height: 1; letter-spacing: -0.04em; font-weight: 400; margin-bottom: 26px; }
.step:nth-of-type(3) .step__num { margin-top: 14px; margin-bottom: 26px; }
.step h3 { font-size: 23px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; max-width: 340px; }
.step p { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 290px; }
.step-arrow { width: 120px; margin-top: 22px; color: #222; }
.step-arrow path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Testimonials ---------- */
.marquee { position: relative; margin: 52px auto 0; max-width: calc(var(--container) + 80px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: flex-start; gap: 18px; width: max-content; padding: 4px 0 30px; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.t-card {
  width: 350px; flex-shrink: 0; display: grid; gap: 14px; justify-items: center; text-align: center;
  padding: 26px 22px 28px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.t-card__stars { display: flex; gap: 4px; color: #222; }
.t-card__stars svg { width: 15px; height: 15px; }
.t-card blockquote { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.t-card cite { font-style: normal; font-size: 12.5px; color: var(--ink); font-weight: 500; }
.t-actions { display: flex; justify-content: center; margin-top: 30px; }
.marquee-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: -14px; padding: 6px 12px; border-radius: 999px; font-size: 13px; color: var(--muted-2); transition: color .3s, background-color .3s; }
.marquee-toggle svg { width: 12px; height: 12px; }
.marquee-toggle:hover { color: var(--ink); background: rgba(0,0,0,.04); }

/* ---------- Consultation form section ---------- */
.consult { padding-block: clamp(40px, 6vw, 80px) var(--section); }
.consult__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 760px;
  display: grid; place-items: center; padding: 40px var(--gutter);
  background: #ecebe8;
}
.consult__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.08); will-change: transform; filter: brightness(1.12) saturate(.55); }
.consult__card {
  position: relative; width: 100%; max-width: 650px; padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 56px) clamp(36px, 5vw, 60px);
  background: rgba(250, 250, 250, .97); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; gap: 20px; justify-items: center; text-align: center;
  align-self: center;
}
.consult__card .h2 { font-size: clamp(32px, 4vw, 46px); }
.consult__card > p { color: var(--muted); max-width: 340px; font-size: 16px; line-height: 1.5; }
.consult--plain .consult__frame { background: none; min-height: 0; padding: 0; }
.consult--plain .consult__card { box-shadow: var(--shadow); background: var(--surface); }

.form { display: grid; gap: 26px; width: 100%; max-width: 380px; text-align: left; margin-top: 26px; }
.field { display: grid; gap: 4px; position: relative; }
.field label { font-size: 15px; font-weight: 500; color: var(--ink); }
.field label .req { color: var(--ink); }
.field__control { position: relative; display: flex; align-items: center; }
.field__control svg { position: absolute; left: 12px; width: 16px; height: 16px; color: #777; pointer-events: none; }
.field input, .field textarea {
  width: 100%; padding: 12px 0 10px; border: 0; border-bottom: 1px solid #8f8f8f; border-radius: 0;
  background: transparent; font-size: 15px; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .3s;
}
.field__control svg + input { padding-left: 36px; }
.field textarea { resize: vertical; min-height: 44px; max-height: 240px; field-sizing: content; line-height: 1.5; }
@supports (field-sizing: content) { .field textarea { resize: none; } }
.field input::placeholder, .field textarea::placeholder { color: #9b9b9b; font-size: 13px; }
.field__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.field input:focus ~ .field__line, .field textarea:focus ~ .field__line { transform: scaleX(1); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #b3261e; }
.field__error { font-size: 13px; color: #b3261e; min-height: 0; }
.form__note { font-size: 12.5px; line-height: 1.5; color: var(--muted-2); }
.form__note a { text-decoration: underline; text-underline-offset: 2px; }
.form__status { font-size: 14px; line-height: 1.5; padding: 12px 14px; border-radius: 10px; background: #fdf0ef; color: #8c1d18; }
.form__status a { text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Contact ---------- */
.contact-panel { display: grid; grid-template-columns: repeat(3, 1fr); padding: 40px 28px; text-align: center; }
.contact-panel__item { display: grid; gap: 8px; align-content: start; padding: 0 20px; }
.contact-panel__item + .contact-panel__item { border-left: 1px solid rgba(255,255,255,.95); }
.contact-panel__item h2 { font-size: 30px; font-weight: 400; letter-spacing: -0.035em; }
.contact-panel__item a, .contact-panel__item p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.contact-panel__item a:hover { color: var(--gold-ink); }
.map { margin-top: 48px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 900 / 300; min-height: 300px; background: #e8e8e6; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25) contrast(1.02); }

/* ---------- Practice detail ---------- */
.detail-hero { margin-top: 8px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 7; background: #e4e4e2; box-shadow: var(--shadow); }
.detail-hero img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: clamp(48px, 7vw, 90px); }
.detail__content { display: grid; gap: 22px; }
.detail__content > p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.detail-block { padding: 30px 32px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.detail-block h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 16px; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--muted); line-height: 1.55; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239f7a43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.aside { position: sticky; top: 104px; display: grid; gap: 20px; }
.aside-card { padding: 26px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: grid; gap: 14px; }
.aside-card h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; }
.aside-nav { display: grid; }
.aside-nav a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; transition: color .3s, padding .45s var(--ease-out); }
.aside-nav a:last-child { border-bottom: 0; }
.aside-nav a svg { width: 14px; height: 14px; opacity: .4; transition: transform .45s var(--ease-out), opacity .3s; }
.aside-nav a:hover { color: var(--gold-ink); padding-left: 4px; }
.aside-nav a:hover svg { transform: translateX(3px); opacity: 1; }
.aside-nav a[aria-current="page"] { color: var(--gold-ink); }
.aside-card--dark { background: #1d1d1d; color: #fff; }
.aside-card--dark h2 { color: var(--gold); }
.aside-card--dark p { color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.55; }
.aside-card--dark a.tel { font-size: 22px; letter-spacing: -0.02em; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); padding: 44px 24px; margin-top: clamp(56px, 8vw, 100px); }
.pillars__item { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 0 20px; }
.pillars__item + .pillars__item { border-left: 1px solid rgba(255,255,255,.95); }
.pillars__item span { font-size: 12px; letter-spacing: .14em; color: var(--gold-ink); font-weight: 700; }
.pillars__item h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 400; letter-spacing: -0.04em; }

/* ---------- Resources ---------- */
.resource-list { display: grid; gap: 28px; max-width: 1000px; margin-inline: auto; }
.r-card {
  position: relative; display: grid; grid-template-columns: 1fr 260px; align-items: stretch;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.r-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.r-card__body { display: grid; align-content: center; gap: 12px; padding: 34px 40px; }
.r-card__meta { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.r-card__body h2 { font-size: clamp(22px, 2.2vw, 26px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.r-card__body p { color: var(--muted); line-height: 1.55; }
.r-card__img { position: relative; overflow: hidden; min-height: 200px; }
.r-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.r-card:hover .r-card__img img { transform: scale(1.06); }
.r-card .link-arrow { margin-top: 6px; }
.r-card .link-arrow::before { content: ""; position: absolute; inset: 0; }

/* ---------- Article ---------- */
.article-hero { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; background: #ebebea; box-shadow: var(--shadow); margin-block: clamp(36px, 5vw, 56px); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: var(--muted-2); font-size: 14px; }
.prose { font-size: 18px; line-height: 1.75; color: #3b3b3b; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.8vw, 32px); line-height: 1.2; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); margin-top: 2.1em; }
.prose h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .5em; }
.prose li::marker { color: var(--gold); }
.prose ul ul { margin-top: .5em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose .lead { font-size: 21px; line-height: 1.6; color: var(--ink-2); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; min-width: 520px; }
.prose th, .prose td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { font-weight: 600; color: var(--ink); background: #f6f6f5; font-size: 15px; letter-spacing: .02em; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td + td, .prose th + th { border-left: 1px solid var(--line); }
.callout { padding: 26px 28px; border-radius: var(--radius); background: var(--gold-soft); color: var(--ink-2); }
.callout h2, .callout h3 { margin-top: 0 !important; font-size: 22px; }
.callout ul { margin-top: .8em; }
.article-cta { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 56px; padding: 32px 36px; }
.article-cta h2 { font-size: 26px; font-weight: 400; letter-spacing: -0.03em; }
.article-cta p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.disclaimer-note { margin-top: 32px; font-size: 13.5px; line-height: 1.6; color: var(--muted-2); border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- Thank you ---------- */
.ty-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.ty-step { padding: 32px 28px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: grid; gap: 12px; align-content: start; }
.ty-step span { font-size: 12px; letter-spacing: .12em; font-weight: 700; color: var(--gold-ink); text-transform: uppercase; }
.ty-step h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.ty-step p { color: var(--muted); line-height: 1.55; font-size: 15.5px; }
.check-badge { width: 76px; height: 76px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--gold); }
.check-badge svg { width: 34px; height: 34px; }
.check-badge path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 1s .5s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 48px; }
.site-footer__rule { height: 1px; background: var(--line-strong); transform-origin: left; }
.site-footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-top: 62px; }
.site-footer .brand img { width: 154px; }
.site-footer__right { display: grid; justify-items: end; gap: 16px; text-align: right; }
.socials { display: flex; gap: 22px; padding-right: 50px; }
.socials a { color: #222; display: grid; place-items: center; width: 20px; height: 20px; transition: transform .45s var(--ease-out), color .3s; }
.socials a:hover { transform: translateY(-3px); color: var(--gold-ink); }
.socials svg { width: 18px; height: 18px; }
.site-footer__meta { display: grid; gap: 8px; font-size: 15.5px; color: var(--muted); }
.site-footer__meta a { color: var(--ink); }
.site-footer__meta a:hover { color: var(--gold-ink); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; font-size: 13.5px; }
.footer-links a { color: var(--muted-2) !important; }
.footer-links a:hover { color: var(--ink) !important; }

/* ---------- Legal pages ---------- */
.legal { padding-bottom: var(--section); }
.legal .prose { font-size: 16.5px; }
.legal .prose h2 { font-size: 24px; margin-top: 1.8em; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.notfound__num { font-size: clamp(110px, 20vw, 220px); line-height: 1; letter-spacing: -0.06em; font-weight: 300; color: var(--gold); }

/* ==========================================================================
   Motion (only when JS is running; content stays visible otherwise)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Image curtain reveal */
.js [data-curtain] { clip-path: inset(8% 8% 8% 8% round var(--radius)); transition: clip-path 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-curtain] img { transform: scale(1.15); transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-curtain].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-curtain].is-in img { transform: scale(1); }

/* Line-by-line headline reveal */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; }
.js [data-split] .split-line > span { transform: translate3d(0, 105%, 0); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 90ms); }
.js [data-split].is-in .split-line > span { transform: none; }

/* Scroll-filled statement */
.js [data-words] .w { opacity: .16; transition: opacity .25s linear; }
.js [data-words] .w.on { opacity: 1; }

/* Signature handwriting */
.js [data-sign] { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s cubic-bezier(.45, .05, .25, 1); transition-delay: .3s; }
.js [data-sign].is-in { clip-path: inset(0 0 0 0); }

/* Step arrows draw */
.js .step-arrow path { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease-out); transition-delay: var(--d, .3s); }
.js .step-arrow.is-in path { stroke-dashoffset: 0; }
.js .step-arrow path.head { transition-delay: calc(var(--d, .3s) + 1s); }

/* Footer rule grows */
.js .site-footer__rule { transform: scaleX(0); transition: transform 1.6s var(--ease-out); }
.js .site-footer__rule.is-in { transform: scaleX(1); }

/* Header intro */
.js .site-header { animation: headerIn 1s var(--ease-out) both; }
@keyframes headerIn { from { opacity: 0; transform: translateY(-16px); } }

/* Page transition veil */
.page-veil { position: fixed; inset: 0; z-index: 300; background: var(--bg); pointer-events: none; opacity: 0; transition: opacity .35s ease; }
.is-leaving .page-veil { opacity: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .steps { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .step-arrow { display: none; }
  .step:nth-of-type(3) .step__num { margin-top: 0; }
  .detail { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .site-header__inner { height: 84px; }
  .site-header.is-scrolled .site-header__inner { height: 72px; }
  .brand img { width: 140px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy .display, .hero__copy .subtitle { max-width: 620px; }
  .feature { grid-template-columns: 1fr; }
  .feature .portrait-card { max-width: 560px; }
  .values { grid-template-columns: 1fr; gap: 0; padding: 12px 24px; }
  .values__item { padding: 34px 6px; }
  .values__item + .values__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.95); }
  .practice-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 44px; }
  .steps { grid-template-columns: 1fr; gap: 48px; margin-top: 52px; }
  .step__num { margin-bottom: 10px; }
  .step:nth-of-type(3) .step__num { margin-bottom: 10px; }
  .story { grid-template-columns: 1fr; gap: 14px; padding: 30px 24px; }
  .story p { border-left: 0; border-top: 3px solid #fff; padding: 18px 0 0; font-size: 15px; line-height: 1.5; }
  .contact-panel { grid-template-columns: 1fr; gap: 0; padding: 12px 24px; }
  .contact-panel__item { padding: 26px 0; }
  .contact-panel__item + .contact-panel__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.95); }
  .ty-steps { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; padding: 10px 24px; }
  .pillars__item { padding: 26px 0; }
  .pillars__item + .pillars__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.95); }
  .section-head--row { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 680px) {
  .hero__chips { justify-content: flex-start; }
  .chip { font-size: 13.5px; }
  .p-card { grid-template-columns: 84px 1fr; }
  .p-card__body { padding: 22px 22px 24px 22px; }
  .p-card__body h3 { font-size: 21px; }
  .p-card__body p { font-size: 15px; }
  .t-card { width: 290px; }
  .consult__frame { min-height: 0; padding: 18px 12px; }
  .consult__card { padding: 34px 22px 36px; }
  .r-card { grid-template-columns: 1fr; }
  .r-card__img { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .r-card__body { padding: 26px 24px 30px; }
  .aside { grid-template-columns: 1fr; }
  .detail-block { padding: 24px 22px; }
  .detail-hero { aspect-ratio: 4 / 3; }
  .article-hero { aspect-ratio: 4 / 3; }
  .prose { font-size: 17px; }
  .prose .lead { font-size: 19px; }
  .article-cta { grid-template-columns: 1fr; padding: 28px 24px; }
  .site-footer__grid { grid-template-columns: 1fr; justify-items: start; padding-top: 40px; }
  .site-footer__right { justify-items: start; text-align: left; }
  .socials { padding-right: 0; flex-wrap: wrap; }
  .footer-links { justify-content: flex-start; }
  .map { aspect-ratio: 4 / 3; }
  .pills { gap: 10px; }
  .pill { font-size: 11.5px; }
  .portrait-card__img { aspect-ratio: 4 / 4.2; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-curtain], .js [data-curtain] img, .js [data-split] .split-line > span, .js [data-sign] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-words] .w { opacity: 1 !important; }
  .js .step-arrow path { stroke-dashoffset: 0 !important; }
  .js .site-footer__rule { transform: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .marquee__track { animation: none !important; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .t-card { scroll-snap-align: start; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-menu, .consult, .marquee, .site-footer .socials, .page-veil { display: none !important; }
  body { background: #fff; }
}
