/* Padwal & Associates — site styles
   Tokens follow the Claude Design direction: midnight navy, ivory, muted gold. */

/* ---------- Fonts (self-hosted: Cormorant Garamond + DM Sans, latin subsets) ---------- */
/* Cormorant Garamond italic 500 — latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond italic 500 — latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond normal 500 — latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond normal 500 — latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond normal 600 — latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond normal 600 — latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans normal 400 — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/dm-sans-normal-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans normal 400 — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/dm-sans-normal-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans normal 500 — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/dm-sans-normal-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans normal 500 — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/dm-sans-normal-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans normal 600 — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/dm-sans-normal-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans normal 600 — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/dm-sans-normal-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --navy-900: #0a1422;
  --navy-800: #0e1a2b;
  --navy-700: #13233a;
  --navy-600: #1b2f4a;
  --ivory: #f6f1e7;
  --paper: #fbf8f2;
  --white: #ffffff;
  --gold: #b8975a;
  --gold-light: #d9be8a;
  --gold-ink: #7e6234;
  --ink: #1e2833;
  --ink-soft: #2a3542;
  --muted: #5b6470;
  --line: #e4dccb;
  --on-dark: #f6f1e7;
  --on-dark-soft: #c3cbd4;
  --on-dark-muted: #a9b3bf;
  --line-dark: rgba(217, 190, 138, 0.24);
  --error: #a33a2f;
  --success: #2f6b46;

  /* Semantic theme tokens — light theme (default). */
  color-scheme: light;
  --bg: var(--paper);
  --bg-alt: var(--ivory);
  --surface: var(--white);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --text-muted: var(--muted);
  --border: var(--line);
  --heading: var(--navy-800);
  --accent: var(--gold-ink);
  --field-bg: var(--paper);
  --field-border: #d8d0bf;
  --field-border-hover: #bfb398;
  --strong-bg: var(--navy-800);
  --strong-fg: var(--on-dark);
  --strong-bg-hover: var(--navy-600);
  --outline-border: #b7ae9c;
  --check: var(--navy-800);
  --card-hover-border: #d6c9ae;
  --card-back-bg: var(--navy-800);
  --card-back-border: var(--navy-800);
  --watermark: rgba(184, 151, 90, 0.1);
  --error-bg: #fdf6f4;
  --error-border: #e6c3bd;
  --success-bg: #f3faf5;
  --success-border: #bcd8c5;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 120px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: .8s;
}

/* Dark theme: the ivory sections become deep navy; the navy sections keep their look. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1320;
  --bg-alt: #0d1828;
  --surface: #122036;
  --text: #e4e0d7;
  --text-soft: #d3d0c9;
  --text-muted: #a6b0bc;
  --border: rgba(217, 190, 138, 0.16);
  --heading: #f6f1e7;
  --accent: #d9be8a;
  --field-bg: #0c1726;
  --field-border: rgba(217, 190, 138, 0.22);
  --field-border-hover: rgba(217, 190, 138, 0.42);
  --strong-bg: var(--gold-light);
  --strong-fg: var(--navy-900);
  --strong-bg-hover: #e6cfa2;
  --outline-border: rgba(217, 190, 138, 0.42);
  --check: var(--gold-light);
  --card-hover-border: rgba(217, 190, 138, 0.45);
  --card-back-bg: #060d18;
  --card-back-border: rgba(217, 190, 138, 0.35);
  --watermark: rgba(217, 190, 138, 0.07);
  --error: #ec9a8e;
  --error-bg: rgba(163, 58, 47, 0.14);
  --error-border: rgba(236, 154, 142, 0.35);
  --success: #93d3aa;
  --success-bg: rgba(47, 107, 70, 0.18);
  --success-border: rgba(147, 211, 170, 0.3);
}

/* Colour cross-fade while the visitor switches theme (class set briefly by script.js). */
html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after {
  transition: background-color .45s ease, border-color .45s ease, color .45s ease, fill .45s ease !important;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
html { cursor: url("assets/cursor-pen.svg") 2 30, auto; }
a, button, select, label[for], summary, input[type="checkbox"], .card-flip { cursor: url("assets/cursor-pen-gold.svg") 2 30, pointer; }
input:not([type="checkbox"]):not([type="radio"]), textarea { cursor: text; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--gold-light); color: var(--navy-800); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-top { padding-top: var(--section-y); }
.dark { background: var(--navy-800); color: var(--on-dark); }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--gold-light); color: var(--navy-800); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Type helpers ---------- */
h2 {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--heading);
}
.dark h2 { color: var(--on-dark); }
h2 em { font-style: italic; color: var(--accent); }
.dark h2 em { color: var(--gold-light); }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 20px;
}
.eyebrow.on-light { color: var(--accent); }
.eyebrow .rule { width: 36px; height: 1px; background: var(--gold); }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 64px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-note { max-width: 380px; color: var(--text-muted); font-size: 1rem; }

