/* ==========================================================================
   vdvalkproductions — site styles
   An editorial, deliberately restrained layer over the shared VDV engine.
   No gradients, glass, visual gimmicks or web-font requests: the work should
   feel authored before it feels animated.
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  --brand: #9C3E2D;
  --ink: #1C242B;
  --bg: #F4F1EB;
  --bg-soft: #EAE6DE;
  --surface: #FBF9F5;
  --muted: #5D666B;
  --line: #D4D0C8;
  --navy: #1B3142;
  --navy-soft: #29485A;
  --paper: #F4F1EB;
  --shadow: 0 14px 30px -24px rgb(28 36 43 / .48);
  --shadow-lg: 0 26px 56px -34px rgb(28 36 43 / .58);
  --maxw: 1180px;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22,.68,0,1);
  --eng-header-h: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { max-width: 100%; }
a { color: var(--brand); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.wrap-wide { max-width: 1420px; margin: 0 auto; padding: 0 32px; }

.skip {
  position: absolute; left: -9999px; z-index: 200;
  padding: 12px 18px; color: var(--on-brand); background: var(--brand);
}
.skip:focus { left: 0; top: 0; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 22px; padding: 17px 32px; }
.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand img { display: block; width: auto; height: 28px; }
.brand img.mark { display: none; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link {
  position: relative; padding: 6px 0; color: var(--ink); font-size: 14px;
  font-weight: 650; text-decoration: none;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--brand); }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px; color: var(--ink); background: transparent;
  border: 1px solid var(--ink); border-radius: 2px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; line-height: 1.2;
  text-decoration: none; transition: color .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}
.btn-primary { color: var(--on-brand); background: var(--brand); border-color: var(--brand); }
.btn-primary:hover { color: var(--on-brand); background: color-mix(in srgb, var(--brand) 82%, var(--ink)); border-color: color-mix(in srgb, var(--brand) 82%, var(--ink)); }
.btn-secondary { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.btn-secondary:hover { color: var(--brand); border-color: var(--brand); }
.header-cta { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link span { color: var(--brand); font-size: 18px; line-height: 1; transition: transform .22s var(--ease); }
.text-link:hover { color: var(--brand); }
.text-link:hover span { transform: translate(3px, -2px); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }

/* ----------------------------------------------------------------- type */

h1, h2, h3, p { min-width: 0; overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; }
h1 { max-width: 20ch; margin: 0 0 22px; font-size: clamp(2.5rem, 4vw, 4.35rem); line-height: 1; letter-spacing: -.04em; }
h2 { max-width: 22ch; margin: 0 0 16px; font-size: clamp(1.95rem, 3.5vw, 3.25rem); line-height: 1.03; letter-spacing: -.035em; }
h3 { margin: 0 0 7px; font-size: 1.25rem; line-height: 1.08; letter-spacing: -.02em; }
p { margin-top: 0; }
.lede { max-width: 57ch; margin: 0 0 34px; color: var(--muted); font-size: clamp(1.04rem, 1.6vw, 1.2rem); line-height: 1.62; }
.section-index, .note-label {
  margin: 0 0 18px; color: var(--brand); font-family: var(--mono); font-size: 11px;
  font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase;
}

/* -------------------------------------------------------------------- hero */

