/* ==========================================================================
   Prince Sharma — Advocate & Associates
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/cormorant.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/manrope.woff2") format("woff2");
}

:root {
  /* Palette */
  --ink: #0e1420;
  --navy-900: #141b29;
  --navy-800: #1f2839;
  --navy-700: #2a3449;
  --navy-600: #3a4560;
  --gold-300: #e2cfab;
  --gold-400: #cdb48a;
  --gold-500: #b69c74;
  --gold-600: #9c8158;
  --gold-700: #7a6240;
  --ivory-50: #fbf9f5;
  --ivory-100: #f5f1e9;
  --ivory-200: #ece5d7;
  --line: #e2d9c8;
  --line-dark: rgb(255 255 255 / 0.09);

  --text: #1b2230;
  --text-2: #4a5263;
  --text-3: #687082;
  --on-dark: #f4f1ea;
  --on-dark-2: #bcc2cd;
  --on-dark-3: #8d95a6;

  /* Type */
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --section-y: clamp(72px, 9vw, 128px);
  --r-sm: 2px;
  --r: 4px;
  --r-lg: 10px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--ivory-50);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "ss01";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a, button, summary, [role="button"] {
  touch-action: manipulation;
}
button, .btn, summary {
  -webkit-user-select: none;
  user-select: none;
}

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

::selection { background: var(--gold-300); color: var(--ink); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.125em;
  height: 1.125em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold-500);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--r);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--light { color: var(--gold-400); }

.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.375rem, 1.6rem + 2.6vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--navy-900);
  text-wrap: balance;
}
.h2--light { color: var(--on-dark); }

.lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--text);
}

.section { padding-block: var(--section-y); position: relative; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: end;
}
@media (min-width: 880px) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
}
.section-head__aside { color: var(--on-dark-2); max-width: 460px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--r);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 18px; height: 18px; }

.btn--gold {
  --btn-bg: var(--gold-500);
  --btn-fg: var(--ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 1px 2px rgb(14 20 32 / 0.2);
}
.btn--outline-light {
  --btn-fg: var(--on-dark);
  border-color: rgb(255 255 255 / 0.22);
}
.btn--outline {
  --btn-fg: var(--navy-900);
  border-color: var(--line);
}
.btn--quiet {
  --btn-fg: var(--text-2);
  padding-inline: 18px;
}
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.875rem; }
.btn--block { width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { --btn-bg: var(--gold-400); }
  .btn--outline-light:hover { border-color: var(--gold-500); color: var(--gold-300); }
  .btn--outline:hover { border-color: var(--gold-500); }
  .btn--quiet:hover { --btn-fg: var(--navy-900); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gold-700);
  padding-block: 6px;
  border-bottom: 1px solid currentColor;
}
.link-arrow .icon { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover .icon { transform: translateX(3px); }
  .link-arrow:hover .icon:has(use[href="#i-arrow-ur"]) { transform: translate(2px, -2px); }
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--on-dark);
  border: 1px solid rgb(255 255 255 / 0.16);
  transition: transform 160ms var(--ease-out), border-color 200ms ease, background-color 200ms ease;
}
.icon-btn:active { transform: scale(0.94); }
.icon-btn .icon { width: 20px; height: 20px; }
.icon-btn--light { color: var(--navy-900); border-color: var(--line); }
@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover { border-color: var(--gold-500); }
  .icon-btn--light:hover { background: var(--ivory-100); }
}

