/* ==========================================================================
   PivotL — shared stylesheet (every page)
   Onyx theme. Tokens first, then base, layout, header, footer, components,
   page sections, responsive rules. See BRIEF.md before changing anything.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --onyx: #0E0E0D;
  --surface: #161614;
  --surface-2: #1E1E1B;
  --line: #2A2926;
  --ivory: #F5F2EA;
  --muted: #B5B0A6;
  --gold: #C9A96E;
  --gold-deep: #6E5A38;
  --gold-hover: #D6BA85;

  --font-head: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --pill: 999px;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 76px;

  --shadow-gold: 0 5px 0 var(--gold-deep);
  --focus: 0 0 0 3px var(--onyx), 0 0 0 5px var(--gold);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--onyx);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; color: var(--ivory); }

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-hover); }

:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--gold); color: var(--onyx);
  padding: 12px 20px; border-radius: var(--pill); font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Signature detail: gold bubble accent (echoes the logo) */
.accent {
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  text-shadow: var(--shadow-gold);
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section--rule { border-top: 1px solid var(--line); padding-top: var(--section) !important; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-head--row {
  max-width: none; display: flex; flex-wrap: wrap; gap: 20px 40px;
  align-items: flex-end; justify-content: space-between;
}
.section-head--row > div { max-width: 640px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--muted); max-width: 640px; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 13, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; border-radius: 8px; }
.logo img { height: 34px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--muted); text-decoration: none; font-weight: 400; font-size: 0.975rem;
  border-radius: var(--pill); transition: color .15s ease;
}
.nav-list a:hover { color: var(--ivory); }
.nav-list a[aria-current="page"] { color: var(--ivory); }
.nav-list a[aria-current="page"]::after {
  content: ""; display: block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); margin-left: 8px;
}
.site-nav .btn { margin-left: 12px; }

.menu-toggle {
  display: none;
  align-items: center; gap: 10px;
  min-height: 44px; padding: 0 18px;
  background: transparent; color: var(--ivory);
  border: 1px solid var(--line); border-radius: var(--pill);
  font: 500 0.95rem var(--font-body); cursor: pointer;
}
.menu-toggle:hover { border-color: var(--muted); }
.menu-toggle-bars { position: relative; width: 16px; height: 10px; }
.menu-toggle-bars::before, .menu-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px;
  background: currentColor; border-radius: 2px; transition: transform .2s ease, top .2s ease;
}
.menu-toggle-bars::before { top: 1px; }
.menu-toggle-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 4.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 4.5px; transform: rotate(-45deg); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; background: var(--onyx); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand .logo img { height: 34px; }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 340px; font-size: 0.975rem; }
.footer-col h2 {
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a, .footer-col span {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--muted); text-decoration: none; font-size: 0.975rem;
}
.footer-col a:hover { color: var(--ivory); }
.footer-col li span { min-height: 0; padding: 10px 0; line-height: 1.5; }
.footer-bottom {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.9rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
}
.footer-bottom a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.footer-bottom a:hover { color: var(--ivory); }
.footer-bottom .dot { color: var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border-radius: var(--pill); border: 1px solid transparent;
  font: 500 1rem/1 var(--font-body); letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:focus-visible { border-radius: var(--pill); }
.btn-gold { background: var(--gold); color: var(--onyx); box-shadow: 0 3px 0 var(--gold-deep); }
.btn-gold:hover { background: var(--gold-hover); color: var(--onyx); }
.btn-gold:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--gold-deep); }
.btn-gold:focus-visible { box-shadow: 0 3px 0 var(--gold-deep), var(--focus); }
.btn-outline { background: transparent; color: var(--ivory); border-color: var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--ivory); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 1.0625rem; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--gold); text-decoration: none; font-weight: 500;
}
.text-link:hover { color: var(--gold-hover); }
.text-link:hover .arrow { transform: translateX(3px); }
.text-link .arrow { transition: transform .15s ease; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--gold); margin-bottom: 24px;
}
.card-icon svg { width: 26px; height: 26px; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--muted); }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.5em;
  width: 14px; height: 8px;
  border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
.check-list strong { color: var(--ivory); }