/* ---------- Buttons & links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 14px 28px; border: 1px solid transparent; border-radius: 0;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.button-gold { background: var(--gold-light); color: var(--navy-800); }
.button-gold:hover { background: #e6cfa2; }
.button-navy { background: var(--strong-bg); color: var(--strong-fg); }
.button-navy:hover { background: var(--strong-bg-hover); }
.button-outline { background: transparent; color: var(--heading); border-color: var(--outline-border); }
.button-outline:hover { border-color: var(--heading); }
.button[disabled] { opacity: .6; cursor: progress; }
.button > span[aria-hidden="true"] { transition: transform .4s var(--ease-out); }
.button:hover > span[aria-hidden="true"] { transform: translateX(3px); }

.text-link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; padding-bottom: 6px; color: var(--heading);
}
.text-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform-origin: left; transition: transform .35s var(--ease);
}
.text-link::before { content: "→"; order: 2; transition: transform .3s var(--ease); }
.text-link:hover::before { transform: translateX(3px); }
.text-link { transition: color .3s; }
.text-link:hover { color: var(--accent); }
.text-link.on-dark:hover { color: var(--gold-light); }
.text-link.on-dark { color: var(--on-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 26, 43, 0.96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(5, 10, 18, 0.3); background: rgba(10, 20, 34, 0.94); }
.nav-wrap { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: min-height .45s var(--ease-out); }
.site-header.is-scrolled .nav-wrap { min-height: calc(var(--header-h) - 12px); }
.site-header.is-scrolled .brand-mark { width: 46px; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(var(--progress, 0)); transform-origin: left; pointer-events: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark { width: 54px; height: auto; flex: none; transition: width .45s var(--ease-out); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.amp { color: var(--gold-light); }
.brand-tag { margin-top: 3px; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); white-space: nowrap; }

.primary-nav { order: 2; margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); list-style: none; }
.primary-nav a { position: relative; display: inline-block; padding: 8px 0; font-size: 0.9375rem; color: #dce0e5; text-decoration: none; transition: color .2s; }
.primary-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold-light);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.primary-nav a:not(.nav-cta):hover, .primary-nav a[aria-current="true"] { color: var(--gold-light); }
.primary-nav a:not(.nav-cta):hover::after, .primary-nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav-cta { padding: 11px 22px !important; border: 1px solid var(--gold-light); color: var(--gold-light) !important; transition: background-color .25s, color .25s !important; }
.nav-cta:hover { background: var(--gold-light); color: var(--navy-800) !important; }

.theme-toggle {
  order: 3; display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none;
  background: transparent; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--gold-light);
  transition: border-color .3s, background-color .3s;
}
.theme-toggle:hover { border-color: var(--gold-light); background: rgba(217, 190, 138, 0.08); }
.theme-toggle svg { grid-area: 1 / 1; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: opacity .4s var(--ease-out), transform .6s var(--ease-out); }
.theme-toggle .icon-sun { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 1; transform: none; }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(60deg) scale(.6); }
.menu-toggle { display: none; width: 46px; height: 46px; background: transparent; border: 1px solid var(--line-dark); color: var(--gold-light); align-items: center; justify-content: center; }
.menu-icon { position: relative; width: 20px; height: 12px; }
.menu-icon i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-icon i:first-child { top: 0; }
.menu-icon i:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon i:last-child { top: 5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 70% 80% at 78% 40%, var(--navy-600) 0%, var(--navy-800) 62%); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 76% 42%, rgba(217, 190, 138, 0.07), transparent 70%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 80px); align-items: center; padding-block: clamp(64px, 9vw, 120px);
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  /* Sized so each line ("Dedicated to Justice." ≈ 7.8em wide) fits its column without wrapping. */
  font-size: clamp(2.25rem, 5.6vw, 5.1rem); line-height: 1.02; letter-spacing: -0.015em;
}
.hero h1 em { color: var(--gold-light); }
.hero-lede { max-width: 34rem; margin: 28px 0 36px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--on-dark-soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

.hero-art { margin: 0; justify-self: center; width: min(100%, 440px); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.arch {
  position: relative; width: 100%; aspect-ratio: 5 / 6;
  display: grid; place-items: center; padding: 14% 12% 10%;
  border: 1px solid rgba(217, 190, 138, 0.5); border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(27, 47, 74, 0.85), rgba(14, 26, 43, 0.6));
  box-shadow: 0 40px 80px rgba(3, 8, 15, 0.45), inset 0 0 0 10px rgba(14, 26, 43, 0.6), inset 0 0 0 11px rgba(217, 190, 138, 0.18);
}
.arch { overflow: hidden; }
.arch img { width: 100%; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.45)); }
.hero-art figcaption { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light); text-align: center; }
/* Hero entrance — plays once the disclaimer has been accepted (body.hero-play). */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line-inner { display: block; }
.js .hero-step, .js .hero h1 .line-inner { opacity: 0; }
.js .hero h1 .line-inner { transform: translateY(105%); }
.js .hero-step { transform: translateY(12px); }
.js .hero-art .arch { opacity: 0; transform: scale(.985); }
.js .hero-art .arch img { opacity: 0; }
.js .hero .eyebrow .rule { transform: scaleX(0); transform-origin: left; }
.hero-play .hero-step, .hero-play .hero h1 .line-inner {
  opacity: 1; transform: none;
  transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 100ms + 80ms);
}
.hero-play .hero-art .arch { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out) .2s, transform 1.6s var(--ease-out) .2s; }
.hero-play .hero-art .arch img { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out) .55s, transform 1.4s var(--ease-out) .55s; }
.hero-play .hero .eyebrow .rule { transform: none; transition: transform 1s var(--ease-out) .15s; }

