/* PrestonRideoutExpertWitness.com — house stylesheet
   Tokens follow the Preston brand build sheet: midnight hospitality teal,
   burnished brass, warm linen; Cormorant Garamond display + Source Sans 3 body. */

:root {
  --pr-midnight: #102A3B;
  --pr-midnight-deep: #0B1F2D;
  --pr-brass: #C08A52;
  --pr-brass-light: #D9A96E;
  --pr-linen: #F4F0E8;
  --pr-linen-deep: #EAE4D8;
  --pr-slate: #2F4B59;
  --pr-ink: #17212B;
  --pr-ink-soft: #4A5661;
  --pr-mist: #D8E0E2;
  --pr-white: #FFFFFF;
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--pr-ink);
  background: var(--pr-linen);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pr-slate); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pr-midnight); }
:focus-visible { outline: 3px solid var(--pr-brass); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--pr-midnight);
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--pr-mist); margin: 2rem 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
.measure { max-width: 72ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pr-brass);
  margin: 0 0 0.9rem;
}
.dark .eyebrow, .on-dark .eyebrow { color: var(--pr-brass-light); }
.section-intro { max-width: 68ch; font-size: 1.12rem; color: var(--pr-ink-soft); }
.dark .section-intro, .on-dark .section-intro { color: rgba(255,255,255,0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none; line-height: 1;
  padding: 1rem 1.5rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary, .dark .btn-primary, .on-dark .btn-primary, .nav-links a.btn-primary, .convert .btn-primary, .footer .btn-primary { background: var(--pr-brass); color: var(--pr-midnight); border-color: var(--pr-brass); }
.btn-primary:hover, .dark .btn-primary:hover, .on-dark .btn-primary:hover, .nav-links a.btn-primary:hover, .footer .btn-primary:hover { background: var(--pr-brass-light); color: var(--pr-midnight); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--pr-midnight); border-color: var(--pr-slate); }
.btn-secondary:hover { background: var(--pr-white); color: var(--pr-midnight); }
.dark .btn-secondary, .on-dark .btn-secondary { color: var(--pr-linen); border-color: rgba(244,240,232,0.55); }
.dark .btn-secondary:hover, .on-dark .btn-secondary:hover { background: rgba(255,255,255,0.08); color: var(--pr-white); }
.btn-sm { padding: 0.72rem 1.1rem; font-size: 0.8rem; }
.text-link { font-weight: 600; color: var(--pr-midnight); text-decoration: none; border-bottom: 1px solid var(--pr-brass); }
.text-link:hover { color: var(--pr-brass); }
.text-link::after { content: " \2192"; }

/* ---------- Utility bar + navigation ---------- */
.utility {
  background: var(--pr-midnight-deep); color: rgba(244,240,232,0.85);
  font-size: 0.8rem; letter-spacing: 0.04em;
}
.utility .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 1rem; flex-wrap: wrap; }
.utility a { color: var(--pr-brass-light); text-decoration: none; font-weight: 600; }
.utility a:hover { color: var(--pr-white); }

