/* ==========================================================================
   Flylaw Advisors and Consultants — core stylesheet
   Design system, layout primitives and every shared section component.
   Page-specific additions live in assets/css/pages/<page>.css
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Bright theme: warm white pages, navy type, brass-gold accents.
     .theme-dark re-points these for the few deep navy accent bands. */
  --ink: #fbf8f2;            /* page background */
  --navy: #ffffff;           /* card surface */
  --navy-2: #f4eee3;         /* raised / tinted surface */
  --line: rgba(15, 29, 54, .1);
  --line-strong: rgba(15, 29, 54, .2);
  --text: #0f1d36;           /* navy ink */
  --muted: #535c6e;
  --gold: #b8913f;           /* fills, rules, icons */
  --gold-2: #96742c;         /* accent text on light */
  --gold-deep: #7d5f22;
  --ivory: #f6f1e7;          /* tinted light sections */
  --ivory-2: #ece5d6;
  --ink-text: #0f1d36;
  --ink-muted: #535c6e;
  --deep: #0f1d36;           /* navy accent bands */
  --deep-2: #16284a;
  /* Ink black: a warm near-black, the second dark beside navy. Used for the marquee, stats, footer,
     featured cards and text panels over footage. */
  --black: #141310;
  --black-2: #1d1b17;
  --black-3: #2a2721;
  --paper: #fffdf8;          /* lighter "paper" light section, to alternate with --ivory */
  --tex-op: .5;              /* texture strength (grain + pattern) */
  --tex-rgb: 15, 29, 54;     /* colour of line/grid/dot textures; light-on-dark themes re-point it */

  /* Texture tiles (inline SVG, no downloads). --grain is dark speckle for light surfaces and is
     re-pointed to the pale tile on dark ones. Only literals live here, so re-pointing works. */
  --grain-dk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .24 0 0 0 0 .1 0 0 0 .9 -.34'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-lt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .96 0 0 0 0 .92 0 0 0 0 .82 0 0 0 .8 -.32'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain: var(--grain-dk);

  --shadow-sm: 0 1px 2px rgba(15, 29, 54, .06), 0 4px 14px -6px rgba(15, 29, 54, .12);
  --shadow-lg: 0 2px 6px rgba(15, 29, 54, .05), 0 24px 60px -24px rgba(15, 29, 54, .28);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero: clamp(2.5rem, 1rem + 5vw, 6.4rem);
  --fs-h1: clamp(2.3rem, 1.2rem + 4vw, 5.2rem);
  --fs-h2: clamp(1.9rem, 1.15rem + 2.6vw, 3.7rem);
  --fs-h3: clamp(1.2rem, 1rem + .8vw, 1.7rem);
  --fs-lead: clamp(1rem, .93rem + .35vw, 1.2rem);
  --fs-small: .875rem;

  --gutter: clamp(1rem, .4rem + 2.6vw, 3rem);
  --section-y: clamp(4rem, 2rem + 5vw, 7.5rem);
  --header-h: 4.75rem;
  --radius: 1.25rem;
  --maxw: 84rem;

  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-power3: cubic-bezier(.215, .61, .355, 1);

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  background: var(--ink);
  color: var(--text);
  font-variant-numeric: lining-nums; /* Playfair defaults to old-style figures */
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, picture { display: block; max-width: 100%; }
svg { overflow: visible; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.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; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 200; padding: .6rem 1rem; border-radius: 999px; background: var(--deep); color: #fff; font-weight: 700; transform: translateY(-200%); transition: transform .3s; }
.skip-link:focus { transform: none; }

/* ---------- Page transitions (cross-document View Transitions) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-power3) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease-expo) both; }
::view-transition-group(site-header) { animation: none; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Layout primitives ---------- */
.container-x { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); isolation: isolate; overflow: hidden; }
.theme-light {
  background: radial-gradient(52rem 26rem at 100% 0, rgba(184, 145, 63, .11), transparent 65%), var(--ivory);
  color: var(--ink-text); --text: var(--ink-text); --muted: var(--ink-muted); color-scheme: light;
}
.theme-paper { background: radial-gradient(46rem 24rem at 0 100%, rgba(184, 145, 63, .09), transparent 65%), var(--paper); }

/* Dark surfaces. Every dark band shares one set of re-pointed tokens: .theme-ink (warm black) and
   .theme-dark (navy) are the reusable classes; the hero, inner-page heroes, video/photo bands, final
   CTA, stats, footer and the header-over-hero are dark by default. */
.theme-dark, .theme-ink, .stats, .site-footer, .hero, .phero, .mf, .proof, .final-cta,
.section:has(> .bgv--band, > .bgv--page, > .bgv--soft, > .bgv--dark),
.site-header:not(.is-scrolled):not(.menu-open) {
  --ink: var(--black); --navy: var(--black-2); --navy-2: var(--black-3);
  --line: rgba(255, 255, 255, .1); --line-strong: rgba(255, 255, 255, .22);
  --text: #f6f1e7; --muted: #b9b4a8; --gold-2: #e6cd8f; --gold: #c8a55b; --gold-deep: #e6cd8f;
  --tex-rgb: 246, 241, 231; --grain: var(--grain-lt); --tex-op: .28;
  color: var(--text); color-scheme: dark;
}
.theme-dark { --ink: var(--deep); --navy: var(--deep-2); --navy-2: #1d3360; --muted: #b7bdc9; background: var(--deep); }
.theme-ink, .stats, .site-footer { background: var(--black); }

/* ---------- Textures ----------
   Light sections get ruled "legal paper" lines plus a fine grain by default. Swap the pattern with a
   utility class on the section/card: .tex-grain (grain only), .tex-lines, .tex-grid, .tex-dots; add
   .tex-glow for a soft gold glow (--glow-x / --glow-y move it). --tex-op fades the whole texture. */
.tex-grain, .tex-lines, .tex-grid, .tex-dots, .tex-glow { position: relative; isolation: isolate; }
.section::before, .tex-grain::before, .tex-lines::before, .tex-grid::before, .tex-dots::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--tex-op, 1);
  background-image: repeating-linear-gradient(0deg, rgba(var(--tex-rgb), .05) 0 1px, transparent 1px 2.4rem), var(--grain);
  background-size: auto, 200px 200px;
}
.tex-grain::before { background-image: var(--grain); background-size: 200px 200px; }
.tex-grid::before {
  background-image: linear-gradient(90deg, rgba(var(--tex-rgb), .05) 1px, transparent 1px), linear-gradient(0deg, rgba(var(--tex-rgb), .05) 1px, transparent 1px), var(--grain);
  background-size: 3.2rem 3.2rem, 3.2rem 3.2rem, 200px 200px;
}
.tex-dots::before { background-image: radial-gradient(rgba(var(--tex-rgb), .16) 1px, transparent 1.6px), var(--grain); background-size: 1.4rem 1.4rem, 200px 200px; }
.tex-glow::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(48rem 26rem at var(--glow-x, 100%) var(--glow-y, 0%), rgba(200, 165, 91, .16), transparent 65%); }
.theme-ink.tex-glow::after, .stats.tex-glow::after, .site-footer.tex-glow::after { background: radial-gradient(48rem 26rem at var(--glow-x, 50%) var(--glow-y, 0%), rgba(200, 165, 91, .2), transparent 65%); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: .8; }
.theme-light .eyebrow { color: var(--gold-deep); }
.display, .h1, .h2, .h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
.display { font-size: var(--fs-hero); line-height: 1; }
.h1 { font-size: var(--fs-h1); line-height: 1.02; }
.h2 { font-size: var(--fs-h2); line-height: 1.06; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; }
.h1 em, .h2 em, .display em { font-style: italic; color: var(--gold-2); }
.theme-light .h2 em, .theme-light .h1 em { color: var(--gold-deep); }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.65; max-width: 60ch; text-wrap: pretty; }
.text-muted { color: var(--muted); }