.hero-index { position: relative; border-top: 1px solid var(--line-dark); background: rgba(10, 20, 34, 0.5); }
.hero-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-index a {
  display: flex; align-items: baseline; gap: 14px; padding: 24px 24px 24px 0;
  color: var(--on-dark); text-decoration: none; font-size: 0.9875rem;
  transition: color .25s, background-color .25s;
}
.hero-index a + a { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-index a:hover { color: var(--gold-light); }
.hero-index .num { font-family: var(--serif); font-size: 1.375rem; color: var(--gold-light); }

/* ---------- Firm ---------- */
.firm { background: var(--bg); }
.firm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.firm-body { display: grid; gap: 18px; color: var(--text-muted); font-size: 1.0625rem; }
.firm-body .lead { font-family: var(--serif); font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); line-height: 1.45; color: var(--text-soft); }

/* ---------- Advocate ---------- */
.advocate { background: var(--bg-alt); border-block: 1px solid var(--border); }
.advocate-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.advocate-portrait { margin: 0; max-width: 420px; width: 100%; justify-self: center; }
.arch-photo { aspect-ratio: 3 / 4; padding: 0; background: var(--navy-800); border-color: var(--gold); box-shadow: 0 30px 60px rgba(14, 26, 43, 0.18); }
.arch-photo::before { content: ""; position: absolute; inset: 10px; z-index: 1; border: 1px solid rgba(246, 241, 231, 0.55); border-radius: inherit; pointer-events: none; }
.arch-photo picture, .arch-photo img { width: 100%; height: 100%; }
.arch-photo img { object-fit: cover; object-position: 50% 22%; filter: none; transition: transform 1.6s var(--ease-out); }
.js .reveal .arch-photo img { transform: scale(1.04); }
.js .reveal.is-visible .arch-photo img { transform: none; }
.advocate-portrait:hover .arch-photo img, .js .advocate-portrait.is-visible:hover .arch-photo img { transform: scale(1.02); }
.arch-light { background: var(--navy-800); box-shadow: 0 24px 50px rgba(14, 26, 43, 0.18), inset 0 0 0 10px rgba(14, 26, 43, 0.6), inset 0 0 0 11px rgba(217, 190, 138, 0.22); }
.advocate-copy h2 { font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem); }
.credentials { margin-top: 14px; font-size: 1rem; letter-spacing: 0.06em; color: var(--text-muted); }
.role { margin-top: 4px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.advocate-text { margin-top: 28px; max-width: 36rem; font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + .5vw, 1.625rem); line-height: 1.5; color: var(--text-soft); }
.advocate-contact { margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 20px 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.advocate-contact dt { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.advocate-contact dd { margin: 4px 0 0; }
.advocate-contact a, .contact-details a { text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease); overflow-wrap: anywhere; }
.advocate-contact a:hover, .contact-details a:hover { background-size: 100% 1px; }

/* ---------- Core practices (three equal sections) ---------- */
.core-intro { background: var(--bg); }
.core-intro .section-heading { margin-bottom: clamp(40px, 5vw, 64px); }
.core { padding-block: clamp(72px, 8vw, 112px); border-top: 1px solid var(--line-dark); }
.core-alt { background: var(--navy-700); }
.core-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.core-head { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 22px; justify-items: start; }
.core-num { display: flex; align-items: baseline; gap: 12px; font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); }
.core-num span { font-family: var(--serif); font-size: 1.75rem; letter-spacing: 0; color: var(--gold-light); }
.core-head h2 { font-size: clamp(2.375rem, 1.7rem + 2.4vw, 3.625rem); }
.core-intro-text { font-size: 1.0625rem; line-height: 1.75; color: var(--on-dark-soft); }