.nav { background: var(--pr-white); border-bottom: 1px solid var(--pr-mist); position: sticky; top: 0; z-index: 50; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { text-decoration: none; color: var(--pr-midnight); display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: 0.01em; }
.brand .brand-sub { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pr-brass); font-weight: 600; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button.nav-toggle {
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--pr-ink); text-decoration: none; padding: 0.6rem 0.7rem; display: inline-flex; align-items: center; gap: 0.3rem;
  background: none; border: 0; cursor: pointer; border-radius: 8px;
}
.nav-links a:hover, .nav-links button.nav-toggle:hover { background: var(--pr-linen); color: var(--pr-midnight); }
.nav-links a[aria-current="page"] { color: var(--pr-midnight); box-shadow: inset 0 -2px 0 var(--pr-brass); border-radius: 0; }
.nav-links li a.btn { margin-left: 0.5rem; padding: 0.72rem 1.1rem; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-toggle svg { width: 12px; height: 12px; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 300px; background: var(--pr-white);
  border: 1px solid var(--pr-mist); border-radius: 12px; padding: 0.6rem; list-style: none; margin: 0.35rem 0 0;
  box-shadow: 0 18px 40px rgba(16,42,59,0.14); display: none; z-index: 60;
}
.submenu.wide { min-width: 620px; columns: 2; column-gap: 0.5rem; }
.submenu li { margin: 0; break-inside: avoid; }
.submenu a { display: block; padding: 0.5rem 0.7rem; font-weight: 500; border-radius: 8px; white-space: nowrap; }
.submenu a small { display: block; font-size: 0.74rem; color: var(--pr-ink-soft); font-weight: 400; letter-spacing: 0; }
li.open > .submenu { display: block; }
/* Invisible hover bridge across the gap between a toggle and its panel; interactive only while open */
.nav-links > li:has(> .submenu)::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 0.5rem; pointer-events: none; }
.nav-links > li.open::after { pointer-events: auto; }
/* Panels on the right half of the bar anchor right so the wide menu cannot overflow the viewport */
.nav-links > li.align-right > .submenu { left: auto; right: 0; }
.menu-btn { display: none; background: none; border: 1px solid var(--pr-mist); border-radius: 8px; padding: 0.5rem 0.7rem; font: inherit; font-weight: 600; cursor: pointer; color: var(--pr-midnight); }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--pr-white); border-bottom: 1px solid var(--pr-mist); padding: 0.75rem clamp(16px,4vw,32px) 1.25rem;
    box-shadow: 0 20px 40px rgba(16,42,59,0.14); max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav-links.mobile-open a, .nav-links.mobile-open button.nav-toggle { width: 100%; justify-content: space-between; padding: 0.8rem 0.5rem; font-size: 1rem; }
  .submenu, .submenu.wide { position: static; min-width: 0; box-shadow: none; border: 0; border-left: 2px solid var(--pr-brass); border-radius: 0; margin: 0 0 0.5rem 0.5rem; padding: 0 0 0 0.5rem; columns: 1; }
  .submenu a { white-space: normal; }
  .nav-links > li::after { display: none; }
  .nav-links .btn { margin: 0.75rem 0 0; }
  .menu-btn { display: inline-block; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-tight { padding-block: clamp(40px, 5vw, 72px); }
.dark { background: var(--pr-midnight); color: var(--pr-linen); }
.dark h1, .on-dark h1, .dark h2, .on-dark h2, .dark h3, .on-dark h3 { color: var(--pr-white); }
.dark a, .on-dark a { color: var(--pr-brass-light); }
.dark a:hover, .on-dark a:hover { color: var(--pr-white); }
.light { background: var(--pr-linen); }
.white { background: var(--pr-white); }
.slate { background: var(--pr-slate); color: var(--pr-linen); }
.slate h2, .slate h3 { color: var(--pr-white); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--pr-midnight-deep) 0%, var(--pr-midnight) 55%, #16374a 100%); color: var(--pr-linen); padding-block: clamp(56px, 7vw, 104px); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; max-width: 720px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(192,138,82,0.13), transparent 70%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.hero h1 { color: var(--pr-white); margin-bottom: 1rem; }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(244,240,232,0.86); max-width: 60ch; margin-bottom: 1.8rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.portrait-card { position: relative; justify-self: end; width: min(100%, 420px); margin-top: 32px; }
.portrait-card img { border-radius: 16px; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.portrait-card::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--pr-brass); border-radius: 18px; pointer-events: none; opacity: 0.9; }
.portrait-card.square img { aspect-ratio: 1 / 1; }
.portrait-card.landscape img { aspect-ratio: 4 / 3; }
.aside-photo { margin: 0 0 1.2rem; position: relative; }
.aside-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; border: 1px solid var(--pr-mist); }
.aside-photo.square img { aspect-ratio: 1 / 1; }
.aside-photo.landscape img { aspect-ratio: 4 / 3; }
.aside-photo figcaption { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pr-brass); font-weight: 600; margin-top: 0.6rem; }
.portrait-card figcaption { margin-top: 1rem; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pr-brass-light); font-weight: 600; }
.hero.hero-page .wrap { grid-template-columns: 1fr; }
.hero.hero-page .lead { max-width: 68ch; }
.breadcrumbs { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.8rem; letter-spacing: 0.04em; color: rgba(244,240,232,0.7); }
.breadcrumbs a { color: rgba(244,240,232,0.85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--pr-white); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--pr-brass); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .portrait-card { justify-self: start; width: min(100%, 360px); margin-top: 12px; }
  .portrait-card::before { inset: -12px 12px 12px -12px; }
}