.link-u { position: relative; display: inline-flex; align-items: center; gap: .5rem; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-expo); }
.link-u:hover::after, .link-u[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.link-u svg { width: 1rem; height: 1rem; transition: transform .45s var(--ease-expo); }
.link-u:hover svg { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-strong);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding-inline: 1.4rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
  transition: background-color .35s, border-color .35s, box-shadow .45s var(--ease-expo), color .35s, transform .45s var(--ease-expo);
  will-change: transform;
}
.btn:hover { border-color: var(--gold); }
.btn:not(.btn-primary):hover { background-color: rgba(184, 145, 63, .08); }
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.btn .arrow { transition: transform .45s var(--ease-expo); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { --btn-bg: var(--deep); --btn-fg: #fff; --btn-bd: transparent; font-weight: 700; box-shadow: 0 10px 28px -14px rgba(15, 29, 54, .7); }
.btn-primary:hover { background-color: var(--gold); box-shadow: 0 0 0 6px rgba(184, 145, 63, .16), 0 14px 40px -12px rgba(184, 145, 63, .6); }
/* On dark surfaces the primary button turns gold (same list as the dark-surface tokens above). */
:is(.theme-dark, .theme-ink, .stats, .site-footer, .hero, .phero, .mf, .proof, .final-cta, .section:has(> .bgv--band, > .bgv--page, > .bgv--soft, > .bgv--dark), .site-header:not(.is-scrolled):not(.menu-open)) .btn-primary { --btn-bg: var(--gold); --btn-fg: #160f02; box-shadow: 0 10px 28px -14px rgba(0, 0, 0, .7); }
:is(.theme-dark, .theme-ink, .stats, .site-footer, .hero, .phero, .mf, .proof, .final-cta, .section:has(> .bgv--band, > .bgv--page, > .bgv--soft, > .bgv--dark), .site-header:not(.is-scrolled):not(.menu-open)) .btn-primary:hover { background-color: var(--gold-2); box-shadow: 0 0 0 6px rgba(200, 165, 91, .2), 0 14px 40px -12px rgba(200, 165, 91, .55); }
.btn-sm { min-height: 2.6rem; padding-inline: 1.1rem; font-size: .9rem; }
.btn-lg { min-height: 3.5rem; padding-inline: 1.75rem; font-size: 1rem; }

.glass {
  --glass-tint: rgba(255, 255, 255, .62);
  background: linear-gradient(var(--glass-tint), var(--glass-tint));
  border: 1px solid rgba(15, 29, 54, .1);
  box-shadow: 0 6px 24px -14px rgba(15, 29, 54, .35);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
}
:is(.theme-dark, .theme-ink, .stats, .site-footer, .hero, .phero, .mf, .proof, .final-cta, .section:has(> .bgv--band, > .bgv--page, > .bgv--soft, > .bgv--dark), .site-header:not(.is-scrolled):not(.menu-open)) .glass { --glass-tint: rgba(20, 19, 16, .5); border-color: rgba(255, 255, 255, .16); box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .6); }
.theme-dark .glass { --glass-tint: rgba(15, 29, 54, .5); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease-expo), background-color .4s, border-color .4s;
  view-transition-name: site-header;
}
.site-header.is-scrolled:not(.menu-open) { background: rgba(255, 255, 255, .9); border-bottom-color: var(--line); box-shadow: 0 8px 30px -20px rgba(15, 29, 54, .35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.site-header.is-hidden { transform: translateY(-100%); }
/* Before scrolling the header sits over footage: a dark glass bar with ivory type (tokens re-pointed above). */
.site-header:not(.is-scrolled):not(.menu-open) { background: rgba(20, 19, 16, .56); border-bottom-color: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%); }
.site-header:not(.is-scrolled):not(.menu-open) .site-header__nav a { color: rgba(246, 241, 231, .86); }
.site-header:not(.is-scrolled):not(.menu-open) .site-header__nav a:hover, .site-header:not(.is-scrolled):not(.menu-open) .site-header__nav a[aria-current="page"] { color: #fff; }
.site-header__bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 1.5rem; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; color: var(--text); }
.brand__mark { width: 2.15rem; height: 2.15rem; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: .01em; }
.brand__sub { font-size: .56rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-top: .3rem; }
.site-header__nav { display: none; margin-inline: auto; }
.site-header__nav ul { display: flex; gap: clamp(1.1rem, 2vw, 2.1rem); }
.site-header__nav a { padding-block: .5rem; font-size: .93rem; font-weight: 600; color: rgba(15, 29, 54, .78); transition: color .3s; }
.site-header__nav a:hover, .site-header__nav a[aria-current="page"] { color: var(--text); }
.site-header__nav a[aria-current="page"]::after { background: var(--gold); transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.site-header__phone { display: none; }
.site-header__cta { display: none; }
.site-header__burger { position: relative; width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.site-header__burger span { position: absolute; left: 50%; width: 1.1rem; height: 1.5px; background: currentColor; translate: -50% 0; transition: transform .5s var(--ease-expo), top .5s var(--ease-expo); }
.site-header__burger span:first-child { top: calc(50% - 4px); }
.site-header__burger span:last-child { top: calc(50% + 3px); }
.menu-open .site-header__burger span:first-child { top: calc(50% - .75px); transform: rotate(45deg); }
.menu-open .site-header__burger span:last-child { top: calc(50% - .75px); transform: rotate(-45deg); }
@media (min-width: 640px) { .site-header__phone { display: inline-flex; } }
@media (min-width: 768px) { .site-header__cta { display: inline-flex; } }
@media (min-width: 1080px) {
  .site-header__nav { display: block; }
  .site-header__burger { display: none; }
  .site-header__actions { margin-left: 0; }
}
@media (min-width: 1080px) and (max-width: 1279px) { .site-header__phone { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1; padding-top: calc(var(--header-h) + 1rem); padding-bottom: 2rem;
  background: radial-gradient(120% 70% at 100% 0%, rgba(184, 145, 63, .14), transparent 60%), var(--ink);
  overflow-y: auto; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-expo); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; }
.mobile-menu__inner { display: grid; gap: 2.5rem; min-height: 100%; align-content: space-between; }
.mobile-menu ol li { border-bottom: 1px solid var(--line); overflow: hidden; }
.mobile-menu ol a { display: flex; align-items: baseline; gap: 1rem; padding-block: 1rem; font-family: var(--font-display); font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.1; transform: translateY(110%); transition: transform .8s var(--ease-expo), color .3s; }
.menu-open .mobile-menu ol a { transform: none; }
.mobile-menu ol li:nth-child(2) a { transition-delay: .04s; } .mobile-menu ol li:nth-child(3) a { transition-delay: .08s; }
.mobile-menu ol li:nth-child(4) a { transition-delay: .12s; } .mobile-menu ol li:nth-child(5) a { transition-delay: .16s; }
.mobile-menu ol li:nth-child(6) a { transition-delay: .2s; }
.mobile-menu ol a[aria-current="page"] { color: var(--gold-2); }
.mobile-menu .num { font-family: var(--font-sans); font-size: .8rem; font-weight: 600; color: var(--gold); letter-spacing: .1em; }
.mobile-menu__foot { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Background media (bgv) ----------
   A .bgv holds a looping video (data-video="assets/video/<name>", driven by main.js) and/or a
   photo (.bgv__img), under a scrim that keeps text readable. --poster (and --poster-m on portrait
   screens) is the video's first frame, painted as the .bgv's own background so the section shows
   the scene instantly and never goes blank, before or even without playback. */
.bgv { --wash: 20, 19, 16; position: absolute; inset: 0; z-index: -1; overflow: hidden; contain: strict; background: var(--black) var(--poster, none) center / cover no-repeat; }
@media (orientation: portrait) { .bgv { background-image: var(--poster-m, var(--poster, none)); } }
.bgv__ph { position: absolute; inset: -10%; pointer-events: none; }
.bgv__ph::before, .bgv__ph::after { content: ""; position: absolute; inset: 0; }
.bgv__ph::before {
  background:
    radial-gradient(40% 50% at 15% 25%, rgba(184, 145, 63, .2), transparent 70%),
    radial-gradient(45% 55% at 85% 75%, rgba(125, 95, 34, .1), transparent 70%),
    linear-gradient(160deg, #fdfbf6, #f1ead9);
  animation: ph-drift 26s ease-in-out infinite alternate;
}
.bgv__ph::after {
  /* faint architectural lines: columns of a courthouse */
  background-image: repeating-linear-gradient(90deg, rgba(155, 122, 53, .08) 0 1px, transparent 1px 120px), repeating-linear-gradient(0deg, rgba(15, 29, 54, .03) 0 1px, transparent 1px 120px);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 85%);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 85%);
  animation: ph-pan 40s linear infinite;
}
@keyframes ph-drift { 0% { transform: scale(1) translate(0, 0); } 50% { transform: scale(1.08) translate(-2%, 1%); } 100% { transform: scale(1.04) translate(2%, -2%); } }
@keyframes ph-pan { to { background-position: 120px 120px, 0 120px; } }
.bgv video, .bgv__img, .bgv__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bgv video { opacity: 0; transition: opacity .8s var(--ease-power3); }
.bgv.is-playing video { opacity: 1; }
.bgv__img img { transform-origin: 60% 40%; animation: kenburns 32s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.bgv__scrim { position: absolute; inset: 0; pointer-events: none; }
/* Scrims. The home hero paints NO scrim at all (the footage is only dimmed via filter; see .bgv--hero).
   Other bands use a flat ink tint, never a white wash, and their copy is ivory. */
.bgv--hero .bgv__scrim { background: none; }
.bgv--page .bgv__scrim { background: linear-gradient(90deg, rgba(var(--wash), .66), rgba(var(--wash), .46)); }
.bgv--band .bgv__scrim { background: linear-gradient(90deg, rgba(var(--wash), .78), rgba(var(--wash), .5)); }
.bgv--texture { --wash: 15, 29, 54; }
.bgv--texture .bgv__scrim { background: rgba(var(--wash), .86); }
.bgv--soft .bgv__scrim { background: radial-gradient(60% 90% at 50% 0%, rgba(200, 165, 91, .26), transparent 70%), linear-gradient(rgba(var(--wash), .8), rgba(var(--wash), .9)); }
.bgv--light { --wash: 246, 241, 231; }
.bgv--light .bgv__scrim { background: linear-gradient(var(--ivory) 0%, rgba(var(--wash), .86) 16% 84%, var(--ivory) 100%); }
.bgv--dark { --wash: 15, 29, 54; background-color: var(--deep); }
.bgv--dark .bgv__scrim { background: linear-gradient(rgba(var(--wash), .9), rgba(var(--wash), .76) 50%, rgba(var(--wash), .92)); }
@media (orientation: portrait), (max-width: 767px) {
  .bgv--page .bgv__scrim { background: rgba(var(--wash), .6); }
  .bgv--band .bgv__scrim { background: rgba(var(--wash), .68); }
}

.vtoggle { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(1rem, 2.5vw, 2rem); width: 2.75rem; height: 2.75rem; border-radius: 999px; display: inline-grid; place-items: center; color: var(--text); transition: border-color .3s, opacity .4s; }
.vtoggle[hidden] { display: none; }
.vtoggle:hover { border-color: var(--gold); }
.vtoggle svg { width: 1rem; height: 1rem; }
.vtoggle .i-play { display: none; }
.vtoggle[data-state="paused"] .i-play { display: block; }
.vtoggle[data-state="paused"] .i-pause { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: grid; overflow: hidden; }
.hero__inner { display: grid; align-content: end; gap: 1.5rem; padding-top: calc(var(--header-h) + 2rem); padding-bottom: clamp(1rem, 2.5vw, 2rem); }
/* No panel, scrim or blur: the footage plays edge to edge, evenly toned down (brightness only, so it
   stays sharp), and the copy carries its own layered shadow to read over the brightest frames. */
.bgv--hero { filter: brightness(.66) contrast(1.08) saturate(1.08); }
.hero__panel {
  display: grid; justify-items: start; gap: 1.1rem; max-width: min(100%, 52rem);
  --ts: 0 1px 2px rgba(0, 0, 0, .55), 0 2px 14px rgba(0, 0, 0, .5), 0 0 42px rgba(0, 0, 0, .35);
}
.hero__title em { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)) drop-shadow(0 3px 14px rgba(0, 0, 0, .45)); }
.hero .glass { --glass-tint: rgba(14, 13, 11, .5); -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero__eyebrow { color: var(--gold-2); text-shadow: var(--ts); }
.hero__brand { font-size: .95rem; font-weight: 700; letter-spacing: .04em; color: var(--text); text-shadow: var(--ts); }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 1rem + 4.2vw, 5.4rem); line-height: 1.06; letter-spacing: -.015em; max-width: 15ch; color: #fffaf0; text-shadow: var(--ts); }
.hero__title em { font-style: italic; font-weight: 400; background: linear-gradient(100deg, #f3dc9c 0%, #e2c274 50%, #cfa95a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; padding-right: .08em; }
.hero__sub { font-size: var(--fs-lead); max-width: 46ch; color: rgba(246, 241, 231, .94); font-weight: 500; text-shadow: var(--ts); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .4rem; }
.hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: clamp(1.5rem, 4vw, 3rem); }
.hero__scroll { display: inline-flex; align-items: center; gap: .8rem; padding: .5rem 1rem .5rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero__scroll-track { position: relative; width: 1px; height: 1.8rem; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero__scroll-track span { position: absolute; inset: 0; background: var(--gold); animation: hero-cue 2.2s var(--ease-power3) infinite; }
@keyframes hero-cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(260%); } }
.hero__caps { display: none; align-items: center; gap: .9rem; padding: .7rem 1.2rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--text); }
.hero__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.hero .vtoggle { position: static; }
.hero__tools { display: flex; align-items: center; gap: .6rem; }
.hero__legal { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 1rem 0 .85rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text); transition: border-color .3s, color .3s; }
.hero__legal:hover { border-color: var(--gold); color: var(--gold-2); }
.hero__legal svg { width: 1rem; height: 1rem; color: var(--gold-2); }
@media (min-width: 900px) { .hero__caps { display: inline-flex; } }

/* Hero entrance */
.js .hero-in { opacity: 0; transform: translateY(18px); animation: rise-in 1.1s var(--ease-expo) forwards; }
.js .hero__brand.hero-in { animation-delay: .1s; } .js .hero__sub.hero-in { animation-delay: .5s; }
.js .hero__ctas.hero-in { animation-delay: .65s; } .js .hero__foot.hero-in { animation-delay: .9s; }
@keyframes rise-in { to { opacity: 1; transform: none; } }
.js [data-split="hero"] {
  animation: hero-wipe 1.6s var(--ease-expo) .15s both;
  -webkit-mask-image: linear-gradient(#000 42%, transparent 58%); mask-image: linear-gradient(#000 42%, transparent 58%);
  -webkit-mask-size: 100% 300%; mask-size: 100% 300%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
@keyframes hero-wipe { 0% { transform: translateY(.18em); -webkit-mask-position: 0 100%; mask-position: 0 100%; } 100% { transform: none; -webkit-mask-position: 0 0; mask-position: 0 0; } }

/* Page hero (inner pages) */
.phero { position: relative; isolation: isolate; min-height: clamp(30rem, 72svh, 46rem); display: grid; align-content: end; overflow: hidden; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.phero__inner { display: grid; gap: 1.25rem; justify-items: start; text-shadow: 0 2px 18px rgba(0, 0, 0, .4); }
.phero__crumb { display: flex; gap: .5rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
.phero__crumb a:hover { color: var(--gold-2); }
.phero__title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.025em; max-width: 18ch; }
.phero__title em { font-style: italic; color: var(--gold-2); }
.phero .lead { color: rgba(246, 241, 231, .92); font-weight: 500; }

/* ---------- Marquee ---------- */
.mq { position: relative; overflow: hidden; padding-block: clamp(1.2rem, 2.2vw, 2rem); border-block: 1px solid rgba(200, 165, 91, .28); background: var(--ink); color: var(--text); }
.mq__track { display: flex; width: max-content; animation: mq-scroll 48s linear infinite; }
.mq:hover .mq__track, .mq.is-offscreen .mq__track { animation-play-state: paused; }
.mq__group { display: flex; align-items: center; flex: none; }
.mq__item { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); padding-right: clamp(1.4rem, 3vw, 2.6rem); font-family: var(--font-display); font-size: clamp(1.6rem, 1rem + 2.4vw, 3.2rem); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.mq__item--outline { color: transparent; -webkit-text-stroke: 1px rgba(230, 205, 143, .8); font-style: italic; }
.mq__key { width: .5rem; height: .5rem; transform: rotate(45deg); background: var(--gold); flex: none; }
@keyframes mq-scroll { to { transform: translateX(-50%); } }

/* ---------- Section heading block ---------- */
.sh { display: grid; gap: 1.1rem; max-width: 46rem; }
.sh__lead { margin-top: .2rem; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }

/* ---------- Manifesto / intro band ---------- */
.mf { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(6rem, 14vw, 12rem); }
.mf__inner { display: grid; gap: 1.75rem; justify-items: start; }
.mf__text { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 1rem + 2.6vw, 3.6rem); line-height: 1.14; letter-spacing: -.02em; max-width: 26ch; text-wrap: pretty; text-shadow: 0 2px 22px rgba(0, 0, 0, .4); }
.mf__text em { color: var(--gold-2); font-style: italic; }
.mf__text .w { opacity: .32; transition: opacity .5s; }
.mf__text .w.is-on { opacity: 1; }
.mf__body { display: grid; gap: 1rem; max-width: 60ch; color: rgba(246, 241, 231, .92); font-size: var(--fs-lead); }
.mf__sig { display: inline-flex; align-items: center; gap: .75rem; font-size: .92rem; font-weight: 600; color: var(--text); }
.mf__key { width: .55rem; height: .55rem; transform: rotate(45deg); background: var(--gold); }

/* ---------- Bento practice cards ---------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento > :nth-child(1) { grid-column: span 3; } .bento > :nth-child(2) { grid-column: span 3; }
  .bento > :nth-child(3), .bento > :nth-child(4), .bento > :nth-child(5) { grid-column: span 2; }
  .bento > :nth-child(6) { grid-column: span 6; }
  .bento > :nth-child(6) .bcard { grid-template-columns: auto 1fr; grid-template-rows: auto; align-items: center; min-height: 0; }
  .bento > :nth-child(6) .bcard__glyph { width: 10rem; height: 9rem; }
}
.bcard {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 1.5rem;
  min-height: 21rem; height: 100%; padding: clamp(1.2rem, 1.8vw, 1.7rem); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); color: var(--text);
  transition: border-color .5s var(--ease-power3), transform .6s var(--ease-expo), box-shadow .6s var(--ease-expo);
}
.bcard::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(28rem circle at var(--mx, 50%) var(--my, 50%), rgba(184, 145, 63, .12), transparent 45%); }
.bcard:hover { border-color: rgba(184, 145, 63, .5); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.bcard:hover::after, .bcard:focus-visible::after { opacity: 1; }
.bcard__glyph { display: grid; place-items: center; height: 10rem; }
.bcard__glyph svg { width: 8.5rem; height: 8.5rem; color: var(--gold); }
.bcard__body { display: grid; gap: .55rem; }
.bcard__num { font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.bcard__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); line-height: 1.12; letter-spacing: -.01em; }
.bcard__text { color: var(--muted); max-width: 44ch; }
.bcard__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.bcard__tags li { padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line); background: var(--ink); font-size: .78rem; color: var(--muted); }
.bcard__go { position: absolute; top: clamp(1.2rem, 1.8vw, 1.7rem); right: clamp(1.2rem, 1.8vw, 1.7rem); width: 2.6rem; height: 2.6rem; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .85); transition: background-color .4s, color .4s, transform .6s var(--ease-expo), border-color .4s; }
.bcard__go svg { width: 1rem; height: 1rem; }
.bcard:hover .bcard__go { background: var(--gold); color: #fff; border-color: var(--gold); transform: rotate(-45deg); }

/* Black card variant: add .bcard--ink (or .vcard--ink / .card--ink on any card) for a featured, ink-black card.
   It re-points the tokens, so text, tags and rules inside restyle themselves. */
.bcard--ink, .vcard--ink, .card--ink {
  --text: #f6f1e7; --muted: #b9b4a8; --line: rgba(255, 255, 255, .1); --line-strong: rgba(255, 255, 255, .24);
  --gold: #c8a55b; --gold-2: #e6cd8f; --gold-deep: #e6cd8f; --ink: var(--black); --tex-rgb: 246, 241, 231; --grain: var(--grain-lt);
  background: linear-gradient(160deg, var(--black-2), var(--black) 70%); color: var(--text);
  border-color: rgba(200, 165, 91, .3); box-shadow: 0 18px 44px -24px rgba(0, 0, 0, .7);
}
.bcard--ink:hover, .vcard--ink:hover, .card--ink:hover { border-color: var(--gold); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(200, 165, 91, .25); }
.bcard--ink .bcard__tags li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
.bcard--ink .bcard__go { background: rgba(20, 19, 16, .8); color: #f6f1e7; border-color: rgba(200, 165, 91, .6); }

/* Line-art glyph animation */
.glyph .draw { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset 1.8s var(--ease-power3); }
.glyph.is-drawn .draw, .no-motion .glyph .draw { stroke-dashoffset: 0; }
.glyph .pulse { animation: glyph-pulse 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.glyph .sway { animation: glyph-sway 5s ease-in-out infinite; transform-origin: 50% 0; transform-box: fill-box; }
@keyframes glyph-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes glyph-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* ---------- Show more (mobile collapse) ----------
   <ul id="x" data-collapsed="4"> shows the first 4 children on phones (bare data-collapsed = first 3);
   a [data-showmore aria-controls="x"] button inside .showmore reveals the rest. Supports 2 to 8. */
.showmore { display: none; justify-content: center; margin-top: 1.25rem; }
.showmore[hidden] { display: none !important; }
.showmore__btn { min-height: 2.9rem; }
.showmore__btn svg { transition: transform .4s var(--ease-expo); }
.showmore__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (max-width: 699px) {
  .showmore { display: flex; }
  [data-collapsed=""] > :nth-child(n+4), [data-collapsed="3"] > :nth-child(n+4) { display: none; }
  [data-collapsed="2"] > :nth-child(n+3) { display: none; }
  [data-collapsed="4"] > :nth-child(n+5) { display: none; }
  [data-collapsed="5"] > :nth-child(n+6) { display: none; }
  [data-collapsed="6"] > :nth-child(n+7) { display: none; }
  [data-collapsed="8"] > :nth-child(n+9) { display: none; }
}

/* ---------- Read more (mobile paragraph clamp) ----------
   <p data-readmore> (or data-readmore="3" for the line count) clamps to 4 lines on phones; main.js adds
   the .readmore__btn only if the text is actually cut. Works on a block of several paragraphs too. */
.readmore__btn { display: none; align-items: center; gap: .4rem; margin-top: .6rem; padding: .5rem 0; min-height: 2.75rem; font-size: .9rem; font-weight: 700; color: var(--gold-deep); }
.readmore__btn svg { width: 1rem; height: 1rem; transition: transform .4s var(--ease-expo); }
.readmore__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (max-width: 699px) {
  .readmore__btn:not([hidden]) { display: inline-flex; }
  [data-readmore].is-clamped { max-height: calc(var(--rm-lines, 4) * 1.65em); max-height: calc(var(--rm-lines, 4) * 1lh); overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 2.2em), transparent); mask-image: linear-gradient(#000 calc(100% - 2.2em), transparent); }
}

/* ---------- Stats strip ---------- */
.stats { position: relative; isolation: isolate; border-block: 1px solid rgba(200, 165, 91, .28); background: radial-gradient(60% 120% at 50% 0%, rgba(200, 165, 91, .16), transparent 70%), linear-gradient(180deg, var(--black-2), var(--black)); }
.stats__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }
.stat { position: relative; display: grid; gap: .5rem; padding: clamp(2rem, 4vw, 3.2rem) clamp(1rem, 2.5vw, 2.5rem); border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .stat { border-bottom: 0; border-right: 1px solid var(--line); } .stat:last-child { border-right: 0; } }
.stat__num { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 2rem + 4vw, 5.6rem); line-height: 1; letter-spacing: -.03em; color: var(--gold-2); font-variant-numeric: lining-nums tabular-nums; }
.stat__num small { font-size: .5em; vertical-align: super; color: var(--gold); }
.stat__label { font-size: .95rem; color: var(--muted); max-width: 26ch; }
/* Phones: stats become a compact 2-up grid, the last one spanning the row. */
@media (max-width: 767px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1.4rem .9rem; gap: .3rem; border-right: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0; justify-items: center; text-align: center; }
  .stat__num { font-size: clamp(2.2rem, 1.4rem + 4vw, 3rem); }
  .stat__label { font-size: .8rem; line-height: 1.4; }
}

/* ---------- Horizontal scroller (practice areas) ---------- */
.ind { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section-y); }
.ind__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.ind__intro { display: grid; gap: 1rem; max-width: 44rem; }
.ind__nav { display: none; gap: .6rem; }
@media (min-width: 700px) { .ind__nav { display: flex; } }
.ind__btn { width: 3.25rem; height: 3.25rem; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background-color .35s, color .35s, border-color .35s, opacity .35s; }
.ind__btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: #fff; }
.ind__btn:disabled { opacity: .35; cursor: default; }
.ind__btn svg { width: 1.15rem; height: 1.15rem; }
.ind__scroller { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); cursor: grab; }
.ind__scroller::-webkit-scrollbar { display: none; }
.ind__scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ind__scroller.is-dragging a { pointer-events: none; }
.ind__track { display: flex; gap: 1rem; width: max-content; }
.ind__panel {
  position: relative; scroll-snap-align: start; flex: none; width: min(80vw, 22rem); min-height: 27rem;
  display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; padding: 1.6rem; border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(34, 58, 104, .72), rgba(15, 29, 54, .86)); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 18px 44px -26px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color .5s, transform .6s var(--ease-expo), box-shadow .6s var(--ease-expo);
}
.ind__panel::after { content: ""; position: absolute; left: 1.6rem; right: 1.6rem; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); opacity: .7; }
.ind__panel:hover { border-color: rgba(200, 165, 91, .6); transform: translateY(-4px); box-shadow: 0 26px 60px -24px rgba(0, 0, 0, .85); }
.ind__top { display: flex; align-items: baseline; gap: .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; }
.ind__num { color: var(--gold); }
.ind__of { color: var(--muted); }
.ind__icon { width: 3.5rem; height: 3.5rem; color: var(--gold); align-self: center; }
.ind__copy { display: grid; gap: .6rem; }
.ind__name { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; line-height: 1.12; }
.ind__hint { color: var(--muted); font-size: .95rem; }
.ind__panel--final { background: linear-gradient(160deg, #c8a55b, var(--black) 64%); border-color: transparent; color: #f6f1e7; align-content: end; }
.ind__panel--final::after { display: none; }
@media (max-width: 699px) {
  .ind__panel { width: min(70vw, 16.5rem); min-height: 16rem; padding: 1.15rem; gap: .7rem; }
  .ind__icon { width: 2.5rem; height: 2.5rem; }
  .ind__name { font-size: 1.25rem; }
  .ind__hint { font-size: .85rem; }
  .ind__progress { margin-top: 1.5rem; }
}
.ind__panel--final .ind__of { color: rgba(246, 241, 231, .7); }
.ind__final-text { color: rgba(246, 241, 231, .85); }
.ind__progress { position: relative; height: 1px; margin: 2.5rem auto 0; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--maxw) - 2 * var(--gutter)); background: var(--line-strong); overflow: hidden; }
.ind__progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(.04); transition: transform .2s; }

