/* LyvvOut Connect — marketing site
   Concept: a private residence. Full, uncropped photographs in gold-lined frames on a strict
   two-column grid; bands rotate cream, deep Bordeaux, white, dusty rose and dark brown so no
   two neighbors share a color. Dark mode is deep Bordeaux. Palette continues the Portal. */

:root {
  /* light theme band palettes */
  --cream-bg: #F7F4EE; --white-bg: #FFFFFF; --rose-bg: #F3E6E1; --bdx-bg: #4A1525; --brown-bg: #2B211C;
  --ink: #23211F; --muted: #554F49; --accent: #8E4430; --accent-hover: #733522;
  --btn-bg: #8E4430; --btn-fg: #FFFFFF; --btn-bg-hover: #733522;
  --card: #FFFFFF; --card-alt: #F7F4EE; --line: #E6DBCF;
  --gold: #C8A15A; --gold-soft: rgba(200, 161, 90, .55);
  --focus: #8E4430;
  /* dark bands (Bordeaux, brown) keep the same values in both themes unless overridden */
  --rich-ink: #FBF3EE; --rich-muted: #EAD9D2; --rich-accent: #EBCB8F; --rich-btn-fg: #3A0F1C; --rich-btn-hover: #F5DCAA;
  --rich-line: rgba(235, 203, 143, .32); --bdx-card: #5A1C2E; --brown-card: #3A2D26;
  --header-bg: rgba(247, 244, 238, .9);
  --shadow: 0 1px 2px rgba(45, 25, 25, .05), 0 24px 48px -28px rgba(60, 20, 30, .35);
  --error: #B42318;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --step--1: clamp(.8rem, .78rem + .1vw, .86rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.075rem);
  --step-1: clamp(1.15rem, 1.08rem + .35vw, 1.35rem);
  --step-2: clamp(1.55rem, 1.3rem + 1vw, 2.2rem);
  --step-3: clamp(2rem, 1.55rem + 1.9vw, 3.2rem);
  --step-4: clamp(2.5rem, 1.7rem + 3.4vw, 4.6rem);
  --wrap: 1200px;
  --radius: 20px;
  --header-h: 80px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cream-bg: #1C0A10; --white-bg: #2A1219; --rose-bg: #36141F; --bdx-bg: #5C1A2E; --brown-bg: #1F1814;
    --ink: #F7EDE7; --muted: #DCC8C1; --accent: #EBCB8F; --accent-hover: #F5DCAA;
    --btn-bg: #EBCB8F; --btn-fg: #2A0C16; --btn-bg-hover: #F5DCAA;
    --card: #2A1219; --card-alt: #1C0A10; --line: #4E2633;
    --gold: #D9B877; --gold-soft: rgba(217, 184, 119, .55); --focus: #F2D08F;
    --bdx-card: #6B2338; --brown-card: #2E241F;
    --header-bg: rgba(28, 10, 16, .88);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 24px 48px -28px rgba(0,0,0,.8);
    --error: #FF9B8F;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --cream-bg: #1C0A10; --white-bg: #2A1219; --rose-bg: #36141F; --bdx-bg: #5C1A2E; --brown-bg: #1F1814;
  --ink: #F7EDE7; --muted: #DCC8C1; --accent: #EBCB8F; --accent-hover: #F5DCAA;
  --btn-bg: #EBCB8F; --btn-fg: #2A0C16; --btn-bg-hover: #F5DCAA;
  --card: #2A1219; --card-alt: #1C0A10; --line: #4E2633;
  --gold: #D9B877; --gold-soft: rgba(217, 184, 119, .55); --focus: #F2D08F;
  --bdx-card: #6B2338; --brown-card: #2E241F;
  --header-bg: rgba(28, 10, 16, .88);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 24px 48px -28px rgba(0,0,0,.8);
  --error: #FF9B8F;
  color-scheme: dark;
}