.accordion { --acc-num: 2.2rem; list-style: none; border-top: 1px solid var(--line-dark); counter-reset: acc; }
.acc-item { border-bottom: 1px solid var(--line-dark); counter-increment: acc; }
/* Heading row: number | title (+ icon) over the one-line summary. The summary sits outside the <h3> so headings stay short. */
.acc-head { position: relative; display: grid; grid-template-columns: var(--acc-num) minmax(0, 1fr); column-gap: 12px; row-gap: 4px; padding: 22px 0; }
.acc-head::before { content: counter(acc, decimal-leading-zero); grid-row: 1 / span 2; padding-top: .35em; font-family: var(--serif); font-size: 1.0625rem; line-height: 1; color: var(--gold); }
.acc-head h3 { grid-column: 2; }
.acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0; background: none; border: 0; text-align: left; color: var(--on-dark); }
.acc-trigger::after { content: ""; position: absolute; inset: 0; } /* the whole row, summary included, toggles the item */
.acc-title { font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + .55vw, 1.625rem); font-weight: 500; line-height: 1.25; transition: color .3s; }
.acc-line { grid-column: 2; padding-right: 40px; font-size: 0.9375rem; line-height: 1.6; color: var(--on-dark-muted); }
.acc-head:hover .acc-title, .acc-trigger[aria-expanded="true"] .acc-title { color: var(--gold-light); }
.acc-panel { padding: 0 40px 0 calc(var(--acc-num) + 12px); }
.acc-panel.is-animating { overflow: hidden; }
.acc-panel p { margin-bottom: 26px; max-width: 40rem; font-size: 1rem; line-height: 1.8; color: #dce0e5; }
.acc-panel p::before { content: ""; display: block; width: 28px; height: 1px; margin-bottom: 14px; background: var(--gold); }

.acc-icon { position: relative; width: 16px; height: 16px; flex: none; color: var(--gold-light); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .45s var(--ease-out); }
.acc-icon::after { transform: rotate(90deg); }
[aria-expanded="true"] .acc-icon::after { transform: rotate(0deg); }

.js .acc-panel[hidden] { display: none; }

/* ---------- Practice grid (flip cards) ---------- */
.practices { background: var(--bg); }
.practice-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.practice-card { position: relative; perspective: 1800px; }
.card-inner { position: relative; display: grid; height: 100%; transform-style: preserve-3d; transition: transform .85s var(--ease-out); }
.card-face {
  grid-area: 1 / 1; display: flex; flex-direction: column; min-height: 300px;
  padding: clamp(26px, 2.4vw, 36px); border: 1px solid var(--border);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.card-front { position: relative; overflow: hidden; align-items: flex-start; gap: 12px; background: var(--surface); transition: border-color .4s var(--ease-out), box-shadow .5s var(--ease-out); }
.card-back { transform: rotateY(180deg); background: var(--card-back-bg); border-color: var(--card-back-border); color: #dce0e5; font-size: 0.9375rem; line-height: 1.65; box-shadow: 0 24px 50px rgba(14, 26, 43, 0.16); }
.card-front::after { content: attr(data-num); position: absolute; right: 18px; bottom: -0.18em; font-family: var(--serif); font-size: clamp(6rem, 5rem + 3vw, 8.5rem); line-height: 1; color: var(--watermark); pointer-events: none; }
.card-front > * { position: relative; z-index: 1; }
.card-num { font-family: var(--serif); font-size: 1.125rem; line-height: 1; color: var(--accent); }
.card-num::after { content: ""; display: block; width: 28px; height: 1px; margin-top: 12px; background: var(--gold); }
.practice-card h3 { margin-top: 6px; font-family: var(--serif); font-size: clamp(1.5rem, 1.35rem + .5vw, 1.8rem); font-weight: 600; line-height: 1.15; color: var(--heading); }
.card-line { font-size: 0.9875rem; line-height: 1.65; color: var(--text-muted); }
.card-hint { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 600; color: var(--accent); }
.hint-tap { display: none; }
.hint-icon { width: 13px; height: 13px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.back-title { display: flex; gap: 10px; align-items: baseline; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line-dark); font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; color: var(--on-dark); }
.back-title span { color: var(--gold-light); font-size: 1rem; }
.card-back h4 { margin: 16px 0 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }
.card-back ul { list-style: none; display: grid; gap: 5px; }
.card-back li { position: relative; padding-left: 18px; }
.card-back li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--gold); }
.card-flip { position: absolute; inset: 0; z-index: 2; width: 100%; padding: 0; background: transparent; border: 0; }
.card-flip:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.practice-card.is-flipped .card-inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) {
  .practice-card:hover .card-inner { transform: rotateY(180deg); transition-delay: .06s; }
  .practice-card:hover .card-front { border-color: var(--card-hover-border); }
}
@media (hover: none), (pointer: coarse) {
  .hint-hover { display: none; }
  .hint-tap { display: inline; }
}
@media (min-width: 1101px) {
  .practice-card:last-child:nth-child(3n + 1) { grid-column: 2; }
}