.note { color: var(--muted); font-size: 0.95rem; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
.page-hero h1 { max-width: 15ch; }
.page-hero .lede { margin-top: 8px; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(72px, 11vw, 150px) 0 clamp(72px, 9vw, 120px); }
.hero h1 { max-width: 13ch; margin-bottom: 0.4em; }
.hero .lede { max-width: 600px; }

/* ---------- Split (problem / why us) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .lede { color: var(--muted); }
.compare { display: grid; gap: 16px; }
.compare .card { padding: 28px 30px; }
.compare-label {
  display: block; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.compare .card--gold { border-color: var(--gold-deep); background: var(--surface-2); }
.compare .card--gold .compare-label { color: var(--gold); }

/* ---------- What you get (home) ---------- */
.get-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.get-list li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.get-list h3 { font-size: 1.15rem; margin-bottom: 6px; }
.get-list p { color: var(--muted); font-size: 0.975rem; }
.get-list .num { font-family: var(--font-head); color: var(--gold); font-weight: 700; display: block; margin-bottom: 18px; font-size: 0.95rem; }

/* ---------- Work tiles (browser frame + mock homepage) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.work-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tile { display: block; color: inherit; text-decoration: none; border-radius: var(--radius); }
a.tile:hover .browser { border-color: var(--gold-deep); transform: translateY(-3px); }
figure.tile, .tile figure { margin: 0; }
.tile figcaption, .tile-caption { display: block; margin-top: 18px; }
.tile-title { font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; color: var(--ivory); display: block; line-height: 1.3; }
.tile-note { color: var(--muted); font-size: 0.975rem; display: block; margin-top: 6px; }

.browser {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.browser-bar {
  display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px;
  border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser-bar b {
  flex: 1; max-width: 220px; height: 16px; margin-left: 12px;
  border-radius: var(--pill); background: var(--onyx); border: 1px solid var(--line);
}
.browser-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
/* Drop a screenshot in: <img class="browser-shot" src="images/work/…" alt="…">.
   It sits on top of the CSS mock and covers it. */
.browser-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 2; }

/* The CSS mock homepage. Each theme sets --m-bg, --m-fg, --m-accent, --m-hero, --m-btn-fg */
.mock { position: absolute; inset: 0; background: var(--m-bg); color: var(--m-fg); display: flex; flex-direction: column; }
.mock-nav { display: flex; align-items: center; justify-content: space-between; padding: 5% 6% 0; }
.mock-logo { width: 18%; height: 7px; border-radius: 4px; background: var(--m-fg); opacity: .9; }
.mock-links { display: flex; gap: 6px; }
.mock-links span { width: 22px; height: 4px; border-radius: 2px; background: var(--m-fg); opacity: .45; }
.mock-hero {
  margin: 5% 6% 0; flex: 1; border-radius: 10px; background: var(--m-hero);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 7%; gap: 7px;
}
.mock-h { width: 58%; height: 10px; border-radius: 5px; background: var(--m-hero-fg, var(--m-fg)); }
.mock-h.short { width: 38%; }
.mock-btn { margin-top: 6px; width: 24%; height: 14px; border-radius: 999px; background: var(--m-accent); }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5% 6% 6%; }
.mock-row span { height: 18px; border-radius: 6px; background: var(--m-fg); opacity: .12; }

.mock--golf    { --m-bg: #F3EEDF; --m-fg: #1F3A2B; --m-hero: #1F3A2B; --m-hero-fg: #F3EEDF; --m-accent: #C8B98A; }
.mock--tennis  { --m-bg: #FFFFFF; --m-fg: #13284A; --m-hero: #13284A; --m-hero-fg: #FFFFFF; --m-accent: #D8E84A; }
.mock--country { --m-bg: #2B211B; --m-fg: #E9DCC1; --m-hero: #4A382C; --m-hero-fg: #E9DCC1; --m-accent: #CDB689; }
.mock--artist  { --m-bg: #FAF9F6; --m-fg: #222222; --m-hero: #ECE9E2; --m-hero-fg: #222222; --m-accent: #222222; }
.mock--artist .mock-hero { flex-direction: row; align-items: stretch; gap: 6%; background: transparent; padding: 0; }
.mock--artist .mock-art { flex: 1; border-radius: 6px; background: var(--m-hero); }
.mock--artist .mock-art:nth-child(2) { background: #D9D4C8; }
.mock--artist .mock-art:nth-child(3) { background: #E5E1D8; }

/* ---------- Steps ---------- */
.step-num {
  font-family: var(--font-head); font-weight: 700; color: var(--gold);
  text-shadow: var(--shadow-gold); line-height: 1;
}
/* compact row (home teaser) */
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps-row li { border-top: 1px solid var(--line); padding-top: 24px; }
.steps-row .step-num { font-size: 2.5rem; display: block; margin-bottom: 18px; }
.steps-row h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps-row p { color: var(--muted); font-size: 0.975rem; }

/* large list (process page) */
.steps-big { list-style: none; margin: 0; padding: 0; }
.steps-big li {
  display: grid; grid-template-columns: clamp(80px, 13vw, 168px) 1fr; gap: clamp(20px, 4vw, 56px);
  padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line);
}
.steps-big li:last-child { border-bottom: 1px solid var(--line); }
.steps-big .step-num { font-size: clamp(3.5rem, 9vw, 7rem); text-shadow: 0 6px 0 var(--gold-deep); }
.steps-big h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 12px; }
.steps-big p { color: var(--muted); font-size: 1.125rem; max-width: 640px; }

/* ---------- Services ---------- */
.service-list { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.service {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px);
  padding: clamp(28px, 4vw, 48px);
}
.service .card-icon { margin-bottom: 20px; }
.service h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.service-lead { color: var(--muted); font-size: 1.0625rem; }
.service .check-list li { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px);
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px;
}
.cta-band h2 { max-width: 20ch; margin: 0; font-size: clamp(1.85rem, 3.8vw, 2.875rem); }
.cta-band p { color: var(--muted); margin-top: 12px; max-width: 520px; }
.cta-band .btn-row { margin-top: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.portrait-placeholder { text-align: center; color: var(--muted); padding: 24px; }
.portrait-placeholder svg { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--line); }
.portrait-placeholder span { font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; }
/* Swap in a photo: <img class="portrait-img" src="images/about/connor.jpg" alt="…"> inside .portrait */
.portrait-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.story p { font-size: 1.125rem; color: var(--muted); }
.story p:first-child { color: var(--ivory); font-size: clamp(1.25rem, 2vw, 1.45rem); line-height: 1.5; }
.story .pull {
  margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--gold);
  font-family: var(--font-head); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  color: var(--ivory); line-height: 1.35;
}
.facts { margin-top: 40px; }
.facts h2 { font-size: 1.25rem; margin-bottom: 16px; }
.facts ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ivory); display: flex; gap: 14px; align-items: baseline; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; transform: translateY(-2px); }