.hero { position: relative; }
.hero-home { padding: clamp(70px, 9vw, 112px) 0 clamp(72px, 9vw, 112px); border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .55fr); gap: clamp(48px, 10vw, 150px); align-items: end; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 25px; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow-slash { color: var(--brand); }
.hero-note { align-self: end; max-width: 320px; padding-top: 18px; border-top: 1px solid var(--ink); }
.note-label { color: var(--ink); margin-bottom: 17px; }
.note-quote { margin: 0 0 24px; font-family: var(--display); font-size: 1.3rem; line-height: 1.2; letter-spacing: -.015em; }
.fact-list { margin: 0; padding: 0; }
.fact-list div { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.fact-list div:last-child { border-bottom: 1px solid var(--line); }
.fact-list dt { color: var(--brand); font-family: var(--mono); font-size: 11px; }
.fact-list dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.hero-inner { padding: clamp(66px, 8vw, 102px) 0 clamp(64px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.hero-inner-layout { max-width: 900px; }
.hero-inner h1 { max-width: 12ch; }
.hero-inner .lede { max-width: 58ch; margin-bottom: 0; }

/* --------------------------------------------------------------- sections */

section { position: relative; padding: clamp(62px, 8vw, 104px) 0; }
.section-rule { border-bottom: 1px solid var(--line); }
.section-paper { background: var(--bg-soft); }
.section-intro { max-width: 55ch; margin-bottom: 42px; }
.section-intro p:not(.section-index) { max-width: 54ch; margin-bottom: 0; color: var(--muted); font-size: 1.04rem; }
.section-intro-wide { max-width: 760px; }
.section-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 10vw, 150px); align-items: start; }

/* -------------------------------------------------------------- comparator */

.compare-frame { margin: 0; border-top: 1px solid var(--ink); }
.compare-heading { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.compare-heading span:last-child { color: var(--brand); }
.compare-shell { position: relative; overflow: clip; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); }
.compare { position: relative; aspect-ratio: 16 / 10; overflow: clip; cursor: ew-resize; touch-action: none; user-select: none; }
.compare-pane { position: absolute; inset: 0; }
.compare-pane img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pane-before { z-index: 1; }
.pane-after { z-index: 2; clip-path: inset(0 0 0 var(--split, 50%)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); z-index: 3; width: 1px; background: #fff; transform: translateX(-.5px); box-shadow: 0 0 0 1px rgb(28 36 43 / .22); }
.compare-knob { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 58px; min-width: 58px; height: 38px; padding: 0; color: var(--ink); background: var(--surface); border: 1px solid var(--ink); border-radius: 2px; box-shadow: var(--shadow); cursor: grab; transform: translate(-50%, -50%); font: 700 13px var(--mono); }
.compare-knob:active { cursor: grabbing; }
.compare-tag { position: absolute; top: 16px; padding: 6px 9px; color: #fff; background: rgb(27 49 66 / .86); font: 700 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.tag-before { left: 16px; }
.tag-after { right: 16px; color: var(--on-brand); background: var(--brand); }
.compare-frame figcaption { padding: 15px 0 0; color: var(--muted); font-size: 13px; }
.compare-frame figcaption strong { color: var(--ink); }

/* ------------------------------------------------------------- principles */

.principle-list { border-top: 1px solid var(--ink); }
.principle { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding: 22px 0 25px; border-bottom: 1px solid var(--line); }
.principle-number, .answer-row > span, .offer-reasons > div > span { color: var(--brand); font: 700 11px var(--mono); letter-spacing: .08em; }
.principle p { max-width: 40ch; margin: 0; color: var(--muted); font-size: 15px; }

/* --------------------------------------------------------------- approach */

.answer-list { border-top: 1px solid var(--ink); }
.answer-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; align-items: center; min-height: 80px; border-bottom: 1px solid var(--line); }
.answer-row p { margin: 0; font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.08; }
.approach-intro { align-items: center; }
.offer-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: clamp(44px, 9vw, 130px); padding: 0 0 10px; border-top: 1px solid var(--ink); }
.offer-heading { padding-top: 28px; }
.offer-heading h2 { max-width: 10ch; }
.offer-copy { padding-top: 28px; color: var(--muted); }
.offer-copy p { max-width: 58ch; margin: 0 0 18px; }
.offer-reasons { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 46px; padding-top: 18px; border-top: 1px solid var(--line); }
.offer-reasons > div { display: grid; align-content: start; gap: 10px; min-height: 140px; padding-right: 16px; border-right: 1px solid var(--line); }
.offer-reasons > div:last-child { border-right: 0; }
.offer-reasons strong { font-family: var(--display); font-size: 1.25rem; line-height: 1.05; }
.offer-reasons p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }

/* ------------------------------------------------------------------ steps */

.steps { list-style: none; margin: 0 0 38px; padding: 0; border-top: 1px solid var(--ink); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px minmax(150px, .42fr) minmax(0, 1fr); gap: 22px; align-items: baseline; padding: 20px 0 22px; border-bottom: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--brand); font: 700 11px var(--mono); }
.steps strong { margin: 0; font-family: var(--display); font-size: clamp(1.28rem, 2.5vw, 1.7rem); line-height: 1.05; }
.steps span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.steps-compact li { grid-template-columns: 44px minmax(170px, .5fr) minmax(0, 1fr); }
.steps-long { margin-bottom: 0; }

/* ------------------------------------------------------------------- form */

