/* ==========================================================================
   Boortz Law Texas — site styles
   Dark mode is the default look; light mode is set with [data-theme="light"].
   ========================================================================== */

:root {
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --accent: #5398A9;        /* Boortz Law blue (original site secondary) */
  --accent-soft: #74B3C3;
  --on-accent: #08141B;
  --navy: #29445B;          /* original site primary */

  /* dark theme (default) */
  --bg: #000000;
  --bg-2: #090d10;
  --bg-3: #111a21;
  --ink: #ffffff;
  --ink-2: #e3e8ec;
  --muted: #9ea8b0;
  --line: rgba(255, 255, 255, .12);
  --accent-ink: #6FB0C1;
  --header-bg: rgba(0, 0, 0, .94);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);

  /* inset "panel" sections — white in dark mode */
  --panel-bg: #ffffff;
  --panel-ink: #0f1a22;
  --panel-ink-2: #26323b;
  --panel-muted: #56636d;
  --panel-line: rgba(15, 26, 34, .12);
  --panel-accent: #2C6879;
  --panel-bg-3: #eff4f6;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #F3F6F8;
  --bg-2: #E8EEF2;
  --bg-3: #DCE5EB;
  --ink: #0f1a22;
  --ink-2: #26323b;
  --muted: #55626c;
  --line: rgba(15, 26, 34, .13);
  --accent-ink: #2C6879;
  --header-bg: rgba(243, 246, 248, .95);
  --shadow: 0 30px 60px -34px rgba(20, 50, 70, .35);

  /* panels invert to near-black in light mode */
  --panel-bg: #0f1a22;
  --panel-ink: #ffffff;
  --panel-ink-2: #e3e8ec;
  --panel-muted: #a5b0b8;
  --panel-line: rgba(255, 255, 255, .13);
  --panel-accent: #74B3C3;
  --panel-bg-3: #172631;
  color-scheme: light;
}

/* -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; z-index: 999; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .98;
  margin: 0 0 .45em;
  color: var(--ink);
}
h1, .h1 { font-size: clamp(46px, 6.4vw, 92px); font-weight: 900; }
h2, .h2 { font-size: clamp(38px, 4.6vw, 68px); }
h3, .h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; line-height: 1.05; }
h4 { font-family: var(--font-body); font-size: 19px; font-weight: 700; margin: 1.6em 0 .5em; color: var(--ink); line-height: 1.35; }
.accent { color: var(--accent-ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--accent-ink); margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .9; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 620px; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  padding: 17px 30px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  line-height: 1;
}
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-soft); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #1f3547; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color .35s ease;
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 92px; max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 44px); }
.brand { display: block; flex: none; width: 150px; }
.brand img { width: 100%; height: auto; }
.logo-light { display: block; }
.logo-dark { display: none; }
[data-theme="light"] .logo-light { display: none; }
[data-theme="light"] .logo-dark { display: block; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li + li::before { content: "·"; color: var(--muted); opacity: .6; padding: 0 2px; }
.main-nav a, .main-nav .dd-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: .035em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); padding: 34px 9px; position: relative;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.main-nav > ul > li > a::after, .main-nav .dd-toggle::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 22px; height: 3px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a[aria-current="page"]::after,
.main-nav .dd-toggle:hover::after, .main-nav li.is-current > .dd-toggle::after { transform: scaleX(1); }
.dd-toggle svg { width: 10px; height: 10px; transition: transform .2s; }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 300px; list-style: none; margin: 0; padding: 10px 0;
  background: var(--bg-2); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.has-dd:hover .dropdown, .has-dd:focus-within .dropdown, .has-dd.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dd:hover .dd-toggle svg, .has-dd.open .dd-toggle svg { transform: rotate(180deg); }
.dropdown a { display: block; padding: 11px 22px; font-size: 13px; letter-spacing: .05em; color: var(--ink-2); }
.dropdown a:hover, .dropdown a[aria-current="page"] { color: var(--accent-ink); background: var(--bg-3); }

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.phone-block { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.phone-icon { width: 30px; height: 30px; border: 1.5px solid var(--accent); border-radius: 50%; display: grid; place-items: center; color: var(--accent); flex: none; }
.phone-icon svg { width: 14px; height: 14px; }
.phone-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 168px; }
.phone-text small { font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 4px; line-height: 1.25; }
.phone-text strong { font-size: 22px; font-weight: 700; letter-spacing: .01em; font-family: var(--font-body); }
/* rotating word: fixed-height window; width animates to the current word (set in main.js) */
.rotator { display: inline-block; position: relative; overflow: hidden; vertical-align: bottom; height: 1.25em; line-height: 1.25; white-space: nowrap; color: var(--accent-ink); transition: width .45s cubic-bezier(.3, .7, .2, 1); }
.rotator > span { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(100%); transition: transform .45s cubic-bezier(.3, .7, .2, 1), opacity .3s ease; }
.rotator > span.on { opacity: 1; transform: translateY(0); }
.rotator > span.out { opacity: 0; transform: translateY(-100%); }
.rotator:not(.ready) > span:first-child { position: relative; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rotator, .rotator > span { transition: none; } }