/* ---------- Process timeline ---------- */
.pr__grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .pr__grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); } .pr__sticky { position: sticky; top: calc(var(--header-h) + 2rem); } }
.pr__sticky { display: grid; gap: 1.1rem; align-content: start; }
.pr__steps { position: relative; }
.pr__line { position: absolute; left: .5rem; top: .4rem; bottom: .4rem; width: 1px; background: var(--line-strong); }
.pr__fill { position: absolute; inset: 0; transform-origin: 50% 0; transform: scaleY(0); background: linear-gradient(var(--gold-deep), var(--gold)); box-shadow: 0 0 10px rgba(184, 145, 63, .35); }
.pr__step { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem 1.5rem; padding-block: clamp(1.4rem, 2.4vw, 2.2rem); padding-left: 2.5rem; border-bottom: 1px solid var(--line); }
.pr__step:first-child { padding-top: 0; } .pr__step:last-child { border-bottom: 0; padding-bottom: 0; }
.pr__node { position: absolute; left: calc(.5rem - 6px); top: clamp(1.6rem, 2.6vw, 2.4rem); width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); transition: background-color .5s, border-color .5s, box-shadow .5s; }
.pr__step:first-child .pr__node { top: .2rem; }
.pr__step.is-active .pr__node { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(200, 165, 91, .18); }
.pr__num { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-deep); }
.pr__body { display: grid; gap: .5rem; }
.pr__h { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); line-height: 1.2; }
.pr__text { color: var(--muted); max-width: 52ch; }
.pr__get { display: inline-flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .4rem; font-size: .9rem; }
.pr__get-label { padding: .2rem .6rem; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(200, 165, 91, .14); color: var(--gold-deep); }
@media (max-width: 699px) {
  .pr__grid { gap: 1.75rem; }
  .pr__step { gap: .3rem 1rem; padding-block: 1rem; padding-left: 2rem; }
  .pr__h { font-size: 1.1rem; }
  .pr__text { font-size: .9rem; line-height: 1.5; }
  .pr__get { margin-top: .2rem; font-size: .82rem; }
  .photo.pr__photo { aspect-ratio: 16 / 7; }
}