/* ---------- Top bar ---------- */
.topbar {
  display: none;
  background: var(--ink);
  color: var(--on-dark-3);
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 900px) { .topbar { display: block; } }
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
}
.topbar__list, .topbar__social { display: flex; align-items: center; gap: 28px; }
.topbar__list li, .topbar__list a { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { color: var(--gold-500); width: 15px; height: 15px; }
.topbar__social { gap: 6px; }
.topbar__social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: color 200ms ease;
}
.topbar__social .icon { width: 17px; height: 17px; color: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .topbar a:hover { color: var(--on-dark); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  margin-bottom: calc(var(--header-h) * -1);
  color: var(--on-dark);
  transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgb(20 27 41 / 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-dark);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__seal {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  box-shadow: inset 0 0 0 3px var(--navy-900), inset 0 0 0 4px rgb(182 156 116 / 0.45);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  color: var(--gold-400);
  flex: none;
}
.brand__text { display: grid; line-height: 1.1; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand__tag {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 4px;
}
@media (max-width: 599px) {
  .brand { gap: 12px; }
  .brand__seal { width: 40px; height: 40px; font-size: 1rem; }
  .brand__name { font-size: 1.1875rem; letter-spacing: 0.12em; }
  .brand__tag { font-size: 0.5625rem; letter-spacing: 0.28em; }
}

.nav { display: none; }
@media (min-width: 1080px) { .nav { display: block; } }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-dark-2);
  transition: color 200ms ease;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease-out);
}
.nav__list a[aria-current="true"] { color: var(--on-dark); }
.nav__list a[aria-current="true"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav__list a:hover { color: var(--on-dark); }
  .nav__list a:hover::after { transform: scaleX(1); }
}

.site-header__cta { display: none; }
@media (min-width: 640px) { .site-header__cta { display: inline-flex; } }

.menu-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border-radius: 50%;
  transition: transform 160ms var(--ease-out);
}
.menu-btn:active { transform: scale(0.94); }
.menu-btn .icon { width: 24px; height: 24px; }
@media (min-width: 1080px) { .menu-btn { display: none; } }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px);
  border: 0;
  background: var(--navy-900);
  color: var(--on-dark);
  display: none;
  flex-direction: column;
  overscroll-behavior: contain;
}
.menu[open] { display: flex; }
.menu::backdrop { background: transparent; }
.menu__head { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.menu__list { margin-top: 40px; display: grid; }
.menu__list a {
  display: block;
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 2.125rem;
  font-weight: 500;
  line-height: 1.15;
  border-bottom: 1px solid var(--line-dark);
}
.menu__list a:active { color: var(--gold-400); }
.menu__foot { margin-top: auto; display: grid; gap: 12px; padding-top: 32px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--on-dark);
  padding-top: var(--header-h);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 38%, rgb(182 156 116 / 0.24), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgb(58 69 96 / 0.5), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
}
/* faint pinstripe, like chamber panelling */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.022) 0 1px, transparent 1px 120px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  min-height: min(100svh, 920px);
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.08fr 0.92fr; gap: 24px; }
}

.hero__copy {
  padding-block: clamp(40px, 8vw, 72px) clamp(32px, 5vw, 56px);
  align-self: center;
  max-width: 640px;
}
@media (min-width: 900px) {
  .hero__copy { padding-block: 72px 112px; }
}

.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.25rem, 1.9rem + 5.2vw, 6.25rem);
  line-height: 0.94;
  letter-spacing: -0.018em;
  margin-bottom: 28px;
}
/* Each line is a mask the words rise out of; the padding keeps descenders unclipped */
.hero__line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__line > .hero__reveal { display: block; }
.hero__line--accent {
  font-style: italic;
  font-weight: 500;
  font-size: 0.5em;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--gold-400);
  margin-top: 0.3em;
}
.hero__lede {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: var(--on-dark-2);
  max-width: 34em;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) {
  .hero__copy { padding-block: 28px 20px; }
  .hero__title { margin-bottom: 20px; }
  .hero__lede { font-size: 1rem; margin-bottom: 24px; }
  .hero__actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
  .hero__actions .btn { padding-inline: 14px; }
  .hero__status { margin-top: 18px; }
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 0.875rem;
  color: var(--on-dark-3);
}
.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--on-dark-3);
}
[data-open="true"] .status-dot { background: #5fc48a; box-shadow: 0 0 0 4px rgb(95 196 138 / 0.16); }
[data-open="true"] [data-hours-text] { color: var(--on-dark-2); }

/* portrait */
.hero__portrait {
  position: relative;
  justify-self: center;
  align-self: end;
  width: min(100%, 540px);
  display: grid;
  justify-items: center;
}
@media (min-width: 900px) { .hero__portrait { justify-self: end; margin-right: -12px; } }
.hero__portrait picture { position: relative; z-index: 1; }
/* warm light behind the shoulders so the dark suit separates from the navy */
.hero__portrait::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 8%;
  width: 110%;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(205 180 138 / 0.26), rgb(205 180 138 / 0.08) 55%, transparent);
  pointer-events: none;
}
.hero__portrait img {
  width: auto;
  height: clamp(400px, 100vw, 640px);
  max-height: calc(min(100svh, 920px) - var(--header-h) - 40px);
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 30px 60px rgb(0 0 0 / 0.35));
}
@media (min-width: 900px) {
  .hero__portrait img { height: clamp(520px, 72vh, 760px); }
}
.hero__ring {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 4%;
  width: 92%;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  border: 1px solid rgb(182 156 116 / 0.42);
}
.hero__ring--inner {
  top: calc(4% + 4.5%);
  width: 83%;
  border-color: rgb(182 156 116 / 0.16);
}