/* ---------- Credential rail ---------- */
.rail { background: var(--pr-linen-deep); border-top: 1px solid rgba(16,42,59,0.08); border-bottom: 1px solid rgba(16,42,59,0.08); }
.rail .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.rail-item { padding: 1.3rem 1.2rem; border-left: 1px solid rgba(16,42,59,0.1); }
.rail-item:first-child { border-left: 0; padding-left: 0; }
.rail-item strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--pr-midnight); line-height: 1.15; }
.rail-item span { font-size: 0.86rem; color: var(--pr-ink-soft); }
@media (max-width: 900px) { .rail .wrap { grid-template-columns: repeat(2, 1fr); } .rail-item:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .rail .wrap { grid-template-columns: 1fr; } .rail-item { border-left: 0; padding-left: 0; padding-block: 0.9rem; border-top: 1px solid rgba(16,42,59,0.1); } .rail-item:first-child { border-top: 0; } }

/* ---------- Expertise panels (numbered, two columns) ---------- */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.panel { background: var(--pr-white); border: 1px solid var(--pr-mist); border-radius: var(--radius); padding: 1.6rem 1.7rem 1.5rem; display: flex; flex-direction: column; position: relative; }
.panel .num { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--pr-brass); letter-spacing: 0.06em; }
.panel .num::after { content: ""; display: block; width: 36px; height: 2px; background: var(--pr-brass); margin: 0.5rem 0 0.9rem; }
.panel h3 { margin-bottom: 0.5rem; font-size: 1.45rem; }
.panel h3 a { color: inherit; text-decoration: none; }
.panel h3 a:hover { color: var(--pr-brass); }
.panel p { color: var(--pr-ink-soft); font-size: 1rem; flex: 1; }
.panel .text-link { margin-top: 1rem; align-self: flex-start; font-size: 0.92rem; }
.dark .panel, .on-dark .panel { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }
.dark .panel h3, .on-dark .panel h3 { color: var(--pr-white); }
.dark .panel p, .on-dark .panel p { color: rgba(244,240,232,0.78); }
.dark .panel .text-link, .on-dark .panel .text-link { color: var(--pr-brass-light); }
@media (max-width: 800px) { .panels { grid-template-columns: 1fr; } }

/* ---------- Two column story ---------- */
.story { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.story.reverse { grid-template-columns: 6fr 5fr; }
.story figure { margin: 0; position: relative; }
.story figure img { border-radius: 16px; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.story figure::after { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--pr-brass); border-radius: 16px; z-index: -1; opacity: 0.8; }
.pullquote { border-left: 3px solid var(--pr-brass); padding: 0.4rem 0 0.4rem 1.4rem; margin: 1.8rem 0 0; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; color: var(--pr-midnight); }
.dark .pullquote, .on-dark .pullquote { color: var(--pr-white); }
@media (max-width: 860px) { .story, .story.reverse { grid-template-columns: 1fr; } .story figure { max-width: 420px; } }

/* ---------- Proof cards ---------- */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.proof-card { border: 1px solid var(--pr-mist); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.3rem; background: var(--pr-white); }
.dark .proof-card, .on-dark .proof-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }
.icon-box { width: 44px; height: 44px; border-radius: 10px; background: var(--pr-slate); display: grid; place-items: center; margin-bottom: 1rem; color: var(--pr-brass-light); }
.icon-box svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.proof-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.proof-card p { font-size: 0.97rem; color: var(--pr-ink-soft); }
.dark .proof-card p, .on-dark .proof-card p { color: rgba(244,240,232,0.78); }
@media (max-width: 1000px) { .proof { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .proof { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 2.5rem 0 0; padding: 0; position: relative; max-width: 760px; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 8px; bottom: 8px; width: 1px; background: var(--pr-brass); opacity: 0.6; }
.timeline li { position: relative; padding: 0 0 2rem 4.2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .marker { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--pr-brass); color: var(--pr-midnight); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; display: grid; place-items: center; }
.timeline h3 { font-size: 1.35rem; margin-bottom: 0.35rem; padding-top: 0.45rem; }
.timeline p { color: var(--pr-ink-soft); font-size: 1rem; }
.dark .timeline p, .on-dark .timeline p { color: rgba(244,240,232,0.8); }

/* ---------- Matter cards / tables ---------- */
.matters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.matter { background: var(--pr-white); border: 1px solid var(--pr-mist); border-radius: var(--radius); padding: 1.3rem 1.4rem; font-size: 0.95rem; }
.matter .tag { display: inline-block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--pr-brass); margin-bottom: 0.5rem; }
.matter h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.5rem; line-height: 1.35; }
.matter dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.7rem; color: var(--pr-ink-soft); }
.matter dt { font-weight: 600; color: var(--pr-ink); }
.matter dd { margin: 0; }
@media (max-width: 1000px) { .matters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .matters { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--pr-mist); border-radius: var(--radius); background: var(--pr-white); }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
th, td { text-align: left; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--pr-mist); vertical-align: top; }
th { background: var(--pr-linen); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pr-slate); }
tr:last-child td { border-bottom: 0; }