/* ---------- Proof / association band ---------- */
.proof { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(5rem, 11vw, 9rem); }
.proof__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .proof__grid { grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; } }
.proof__head { display: grid; gap: 1rem; }
.proof__body { display: grid; gap: 1.5rem; justify-items: start; }
.proof .bgv ~ * .proof__body { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: var(--radius); background: rgba(18, 17, 14, .62); border: 1px solid rgba(200, 165, 91, .3); box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.proof .bgv ~ * .proof__body .lead { color: rgba(246, 241, 231, .92); }
.proof__badge { display: inline-flex; align-items: center; gap: .9rem; padding: .9rem 1.3rem; border-radius: 1rem; }
.proof__badge strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--gold-2); }

/* ---------- Why list ---------- */
.why__head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
/* Cards: white with a gold top rule, or black on a checkerboard so the grid reads as a mix at any column count. */
.why__list { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) { .why__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why__item {
  position: relative; display: grid; align-content: start; gap: .9rem; padding: clamp(1.4rem, 2.2vw, 2rem); border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease-expo), box-shadow .6s var(--ease-expo), border-color .5s;
}
.why__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why__item:nth-child(1), .why__item:nth-child(4) { --text: #f6f1e7; --muted: #b9b4a8; --gold-deep: #e6cd8f; background: linear-gradient(160deg, var(--black-2), var(--black) 70%); border-color: rgba(200, 165, 91, .3); border-top-color: var(--gold); color: var(--text); box-shadow: 0 18px 44px -26px rgba(0, 0, 0, .7); }
@media (min-width: 700px) and (max-width: 999px) { .why__item:nth-child(5) { --text: #f6f1e7; --muted: #b9b4a8; --gold-deep: #e6cd8f; background: linear-gradient(160deg, var(--black-2), var(--black) 70%); border-color: rgba(200, 165, 91, .3); border-top-color: var(--gold); color: var(--text); box-shadow: 0 18px 44px -26px rgba(0, 0, 0, .7); } }
@media (min-width: 1000px) {
  .why__item:nth-child(1), .why__item:nth-child(5) { --text: var(--ink-text); --muted: var(--ink-muted); --gold-deep: #7d5f22; background: #fff; border-color: var(--line); border-top-color: var(--gold); color: var(--ink-text); box-shadow: var(--shadow-sm); }
  .why__item:nth-child(2), .why__item:nth-child(4), .why__item:nth-child(6) { --text: #f6f1e7; --muted: #b9b4a8; --gold-deep: #e6cd8f; background: linear-gradient(160deg, var(--black-2), var(--black) 70%); border-color: rgba(200, 165, 91, .3); border-top-color: var(--gold); color: var(--text); box-shadow: 0 18px 44px -26px rgba(0, 0, 0, .7); }
}
.why__num { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--gold-deep); }
.why__body { display: grid; gap: .4rem; }
.why__h { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); line-height: 1.2; }
.why__text { color: var(--muted); max-width: 48ch; }
.why__item:hover .why__h { color: var(--gold-deep); }
@media (max-width: 699px) {
  .why__list { gap: .65rem; }
  .why__item { gap: .45rem; padding: .95rem .9rem 1rem; border-radius: 1rem; }
  .why__num { font-size: 1.1rem; }
  .why__h { font-size: 1rem; line-height: 1.2; }
  .why__text { font-size: .82rem; line-height: 1.45; }
}

/* ---------- FAQ accordion ---------- */
.faq__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .faq__grid { grid-template-columns: 5fr 7fr; gap: 5rem; } .faq__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.faq__head { display: grid; gap: 1rem; }
.acc { display: grid; gap: .75rem; }
.acc__item { border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: var(--shadow-sm); padding-inline: 1.25rem; transition: border-color .4s, box-shadow .4s; }
.acc__item[open] { border-color: rgba(184, 145, 63, .55); box-shadow: var(--shadow-lg); }
.acc__q { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; padding-block: 1.2rem; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 500; transition: color .3s; }
.acc__q::-webkit-details-marker { display: none; }
.acc__q:hover { color: var(--gold-deep); }
.acc__num { font-family: var(--font-sans); font-size: .8rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; }
.acc__icon { position: relative; width: 2.2rem; height: 2.2rem; border-radius: 999px; border: 1px solid var(--line-strong); transition: transform .5s var(--ease-expo), background-color .3s; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 1.5px; background: currentColor; translate: -50% -50%; transition: transform .5s var(--ease-expo); }
.acc__icon::after { transform: rotate(90deg); }
details[open] .acc__icon { transform: rotate(180deg); background: var(--gold); color: #fff; border-color: var(--gold); }
details[open] .acc__icon::after { transform: rotate(0deg); }
.acc__a { overflow: hidden; }
.acc__a > div, .acc__a > p { padding: 0 3.4rem 1.4rem 2.6rem; color: var(--muted); max-width: 62ch; }
@media (max-width: 699px) {
  .acc { gap: .55rem; }
  .acc__item { padding-inline: .9rem; border-radius: .9rem; }
  .acc__q { gap: .75rem; padding-block: .85rem; font-size: 1rem; line-height: 1.3; }
  .acc__icon { width: 1.9rem; height: 1.9rem; }
  .acc__a > div, .acc__a > p { padding: 0 .2rem 1rem 1.9rem; font-size: .92rem; line-height: 1.55; }
  .faq__grid { gap: 1.5rem; }
}

/* ---------- Final CTA ---------- */
.final-cta { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding-block: clamp(5rem, 10vw, 9rem); }
.final-cta__inner { display: grid; justify-items: center; gap: 1.4rem; }
.final-cta__title { max-width: 18ch; }
.final-cta .lead { margin-inline: auto; color: rgba(246, 241, 231, .92); }
.final-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: .5rem; }
.final-cta__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.5rem; font-size: .95rem; font-weight: 600; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; padding-top: clamp(3.5rem, 6vw, 5rem); padding-bottom: 2rem; border-top: 1px solid rgba(200, 165, 91, .35); background: radial-gradient(80% 60% at 50% 120%, rgba(200, 165, 91, .14), transparent 70%), var(--black); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .4; background: var(--grain); background-size: 200px 200px; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.site-footer__tagline { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1.15; max-width: 22ch; }
.site-footer__tagline em { color: var(--gold-2); }
.site-footer__cols { display: grid; gap: 2.5rem; padding-block: 2.5rem; }
@media (min-width: 700px) { .site-footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .site-footer__cols { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }
.site-footer__h { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.site-footer__cols ul { display: grid; gap: .6rem; }
.site-footer__cols a { color: rgba(246, 241, 231, .8); transition: color .3s; }
.site-footer__cols a:hover { color: var(--text); }
.site-footer__contact a { display: inline-flex; align-items: center; gap: .6rem; }
.site-footer__contact svg { width: 1rem; height: 1rem; color: var(--gold); flex: none; }
.site-footer__addr { color: var(--muted); font-style: normal; font-size: .95rem; line-height: 1.7; }
.site-footer__about { color: var(--muted); font-size: .95rem; max-width: 34ch; margin-top: 1rem; }
.site-footer__word { display: block; padding-top: 1rem; user-select: none; }
.site-footer__word span { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(4.5rem, 21vw, 22rem); line-height: .8; letter-spacing: -.045em; text-align: center; background: linear-gradient(180deg, rgba(230, 205, 143, .55), rgba(230, 205, 143, .04) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
@media (max-width: 767px) { .site-footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); } }

/* ---------- Floating WhatsApp ---------- */
.wa-fab { position: fixed; z-index: 95; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); transition: transform .6s var(--ease-expo), opacity .4s; }
.wa-fab.is-tucked { opacity: 0; pointer-events: none; transform: translateY(140%); }
.wa-fab__btn { position: relative; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 999px; background: #25d366; color: #fff; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6), inset 0 0 0 1px rgba(255, 255, 255, .15); transition: transform .4s var(--ease-expo); }
.wa-fab__btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: wa-ring 2.6s ease-out infinite; }
.wa-fab__btn:hover { transform: scale(1.06); }
.wa-fab__btn svg { width: 1.7rem; height: 1.7rem; }
.wa-fab__label { position: absolute; right: calc(100% + .75rem); top: 50%; translate: 0 -50%; padding: .5rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .4s var(--ease-expo); pointer-events: none; }
.wa-fab:hover .wa-fab__label { opacity: 1; transform: none; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Disclaimer gate (Bar Council of India) ---------- */
.gate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1rem; background: rgba(15, 29, 54, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .5s; }
.gate.is-open { opacity: 1; }
.gate[hidden] { display: none; }
.gate__card { position: relative; width: min(100%, 44rem); max-height: calc(100svh - 2rem); overflow-y: auto; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 1.5rem; background: #fff; border: 1px solid rgba(184, 145, 63, .35); box-shadow: 0 40px 120px -30px rgba(15, 29, 54, .55); transform: translateY(24px) scale(.98); transition: transform .7s var(--ease-expo); }
.gate.is-open .gate__card { transform: none; }
.gate__mark { width: 2.75rem; height: 2.75rem; margin-bottom: 1.25rem; }
.gate__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); line-height: 1.1; margin-bottom: 1rem; }
.gate__intro { color: var(--text); margin-bottom: 1rem; }
.gate__list { display: grid; gap: .7rem; margin-bottom: 1.75rem; counter-reset: g; }
.gate__list li { position: relative; padding-left: 2rem; color: var(--muted); font-size: .95rem; counter-increment: g; }
.gate__list li::before { content: counter(g, decimal-leading-zero); position: absolute; left: 0; top: .05rem; font-size: .75rem; font-weight: 700; color: var(--gold); }
.gate__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.gate__close { position: absolute; top: .9rem; right: .9rem; width: 2.75rem; height: 2.75rem; border-radius: 999px; display: grid; place-items: center; color: var(--muted); border: 1px solid rgba(15, 29, 54, .14); transition: color .3s, border-color .3s, background-color .3s; }
.gate__close:hover { color: var(--gold-deep); border-color: var(--gold); background: rgba(184, 145, 63, .08); }
.gate__close svg { width: 1.1rem; height: 1.1rem; }
html.gate-lock { overflow: hidden; }

/* ---------- Custom cursor label (fine pointers) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; display: grid; place-items: center; width: 5.5rem; height: 5.5rem; margin: -2.75rem 0 0 -2.75rem; border-radius: 50%; background: var(--deep); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transform: scale(0); transition: transform .45s var(--ease-expo); }
.cursor.is-on { transform: scale(1); }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].is-rv { opacity: 1; }
.no-motion [data-reveal] { opacity: 1 !important; }

/* ---------- Forms ---------- */
.field { display: grid; gap: .45rem; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; padding: .95rem 1.1rem; border-radius: .85rem; background: #fff; border: 1px solid var(--line-strong); transition: border-color .3s, background-color .3s, box-shadow .3s; }
.field textarea { min-height: 9rem; resize: vertical; }
.field select option { background: #fff; color: var(--ink-text); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(184, 145, 63, .14); }

/* ---------- Generic content blocks used by inner pages ---------- */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .split { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); } .split__side { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.split__side { display: grid; gap: 1.1rem; }
.prose { display: grid; gap: 1.1rem; font-size: var(--fs-lead); color: var(--muted); max-width: 64ch; }
.prose strong { color: var(--text); font-weight: 600; }
.check-list { display: grid; gap: .75rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; transform: rotate(45deg); background: var(--gold); }
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.vcard { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: .8rem; align-content: start; padding: 1.75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--text); transition: border-color .5s, transform .6s var(--ease-expo), box-shadow .6s var(--ease-expo); }
.vcard::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 50%), rgba(184, 145, 63, .12), transparent 45%); }
.vcard:hover { border-color: rgba(184, 145, 63, .5); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vcard:hover::after { opacity: 1; }
.vcard__icon { width: 2.8rem; height: 2.8rem; color: var(--gold); }
.vcard__title { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1.15; }
.vcard__text { color: var(--muted); }

/* ---------- Photography ----------
   Photos live in assets/img/photos as <name>.webp (1600w), <name>-sm.webp (800w) and <name>.jpg.
   .photo is a rounded, shadowed frame; --frame adds an offset brass outline; .photo__cap is a glass label. */
.bgv__poster img { animation: none; }
.photo { position: relative; isolation: isolate; border-radius: var(--radius); background: var(--ivory-2); box-shadow: var(--shadow-lg); }
.photo > picture, .photo > img { display: block; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-expo); }
.photo:hover img { transform: scale(1.035); }
.photo--frame { margin: 0 14px 14px 0; }
.photo--frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border: 1px solid rgba(184, 145, 63, .55); border-radius: inherit; pointer-events: none; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo--pano { aspect-ratio: 21 / 9; }
.photo__cap { position: absolute; left: 1rem; bottom: 1rem; z-index: 1; display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .95rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--text); }
.photo__cap::before { content: ""; width: .45rem; height: .45rem; transform: rotate(45deg); background: var(--gold); }

/* Photo header on practice cards */
.bcard__media { display: block; max-width: none; height: 11.5rem; margin: calc(-1 * clamp(1.2rem, 1.8vw, 1.7rem)) calc(-1 * clamp(1.2rem, 1.8vw, 1.7rem)) 0; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-expo); }
.bcard:hover .bcard__media img { transform: scale(1.05); }
.bcard:has(.bcard__media) { grid-template-rows: auto 1fr; }
@media (min-width: 1080px) {
  .bento > :nth-child(1) .bcard__media, .bento > :nth-child(2) .bcard__media { height: 15rem; }
  .bento > :nth-child(6) .bcard__media { width: 22rem; height: auto; align-self: stretch; margin: calc(-1 * clamp(1.2rem, 1.8vw, 1.7rem)) 0 calc(-1 * clamp(1.2rem, 1.8vw, 1.7rem)) calc(-1 * clamp(1.2rem, 1.8vw, 1.7rem)); border-radius: var(--radius) 0 0 var(--radius); min-height: 12rem; }
}