/* ---------- Contact + forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 400; font-size: 0.975rem; color: var(--ivory); }
.field .opt { color: var(--muted); font-weight: 300; }
.field .req { color: var(--gold); }
.input, .select, .textarea {
  width: 100%; min-height: 52px;
  background: var(--onyx); color: var(--ivory);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 16px; font: 300 1rem/1.5 var(--font-body);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 170px; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23C9A96E' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.select option { background: var(--surface); color: var(--ivory); }
.input::placeholder, .textarea::placeholder { color: #8A867D; }
.input:hover, .select:hover, .textarea:hover { border-color: #4A4740; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.25); border-radius: var(--radius-sm); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #E08A7A; }
.field-error { color: #F0A496; font-size: 0.9rem; margin: 0; }
.field-error:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.form-actions .small { color: var(--muted); font-size: 0.9rem; margin: 0; }
.form-status { grid-column: 1 / -1; margin: 0; border-radius: var(--radius-sm); padding: 0; }
.form-status:not(:empty) { padding: 16px 20px; border: 1px solid var(--line); background: var(--surface-2); }
.form-status.is-success { border-color: var(--gold-deep); color: var(--ivory); }
.form-status.is-error { border-color: #7A3E33; color: var(--ivory); }
.btn[disabled] { opacity: .7; cursor: progress; }

.contact-aside .card + .card { margin-top: 16px; }
.contact-aside h2 { font-size: 1.25rem; margin-bottom: 14px; }
.contact-aside ul { list-style: none; margin: 0; padding: 0; }
.contact-aside li { display: flex; gap: 14px; align-items: center; }
.contact-aside li + li { margin-top: 4px; }
.contact-aside li svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.contact-aside a { color: var(--ivory); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.contact-aside a:hover { color: var(--gold); }
.contact-aside .muted { color: var(--muted); font-size: 0.975rem; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 2.2em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal .effective { color: var(--ivory); }

/* ---------- 404 ---------- */
.notfound { padding: clamp(96px, 14vw, 180px) 0; text-align: center; }
.notfound .big { font-size: clamp(6rem, 22vw, 13rem); line-height: 1; margin-bottom: 24px; display: block; text-shadow: 0 8px 0 var(--gold-deep); }
.notfound .lede { margin: 0 auto; }
.notfound .btn-row { justify-content: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  /* 3 on top, 2 wider below: no orphan */
  .get-list, .steps-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .get-list li, .steps-row li { grid-column: span 2; }
  .get-list li:nth-child(n+4), .steps-row li:nth-child(n+4) { grid-column: span 3; }
  .steps-row { row-gap: 32px; }
}

@media (max-width: 920px) {
  /* Mobile nav */
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--onyx); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .js .site-nav:not(.is-open) { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    min-height: 56px; padding: 0 4px; border-radius: 0; font-size: 1.125rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a[aria-current="page"]::after { margin-left: 10px; }
  .site-nav .btn { margin: 20px 0 0; width: 100%; min-height: 52px; }

  .grid-3 { grid-template-columns: 1fr; }
  .split, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .portrait { max-width: 440px; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .grid-2, .grid-3, .work-grid, .work-grid--3 { grid-template-columns: 1fr; }
  .get-list, .steps-row { grid-template-columns: 1fr; }
  .get-list li, .steps-row li, .get-list li:nth-child(n+4), .steps-row li:nth-child(n+4) { grid-column: auto; }
  .get-list li { padding: 22px; }
  .get-list .num { margin-bottom: 10px; }
  .steps-row li { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding-top: 20px; }
  .steps-row .step-num { font-size: 2rem; margin: 0; grid-row: span 2; }
  .form { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
  .cta-band .btn-row, .cta-band .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .steps-big li { grid-template-columns: 1fr; gap: 12px; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.25rem); }
}

@media (max-width: 380px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 12px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* The brand name keeps its capital L: never uppercase it */
.eyebrow--brand { text-transform: none; letter-spacing: 0.06em; font-size: 0.95rem; }