.hero__badge {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 22%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: var(--r-lg);
  background: rgb(20 27 41 / 0.66);
  border: 1px solid rgb(255 255 255 / 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.5);
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--on-dark-2);
}
.hero__badge strong { display: block; color: var(--on-dark); font-weight: 600; font-size: 0.9375rem; }
.hero__badge .icon { width: 28px; height: 28px; color: var(--gold-400); stroke-width: 1.3; }
@media (max-width: 599px) {
  .hero__badge { left: 4px; bottom: 16%; padding: 10px 14px 10px 12px; }
  .hero__badge .icon { width: 22px; height: 22px; }
}

/* ---------- Facts ---------- */
.facts {
  background: var(--navy-800);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark);
}
.facts__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .facts__list { grid-template-columns: repeat(4, 1fr); } }
.fact {
  display: grid;
  gap: 6px;
  padding: 28px 20px 28px 0;
  border-bottom: 1px solid var(--line-dark);
}
.fact:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line-dark); }
@media (min-width: 900px) {
  .fact { padding: 40px 28px; border-bottom: 0; border-left: 1px solid var(--line-dark); }
  .fact:first-child { padding-left: 0; border-left: 0; }
  .fact:nth-child(2n) { padding-left: 28px; }
}
.fact__num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 2rem + 1.6vw, 3.5rem);
  line-height: 1;
  color: var(--on-dark);
  font-variant-numeric: lining-nums tabular-nums;
}
.fact__num span { color: var(--gold-500); }
.fact__label { font-size: 0.875rem; color: var(--on-dark-3); max-width: 18em; }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
@media (min-width: 960px) {
  .about__grid { grid-template-columns: 460px 1fr; }
}
.about__media { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.about__frame {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ivory-200);
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-500);
  border-radius: var(--r);
  z-index: -1;
}
.about__media { isolation: isolate; }
@media (max-width: 599px) {
  .about__media::before { inset: 10px -8px -10px 8px; }
}
.about__caption {
  position: absolute;
  right: -12px;
  bottom: 36px;
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  background: var(--navy-900);
  color: var(--on-dark);
  border-radius: var(--r);
  box-shadow: 0 24px 48px -16px rgb(14 20 32 / 0.45);
}
@media (max-width: 520px) { .about__caption { right: 8px; bottom: 16px; } }
.about__caption-k {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.about__caption-v { font-family: var(--serif); font-size: 1.1875rem; font-weight: 600; line-height: 1.25; }

.about__copy { max-width: 620px; }
.about__copy .h2 { margin-bottom: 24px; }
.about__copy > p + p { margin-top: 16px; }
.about__copy > p:not(.lead):not(.eyebrow) { color: var(--text-2); }

.mission {
  margin-top: 40px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.mission p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  line-height: 1.35;
  color: var(--navy-900);
}
.mission footer {
  margin-top: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
}

/* ---------- Practice ---------- */
.practice {
  background: var(--navy-800);
  color: var(--on-dark);
}
.practice::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 40% at 100% 0%, rgb(182 156 116 / 0.1), transparent 70%);
  pointer-events: none;
}
.practice__grid {
  position: relative;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .practice__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .practice__grid { grid-template-columns: repeat(3, 1fr); } }
.practice__grid > li { display: flex; }

