/* ==========================================================================
   Mohammed Fasi Uddin, Advocate - design system
   Brand: navy #1a2332 + gold #c9a96e (unchanged from the original site).
   Radius rule: interactive = pill, cards/panels = 20-28px, inputs = 12px.
   Z-index scale: nav 50 · mobile menu 60 · curtain 100 · dialogs use top layer.
   ========================================================================== */

:root {
  --navy: #1a2332;
  --navy-2: #222d40;
  --navy-3: #2c3e50;
  --gold: #c9a96e;
  --gold-2: #dcc293;

  --bg: #f5f3ee;
  --bg-2: #ece8df;
  --surface: #fbfaf7;
  --ink: #1a2332;
  --ink-soft: #364256;
  --muted: #5a6475;
  --accent-ink: #7c5f2a;          /* gold tuned for text on light (AA) */
  --line: rgba(26, 35, 50, 0.12);
  --line-strong: rgba(26, 35, 50, 0.24);
  --watermark: rgba(26, 35, 50, 0.055);
  --band: #1a2332;
  --band-ink: #f3efe6;
  --band-muted: #aab3c2;
  --shadow: 0 40px 80px -40px rgba(26, 35, 50, 0.45);
  --shadow-sm: 0 12px 30px -18px rgba(26, 35, 50, 0.35);
  --error: #b42318;
  --focus: 0 0 0 3px rgba(201, 169, 110, 0.55);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --nav-h: 72px;
  --gutter: clamp(16px, 4vw, 48px);
  --container: 1320px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e141e;
    --bg-2: #121a27;
    --surface: #151e2c;
    --ink: #eef0f4;
    --ink-soft: #cdd3dd;
    --muted: #9aa4b4;
    --accent-ink: #dcc293;
    --line: rgba(238, 240, 244, 0.1);
    --line-strong: rgba(238, 240, 244, 0.22);
    --watermark: rgba(201, 169, 110, 0.07);
    --band: #1a2332;
    --shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
    --shadow-sm: 0 12px 30px -18px rgba(0, 0, 0, 0.6);
    --error: #ff8a80;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e141e;
  --bg-2: #121a27;
  --surface: #151e2c;
  --ink: #eef0f4;
  --ink-soft: #cdd3dd;
  --muted: #9aa4b4;
  --accent-ink: #dcc293;
  --line: rgba(238, 240, 244, 0.1);
  --line-strong: rgba(238, 240, 244, 0.22);
  --watermark: rgba(201, 169, 110, 0.07);
  --band: #1a2332;
  --shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 12px 30px -18px rgba(0, 0, 0, 0.6);
  --error: #ff8a80;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: var(--gold); color: var(--navy); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(5rem, 10vw, 9rem); position: relative; }

/* ---------- Type ---------- */
.display, .h2, .h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; margin: 0; color: var(--ink); }
.display { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem); line-height: 1.04; }
.display strong, .h2 strong { font-weight: 700; }
.display em, .h2 em { font-style: italic; font-weight: 500; color: var(--accent-ink); }
.h2 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.75rem); line-height: 1.06; }
.h3 { font-size: clamp(1.55rem, 1.3rem + 0.8vw, 2rem); line-height: 1.15; font-weight: 600; }
.lede { font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); line-height: 1.65; color: var(--ink-soft); max-width: 58ch; margin: 0; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.stack > * + * { margin-top: var(--stack, 1.25rem); }

/* Split words (JS) - padding reserves descender clearance */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.w__i { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold); --btn-fg: var(--navy);
  position: relative; display: inline-flex; align-items: center; gap: 0.85rem;
  padding: 0.5rem 0.55rem 0.5rem 1.5rem; min-height: 54px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s var(--ease);
  isolation: isolate; overflow: hidden;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--gold-2); transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 18px 40px -18px rgba(201, 169, 110, 0.9); }