.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  display: grid; place-items: center; cursor: pointer; color: var(--ink); flex: none;
  transition: border-color .2s, color .2s, background-color .2s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-ink); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .i-sun { display: none; }
[data-theme="light"] .theme-toggle .i-sun { display: block; }
[data-theme="light"] .theme-toggle .i-moon { display: none; }
.divider-v { width: 1px; height: 40px; background: var(--line); }

.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; cursor: pointer; place-items: center; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.drawer { display: none; }
@media (max-width: 1330px) {
  .main-nav { display: none; }
  .menu-btn { display: grid; }
  .header-inner { justify-content: space-between; }
  .drawer {
    display: block; position: fixed; inset: 92px 0 0 0; z-index: 99; background: var(--bg);
    overflow-y: auto; padding: 24px var(--gutter) 60px; transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav-open .drawer { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .drawer ul { list-style: none; margin: 0; padding: 0; }
  .drawer > ul > li { border-bottom: 1px solid var(--line); }
  .drawer a { display: block; padding: 16px 0; font-family: var(--font-display); font-size: 30px; font-weight: 700; text-transform: uppercase; text-decoration: none; color: var(--ink); }
  .drawer a[aria-current="page"] { color: var(--accent-ink); }
  .drawer .sub a { font-family: var(--font-body); font-size: 15px; font-weight: 500; text-transform: none; padding: 9px 0 9px 18px; color: var(--muted); border-left: 1px solid var(--line); }
  .drawer .sub { padding-bottom: 14px; }
  .drawer .btn { margin-top: 28px; width: 100%; }
}
@media (max-width: 640px) {
  .header-inner { height: 76px; gap: 10px; }
  .drawer { inset: 76px 0 0 0; }
  .brand { width: 130px; }
  .phone-text small, .divider-v { display: none; }
  .phone-text strong { font-size: 0; }
  .phone-text { min-width: 0; }
  .phone-icon { width: 44px; height: 44px; }
  .phone-icon svg { width: 18px; height: 18px; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(70px, 8.5vw, 124px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 90px) 0; }
.panel {
  --ink: var(--panel-ink); --ink-2: var(--panel-ink-2); --muted: var(--panel-muted);
  --line: var(--panel-line); --accent-ink: var(--panel-accent); --bg-3: var(--panel-bg-3);
  background: var(--panel-bg); color: var(--ink);
  margin: 0 clamp(0px, 4vw, 58px);
  box-shadow: var(--shadow);
}
.panel + .panel { margin-top: 0; }
.alt { background: var(--bg-2); }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.grid-2.top { align-items: start; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
.body-copy { color: var(--ink-2); }
.body-copy p { color: var(--muted); }
.body-copy p:first-of-type { color: var(--ink-2); }
.body-copy strong { color: var(--ink); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero { position: relative; padding: clamp(70px, 9vw, 120px) 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(83, 152, 169, .14), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 120px;
  opacity: .9;
}
[data-theme="light"] .hero::before { background: radial-gradient(60% 70% at 78% 40%, rgba(83, 152, 169, .22), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.hero-copy { padding-bottom: clamp(60px, 8vw, 110px); }
.hero h1 { margin-bottom: 26px; }
.hero .rotate-line { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 18px; display: flex; flex-wrap: wrap; align-items: center; column-gap: .28em; }
.hero-figure { position: relative; align-self: end; display: flex; justify-content: center; }
.hero-figure { padding-bottom: clamp(60px, 8vw, 110px); }
.hero-figure .frame { width: 100%; max-width: 460px; }
.hero-figure .frame img { aspect-ratio: 4 / 5; object-position: top center; }
.name-plate { position: absolute; left: -10px; bottom: calc(clamp(60px, 8vw, 110px) + 40px); z-index: 3; border-left: 3px solid var(--accent); padding: 12px 26px 12px 20px; background: var(--bg); box-shadow: var(--shadow); }
.name-plate strong { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.name-plate span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--accent-ink); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 620px; }
.hero-meta span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 20px; }
  .hero-figure .frame { max-width: 380px; }
  .name-plate { left: 0; bottom: calc(clamp(60px, 8vw, 110px) + 24px); }
}

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.marquee-row { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-row.rev { animation-direction: reverse; animation-duration: 56s; margin-top: 6px; }
.marquee-row span { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 6vw, 86px); line-height: 1.05; white-space: nowrap; padding: 0 .35em; display: flex; align-items: center; gap: .7em; }
.marquee-row span::after { content: ""; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); opacity: .75; }
.marquee-row span.o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee-row span.g { color: var(--accent); }
.marquee:hover .marquee-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-row { animation: none; } }

/* ---------- letter ---------- */
.letter { font-size: clamp(17px, 1.35vw, 19px); }
.letter p { color: var(--ink-2); }
.signature { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 18px; align-items: center; }
.signature img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; }
.signature strong { display: block; font-family: var(--font-display); font-size: 26px; text-transform: uppercase; line-height: 1; }
.signature span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-ink); }
.stat-col { border-left: 3px solid var(--accent); padding-left: 30px; }
.stat-col .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 7vw, 96px); line-height: .9; color: var(--accent-ink); }
.stat-col ul { list-style: none; padding: 0; margin: 26px 0 0; }
.stat-col li { padding: 13px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); font-size: 15.5px; }
.stat-col li::before { content: ""; width: 7px; height: 7px; background: var(--accent); flex: none; transform: translateY(-2px); }