/* ---------- Editorial list / articles ---------- */
.editorial { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 2.5rem; align-items: start; }
.feature-card { background: var(--pr-midnight); color: var(--pr-linen); border-radius: var(--radius); padding: 2rem; }
.feature-card .eyebrow { color: var(--pr-brass-light); }
.feature-card h3 { color: var(--pr-white); font-size: 1.9rem; }
.feature-card p { color: rgba(244,240,232,0.82); }
.feature-card .btn { margin-top: 1rem; }
.article-list { list-style: none; margin: 0; padding: 0; }
.article-list li { padding: 1.1rem 0; border-top: 1px solid var(--pr-mist); }
.article-list li:first-child { border-top: 0; padding-top: 0; }
.article-list .cat { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--pr-brass); }
.article-list h3 { font-size: 1.3rem; margin: 0.2rem 0 0.3rem; }
.article-list h3 a { text-decoration: none; color: var(--pr-midnight); }
.article-list h3 a:hover { color: var(--pr-brass); }
.article-list p { font-size: 0.97rem; color: var(--pr-ink-soft); margin: 0; }
@media (max-width: 860px) { .editorial { grid-template-columns: 1fr; } }

/* ---------- Profiles module ---------- */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.profile { border: 1px solid var(--pr-mist); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; background: var(--pr-white); font-size: 0.95rem; }
.profile .kind { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--pr-slate); display: block; margin-bottom: 0.3rem; }
.profile a { font-weight: 600; }
.profile p { margin: 0.3rem 0 0; color: var(--pr-ink-soft); font-size: 0.92rem; }
.dark .profile, .on-dark .profile { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }
.dark .profile .kind, .on-dark .profile .kind { color: var(--pr-brass-light); }
.dark .profile p, .on-dark .profile p { color: rgba(244,240,232,0.78); }
@media (max-width: 900px) { .profiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .profiles { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-groups { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 2.5rem; }
.faq-nav { position: sticky; top: 96px; align-self: start; list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--pr-mist); }
.faq-nav a { display: block; padding: 0.5rem 1rem; text-decoration: none; color: var(--pr-ink-soft); font-weight: 600; font-size: 0.92rem; border-left: 2px solid transparent; margin-left: -1px; }
.faq-nav a:hover { color: var(--pr-midnight); border-left-color: var(--pr-brass); }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
details.faq { border-top: 1px solid var(--pr-mist); }
details.faq:last-of-type { border-bottom: 1px solid var(--pr-mist); }
details.faq summary { cursor: pointer; list-style: none; padding: 1rem 2.4rem 1rem 0; font-weight: 600; font-size: 1.05rem; color: var(--pr-midnight); position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--pr-brass); font-weight: 400; line-height: 1; }
details.faq[open] summary::after { content: "\2212"; }
details.faq .answer { padding: 0 0 1.2rem; color: var(--pr-ink-soft); max-width: 70ch; }
.dark details.faq, .on-dark details.faq { border-color: rgba(255,255,255,0.16); }
.dark details.faq summary, .on-dark details.faq summary { color: var(--pr-white); }
.dark details.faq .answer, .on-dark details.faq .answer { color: rgba(244,240,232,0.8); }
@media (max-width: 800px) { .faq-groups { grid-template-columns: 1fr; } .faq-nav { position: static; display: flex; flex-wrap: wrap; border: 0; gap: 0.3rem; } .faq-nav a { border: 1px solid var(--pr-mist); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.85rem; } }