.btn:active { transform: scale(0.98); }
.btn__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-size: 1.1rem; flex: none;
  transition: transform 0.5s var(--ease);
}
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn--plain { padding: 0.5rem 1.5rem; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); box-shadow: none; }
.btn--ghost .btn__icon { background: var(--ink); color: var(--bg); }
.btn--ghost:hover .btn__icon { background: var(--gold); color: var(--navy); }
.on-band .btn--ghost { --btn-fg: var(--band-ink); border-color: rgba(243, 239, 230, 0.28); }
.on-band .btn--ghost::before { background: var(--band-ink); }
.on-band .btn--ghost:hover { color: var(--navy); }
.on-band .btn--ghost .btn__icon { background: var(--band-ink); color: var(--navy); }
.btn--sm { min-height: 44px; padding: 0.4rem 1.2rem; font-size: 0.875rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.95rem;
  color: var(--ink); padding-block: 0.4rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.link-arrow:hover { background-size: 100% 1px; color: var(--accent-ink); }
.link-arrow i { transition: transform 0.4s var(--ease); }
.link-arrow:hover i { transform: translate(3px, -3px); }

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; font-size: 1.15rem;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.icon-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: transform 0.6s var(--ease), background-color 0.4s, box-shadow 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; line-height: 1; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; }
.brand__role { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-ink); margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 2.25rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative; font-weight: 600; font-size: 0.92rem; padding-block: 0.4rem; color: var(--ink-soft); transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.nav__burger { display: none; }
.theme-toggle .ph-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ph-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ph-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ph-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .ph-moon { display: none; }
}

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; }
  :root { --nav-h: 64px; }
  .brand__name { font-size: 1.15rem; white-space: nowrap; }
  .brand__role { font-size: 0.6rem; }
}

/* Mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 60; background: var(--band); color: var(--band-ink);
  display: flex; flex-direction: column; padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem;
  clip-path: circle(0% at calc(100% - 40px) 32px); visibility: hidden;
  transition: clip-path 0.8s var(--ease-io), visibility 0s linear 0.8s;
}
.mmenu.is-open { clip-path: circle(150% at calc(100% - 40px) 32px); visibility: visible; transition: clip-path 0.8s var(--ease-io), visibility 0s; }
.mmenu__close { position: absolute; top: 10px; right: var(--gutter); border-color: rgba(243,239,230,.3); color: var(--band-ink); }
.mmenu ul { list-style: none; margin: 0; padding: 0; }
.mmenu li { overflow: hidden; border-bottom: 1px solid rgba(243, 239, 230, 0.12); }
.mmenu ul a {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: clamp(2.2rem, 9vw, 3rem); padding-block: 0.7rem; line-height: 1.1;
  transform: translateY(100%); transition: transform 0.7s var(--ease), color 0.3s;
}
.mmenu ul a i { font-size: 1.4rem; color: var(--gold); }
.mmenu.is-open ul a { transform: none; }
.mmenu.is-open li:nth-child(2) a { transition-delay: 0.06s; }
.mmenu.is-open li:nth-child(3) a { transition-delay: 0.12s; }
.mmenu.is-open li:nth-child(4) a { transition-delay: 0.18s; }
.mmenu ul a[aria-current="page"] { color: var(--gold); }
.mmenu__foot { margin-top: auto; display: grid; gap: 0.75rem; color: var(--band-muted); }
.mmenu__foot a:not(.btn) { color: var(--band-ink); font-weight: 600; }

/* ---------- Page curtain (load + page transitions) ---------- */
.curtain { display: none; }
.js.motion .curtain {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: var(--navy); transform: translateY(0);
  transition: transform 0.9s var(--ease-io);
  animation: curtain-failsafe 0s linear 3.5s forwards;
}
.curtain__mark { display: flex; align-items: center; gap: 0.9rem; color: var(--gold); font-family: var(--font-display); font-size: 1.6rem; opacity: 0; transform: translateY(12px); transition: opacity 0.5s, transform 0.6s var(--ease); }
.curtain__mark img { width: 44px; height: 44px; border-radius: 12px; }
.js.motion:not(.is-loaded) .curtain__mark { opacity: 1; transform: none; }
.js.motion.is-loaded .curtain { transform: translateY(-101%); }
.js.motion.is-loaded.is-leaving .curtain { transform: translateY(0); transition-duration: 0.55s; animation: none; }
@keyframes curtain-failsafe { to { transform: translateY(-101%); } }