.pcard {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 32px 28px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.045), rgb(255 255 255 / 0.015));
  border: 1px solid var(--line-dark);
  transition: transform 160ms var(--ease-out), border-color 240ms ease, background-color 240ms ease;
}
.pcard:active { transform: scale(0.985); }
.pcard__icon {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 28px;
}
.pcard__title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--on-dark);
  margin-bottom: 12px;
  text-wrap: balance;
}
.pcard__text { color: var(--on-dark-2); font-size: 0.9688rem; line-height: 1.6; margin-bottom: 28px; }
.pcard__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.pcard__more .icon { transition: transform 240ms var(--ease-out); }
@media (max-width: 639px) {
  .pcard {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 16px;
    padding: 24px 20px 22px;
  }
  .pcard > :not(.pcard__icon) { grid-column: 2; }
  .pcard__icon { grid-row: 1 / span 3; width: 30px; height: 30px; margin: 2px 0 0; }
  .pcard__title { font-size: 1.5rem; margin-bottom: 8px; }
  .pcard__text { margin-bottom: 16px; font-size: 0.9375rem; }
}
@media (hover: hover) and (pointer: fine) {
  .pcard:hover { border-color: rgb(182 156 116 / 0.45); background-color: rgb(255 255 255 / 0.03); }
  .pcard:hover .pcard__more .icon { transform: translateX(4px); }
}

.courts {
  position: relative;
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px dashed rgb(182 156 116 / 0.35);
}
.courts__icon {
  width: 40px;
  height: 40px;
  flex: none;
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.courts__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 6px; }
.courts p { color: var(--on-dark-2); max-width: 64em; }
@media (max-width: 520px) { .courts { flex-direction: column; gap: 16px; } }

/* ---------- Approach ---------- */
.approach { background: var(--ivory-100); }
.approach__grid { display: grid; gap: clamp(48px, 6vw, 96px); }
@media (min-width: 960px) {
  .approach__grid { grid-template-columns: 0.95fr 1.05fr; align-items: start; }
  .approach__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}
.approach__intro .h2 { margin-bottom: 24px; }
.approach__intro > p:not(.eyebrow) { color: var(--text-2); max-width: 34em; }

.principles {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px 24px;
}
.principles li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.9688rem; }
.principles .icon { color: var(--gold-600); width: 18px; height: 18px; stroke-width: 2; }

.steps { position: relative; display: grid; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-600);
  font-variant-numeric: lining-nums;
}
.step__title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.step p { color: var(--text-2); }
@media (max-width: 520px) {
  .step { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- NRI ---------- */
.nri {
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.nri__bg {
  position: absolute;
  z-index: -1;
  right: -12%;
  top: 50%;
  width: min(720px, 90vw);
  aspect-ratio: 1;
  translate: 0 -50%;
  opacity: 0.09;
}
.nri__bg svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 0.12;
}
.nri__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .nri__grid { grid-template-columns: 1fr 1fr; gap: 96px; } }
.nri .h2 { margin-bottom: 24px; }
.nri__text { color: var(--on-dark-2); max-width: 32em; margin-bottom: 36px; }
.nri__list { display: grid; }
.nri__list li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1.0625rem;
  color: var(--on-dark);
}
.nri__list li:first-child { border-top: 1px solid var(--line-dark); }
.nri__list span {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gold-500);
  font-variant-numeric: lining-nums tabular-nums;
  min-width: 1.6em;
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: 0.8fr 1.2fr; gap: 96px; align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}
.faq__intro .h2 { margin-bottom: 20px; }
.faq__intro > p:not(.eyebrow) { color: var(--text-2); margin-bottom: 24px; max-width: 26em; }

.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.3125rem, 1.2rem + 0.4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy-900);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon {
  width: 22px;
  height: 22px;
  color: var(--gold-600);
  transition: transform 240ms var(--ease-out);
}
.qa[open] summary .icon { transform: rotate(45deg); }
.qa__a { padding: 0 48px 28px 0; color: var(--text-2); }
@media (hover: hover) and (pointer: fine) {
  .qa summary:hover { color: var(--gold-700); }
}