/* ---------- Bands: each sets the local colors its content uses ---------- */
.band-cream { --bg: var(--cream-bg); --card-bg: var(--card); }
.band-white { --bg: var(--white-bg); --card-bg: var(--card-alt); }
.band-rose  { --bg: var(--rose-bg);  --card-bg: var(--card); }
.band-cream, .band-white, .band-rose { background: var(--bg); color: var(--ink); }
.band-bdx, .band-brown {
  --ink: var(--rich-ink); --muted: var(--rich-muted); --accent: var(--rich-accent); --accent-hover: var(--rich-btn-hover);
  --btn-bg: var(--rich-accent); --btn-fg: var(--rich-btn-fg); --btn-bg-hover: var(--rich-btn-hover);
  --line: var(--rich-line); --focus: var(--rich-accent); --gold: #E3C78E;
  background: var(--bg); color: var(--ink);
}
.band-bdx { --bg: var(--bdx-bg); --card-bg: var(--bdx-card); }
.band-brown { --bg: var(--brown-bg); --card-bg: var(--brown-card); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--cream-bg); color: var(--ink);
  font-family: var(--sans); font-size: var(--step-0); line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0; text-wrap: pretty; }
.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; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: #8E4430; color: #fff; padding: .7rem 1.1rem; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin-inline: auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 520px) { .wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); } }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 50; background: var(--header-bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; color: var(--ink);
  background: var(--header-bg); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: clamp(16px, 1.8vw, 30px); }
.primary-nav a { color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 500; letter-spacing: .02em; padding: .45rem 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.primary-nav a:hover { color: var(--accent); border-bottom-color: var(--gold); }
.primary-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--gold); color: var(--accent); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .sun { display: none; } :root:not([data-theme="light"]) .theme-toggle .moon { display: block; } }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.menu-toggle { display: none; }
@media (max-width: 1200px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .header-actions { justify-self: end; }
  .menu-toggle { display: inline-grid; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream-bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px max(24px, env(safe-area-inset-right, 0px)) 22px max(24px, env(safe-area-inset-left, 0px)); }
  .primary-nav[hidden] { display: none !important; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a { display: block; padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .primary-nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .header-actions .btn-portal { display: none; }
  .primary-nav .nav-portal { display: block; }
}
@media (min-width: 1201px) { .primary-nav[hidden] { display: block !important; } .primary-nav .nav-portal { display: none; } }
@media (max-width: 520px) { .brand img { height: 36px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 50px; padding: .85rem 1.7rem; border-radius: 999px;
  font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--bg, var(--cream-bg)); }
.btn-sm { min-height: 42px; padding: .55rem 1.15rem; font-size: .8rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .85rem; font-size: var(--step--1); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--gold); }
.center .eyebrow::after { content: ""; width: 38px; height: 1px; background: var(--gold); }
.lead { font-size: var(--step-1); line-height: 1.65; color: var(--muted); max-width: 34em; }
.prose-copy { color: var(--muted); max-width: 36em; }
.stack { display: grid; gap: 24px; justify-items: start; align-content: center; }
.stack > .btn-row { margin-top: 10px; }
.center { text-align: center; justify-items: center; }
.center .lead, .center .prose-copy { margin-inline: auto; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; width: 64px; height: 1px; background: var(--gold); }
.ornament span { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Hero video ---------- */
.hero-video { position: relative; background: #1C0A10; overflow: hidden; }
.hero-video video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.hero-video::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to bottom, transparent, rgba(20, 6, 10, .22)); pointer-events: none; }
.video-control {
  position: absolute; z-index: 2; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: 18px;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: rgba(28, 10, 16, .45); color: #fff; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; cursor: pointer;
  opacity: .7; transition: opacity .2s ease;
}
.video-control:hover, .video-control:focus-visible { opacity: 1; }
.video-control:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.video-control svg { width: 14px; height: 14px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split > * { min-width: 0; }
.split.reverse > .split-media { order: -1; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.reverse > .split-media { order: 0; } }

/* Full, uncropped photographs in a gold-lined frame */
.photo { position: relative; margin: 0; width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--card-bg, var(--card)); }
.photo img { width: 100%; height: auto; }
.photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(235, 203, 143, .8); border-radius: calc(var(--radius) - 8px); pointer-events: none; }
.split .photo { max-width: 560px; justify-self: center; }