/* Small photo strip on practice-area panels */
.ind__media { display: block; height: 8.5rem; margin: -.4rem -.4rem 0; border-radius: calc(var(--radius) - .4rem); overflow: hidden; }
.ind__media img { width: 100%; height: 100%; object-fit: cover; }
.ind__panel:has(.ind__media) { grid-template-rows: auto auto 1fr auto; }

/* Text beside a photo */
.media-split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .media-split { grid-template-columns: 1fr 1fr; }
  .media-split--rev > :first-child { order: 2; }
}
.media-split__copy { display: grid; gap: 1.1rem; align-content: center; justify-items: start; }
.pr__photo, .faq__photo { margin-top: 1.25rem; }
.why__head.media-split { max-width: none; }
@media (max-width: 999px) { .faq__photo { display: none; } }

/* ---------- Phones (≤699px): compact rhythm, 2-up card grids ---------- */
@media (max-width: 699px) {
  :root { --section-y: 3rem; --header-h: 4.25rem; }
  .sec-head { margin-bottom: 1.4rem; gap: 1rem; }
  .sh { gap: .8rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .vcard { padding: 1rem .9rem; gap: .5rem; border-radius: 1rem; }
  .vcard__icon { width: 2rem; height: 2rem; }
  .vcard__title { font-size: 1.05rem; }
  .vcard__text { font-size: .85rem; line-height: 1.45; }

  /* Hero: the copy hugs the bottom, the footage shows above it */
  .hero__inner { gap: .75rem; padding-top: calc(var(--header-h) + 1rem); }
  .hero__panel { gap: .8rem; width: 100%; }
  .hero__title { font-size: 2.15rem; }
  .hero__sub { font-size: .92rem; line-height: 1.5; }
  .hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; width: 100%; }
  .hero__ctas .btn { min-height: 2.9rem; padding-inline: .8rem; font-size: .9rem; }
  .hero__ctas .btn-primary { grid-column: 1 / -1; }
  .hero__foot { padding-top: .5rem; }
  .mf { padding-block: 4rem; }
  .mf__text { font-size: 1.45rem; }
  .proof { padding-block: 3.25rem; }
  .final-cta { padding-block: 3.5rem; }
  .final-cta__actions .btn { min-height: 3rem; }
  .vtoggle { bottom: .9rem; }

  /* Practice bento: 2x2 compact cards */
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .bcard { min-height: 0; gap: .55rem; padding: .8rem; border-radius: 1rem; }
  .bcard__media { height: 5.75rem; margin: -.8rem -.8rem 0; border-radius: 1rem 1rem 0 0; }
  .bcard__glyph { display: none; }
  .bcard__body { gap: .3rem; align-content: start; }
  .bcard__title { font-size: 1.05rem; line-height: 1.15; }
  .bcard__text { font-size: .8rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .bcard__tags { display: none; }
  .bcard__go { top: .55rem; right: .55rem; width: 2rem; height: 2rem; }
  .bcard__go svg { width: .8rem; height: .8rem; }

  /* Why: heading photo stays short */
  .why__head { margin-bottom: 1.4rem; gap: 1.25rem; }
  .why__head .photo { aspect-ratio: 16 / 8; }

  /* Footer in two columns */
  .site-footer { padding-top: 2.75rem; }
  .site-footer__top { padding-bottom: 1.5rem; gap: 1rem; }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; padding-block: 1.5rem; }
  .site-footer__cols > :first-child, .site-footer__cols > :last-child { grid-column: 1 / -1; }
  .site-footer__h { margin-bottom: .7rem; }
  .site-footer__cols ul { gap: .45rem; }
  .site-footer__bottom { margin-top: 1rem; padding-top: 1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .hero-in, .js [data-split="hero"] { opacity: 1; transform: none; -webkit-mask-image: none; mask-image: none; }
  .mf__text .w { opacity: 1; }
}