/* ---------- Appointment ---------- */
.appointment {
  background:
    radial-gradient(60% 80% at 0% 100%, rgb(182 156 116 / 0.14), transparent 70%),
    var(--navy-900);
  color: var(--on-dark);
}
.appointment__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .appointment__grid { grid-template-columns: 0.85fr 1.15fr; gap: 96px; } }
.appointment__copy .eyebrow { margin-bottom: 10px; }
.appointment__copy .h2 { margin-bottom: 24px; }
.appointment__copy > p:not(.eyebrow) { color: var(--on-dark-2); max-width: 28em; }
.appointment__meta { margin-top: 32px; display: grid; gap: 12px; color: var(--on-dark-2); }
.appointment__meta li { display: flex; align-items: center; gap: 12px; }
.appointment__meta .icon { color: var(--gold-500); }
.appointment__meta a { color: var(--on-dark); font-weight: 600; }

.appt-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-lg);
  background: var(--ivory-50);
  color: var(--text);
  box-shadow: 0 40px 80px -32px rgb(0 0 0 / 0.6);
}
@media (min-width: 560px) { .appt-form { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field--full, .appt-form__foot { grid-column: 1 / -1; }
.field label { font-size: 0.8125rem; font-weight: 600; color: var(--text-2); }
.field__opt { font-weight: 400; color: var(--text-3); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 13px 14px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgb(182 156 116 / 0.22);
}
.field [aria-invalid="true"] { border-color: #b4533f; }
.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--text-3);
  border-bottom: 1.5px solid var(--text-3);
  translate: 0 -70%;
  rotate: 45deg;
  pointer-events: none;
}
.appt-form__foot { display: grid; gap: 12px; margin-top: 6px; }
.appt-form__note { font-size: 0.8125rem; color: var(--text-3); text-align: center; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .contact__grid { grid-template-columns: repeat(3, 1fr); } }
.place {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}
.place__k {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.place__title { font-family: var(--serif); font-size: 1.625rem; font-weight: 600; line-height: 1.15; color: var(--navy-900); }
.place > p:not(.place__k) { color: var(--text-2); margin-bottom: 16px; }
.place .link-arrow { margin-top: auto; }
.place--dark { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark); }
.place--dark .place__k { color: var(--gold-400); }
.place__list { display: grid; gap: 14px; margin-top: 8px; width: 100%; }
.place__list li { display: flex; align-items: center; gap: 12px; color: var(--on-dark-2); overflow-wrap: anywhere; }
.place__list a { color: var(--on-dark); }
.place__list .icon { color: var(--gold-500); }
@media (hover: hover) and (pointer: fine) {
  .place__list a:hover { color: var(--gold-300); }
}

.map {
  margin-top: 16px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ivory-200);
  height: clamp(300px, 38vw, 460px);
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.85) contrast(1.05); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--on-dark-3);
  padding-top: clamp(64px, 8vw, 96px);
  font-size: 0.9375rem;
}
.footer__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: 56px;
}
.footer__brand { grid-column: 1 / -1; max-width: 380px; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}
.brand--footer { color: var(--on-dark); margin-bottom: 20px; }
.brand--footer .brand__seal { box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgb(182 156 116 / 0.45); }
.footer__h {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 18px;
}
.footer__links { display: grid; gap: 10px; }
.footer__links a { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .footer__links a:hover { color: var(--on-dark); }
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
}
.footer__legal { max-width: 640px; }
.footer__disclaimer {
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed;
  z-index: 40;
  right: max(16px, env(safe-area-inset-right, 0px) + 16px);
  bottom: max(16px, env(safe-area-inset-bottom, 0px) + 16px);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--ink);
  box-shadow: 0 12px 28px -8px rgb(14 20 32 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.3);
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  pointer-events: none;
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), background-color 200ms ease;
}
.fab .icon { width: 26px; height: 26px; }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab.is-visible:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .fab:hover { background: var(--gold-400); }
}

/* ---------- Dialog base ---------- */
dialog { color: inherit; }
dialog::backdrop { background: rgb(9 13 21 / 0.72); }