/* ---------- Conversion band ---------- */
.convert { background: var(--pr-midnight); color: var(--pr-linen); position: relative; }
.convert .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.convert h2 { color: var(--pr-white); }
.convert p { color: rgba(244,240,232,0.82); }
.convert .contact-lines { margin-top: 1.6rem; font-size: 1.05rem; }
.convert .contact-lines strong { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pr-brass-light); margin-bottom: 0.2rem; }
.convert .contact-lines a { color: var(--pr-white); font-family: var(--font-display); font-size: 1.7rem; text-decoration: none; }
.convert .contact-lines a:hover { color: var(--pr-brass-light); }
.form-card { background: var(--pr-linen); color: var(--pr-ink); border-radius: var(--radius); padding: 2rem; border-top: 4px solid var(--pr-brass); box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
.form-card h3, .on-dark .form-card h3 { margin-bottom: 0.3rem; color: var(--pr-midnight); }
.on-dark .form-card a { color: var(--pr-slate); }
.on-dark .form-card a:hover { color: var(--pr-midnight); }
.form-card p { color: var(--pr-ink-soft); font-size: 0.97rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; margin-top: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pr-slate); margin-bottom: 0.3rem; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 0.7rem 0.8rem; border: 1px solid var(--pr-mist); border-radius: 8px; background: var(--pr-white); color: var(--pr-ink); }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--pr-brass); outline-offset: 1px; border-color: var(--pr-brass); }
.form-note { font-size: 0.85rem; color: var(--pr-ink-soft); margin-top: 0.8rem; }
.form-status { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 8px; background: var(--pr-white); border: 1px solid var(--pr-mist); font-size: 0.95rem; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checklist li { padding-left: 1.7rem; position: relative; margin-bottom: 0.5rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; background: var(--pr-brass); }
@media (max-width: 860px) { .convert .wrap { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--pr-slate); color: var(--pr-linen); }
.cta-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: 2.2rem; }
.cta-strip h2 { color: var(--pr-white); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; }
.cta-strip p { margin: 0.3rem 0 0; color: rgba(244,240,232,0.82); }
.cta-strip .actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Prose / content pages ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.7rem, 2.8vw, 2.25rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; font-size: 1.4rem; }
.prose ul li, .prose ol li { margin-bottom: 0.45em; }
.prose .callout { background: var(--pr-white); border: 1px solid var(--pr-mist); border-left: 4px solid var(--pr-brass); border-radius: 10px; padding: 1.1rem 1.3rem; margin: 1.6rem 0; font-size: 0.98rem; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose .source { font-size: 0.9rem; color: var(--pr-ink-soft); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.aside { position: sticky; top: 96px; }
.aside-card { background: var(--pr-white); border: 1px solid var(--pr-mist); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-bottom: 1.2rem; }
.aside-card h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.7rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { padding: 0.4rem 0; border-top: 1px solid var(--pr-mist); font-size: 0.95rem; }
.aside-card li:first-child { border-top: 0; padding-top: 0; }
.aside-card a { text-decoration: none; font-weight: 600; color: var(--pr-midnight); }
.aside-card a:hover { color: var(--pr-brass); }
.aside-card.dark { background: var(--pr-midnight); border-color: var(--pr-midnight); }
.aside-card.dark h3 { color: var(--pr-white); }
.aside-card.dark p { color: rgba(244,240,232,0.82); font-size: 0.95rem; }
.aside-card.dark a:not(.btn) { color: var(--pr-brass-light); }
.aside-card.dark a:not(.btn):hover { color: var(--pr-white); }
.aside-card .btn { width: 100%; margin-top: 0.8rem; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .aside { position: static; } }

.review-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 2rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.review-list li { padding-left: 1.6rem; position: relative; font-size: 1rem; }
.review-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--pr-brass); border-radius: 2px; transform: rotate(45deg); }
@media (max-width: 640px) { .review-list { grid-template-columns: 1fr; } }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2rem; }
.stat { border-top: 2px solid var(--pr-brass); padding-top: 0.9rem; }
.stat strong { display: block; font-size: 2.3rem; font-weight: 700; color: var(--pr-brass); line-height: 1; margin-bottom: 0.3rem; }
.stat span { font-size: 0.92rem; color: var(--pr-ink-soft); }
.dark .stat span, .on-dark .stat span { color: rgba(244,240,232,0.8); }
@media (max-width: 800px) { .stat-row { grid-template-columns: 1fr 1fr; } }