.contact-section { padding-top: clamp(64px, 8vw, 110px); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .72fr); gap: clamp(60px, 11vw, 160px); align-items: start; }
.form-heading { margin-bottom: 35px; }
.form-heading h2 { max-width: 12ch; }
.form-heading p:last-child { margin: 0; color: var(--muted); }
.contact-form { max-width: 640px; border-top: 1px solid var(--ink); }
.field { margin: 0; padding: 17px 0 19px; border-bottom: 1px solid var(--line); }
.field label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 13px; font-weight: 700; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select { display: block; width: 100%; min-height: 46px; padding: 9px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; font: inherit; font-size: 16px; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--brand); box-shadow: 0 2px 0 var(--brand); }
.field textarea { min-height: 126px; resize: vertical; }
.form-pair { gap: 28px; }
.contact-form > .btn { margin-top: 26px; }
.hint { max-width: 52ch; margin: 18px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.contact-aside { border-top: 1px solid var(--ink); }
.aside-block { padding: 25px 0 28px; border-bottom: 1px solid var(--line); }
.aside-block h3 { max-width: 15ch; }
.aside-block p:not(.section-index) { max-width: 34ch; margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.email-link { display: inline-block; max-width: 100%; color: var(--brand); font-weight: 700; overflow-wrap: anywhere; }
.next-list { list-style: none; margin: 0; padding: 0; counter-reset: next; }
.next-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; margin: 0 0 10px; color: var(--muted); font-size: 15px; counter-increment: next; }
.next-list li::before { content: counter(next, decimal-leading-zero); color: var(--brand); font: 700 11px var(--mono); }

/* --------------------------------------------------------------------- cta */

.section-cta { padding-top: 0; }
.cta-panel { max-width: 940px; padding: clamp(34px, 6vw, 70px); color: #F9F6EF; background: var(--navy); }
.cta-panel .section-index { color: #E17B62; }
.cta-panel h2 { max-width: 13ch; color: #F9F6EF; }
.cta-panel > p:not(.section-index) { max-width: 54ch; margin-bottom: 28px; color: #C7D0D2; }
.cta-panel .btn-secondary { color: #F9F6EF; border-color: rgb(249 246 239 / .45); }
.cta-panel .btn-secondary:hover { color: #fff; border-color: #fff; }

/* ------------------------------------------------------------------ footer */

.site-footer { padding: 48px 0 58px; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 44px; }
.foot-grid p { margin: 0 0 6px; }
.footer-name { color: var(--ink); }
.footer-note { max-width: 46ch; margin-top: 22px !important; }
.legal { margin-top: 14px !important; color: var(--muted); font-size: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { color: var(--brand); }
.copyright { margin-top: 28px !important; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 760px) {
  .wrap, .nav, .wrap-wide { padding-left: 20px; padding-right: 20px; }
  .nav { gap: 14px; }
  .nav-links { gap: 18px; }
  .nav-link { font-size: 13px; }
  .header-cta { display: none; }
  .hero-layout, .section-split, .offer-panel, .contact-layout { grid-template-columns: 1fr; gap: 54px; }
  .hero-home { padding-top: 70px; }
  .hero-note { max-width: 500px; }
  .section-intro { margin-bottom: 34px; }
  .offer-copy { padding-top: 0; }
  .offer-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 30px; }
  .offer-reasons > div:nth-child(2) { border-right: 0; }
  .steps li, .steps-compact li { grid-template-columns: 36px minmax(0, 1fr); gap: 14px 18px; }
  .steps span { grid-column: 2; }
}

@media (max-width: 540px) {
  h1 { max-width: 13ch; font-size: clamp(2.7rem, 12vw, 3.8rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .brand img.full { display: none !important; }
  .brand img.mark { display: block; width: 32px; height: 32px; }
  .nav-links { gap: 14px; }
  .nav-link { font-size: 12px; }
  .eyebrow { flex-wrap: wrap; row-gap: 4px; }
  .compare-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .compare { aspect-ratio: 3 / 4; }
  .compare-tag { top: 12px; font-size: 9px; }
  .tag-before { left: 12px; }
  .tag-after { right: 12px; }
  .compare-knob { width: 54px; min-width: 54px; }
  .offer-reasons { grid-template-columns: 1fr; }
  .offer-reasons > div, .offer-reasons > div:nth-child(2) { min-height: auto; padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .offer-reasons > div:last-child { border-bottom: 0; }
  .form-pair { grid-template-columns: 1fr; gap: 0; }
  .actions { align-items: flex-start; flex-direction: column; }
  .actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .text-link span { transition: none; }
  .nav-link::after { transition: none; }
}