/* Who we serve strip */
.served { margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; justify-items: center; text-align: center; }
.served-label { font-size: var(--step--1); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.served ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; }
.served li { font-family: var(--serif); font-size: clamp(.98rem, .94rem + .2vw, 1.12rem); color: var(--ink); padding: .5rem 1.15rem; border: 1px solid var(--gold-soft); border-radius: 999px; background: var(--card); }

/* ---------- Counters ---------- */
.section-head { display: grid; gap: 18px; justify-items: center; text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 8px clamp(18px, 3vw, 40px); display: grid; gap: 14px; justify-items: center; align-content: start; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-figure { font-family: var(--serif); font-size: clamp(3.2rem, 2.2rem + 3.6vw, 5.4rem); line-height: 1; color: var(--accent); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.stat-figure .small { font-size: .42em; font-style: italic; }
.stat-rule { width: 40px; height: 1px; background: var(--gold); }
.stat-label { color: var(--ink); line-height: 1.55; max-width: 18em; }
.stat-source { color: var(--muted); font-size: var(--step--1); line-height: 1.5; max-width: 22em; }
@media (max-width: 880px) { .stat-grid { grid-template-columns: 1fr; gap: 36px; } .stat + .stat { border-left: 0; border-top: 1px solid var(--line); padding-top: 36px; } }

/* Sample marker (preview only) */
.sample-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; border: 1px dashed currentColor; color: var(--accent); }

/* ---------- Testimonials ---------- */
.impact { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: clamp(48px, 6vw, 72px); }
.impact .stat-figure { font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); }
@media (max-width: 880px) { .impact { grid-template-columns: 1fr; gap: 32px; } }
.quotes { position: relative; max-width: 900px; margin-inline: auto; text-align: center; display: grid; gap: 28px; justify-items: center; }
.quote { display: grid; gap: 22px; justify-items: center; margin: 0; }
.quote[hidden] { display: none; }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.4; color: var(--ink); }
.quote figcaption { font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.quote-mark { font-family: var(--serif); font-size: 4.5rem; line-height: .6; color: var(--gold); height: 34px; }
.quote-nav { display: flex; align-items: center; gap: 14px; }
.dots { display: flex; gap: 10px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 1px solid var(--gold); background: transparent; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--gold); }
.quote-nav .icon-btn { color: var(--ink); border-color: var(--line); }