/* ---------- Disclaimer ---------- */
.disclaimer {
  width: min(680px, calc(100% - 32px));
  max-height: min(88dvh, 760px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--ivory-50);
  color: var(--text);
  box-shadow: 0 40px 100px -20px rgb(0 0 0 / 0.6);
  overflow: hidden;
}
/* Before JS upgrades it to a modal (or without JS), keep it looking modal */
.disclaimer[open]:not(:modal) {
  position: fixed;
  inset: 0;
  z-index: 100;
  box-shadow: 0 0 0 100vmax rgb(9 13 21 / 0.78), 0 40px 100px -20px rgb(0 0 0 / 0.6);
}
.disclaimer::backdrop {
  background: rgb(9 13 21 / 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.disclaimer__inner {
  display: flex;
  flex-direction: column;
  max-height: inherit;
}
.disclaimer__seal {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 32px auto 12px;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  color: var(--gold-600);
}
.disclaimer__seal svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.disclaimer__title {
  text-align: center;
  font-family: var(--serif);
  font-size: 2.125rem;
  font-weight: 600;
  color: var(--navy-900);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-inline: clamp(20px, 5vw, 40px);
}
.disclaimer__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px clamp(20px, 5vw, 40px);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-2);
}
.disclaimer__body > * + * { margin-top: 14px; }
.disclaimer__lead { color: var(--text); font-weight: 600; }
.disclaimer__body ul { display: grid; gap: 10px; }
.disclaimer__body li { position: relative; padding-left: 22px; }
.disclaimer__body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--gold-600);
}
.disclaimer__contact a { color: var(--gold-700); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.disclaimer__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px clamp(20px, 5vw, 40px) calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--ivory-100);
}
.disclaimer__actions .btn--gold { min-width: 160px; }
@media (max-width: 479px) {
  .disclaimer__actions .btn { flex: 1; }
}

/* ---------- Drawer (practice detail) ---------- */
.drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.drawer:not([open]) { display: none; }
.drawer__panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: var(--ivory-50);
  color: var(--text);
  box-shadow: 0 0 80px rgb(0 0 0 / 0.35);
  /* mobile: bottom sheet */
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 88dvh;
  border-radius: 16px 16px 0 0;
}
@media (min-width: 760px) {
  .drawer__panel {
    left: auto;
    top: 0;
    width: min(560px, 92vw);
    max-height: none;
    border-radius: 0;
  }
}
.drawer__grip {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  margin: 10px auto 0;
}
@media (min-width: 760px) { .drawer__grip { display: none; } }
.drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(20px, 4vw, 40px) 20px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) { .drawer__head { padding-top: 40px; } }
.drawer__head .eyebrow { margin-bottom: 10px; }
.drawer__title {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 1.6rem + 1vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--navy-900);
  text-wrap: balance;
}
.drawer__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px clamp(20px, 4vw, 40px) 24px;
}
.drawer__body h3 {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-900);
  padding-top: 24px;
  margin-bottom: 8px;
  text-wrap: balance;
}
.drawer__body h3:not(:first-child) { border-top: 1px solid var(--line); margin-top: 24px; }
.drawer__body p { color: var(--text-2); font-size: 0.9688rem; }
.drawer__foot .btn { padding-inline: 18px; }
.drawer__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 16px clamp(20px, 4vw, 40px) calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--ivory-100);
}

/* ==========================================================================
   Motion
   Curves: --ease-out (enter/exit), --ease-drawer (sheets). Exits are faster
   than entrances. Only transform + opacity move (height for the FAQ only).
   ========================================================================== */

:root {
  --rise: 16px;      /* scroll-reveal travel */
  --rise-sm: 12px;   /* hero copy travel */
  --line-rise: 105%; /* hero title mask travel */
}

/* ---------- Hero: plays when the disclaimer is accepted ---------- */
.hero__reveal {
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
  transition-delay: calc(80ms + var(--i, 0) * 70ms);
}
.hero__line > .hero__reveal { transition-duration: 900ms; }
.hero__portrait picture,
.hero__badge,
.hero__ring {
  transition:
    opacity 900ms var(--ease-out),
    transform 1100ms var(--ease-out);
}
.hero__portrait picture { transition-delay: 160ms; }
.hero__ring { transition-delay: 260ms; }
.hero__ring--inner { transition-delay: 360ms; }
.hero__badge { transition-delay: 640ms; }

/* While the disclaimer is up (and not yet leaving), the hero waits in its start pose.
   Hidden instantly, revealed with the transitions above. */