/* ---------- practice list (accordion rows) ---------- */
.practice-list { border-top: 1px solid var(--line); }
.practice-item { border-bottom: 1px solid var(--line); }
.practice-item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 40px; align-items: center; gap: 16px;
  padding: 26px 8px; transition: background-color .2s;
}
.practice-item summary::-webkit-details-marker { display: none; }
.practice-item summary:hover { background: var(--bg-3); }
.practice-item .ico { color: var(--accent); width: 30px; height: 30px; }
.practice-item .ttl { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 3.6vw, 48px); line-height: 1; color: var(--ink); }
.practice-item .plus { width: 22px; height: 22px; position: relative; justify-self: end; }
.practice-item .plus::before, .practice-item .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .25s; }
.practice-item .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.practice-item[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.practice-item .body { padding: 0 8px 30px 80px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.practice-item .body p { margin: 0; color: var(--muted); max-width: 640px; font-size: 17px; }
@media (max-width: 640px) {
  .practice-item summary { grid-template-columns: 34px 1fr 28px; gap: 12px; }
  .practice-item .ico { width: 24px; height: 24px; }
  .practice-item .body { padding-left: 0; grid-template-columns: 1fr; }
}

/* ---------- numbered steps ---------- */
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(54px, 5vw, 72px); color: var(--accent); line-height: .85; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); max-width: 640px; }
@media (max-width: 640px) { .step { grid-template-columns: 64px 1fr; gap: 14px; } }