/* ---------- Byline ---------- */
.byline { margin-top: -24px; margin-bottom: clamp(36px, 4vw, 48px); font-size: 0.875rem; color: var(--text-muted); }
.byline a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(184, 151, 90, 0.5); text-underline-offset: 3px; }
.byline a:hover { text-decoration-color: currentColor; }

/* ---------- Inner pages (About, Contact, Privacy Policy, Terms) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); background: radial-gradient(ellipse 70% 90% at 85% 20%, var(--navy-600) 0%, var(--navy-800) 60%); border-bottom: 1px solid var(--line-dark); }
.page-hero h1 { margin-top: 6px; font-family: var(--serif); font-weight: 500; font-size: clamp(2.5rem, 1.8rem + 3vw, 4.25rem); line-height: 1.04; letter-spacing: -0.01em; color: var(--on-dark); }
.page-hero h1 em { color: var(--gold-light); }
.page-hero .lead { max-width: 40rem; margin-top: 20px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--on-dark-soft); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 0.8125rem; color: var(--on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.breadcrumbs a { color: var(--on-dark-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-light); }
.breadcrumbs [aria-current="page"] { color: var(--gold-light); }
.page-meta { margin-top: 22px; font-size: 0.875rem; color: var(--on-dark-muted); }
.page-meta a { color: var(--gold-light); }
.prose { max-width: 46rem; }
.container.prose { max-width: calc(var(--container) + var(--gutter) * 2); } /* align with other sections; keep a readable line length */
.container.prose > * { max-width: 46rem; }
.prose .eyebrow + h2 { margin-top: 0; }
.prose h2 { margin: 44px 0 14px; font-size: clamp(1.6rem, 1.35rem + .9vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 8px; font-family: var(--serif); font-size: 1.35rem; color: var(--heading); }
.prose p, .prose li { color: var(--text-soft); }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .8em; width: 9px; height: 1px; background: var(--gold); }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(184, 151, 90, 0.5); text-underline-offset: 3px; overflow-wrap: anywhere; }
.practice-index { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.practice-index a { display: flex; align-items: baseline; gap: 12px; height: 100%; padding: 18px 20px; background: var(--surface); color: var(--heading); text-decoration: none; transition: background-color .3s, color .3s; }
.practice-index a:hover { background: var(--bg-alt); color: var(--accent); }
.practice-index span { font-family: var(--serif); color: var(--accent); }

/* ---------- Approach ---------- */
.approach { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); }
.approach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 7vw, 100px); }
.approach-head { display: grid; gap: 20px; align-content: start; }
.approach-head > p:not(.eyebrow) { color: var(--on-dark-soft); max-width: 30rem; }
.steps { list-style: none; border-top: 1px solid var(--line-dark); }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.step-num { font-family: var(--serif); font-size: 1.75rem; line-height: 1; color: var(--gold-light); }
.step h3, .principles h3 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; margin-bottom: 6px; }
.step p, .principles p { color: var(--on-dark-muted); font-size: 0.9875rem; }
.principles { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.principles li { padding: clamp(24px, 3vw, 36px); background: var(--navy-800); transition: background-color .3s; }
.principles li:hover { background: var(--navy-600); }

/* ---------- Testimonials (placeholder) ---------- */
.testimonials { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.testimonial-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.testimonial { display: flex; }
.testimonial figure {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: 18px; margin: 0;
  padding: clamp(28px, 3.4vw, 44px); background: var(--surface); border: 1px solid var(--border);
  transition: border-color .4s var(--ease-out), box-shadow .5s var(--ease-out);
}
.testimonial figure::before { content: "“"; position: absolute; top: 6px; right: 26px; font-family: var(--serif); font-size: 7rem; line-height: 1; color: var(--watermark); pointer-events: none; }
.testimonial figure:hover { border-color: var(--card-hover-border); box-shadow: 0 18px 40px rgba(14, 26, 43, 0.07); }
.testimonial-topic { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.testimonial-topic::after { content: ""; display: block; width: 28px; height: 1px; margin-top: 12px; background: var(--gold); }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-family: var(--serif); font-size: clamp(1.2rem, 1.1rem + .35vw, 1.4rem); line-height: 1.55; color: var(--text-soft); font-style: italic; }
.testimonial figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); font-size: 0.875rem; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-copy > p:not(.eyebrow) { margin-top: 24px; color: var(--text-muted); max-width: 30rem; }
.contact-details { display: grid; gap: 18px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.contact-details > div { display: grid; gap: 2px; }
.contact-details a.map-link { justify-self: start; margin-top: 6px; font-size: 0.9375rem; font-weight: 500; color: var(--accent); }
.hours { margin: 4px 0 0; display: grid; gap: 8px; }
.hours > div { display: grid; grid-template-columns: minmax(8.5rem, auto) 1fr; gap: 16px; }
.hours dt { font-weight: 500; color: var(--text); }
.hours dd { margin: 0; color: var(--text-soft); }
.detail-label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.contact-copy .contact-note { margin-top: 28px; padding: 16px 18px; background: var(--bg-alt); border: 1px solid var(--border); font-size: 0.9375rem; color: var(--text-soft); }

.form-card { background: var(--surface); border: 1px solid var(--border); padding: clamp(22px, 3.4vw, 44px); box-shadow: 0 30px 70px rgba(14, 26, 43, 0.06); }
.form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--border); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--heading); }
.form-required { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-muted); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; align-content: start; }
.field label { font-size: 0.9375rem; font-weight: 500; color: var(--text-soft); }
.req { color: var(--accent); }
.optional { color: var(--text-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--field-bg); border: 1px solid var(--field-border); border-radius: 0;
  font-size: 1rem; color: var(--text);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--field-border-hover); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background-color: var(--surface); box-shadow: 0 0 0 3px rgba(184, 151, 90, 0.22); }