.cv-block { margin-top: 2.4rem; }
.cv-block h2 { font-size: 1.6rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--pr-mist); margin-bottom: 1rem; }
.cv-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2.5rem; font-size: 0.97rem; }
.cv-list li { break-inside: avoid; padding: 0.3rem 0; border-bottom: 1px dotted var(--pr-mist); }
.cv-list li span { color: var(--pr-ink-soft); }
@media (max-width: 700px) { .cv-list { columns: 1; } }
.cv-roles { list-style: none; padding: 0; margin: 0; }
.cv-roles li { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px dotted var(--pr-mist); font-size: 0.97rem; }
.cv-roles li span:first-child { color: var(--pr-brass); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; }
@media (max-width: 560px) { .cv-roles li { grid-template-columns: 1fr; gap: 0.1rem; } }

.state-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-top: 2rem; }
.state-grid a { display: block; padding: 0.9rem 1rem; background: var(--pr-white); border: 1px solid var(--pr-mist); border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--pr-midnight); }
.state-grid a:hover { border-color: var(--pr-brass); color: var(--pr-brass); }
.state-grid a small { display: block; font-weight: 400; color: var(--pr-ink-soft); font-size: 0.82rem; }
@media (max-width: 900px) { .state-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .state-grid { grid-template-columns: 1fr; } }

.notice { background: var(--pr-white); border: 1px solid var(--pr-mist); border-radius: 10px; padding: 1rem 1.2rem; font-size: 0.92rem; color: var(--pr-ink-soft); margin-top: 2rem; }
.notice strong { color: var(--pr-ink); }
.reviewed { font-size: 0.85rem; color: var(--pr-ink-soft); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--pr-midnight-deep); color: rgba(244,240,232,0.8); font-size: 0.95rem; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); padding-block: 4rem 3rem; }
.footer h3 { color: var(--pr-white); font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer .brand { color: var(--pr-white); margin-bottom: 1rem; }
.footer .brand .brand-sub { color: var(--pr-brass-light); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.45rem; }
.footer a { color: rgba(244,240,232,0.85); text-decoration: none; }
.footer a:hover { color: var(--pr-brass-light); }
.footer .phone { color: var(--pr-white); font-family: var(--font-display); font-size: 1.5rem; }
.footer .legal { border-top: 1px solid rgba(255,255,255,0.12); }
.footer .legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; padding-block: 1.2rem; font-size: 0.82rem; color: rgba(244,240,232,0.6); }
@media (max-width: 800px) { .footer .wrap { grid-template-columns: 1fr; } }

.skip { position: absolute; left: -999px; top: 0; background: var(--pr-brass); color: var(--pr-midnight); padding: 0.6rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Print (used for the CV PDF) ---------- */
@media print {
  .utility, .nav, .footer, .convert, .cta-strip, .aside, .hero .actions, .breadcrumbs, .no-print, .portrait-card { display: none !important; }
  .hero .wrap { display: block; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero { background: #fff !important; color: #000; padding: 0; }
  .hero h1, .hero .lead { color: #000 !important; }
  .hero .eyebrow { color: #7a5630 !important; }
  .section { padding-block: 12pt; }
  .layout { grid-template-columns: 1fr; }
  .cv-list { columns: 2; }
  a { color: #000; text-decoration: none; }
  .section, .light, .white, .layout, .cv-block, .stat, .table-wrap { background: #fff !important; }
  .hero::after { display: none; }
  .print-only { display: block !important; }
  .stat strong { color: #7a5630; }
  .table-wrap { border: 0; }
  table { font-size: 9pt; }
  th, td { padding: 4pt 6pt; }
  h2 { break-after: avoid; }
  tr, .cv-roles li, .cv-list li { break-inside: avoid; }
}
.print-only { display: none; }