/* ---------- image frame (accent corners) ---------- */
.frame { position: relative; border: 1px solid var(--line); padding: 14px; background: linear-gradient(160deg, var(--bg-3), transparent 70%); }
.frame::before, .frame::after { content: ""; position: absolute; width: 12px; height: 12px; border: 1.5px solid var(--accent); top: 12px; z-index: 2; }
.frame::before { left: 12px; }
.frame::after { right: 12px; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.portrait img { aspect-ratio: 4 / 5; object-position: top center; }
.frame.land img { aspect-ratio: 4 / 3; }
.frame.square img { aspect-ratio: 1; object-fit: contain; }
.frame.natural img { object-fit: contain; height: auto; }

/* ---------- badges ---------- */
.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.badges .b { background: #fff; border: 1px solid rgba(20,18,16,.1); height: 170px; display: flex; align-items: center; justify-content: center; padding: 18px; min-width: 0; }
.badges .b img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 640px) { .badges { grid-template-columns: repeat(2, 1fr); } }

/* ---------- reviews ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.review-track::-webkit-scrollbar { height: 4px; }
.review-track::-webkit-scrollbar-thumb { background: var(--accent); }
@media (min-width: 900px) { .review-track { grid-auto-columns: calc((100% - 0px) / 3); } }
.review { scroll-snap-align: start; padding: 6px 34px 10px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.review:first-child { border-left: 0; padding-left: 0; }
.review .q { font-family: Georgia, serif; font-size: 54px; line-height: .6; color: var(--accent); height: 30px; }
.review p { color: var(--ink-2); font-size: 16px; line-height: 1.75; margin: 14px 0 18px; }
.review .who { margin-top: auto; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.review .who b { color: var(--ink); font-weight: 500; }
.track-nav { display: flex; gap: 10px; }
.track-nav button { width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--ink); display: grid; place-items: center; transition: border-color .2s, color .2s; }
.track-nav button:hover { border-color: var(--accent); color: var(--accent-ink); }

.review-grid { columns: 3 320px; column-gap: 24px; }
.review-card { break-inside: avoid; background: var(--bg-2); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 30px 30px 26px; margin-bottom: 24px; }
.panel .review-card { background: var(--bg-3); }
.review-card h3 { font-size: 28px; margin-bottom: 6px; }
.review-card h4 { margin: 0 0 12px; font-size: 16px; color: var(--accent-ink); }
.review-card p { color: var(--ink-2); font-size: 16px; }
.review-card .who { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.review-card .who b { color: var(--ink); font-weight: 500; display: block; }
.review-card .src { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; padding: 5px 9px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; white-space: nowrap; }
.review-card a.src:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ---------- navy CTA band ---------- */
.cta-band { background: var(--navy) linear-gradient(135deg, rgba(83,152,169,.35), transparent 60%); color: #fff; margin: 0 clamp(0px, 4vw, 58px); padding: clamp(60px, 8vw, 100px) var(--gutter); text-align: center; border-top: 4px solid var(--accent); }
.cta-band h2 { color: #fff; max-width: 1000px; margin: 0 auto 14px; }
.cta-band .mono { color: rgba(255,255,255,.75); }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-dark { background: #fff; color: var(--navy); }
.cta-band .btn-dark:hover { background: var(--accent-soft); color: var(--on-accent); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.methods { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 36px auto 0; border-top: 1px solid rgba(255,255,255,.22); }
.methods svg { color: var(--accent-soft); }
.methods div { padding: 20px 10px 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.methods div + div { border-left: 1px solid rgba(255,255,255,.22); }
.methods svg { width: 26px; height: 26px; }
@media (max-width: 640px) { .methods { grid-template-columns: 1fr 1fr; } .methods div:nth-child(3) { border-left: 0; } }

/* ---------- consult / form ---------- */
.consult-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
@media (max-width: 960px) { .consult-grid { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 28px 0; border-top: 1px solid var(--line); }
.checks li { padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; color: var(--ink-2); }
.checks li::before { content: ""; width: 7px; height: 7px; background: var(--accent); flex: none; transform: translateY(-2px); }
.form-card { background: #fff; color: #141210; border-top: 4px solid var(--accent); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow); min-height: 420px; }
.form-card .form-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 34px; color: #141210; margin: 0 0 4px; line-height: 1; }
.form-card .form-sub { font-size: 14.5px; color: #5f5950; margin: 0 0 18px; }
.form-card iframe { width: 100% !important; border: 0; }
.form-fallback { font-size: 15px; color: #5f5950; }
.form-fallback a { color: #2C6879; font-weight: 600; }

/* ---------- office ---------- */
.office-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; border: 1px solid var(--line); }
.office-card { padding: clamp(28px, 4vw, 48px); border-right: 1px solid var(--line); }
.office-card h3 { font-size: 38px; margin-top: 6px; }
.office-card address { font-style: normal; color: var(--ink-2); font-size: 17px; line-height: 1.6; margin-bottom: 22px; }
.office-card .lines a { display: block; text-decoration: none; color: var(--ink); font-weight: 600; padding: 4px 0; }
.office-card .lines a:hover { color: var(--accent-ink); }
.map { min-height: 380px; position: relative; background: var(--bg-3); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); }
:root:not([data-theme="light"]) .map iframe { filter: grayscale(1) invert(.92) contrast(.9); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.facts b { color: var(--accent-ink); font-weight: 500; }
@media (max-width: 860px) { .office-grid { grid-template-columns: 1fr; } .office-card { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(60px, 7vw, 100px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 85% 30%, rgba(83,152,169,.13), transparent 70%); }
.page-hero .grid-2 { position: relative; }
.crumbs { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero h1 { font-size: clamp(42px, 5.6vw, 82px); }
.page-hero .tagline { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; letter-spacing: .03em; color: var(--accent-ink); margin: 0 0 18px; }
.page-hero.compact .grid-2 { grid-template-columns: 1fr; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(40px, 6vw, 90px); align-items: start; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } }
.aside { position: sticky; top: 120px; display: grid; gap: 22px; }
@media (max-width: 1000px) { .aside { position: static; } }
.aside-card { border: 1px solid var(--line); padding: 28px; background: var(--bg-3); }
.aside-card.dark { background: var(--navy); color: #fff; border-color: transparent; border-top: 4px solid var(--accent); }
.aside-card.dark h3 { color: #fff; }
.aside-card.dark .mono { color: var(--accent-soft); }
.aside-card.dark .phone-big { color: #fff; }
.aside-card .phone-big { display: block; font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--accent); text-decoration: none; line-height: 1; margin: 14px 0 18px; }
.aside-card .btn { width: 100%; }
.aside-card ul { list-style: none; padding: 0; margin: 12px 0 0; }
.aside-card li a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 15px; color: var(--ink-2); }
.aside-card li a:hover, .aside-card li a[aria-current="page"] { color: var(--accent-ink); }
.aside-card li a::after { content: "→"; color: var(--accent-ink); }

/* prose */
.prose { font-size: 17.5px; line-height: 1.8; color: var(--ink-2); max-width: 780px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(32px, 3.4vw, 48px); margin: 1.6em 0 .5em; }
.prose h3 { font-size: clamp(26px, 2.6vw, 36px); margin: 1.5em 0 .5em; }
.prose h4 { font-size: 20px; }
.prose h5 { font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); margin: 1.8em 0 .6em; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 600; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.4em; list-style: none; }
.prose ul > li { position: relative; padding-left: 26px; margin: .55em 0; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; background: var(--accent); }
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; position: relative; padding-left: 40px; margin: .7em 0; }
.prose ol > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .1em; font-family: var(--font-display); font-weight: 800; color: var(--accent-ink); font-size: 20px; }
.prose li > ul { margin: .4em 0 .2em; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.6em 0; }
.prose blockquote { margin: 1.6em 0; padding: 10px 0 10px 26px; border-left: 3px solid var(--accent); font-size: 19px; color: var(--ink); }
.prose img { margin: 1.4em 0; border: 1px solid var(--line); }
.prose img.float { float: right; width: min(42%, 260px); margin: .3em 0 1em 28px; }
@media (max-width: 640px) { .prose img.float { float: none; width: 100%; margin: 1em 0; } }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 1.4em 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.prose th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.prose::after { content: ""; display: table; clear: both; }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--bg-3); padding: 28px 32px 10px; margin: 0 0 2.4em; }
.callout .mono { color: var(--accent-ink); display: block; margin-bottom: 12px; }
.callout p { color: var(--ink-2); }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin: 1.4em 0 2em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--accent-ink); line-height: 1; transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 20px; color: var(--muted); }
.faq .ans p:last-child { margin-bottom: 0; }

/* info center topic cards */
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
.topic { padding: 34px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; text-decoration: none; position: relative; transition: background-color .25s; }
.topic:last-child { border-right: 0; }
.topic:hover { background: var(--bg-3); }
.topic .n { font-family: var(--font-display); font-weight: 800; font-size: 46px; color: var(--accent); line-height: .9; }
.topic h3 { font-size: 26px; margin: 8px 0 0; }
.topic p { font-size: 15.5px; color: var(--muted); margin: 0; }
.topic .more { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); }
.topic .more b { font-weight: 500; color: var(--ink); display: block; margin-bottom: 4px; letter-spacing: .14em; }
.topic .more small { display: block; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 14.5px; color: var(--muted); margin-bottom: 10px; }
@media (max-width: 1000px) { .topic-grid { grid-template-columns: 1fr 1fr; } .topic:nth-child(2) { border-right: 0; } .topic:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .topic-grid { grid-template-columns: 1fr; } .topic { border-right: 0; border-bottom: 1px solid var(--line); } }

.chapter { padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 0; }
.chapter-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.chapter-grid .side { position: sticky; top: 120px; }
.chapter-grid .side .n { font-family: var(--font-display); font-weight: 800; font-size: 80px; line-height: .8; color: var(--accent); margin-bottom: 14px; }
.chapter-grid .side h2 { font-size: clamp(32px, 3vw, 44px); }
@media (max-width: 960px) { .chapter-grid { grid-template-columns: 1fr; } .chapter-grid .side { position: static; } }

/* articles */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.post-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; transition: background-color .25s; }
.post-card:hover { background: var(--bg-3); }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .pc-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card h3 { font-size: 27px; margin: 0; }
.post-card p { margin: 0; font-size: 15.5px; color: var(--muted); }
.post-card .more { margin-top: auto; padding-top: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); }
.post-card.feature { grid-column: span 3; flex-direction: row; }
.post-card.feature .thumb { flex: 1.2; aspect-ratio: auto; min-height: 380px; border-bottom: 0; border-right: 1px solid var(--line); }
.post-card.feature .pc-body { flex: 1; padding: clamp(28px, 4vw, 56px); justify-content: center; }
.post-card.feature h3 { font-size: clamp(34px, 3.4vw, 50px); }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } .post-card.feature { grid-column: span 2; } }
@media (max-width: 680px) { .post-grid { grid-template-columns: 1fr; } .post-card.feature { grid-column: span 1; flex-direction: column; } .post-card.feature .thumb { min-height: 0; aspect-ratio: 16/10; border-right: 0; border-bottom: 1px solid var(--line); } }