.field [aria-invalid="true"] { border-color: var(--error); background-color: var(--error-bg); }
.field-hint { font-size: 0.8125rem; color: var(--text-muted); }
.field-error { font-size: 0.8125rem; color: var(--error); min-height: 0; }
.field-error:empty { display: none; }
.field-check { grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; accent-color: var(--check); }
.field-check label { font-weight: 400; font-size: 0.9375rem; line-height: 1.6; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; justify-content: space-between; margin-top: 6px; }
.form-status { margin-top: 16px; font-size: 0.9375rem; }
.form-status:empty { display: none; }
.form-status.is-error, .form-status.is-info, .form-status.is-success { padding: 14px 16px; border: 1px solid; }
.form-status.is-error { color: var(--error); border-color: var(--error-border); background: var(--error-bg); }
.form-status.is-success { color: var(--success); border-color: var(--success-border); background: var(--success-bg); }
.form-status.is-info { color: var(--text-soft); border-color: var(--border); background: var(--bg-alt); }
.form-status a { color: inherit; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-900); padding-top: clamp(64px, 8vw, 96px); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7; }
.site-footer::after { content: ""; position: absolute; top: -220px; left: 50%; width: min(960px, 140%); height: 440px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(217, 190, 138, 0.08), transparent); pointer-events: none; }
.footer-top { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; text-align: center; padding-bottom: clamp(40px, 5vw, 56px); }
.footer-mark img { width: 86px; }
.footer-name { margin-top: 12px; font-family: var(--serif); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); line-height: 1.1; color: var(--on-dark); }
.footer-tag { font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer-motto { margin-top: 18px; display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--on-dark-soft); }
.footer-motto em { color: var(--gold-light); }
.site-footer .social { list-style: none; display: flex; gap: 14px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--gold-light); transition: border-color .3s, background-color .3s, color .3s; }
.social a:hover { border-color: var(--gold-light); background: var(--gold-light); color: var(--navy-900); }
.social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
.footer-motto::before, .footer-motto::after { content: ""; width: 40px; height: 1px; background: var(--gold); flex: none; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.4fr); gap: 40px 48px; padding-block: 48px; border-top: 1px solid var(--line-dark); }
.site-footer h2 { margin-bottom: 16px; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); }
.footer-col p { font-size: 0.9375rem; line-height: 1.7; color: var(--on-dark-muted); }
.footer-cta { display: inline-flex; gap: 10px; margin-top: 18px; padding-bottom: 4px; border-bottom: 1px solid rgba(217, 190, 138, 0.4); font-size: 0.9375rem; font-weight: 600; color: var(--gold-light); text-decoration: none; transition: border-color .3s; }
.footer-cta:hover { border-color: var(--gold-light); }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a { color: var(--on-dark-soft); text-decoration: none; font-size: 0.9375rem; transition: color .25s; overflow-wrap: anywhere; }
.site-footer ul a:hover { color: var(--gold-light); }
.footer-contact li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.9375rem; line-height: 1.6; color: var(--on-dark-soft); }
.footer-contact svg { width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--gold-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.footer-legal { position: relative; z-index: 1; display: grid; gap: 16px; padding-block: 24px 28px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-legal > p { font-size: 0.8125rem; color: var(--on-dark-muted); }
@media (min-width: 1000px) {
  .footer-legal > p { white-space: nowrap; }
}
@media (min-width: 1000px) and (max-width: 1100px) {
  .footer-legal > p { font-size: 0.75rem; }
}
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 0.8125rem; color: var(--on-dark-muted); }
.footer-bottom .credit { margin-left: auto; }
.link-button { background: none; border: 0; padding: 4px 0; color: var(--gold-light); text-decoration: underline; text-decoration-color: rgba(217, 190, 138, 0.5); text-underline-offset: 4px; font-size: 0.8125rem; }
.credit a { color: var(--on-dark-soft); text-decoration: underline; text-decoration-color: rgba(217, 190, 138, 0.5); text-underline-offset: 4px; transition: color .25s, text-decoration-color .25s; }
.credit a:hover, .link-button:hover { color: var(--gold-light); text-decoration-color: var(--gold-light); }
.back-top { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--gold-light); transition: border-color .3s, background-color .3s; }
.back-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.back-top:hover { border-color: var(--gold-light); background: rgba(217, 190, 138, 0.08); }