/* ---------- Reveal states (JS-driven, with a failsafe) ---------- */
.motion [data-reveal], .motion [data-reveal-group] > * { opacity: 0; }
.motion [data-split] { visibility: hidden; }
.motion:not(.motion-ready) [data-reveal],
.motion:not(.motion-ready) [data-reveal-group] > *,
.motion:not(.motion-ready) [data-split] { animation: reveal-failsafe 0.6s ease 4s forwards; }
@keyframes reveal-failsafe { to { opacity: 1; visibility: visible; } }

/* ---------- 3D tilt (pointer-driven) ---------- */
.tilt {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.tilt.is-tilting { transition: transform 0.12s linear, box-shadow 0.5s var(--ease); }
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(520px circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.16), transparent 45%);
  opacity: 0; transition: opacity 0.5s;
}
.tilt.is-tilting::after { opacity: 1; }
.tilt__lift { transform: translateZ(40px); }

/* ==========================================================================
   HOME - Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100dvh; display: flex; flex-direction: column;
  padding-top: calc(var(--nav-h) + clamp(1.25rem, 4vh, 3rem));
  overflow: hidden; isolation: isolate;
}
.hero__ring {
  position: absolute; z-index: -2; border: 1px solid var(--line); border-radius: 50%; pointer-events: none;
}
.hero__ring--a { width: 70vw; aspect-ratio: 1; left: -38vw; top: -10vw; }
.hero__ring--b { width: 44vw; aspect-ratio: 1; right: -16vw; top: -18vw; }
.hero__watermark {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 500; line-height: 0.85; color: var(--watermark);
  font-size: clamp(6rem, 16vw, 16rem); letter-spacing: -0.02em;
}
.hero__watermark span { position: absolute; white-space: nowrap; }
.hero__watermark span:first-child { left: 17%; top: 32%; }
.hero__watermark span:last-child { right: 4%; top: 58%; }
.hero__title { text-align: center; max-width: 1100px; margin-inline: auto; position: relative; z-index: 2; font-size: clamp(2.5rem, 1.2rem + 4.1vw, 5rem); }
.hero__line { display: block; }
.hero__grid {
  flex: 1; display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(1rem, 2.5vw, 2.5rem); align-items: center; padding-bottom: clamp(2rem, 5vh, 3.5rem);
}
.hero__left { display: grid; gap: 1.75rem; align-content: center; }
.hero__blurb { margin: 0; font-size: 1.02rem; color: var(--ink-soft); max-width: 30ch; }
.hero__ctas { display: grid; gap: 0.9rem; justify-items: start; }
.hero__stage {
  position: relative; height: clamp(380px, 60vh, 640px); align-self: stretch; min-height: 380px;
  cursor: grab; touch-action: pan-y;
}
.hero__stage:active { cursor: grabbing; }
.hero__stage canvas { position: absolute; inset: -14% -18% 0 -18%; width: 136%; height: 114%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__stage.is-ready canvas { opacity: 1; }
.hero__fallback {
  position: absolute; inset: 8% 10%; width: 80%; height: 84%; object-fit: cover; border-radius: 50% 50% 24px 24px;
  box-shadow: var(--shadow); transition: opacity 0.6s;
}
.js .hero__fallback { opacity: 0; animation: show-fallback 0.6s ease 3.5s forwards; }
.hero__stage.is-ready .hero__fallback { display: none; }
@keyframes show-fallback { to { opacity: 1; } }
.hero__right { display: grid; gap: 1.5rem; align-content: center; }

/* Rotating seal (circular text) */
.seal { position: relative; width: 112px; height: 112px; display: grid; place-items: center; color: var(--ink); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal text { font-family: var(--font-body); font-size: 8.6px; font-weight: 700; text-transform: uppercase; fill: currentColor; }
.seal__core {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem;
  border: 1px solid var(--line-strong); transition: background-color 0.4s, color 0.4s, transform 0.6s var(--ease);
}
.seal:hover .seal__core { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: rotate(-45deg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin: 0; }
.stat dt { order: 2; font-size: 0.82rem; color: var(--muted); font-weight: 600; line-height: 1.35; }
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }

.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-card:hover img { transform: scale(1.06); }
.photo-card--wide { aspect-ratio: 16 / 8.5; }
.photo-card--wide img { object-position: 50% 18%; }

@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "stage stage" "left right"; }
  .hero__stage { grid-area: stage; height: clamp(360px, 52vh, 520px); }
  .hero__left { grid-area: left; }
  .hero__right { grid-area: right; }
}
@media (max-width: 720px) {
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; grid-template-areas: "left" "stage" "right"; gap: 1.5rem; }
  .hero__stage { height: 360px; min-height: 0; }
  .hero__title { max-width: 14ch; }
  .hero__line { display: inline; }
  .hero__grid { margin-top: 1.25rem; }
  .hero__left { justify-items: center; text-align: center; }
  .hero__blurb { max-width: 34ch; }
  .hero__ctas { justify-items: center; }
  .seal { display: none; }
  .hero__watermark span:first-child { left: -4%; top: 44%; }
  .hero__watermark span:last-child { right: -30%; top: 64%; }
  .stats { text-align: center; }
  .stat { align-items: center; }
}