/* news */
.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 220px minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 56px); padding: clamp(36px, 5vw, 60px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.news-item .src { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 30px; color: var(--accent-ink); line-height: 1; }
.news-item h2 { font-size: clamp(28px, 3vw, 42px); }
.news-item p { color: var(--muted); }
.news-item .media img { border: 1px solid var(--line); }
@media (max-width: 1100px) { .news-item { grid-template-columns: 1fr; } .news-item .media { max-width: 520px; } }

/* contact page */
.contact-lines { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 30px; }
.contact-lines > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-lines dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); padding-top: 4px; }
.contact-lines dd { margin: 0; color: var(--ink-2); }
.contact-lines dd a { text-decoration: none; font-weight: 600; color: var(--ink); }
.contact-lines dd a:hover { color: var(--accent-ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: clamp(70px, 8vw, 100px) 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer-top .brand { width: 200px; margin-bottom: 22px; }
.footer-top h4 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 18px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin: 0 0 10px; }
.footer-top a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.footer-top a:hover { color: var(--accent-ink); }
.footer-top address { font-style: normal; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.footer-top .footer-phone { font-family: var(--font-display); font-weight: 800; font-size: 36px; color: var(--ink); display: inline-block; margin-top: 10px; }
.footer-statement { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; padding: 50px 0; border-bottom: 1px solid var(--line); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* thanks */
.thanks { min-height: 56vh; display: grid; place-items: center; text-align: center; }
.page-hero h1.long { font-size: clamp(36px, 4.2vw, 64px); }