/* ---------- Galleries, panels ---------- */
.gallery-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.gallery-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 880px) { .gallery-3, .gallery-2 { grid-template-columns: 1fr; } }
.cta-panel { display: grid; gap: 24px; justify-items: center; text-align: center; max-width: 860px; margin-inline: auto; }
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); align-items: stretch; }
.twin > article { background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(32px, 4.4vw, 60px); display: grid; gap: 20px; justify-items: start; align-content: start; grid-template-rows: auto auto 1fr auto; }
.twin > article .btn-row { align-self: end; }
@media (max-width: 880px) { .twin { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.step { padding: 8px clamp(16px, 2.4vw, 32px); display: grid; gap: 12px; justify-items: center; text-align: center; align-content: start; }
.step + .step { border-left: 1px solid var(--line); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--gold); }
.step h3 { font-family: var(--sans); font-size: .92rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.step p { color: var(--muted); max-width: 14em; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } .step:nth-child(3) { border-left: 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step + .step { border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; } }

/* ---------- Demo checklist ---------- */
.expect-card { max-width: 940px; margin-inline: auto; display: grid; gap: 28px; justify-items: center; text-align: center; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checklist-2 { grid-template-columns: 1fr 1fr; width: 100%; text-align: left; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: center; background: var(--card-bg); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; color: var(--ink); }
.checklist svg { width: 24px; height: 24px; color: var(--accent); }
@media (max-width: 680px) { .checklist-2 { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.contact-grid > * { min-width: 0; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card, .aside-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3.8vw, 52px); display: grid; gap: 20px; align-content: start; }
.aside-card { justify-items: start; }
.aside-card .photo { margin-top: 8px; }
.form-intro { font-weight: 600; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--accent); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid #8A7E73; border-radius: 12px; padding: .8rem .95rem; min-height: 50px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .88rem; font-weight: 500; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field input, :root:not([data-theme="light"]) .field textarea { border-color: #8E6F78; } }
:root[data-theme="dark"] .field input, :root[data-theme="dark"] .field textarea { border-color: #8E6F78; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: 14px 16px; font-weight: 500; color: var(--ink); }
.form-status:empty { display: none; }
.form-status.ok { background: var(--rose-bg); border: 1px solid var(--gold); }
.form-status.err { border: 1.5px solid var(--error); }
.req-note { font-size: .88rem; color: var(--muted); }

/* ---------- Legal ---------- */
.legal-grid { display: grid; grid-template-columns: 270px 1fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
.legal-grid > * { min-width: 0; }
.toc { position: sticky; top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; padding-right: 8px; }
.toc h2 { font-family: var(--sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: .3rem 0 .3rem 12px; border-left: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: .88rem; line-height: 1.4; }
.toc a:hover { color: var(--accent); border-left-color: var(--gold); }
.legal { max-width: 46rem; }
.legal-title { font-size: .92rem; font-weight: 700; letter-spacing: .18em; color: var(--ink); }
.legal-meta { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.legal section { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.legal h2 { font-size: var(--step-2); }
.legal h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-top: 6px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 6px; }
.legal li::marker { color: var(--gold); }
.legal address { font-style: normal; color: var(--muted); line-height: 1.7; }
@media (max-width: 920px) { .legal-grid { grid-template-columns: 1fr; } .toc { position: static; max-height: none; } .toc ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .toc ol { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(64px, 8vw, 96px) 34px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer-top > * { min-width: 0; }
.footer-brand img { height: 50px; width: auto; }
.footer-disclaimer { margin-top: 24px; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.footer-disclaimer strong { color: var(--ink); font-weight: 600; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-cols h2 { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-cols a { font-size: .95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 26px; color: var(--muted); font-size: .86rem; }
.footer-bottom strong { color: var(--ink); font-weight: 600; }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
  .reveal-2 { animation-delay: .15s; }
  @keyframes rise { from { opacity: .001; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  .quote:not([hidden]) { animation: fade .7s ease both; }
  @keyframes fade { from { opacity: .001; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .hero-video, .footer-cols, .btn { display: none !important; } body { background: #fff; color: #000; } }

/* ---------- Hero spotlight: one person lifts out while the grid blurs ---------- */
.hero-video video { transition: filter 1s ease, transform 1.2s ease; }
.hero-video.is-up video { filter: blur(12px) brightness(.62) saturate(.9); transform: scale(1.04); }
.spot-veil { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(28, 10, 16, .1), rgba(28, 10, 16, .55)); opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.hero-video.is-up .spot-veil { opacity: 1; }
.spot {
  position: absolute; margin: 0; overflow: hidden; opacity: 0; pointer-events: none; z-index: 1;
  border-radius: 4px; box-shadow: 0 30px 70px -20px rgba(10, 3, 6, .7);
  transition-property: left, top, width, height, border-radius, opacity;
  transition-duration: .95s; transition-timing-function: cubic-bezier(.65, 0, .25, 1);
}
.spot.on { opacity: 1; }
.spot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spot::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(235, 203, 143, .85); border-radius: 10px; opacity: 0; transition: opacity .6s ease .4s; }
.hero-video.is-up .spot { border-radius: 18px; }
.hero-video.is-up .spot::after { opacity: 1; }
@media (max-width: 700px) { .spot::after { inset: 6px; border-radius: 6px; } .hero-video.is-up .spot { border-radius: 10px; } }

/* ---------- Founder statement ---------- */
.founder { margin: 0 auto; max-width: 900px; display: grid; gap: 26px; justify-items: center; text-align: center; }
.founder .eyebrow::after { content: ""; width: 38px; height: 1px; background: var(--gold); }
.founder blockquote { margin: 0; }
.founder blockquote p { font-family: var(--serif); font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2.05rem); line-height: 1.5; color: var(--ink); text-wrap: balance; }
.founder figcaption { display: grid; gap: 6px; }
.founder-name { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--accent); }
.founder-role { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.quote-note { font-size: .82rem; color: var(--muted); max-width: 40em; }

/* Spotlight return: the photo dissolves into the live video as it settles, so there is no hard swap */
.spot { transition-property: left, top, width, height, border-radius; }
.spot { transition: left .95s cubic-bezier(.65,0,.25,1), top .95s cubic-bezier(.65,0,.25,1), width .95s cubic-bezier(.65,0,.25,1), height .95s cubic-bezier(.65,0,.25,1), border-radius .95s ease, opacity .5s ease; }
.spot.leaving { transition: left .95s cubic-bezier(.65,0,.25,1), top .95s cubic-bezier(.65,0,.25,1), width .95s cubic-bezier(.65,0,.25,1), height .95s cubic-bezier(.65,0,.25,1), border-radius .95s ease, opacity .75s ease .15s; opacity: 0; }
.founder blockquote { display: grid; gap: 18px; max-width: 46rem; }
.founder blockquote p { font-size: clamp(1.08rem, .98rem + .45vw, 1.32rem); line-height: 1.75; font-family: var(--sans); color: var(--muted); text-wrap: pretty; }
.founder blockquote p.founder-lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.25; color: var(--ink); }

/* ---------- Hero: framed showcase sized to the screen, never cropped ---------- */
.hero-shell { padding-block: clamp(14px, 2.2vw, 28px) 0; background: var(--cream-bg); }
.hero-video {
  width: min(calc(100% - 48px), 1320px, calc((100svh - var(--header-h) - 64px) * 16 / 9));
  margin-inline: auto; border-radius: 22px; box-shadow: var(--shadow); isolation: isolate;
}
.hero-video video { aspect-ratio: 16 / 9; height: auto; width: 100%; object-fit: cover; }
.hero-video::after { height: 100%; background: none; box-shadow: inset 0 0 0 1px rgba(235, 203, 143, .55); border-radius: 22px; z-index: 2; }
@media (max-width: 700px) { .hero-video { width: calc(100% - 24px); border-radius: 14px; } .hero-video::after { border-radius: 14px; } }

/* ---------- Contact: centered aside, equal height with the form ---------- */
.aside-card { justify-items: center; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.aside-card .prose-copy { margin-inline: auto; }
.aside-card .btn-row { justify-content: center; }
.aside-photo { flex: 1 1 auto; min-height: 260px; width: 100%; display: flex; }
.aside-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* ---------- Demo: six cards in a balanced grid ---------- */
.checklist-3 { grid-template-columns: repeat(3, 1fr); width: 100%; text-align: left; }
.checklist-3 li { align-items: start; }
@media (max-width: 920px) { .checklist-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .checklist-3 { grid-template-columns: 1fr; } }
.aside-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Designed-for rows: 3 / 2 / 1 / 1 ---------- */
.served > ul { display: grid; gap: 12px; justify-items: center; }
.served-phone { display: none !important; }
@media (max-width: 640px) {
  .served-wide { display: none !important; }
  .served-phone { display: grid !important; }
}
.served-row { padding: 0 !important; border: 0 !important; background: none !important; }
.served-row > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Centering ---------- */
.twin > article { justify-items: center; text-align: center; }
.twin > article .btn-row { justify-content: center; justify-self: center; }
.twin > article .eyebrow::after { content: ""; width: 38px; height: 1px; background: var(--gold); }
@media (max-width: 880px) {
  .split .stack { justify-items: center; text-align: center; }
  .split .stack .lead, .split .stack .prose-copy { margin-inline: auto; }
  .split .stack .btn-row { justify-content: center; }
  .split .stack .eyebrow::after { content: ""; width: 38px; height: 1px; background: var(--gold); }
  .footer-top, .footer-bottom { text-align: center; justify-content: center; }
  .footer-brand { display: flex; justify-content: center; }
  .footer-brand img { margin-inline: auto; }
  .footer-cols ul { justify-items: center; }
}