html:has(#disclaimer[open]:not([data-closing])) :is(.hero__reveal, .hero__portrait picture, .hero__badge, .hero__ring) {
  opacity: 0;
  transition-duration: 0s;
  transition-delay: 0s;
}
html:has(#disclaimer[open]:not([data-closing])) .hero__reveal { transform: translateY(var(--rise-sm)); }
html:has(#disclaimer[open]:not([data-closing])) .hero__line > .hero__reveal { transform: translateY(var(--line-rise)); }
html:has(#disclaimer[open]:not([data-closing])) .hero__portrait picture { transform: translateY(24px); }
html:has(#disclaimer[open]:not([data-closing])) .hero__ring { transform: scale(0.94); }
html:has(#disclaimer[open]:not([data-closing])) .hero__badge { transform: translateY(8px); }

/* ---------- Scroll reveals (once, section-level groups) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(var(--rise));
  transition:
    opacity 640ms var(--ease-out),
    transform 640ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.js .reveal[data-visible] { opacity: 1; transform: none; }

/* ---------- Disclaimer (modal: stays centred) ---------- */
.disclaimer {
  transition:
    opacity 280ms var(--ease-out),
    transform 280ms var(--ease-out);
}
@starting-style {
  .disclaimer[open] { opacity: 0; transform: scale(0.96); }
}
.disclaimer[data-closing] {
  opacity: 0;
  transform: scale(0.98);
  transition-duration: 180ms;
}
.disclaimer::backdrop { transition: opacity 280ms var(--ease-out); }
@starting-style {
  .disclaimer[open]::backdrop { opacity: 0; }
}
.disclaimer[data-closing]::backdrop { opacity: 0; transition-duration: 180ms; }

/* ---------- Practice drawer: bottom sheet on phones, side panel on desktop ---------- */
.drawer__panel { transition: transform 420ms var(--ease-drawer), opacity 420ms var(--ease-drawer); }
@starting-style {
  .drawer[open] .drawer__panel { transform: translateY(100%); }
}
.drawer[data-closing] .drawer__panel { transform: translateY(100%); transition-duration: 260ms; }
@media (min-width: 760px) {
  @starting-style {
    .drawer[open] .drawer__panel { transform: translateX(100%); }
  }
  .drawer[data-closing] .drawer__panel { transform: translateX(100%); }
}
.drawer::backdrop { transition: opacity 420ms var(--ease-drawer); }
@starting-style {
  .drawer[open]::backdrop { opacity: 0; }
}
.drawer[data-closing]::backdrop { opacity: 0; transition-duration: 260ms; }

/* ---------- Mobile menu ---------- */
.menu { transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
@starting-style {
  .menu[open] { opacity: 0; transform: translateY(-8px); }
}
.menu[data-closing] { opacity: 0; transform: translateY(-8px); transition-duration: 160ms; }

/* ---------- FAQ: height + opacity (progressive enhancement) ---------- */
.qa { interpolate-size: allow-keywords; }
.qa::details-content {
  block-size: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    block-size 260ms var(--ease-out),
    opacity 260ms var(--ease-out),
    content-visibility 260ms allow-discrete;
}
.qa[open]::details-content { block-size: auto; opacity: 1; }

/* ---------- Reduced motion: keep the fades, drop the travel ---------- */
@media (prefers-reduced-motion: reduce) {
  :root { --rise: 0px; --rise-sm: 0px; --line-rise: 0px; }
  .hero__reveal,
  .hero__portrait picture,
  .hero__badge,
  .hero__ring,
  .js .reveal {
    transition-property: opacity;
    transition-duration: 300ms;
  }
  html:has(#disclaimer[open]:not([data-closing])) :is(.hero__portrait picture, .hero__ring, .hero__badge) { transform: none; }
  .disclaimer, .menu { transition-property: opacity; }
  @starting-style {
    .disclaimer[open], .menu[open] { transform: none; }
    .drawer[open] .drawer__panel { transform: none; opacity: 0; }
  }
  .disclaimer[data-closing], .menu[data-closing] { transform: none; }
  .drawer__panel { transition-property: opacity; transition-duration: 200ms; }
  .drawer[data-closing] .drawer__panel { transform: none; opacity: 0; }
  .qa::details-content { transition-property: opacity, content-visibility; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 760px) {
  @starting-style {
    .drawer[open] .drawer__panel { transform: none; opacity: 0; }
  }
  .drawer[data-closing] .drawer__panel { transform: none; }
}