/* ---------- Disclaimer dialog ---------- */
.disclaimer {
  width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-top: 3px solid var(--gold);
  background: var(--bg-alt); color: var(--text); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5); overflow: auto;
}
.disclaimer::backdrop { background: rgba(5, 10, 18, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.disclaimer[open] { animation: dialog-in .45s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.disclaimer-inner { padding: clamp(28px, 5vw, 48px); }
.disclaimer-mark { width: 72px; margin-bottom: 20px; }
.disclaimer h2 { font-size: clamp(2rem, 1.6rem + 1.5vw, 2.5rem); margin-bottom: 18px; }
.disclaimer-body { font-size: 0.9875rem; line-height: 1.75; color: var(--text-soft); }
.disclaimer-body ul { margin-top: 12px; padding-left: 20px; display: grid; gap: 8px; }
.disclaimer-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.disclaimer-actions .button { min-width: 140px; }

.exit-screen { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; text-align: center; background: var(--navy-800); color: var(--on-dark); }
.exit-screen h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 6vw, 3rem); margin: 8px 0 14px; }
.exit-screen p { color: var(--on-dark-soft); max-width: 30rem; margin-inline: auto; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--dur) var(--ease-out), transform calc(var(--dur) + .2s) var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal .eyebrow .rule, .js .reveal.step, .js .accordion.reveal .acc-item { transition: transform 1s var(--ease-out), opacity .9s var(--ease-out); }
.js .reveal .eyebrow .rule { transform: scaleX(0); transform-origin: left; transition-delay: calc(var(--reveal-delay, 0ms) + 200ms); }
.js .reveal.is-visible .eyebrow .rule { transform: none; }
.js .accordion.reveal .acc-item { opacity: 0; transform: translateY(6px); transition-delay: calc(var(--item, 0) * 50ms + 120ms); }
.js .accordion.reveal.is-visible .acc-item { opacity: 1; transform: none; }

/* ---------- Large desktop ---------- */
@media (min-width: 1600px) {
  :root { --container: 1360px; }
}

/* ---------- Laptop / small desktop ---------- */
@media (max-width: 1100px) {
  .brand-tag { display: none; }
  .practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Tablet ---------- */
@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: inline-flex; order: 3; }
  .theme-toggle { order: 2; margin-left: auto; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-800); border-bottom: 1px solid var(--line-dark); box-shadow: 0 24px 40px rgba(5, 10, 18, 0.45);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; }
  .primary-nav a { display: block; padding: 16px 0; font-family: var(--serif); font-size: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .primary-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 20px; text-align: center; font-family: var(--sans) !important; font-size: 1rem !important; background: var(--gold-light); color: var(--navy-800) !important; }

  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 5.5rem); }
  .hero-art { width: min(100%, 360px); order: 2; }
  .hero-index-grid { grid-template-columns: 1fr; }
  .hero-index a, .hero-index a + a { padding: 18px 0; border-left: 0; }
  .hero-index a + a { border-top: 1px solid var(--line-dark); }

  .firm-grid, .advocate-grid, .contact-grid, .approach-grid, .core-grid { grid-template-columns: 1fr; }
  .advocate-portrait { max-width: 360px; justify-self: start; }
  .core-head { position: static; }
  .section-heading { flex-direction: column; align-items: flex-start; }
  .principles { grid-template-columns: 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .brand-mark { width: 44px; }
  .hero-art { width: min(100%, 280px); }
  .advocate-portrait { max-width: 300px; justify-self: center; }
  .disclaimer-mark { display: none; }
  .disclaimer-inner { padding: 24px 20px; }
  .brand-name { font-size: 1.2rem; }
  .practice-grid { grid-template-columns: 1fr; }
  .card-face { min-height: 0; }
  .field-row { grid-template-columns: 1fr; }
  .accordion { --acc-num: 1.8rem; }
  .acc-head { padding: 18px 0; }
  .acc-line { padding-right: 0; }
  .acc-panel { padding-right: 0; }
  .hero-actions .button { width: 100%; }
  .step { grid-template-columns: 44px minmax(0, 1fr); }
  .disclaimer-actions .button { flex: 1 1 120px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom .credit { margin-left: 0; }
  .footer-motto { gap: 12px; }
  .footer-motto::before, .footer-motto::after { width: 20px; }
  .form-head { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (max-width: 360px) {
  .brand-name { font-size: 1.05rem; }
  .brand-mark { width: 38px; }
}

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero-step, .js .hero h1 .line-inner, .js .hero-art .arch, .js .hero-art .arch img, .js .accordion.reveal .acc-item { opacity: 1 !important; transform: none !important; }
  .js .reveal .eyebrow .rule, .js .hero .eyebrow .rule { transform: none !important; }
  .card-inner { transition: none !important; }
}

@media print {
  .site-header, .hero-index, .form-card, .disclaimer { display: none !important; }
  .dark, .core, .approach, .site-footer { background: #fff !important; color: #000 !important; }
  .dark h2, .core h2 { color: #000 !important; }
  .js .reveal, .js .hero-step, .js .hero h1 .line-inner, .js .hero-art .arch, .js .hero-art .arch img { opacity: 1 !important; transform: none !important; }
  .acc-panel[hidden] { display: block !important; }
  .card-inner { display: block; transform: none !important; }
  .card-back { transform: none; background: #fff; color: #000; }
  .card-flip, .card-hint { display: none; }
}