/* ---------- Marquee band ---------- */
.band { background: var(--band); color: var(--band-ink); }
.marquee { overflow: hidden; padding-block: clamp(1.6rem, 4vw, 2.6rem); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding-right: clamp(1.5rem, 3vw, 3rem);
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.2rem);
  color: var(--gold); white-space: nowrap; line-height: 1.2;
}
.marquee__item i { font-size: 0.55em; color: var(--band-muted); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.head { display: grid; gap: 1.1rem; max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head--center { text-align: center; margin-inline: auto; justify-items: center; }

/* ---------- Practice bento ---------- */
.practice {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(300px, auto));
}
.p-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: clamp(1.6rem, 2.5vw, 2.4rem); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
}
.p-card:hover { box-shadow: var(--shadow); }
.p-card__icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem;
  background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--accent-ink);
}
.p-card p { margin: 0.6rem 0 0; color: var(--muted); max-width: 36ch; }
.p-card .link-arrow { margin-top: 1.25rem; }
.p-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.p-card__go {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong);
  transition: transform 0.6s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.p-card:hover .p-card__go { transform: rotate(-45deg); background: var(--gold); color: var(--navy); border-color: var(--gold); }
.p-card--feature { grid-row: span 2; min-height: 520px; }
/* Photo cards: full-bleed graded image with a navy scrim for legible text */
.p-card--photo { color: #f3efe6; border: 0; background: var(--navy); }
.p-card__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.p-card__bg img { width: 100%; height: 115%; object-fit: cover; transition: scale 1.4s var(--ease); }
.p-card--photo:hover .p-card__bg img { scale: 1.05; }
.p-card__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,30,0.55) 0%, rgba(14,20,30,0.12) 26%, rgba(26,35,50,0.5) 55%, rgba(26,35,50,0.95) 100%); }
.p-card--wide.p-card--photo .p-card__bg::after { background: linear-gradient(90deg, rgba(14,20,30,0.96) 0%, rgba(14,20,30,0.78) 38%, rgba(14,20,30,0.1) 75%); }
.p-card--photo > :not(.p-card__bg) { position: relative; z-index: 1; }
.p-card--photo .h3, .p-card--ink .h3 { color: #f3efe6; }
.p-card--photo p, .p-card--ink p { color: #c9cfda; }
.p-card--photo .p-card__icon, .p-card--ink .p-card__icon { background: rgba(14, 20, 30, 0.55); border: 1px solid rgba(201, 169, 110, 0.35); color: var(--gold); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.p-card--photo .p-card__go, .p-card--ink .p-card__go { border-color: rgba(243,239,230,0.35); background: rgba(14, 20, 30, 0.35); color: #f3efe6; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.p-card--wide { grid-column: span 2; }
.p-card--ink { background: var(--navy-2); border-color: transparent; color: #f3efe6; }
@media (max-width: 960px) {
  .practice { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .p-card--feature { grid-row: auto; grid-column: span 2; min-height: 420px; }
  .p-card--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .practice { grid-template-columns: 1fr; }
  .p-card--photo { min-height: 340px; }
  .p-card--wide.p-card--photo .p-card__bg::after { background: linear-gradient(180deg, rgba(14,20,30,0.15) 0%, rgba(14,20,30,0.92) 100%); }
  .p-card--feature, .p-card--wide { grid-column: auto; }
  .p-card { min-height: 0; }
  .p-card--feature { min-height: 380px; }
}

/* ---------- Approach split ---------- */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); box-shadow: var(--shadow); }
.frame img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.frame__badge {
  position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem; z-index: 2;
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: 16px;
  background: rgba(26, 35, 50, 0.55); border: 1px solid rgba(255, 255, 255, 0.12); color: #f3efe6;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.frame__badge strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold); font-weight: 600; }
.frame__badge span { font-size: 0.88rem; line-height: 1.35; color: #d7dce5; }
@media (prefers-reduced-transparency: reduce) { .frame__badge { background: var(--navy); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 2.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.values li { padding: 1.4rem 1.25rem 1.4rem 0; display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.9rem; }
.values li:nth-child(odd) { border-right: 1px solid var(--line); }
.values li:nth-child(even) { padding-left: 1.5rem; }
.values li:nth-child(n+3) { border-top: 1px solid var(--line); }
.values i { grid-row: span 2; font-size: 1.5rem; color: var(--accent-ink); margin-top: 2px; }
.values strong { font-weight: 700; }
.values span { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .frame { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 520px) {
  .values { grid-template-columns: 1fr; }
  .values li, .values li:nth-child(even) { padding: 1.2rem 0; border-right: 0; }
  .values li + li { border-top: 1px solid var(--line); }
}

/* ---------- Analytics panel ---------- */
.panel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--band); color: var(--band-ink);
  padding: clamp(2rem, 5.5vw, 5rem); display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  isolation: isolate;
}
.panel::before {
  content: ""; position: absolute; z-index: -1; width: 640px; aspect-ratio: 1; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 169, 110, 0.22), transparent);
}
.panel::after {
  content: ""; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; left: -200px; bottom: -320px; border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.18);
}
.panel .h2 { color: var(--band-ink); }
.panel .h2 em { color: var(--gold); }
.panel .lede { color: var(--band-muted); }
.panel .eyebrow { color: var(--gold); }
.keycard {
  position: relative; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem);
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 40px 80px -40px rgba(0,0,0,0.6);
}
.keycard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.keycard__head strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.keycard__head i { font-size: 1.8rem; color: var(--gold); }
.cred { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.95rem 0; border-top: 1px solid rgba(255,255,255,0.1); }
.cred dt { font-size: 0.8rem; color: var(--band-muted); font-weight: 600; }
.cred dd { margin: 0.15rem 0 0; font-weight: 700; font-size: 1.02rem; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: 0.01em; word-break: break-all; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 0.4rem; flex: none; min-height: 36px; padding: 0.3rem 0.85rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18); background: transparent; color: var(--band-ink); font-size: 0.8rem; font-weight: 700;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.copy-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.copy-btn.is-done { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.keycard .btn { margin-top: 1.5rem; width: 100%; justify-content: space-between; }
.panel > * { min-width: 0; }
@media (max-width: 900px) { .panel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .panel { padding: 2rem 1.25rem; }
  .keycard { padding: 1.25rem; }
  .cred dd { font-size: 0.95rem; }
}

/* ---------- Banner image (contact) ---------- */
.banner { margin: 1.25rem 0 0; }
.banner__img { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 21 / 9; background: var(--navy); box-shadow: var(--shadow); }
.banner__img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.banner figcaption { margin-top: 0.85rem; font-size: 0.85rem; color: var(--muted); text-align: center; }
@media (max-width: 640px) { .banner__img { aspect-ratio: 4 / 3; } }

/* ---------- Credits ---------- */
.credits { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: grid; border-top: 1px solid var(--line); }
.credits li { display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.credits img { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; }
.credits strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.credits span { font-size: 0.9rem; color: var(--muted); }
.credits a { color: var(--accent-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .credits li { grid-template-columns: 84px 1fr; } .credits img { width: 84px; height: 84px; } }

/* ---------- CTA ---------- */
.cta { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta__ring { position: absolute; left: 50%; top: 50%; width: min(1100px, 140vw); aspect-ratio: 1; translate: -50% -50%; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; z-index: -1; }
.cta__ring--inner { width: min(760px, 100vw); }
.cta .display { max-width: 15ch; margin-inline: auto; }
.cta .lede { margin: 1.5rem auto 0; text-align: center; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }

/* ---------- Footer ---------- */
.footer { background: var(--band); color: var(--band-muted); padding-top: clamp(4rem, 8vw, 6.5rem); padding-bottom: 2rem; position: relative; overflow: hidden; }
.footer a { color: var(--band-ink); transition: color 0.3s; }
.footer a:hover { color: var(--gold); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 4rem); }
.footer h2 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.2rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer .brand__role { color: var(--gold); }
.footer__brand p { margin: 1rem 0 0; max-width: 32ch; }
.footer__contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer__contact i { color: var(--gold); font-size: 1.15rem; margin-top: 3px; }
.footer__mark {
  font-family: var(--font-display); font-weight: 500; color: var(--band-ink); line-height: 0.95; letter-spacing: -0.02em;
  font-size: clamp(2.8rem, 9.5vw, 9rem); margin: clamp(3rem, 7vw, 5.5rem) 0 2rem; white-space: nowrap;
}
.footer__mark em { color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid rgba(243,239,230,0.12); font-size: 0.85rem; }
.footer__disclaimer { max-width: 90ch; font-size: 0.8rem; line-height: 1.6; margin: 0 0 1.5rem; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } .footer__mark { white-space: normal; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; isolation: isolate; }
.page-hero .hero__watermark span:first-child { left: auto; right: -2%; top: 18%; }
.page-hero .hero__watermark span:last-child { display: none; }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.page-hero .display { font-size: clamp(2.6rem, 1.5rem + 4vw, 4.9rem); }
.page-hero__intro { display: grid; gap: 1.5rem; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__intro { justify-items: center; max-width: 820px; margin-inline: auto; }
.page-hero--center .lede { text-align: center; }
.page-hero .stats { max-width: 520px; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.portrait { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 600px; box-shadow: var(--shadow); background: var(--navy); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .portrait { aspect-ratio: 4 / 3; }
}

/* About - biography */
.bio { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.bio__aside { position: sticky; top: calc(var(--nav-h) + 2rem); display: grid; gap: 2rem; }
.bio__aside .frame { aspect-ratio: 1; }
.bio__body p { margin: 0 0 1.4rem; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; max-width: 64ch; }
.bio__body p:first-child { font-family: var(--font-display); font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem); line-height: 1.45; color: var(--ink); }
.bio__body p:first-child::first-letter { float: left; font-size: 4.2em; line-height: 0.82; padding: 0.06em 0.12em 0 0; color: var(--accent-ink); font-weight: 600; }
@media (max-width: 880px) { .bio { grid-template-columns: 1fr; } .bio__aside { position: static; } }

/* About - values row */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar { padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2vw, 2rem); display: grid; gap: 0.8rem; align-content: start; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar i { font-size: 2rem; color: var(--accent-ink); }
.pillar h3 { margin: 0.6rem 0 0; font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1.1; }
.pillar p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
}

/* Services */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.chip {
  min-height: 44px; padding: 0.45rem 1.15rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  font-weight: 700; font-size: 0.88rem; color: var(--ink-soft); transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.s-card {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.4rem; align-content: start;
  padding: clamp(1.6rem, 3vw, 2.5rem); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.s-card:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.s-card[hidden] { display: none; }
.s-card .p-card__icon { grid-row: span 2; }
.s-card h3 { margin: 0; }
.s-card > p { margin: 0; color: var(--muted); }
.s-card__body { grid-column: 1 / -1; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.s-card__body h4 { margin: 0 0 0.85rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: 0.85rem; font-weight: 600; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--bg-2); color: var(--ink-soft); }
.s-card__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 1.5rem; }
.s-empty { display: none; text-align: center; padding: 3rem 1rem; color: var(--muted); }
.s-empty.is-visible { display: block; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* Contact */
.methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method { padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2.5vw, 2.5rem); display: grid; gap: 0.8rem; align-content: start; }
.method + .method { border-left: 1px solid var(--line); }
.method i.method__icon { font-size: 2rem; color: var(--accent-ink); }
.method h3 { margin: 0.5rem 0 0; font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; line-height: 1.1; }
.method p { margin: 0; color: var(--muted); }
.method__value { font-weight: 700; font-size: 1.1rem; color: var(--ink); word-break: break-word; }
.method .btn { justify-self: start; margin-top: 0.75rem; }
@media (max-width: 900px) {
  .methods { grid-template-columns: 1fr; }
  .method + .method { border-left: 0; border-top: 1px solid var(--line); }
}

.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.5rem; }
.field label, .field .label { font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.field .req { color: var(--accent-ink); }
.input {
  width: 100%; min-height: 50px; padding: 0.8rem 1rem; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 0.98rem;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.input::placeholder { color: var(--muted); opacity: 0.85; }
.input:hover { border-color: var(--ink-soft); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: var(--focus); background: var(--surface); }
textarea.input { min-height: 150px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.6rem; }
.input[aria-invalid="true"] { border-color: var(--error); }
.field__hint { font-size: 0.82rem; color: var(--muted); margin: 0; }
.field__error { font-size: 0.82rem; color: var(--error); font-weight: 600; margin: 0; display: none; }
.field__error.is-visible { display: block; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.form-status { margin: 0; padding: 1rem 1.25rem; border-radius: 12px; background: color-mix(in srgb, var(--gold) 16%, var(--surface)); color: var(--ink); font-weight: 600; display: none; }
.form-status.is-visible { display: block; }

.info-card { display: grid; gap: 1.5rem; position: sticky; top: calc(var(--nav-h) + 2rem); }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.info-list i { grid-row: span 2; font-size: 1.4rem; color: var(--accent-ink); margin-top: 2px; }
.info-list span { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.info-list a, .info-list strong { font-weight: 700; color: var(--ink); word-break: break-word; }
@media (max-width: 960px) { .info-card { position: static; } }


/* ---------- Dialogs ---------- */
.modal {
  border: 0; padding: 0; width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: 0 60px 120px -40px rgba(0,0,0,0.6);
  overflow: auto; overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(10, 15, 24, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in 0.6s var(--ease); }
.modal[open]::backdrop { animation: fade-in 0.4s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } }
.modal__inner { padding: clamp(1.5rem, 4vw, 2.75rem); position: relative; }
.modal__close { position: absolute; top: 1rem; right: 1rem; }
.modal__title { margin: 0 3rem 0.4rem 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem); line-height: 1.1; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin: 1.5rem 0 2rem; list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 0.55rem; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.steps li::before { content: ""; height: 3px; border-radius: 3px; background: var(--line-strong); transition: background-color 0.5s; }
.steps li.is-active, .steps li.is-done { color: var(--ink); }
.steps li.is-active::before, .steps li.is-done::before { background: var(--gold); }
.step { display: none; }
.step.is-active { display: grid; gap: 1.25rem; animation: step-in 0.5s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } }
.step__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; }
.step__nav .btn:only-child { margin-left: auto; }
.success { text-align: center; display: grid; gap: 1rem; justify-items: center; padding-block: 1rem; }
.success__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-size: 2rem; }
.success dl { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1.25rem; text-align: left; background: var(--bg-2); padding: 1.25rem 1.5rem; border-radius: 16px; margin: 0.5rem 0; width: 100%; }
.success dt { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.success dd { margin: 0; font-weight: 700; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.case-grid > div { background: var(--bg-2); border-radius: 16px; padding: 1.25rem; }
.case-grid h4, .case-strategy h4 { margin: 0 0 0.4rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.case-grid p, .case-strategy p { margin: 0; color: var(--ink-soft); }
.case-strategy { margin-top: 1rem; padding: 1.25rem; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
@media (max-width: 560px) { .case-grid { grid-template-columns: 1fr; } .steps li { font-size: 0.72rem; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .tilt { transform: none !important; }
}
