/* =========================================================
   VMG Access — site styles
   One file. All colour, type and spacing tokens are in :root.
   After editing, bump ?v= in index.html, privacy.html,
   thank-you.html and 404.html (see README).
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #111A24;          /* headings, dark sections */
  --ink-2: #1B2632;
  --text: #25313C;         /* body copy */
  --muted: #5A6570;
  --paper: #FBFAF7;        /* page background */
  --stone: #F2EFE9;        /* alternate sections */
  --line: #DFD9CF;
  --line-soft: #E9E4DB;

  --vmg: #EE7623;          /* VMG brand orange — wordmark only */
  --accent: #B04E15;       /* accessible orange for text and buttons on light */
  --accent-dk: #923F0F;
  --accent-lt: #F09A5B;    /* orange on dark backgrounds */

  --serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(80px, 11vw, 144px);
  --header-h: 72px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;           /* 17px */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--stone { background: var(--stone); }
.section--rule { border-top: 1px solid var(--line); }

.split { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
}

.columns { display: grid; gap: 0 clamp(32px, 6vw, 96px); }
@media (min-width: 800px) { .columns { grid-template-columns: 1fr 1fr; } }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.012em;
  line-height: 1.08;
  text-wrap: balance;
  font-optical-sizing: auto;
}
.h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); }
.h3 {
  font-family: var(--serif); font-weight: 500; color: var(--ink);
  font-size: clamp(1.35rem, 1.15rem + .6vw, 1.625rem); line-height: 1.2; letter-spacing: -0.005em;
  text-wrap: balance;
}
.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.25rem;
}
.prose > * + * { margin-top: 1.15em; }
.prose p, .stage p, .audience p { text-wrap: pretty; }
.lede { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.375rem); line-height: 1.55; color: var(--ink); }
.lede-sm { font-size: clamp(1.1rem, 1.02rem + .3vw, 1.25rem); line-height: 1.55; color: var(--ink); }
.emph { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--ink); }
strong { font-weight: 600; color: var(--ink); }
.muted { color: var(--muted); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 44rem; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8rem 1.4rem;
  font-size: .9375rem; font-weight: 500; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn .arw { transition: transform .2s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dk); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--accent); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--accent-dk); }
.btn--sm { min-height: 40px; padding: .55rem 1rem; font-size: .875rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

.text-link {
  font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.text-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; flex-direction: column; text-decoration: none; margin-right: auto; line-height: 1; }
.brand-name {
  font-family: var(--sans); font-weight: 600; font-size: 1.125rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
.brand-vmg { color: var(--vmg); }
.brand-sub {
  margin-top: 6px; font-size: .625rem; font-weight: 500; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
@media (max-width: 379px) { .brand-sub { display: none; } }

.nav { display: none; gap: clamp(20px, 2.2vw, 36px); }
.nav a {
  font-size: .9063rem; color: var(--text); text-decoration: none; padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .25s var(--ease), color .2s var(--ease);
}
.nav a:hover { color: var(--ink); background-size: 100% 1px; }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative;
  transition: transform .25s var(--ease), background-color .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { border-top: 1px solid var(--line); background: var(--paper); border-bottom: 1px solid var(--line); }
.mobile-menu .wrap { display: flex; flex-direction: column; padding-block: 12px 24px; }
.mobile-menu a:not(.btn) {
  padding: 14px 0; font-size: 1.0625rem; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 20px; }

@media (min-width: 1100px) {
  .nav, .header-cta { display: flex; }
  .nav-toggle, .mobile-menu { display: none !important; }
  .header-cta { margin-left: 12px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(64px, 11vw, 150px) clamp(56px, 8vw, 104px); }
.hero .eyebrow { margin-bottom: clamp(20px, 3vw, 32px); }
.hero-title { font-size: clamp(2.75rem, 1.4rem + 5.6vw, 5.75rem); line-height: 1.02; letter-spacing: -0.022em; max-width: 13ch; }
.hero-body { margin-top: clamp(28px, 4vw, 48px); max-width: 42rem; }
.hero-body p + p { margin-top: 1.1em; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: clamp(32px, 4vw, 44px); }
.hero-meta {
  display: grid; gap: 18px; margin-top: clamp(56px, 9vw, 112px);
  padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-meta dt { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-meta dd { margin-top: 4px; font-size: .9375rem; color: var(--ink); }
@media (min-width: 720px) { .hero-meta { grid-template-columns: 1fr 1fr 2fr; gap: 32px; } }

/* ---------- Problem ---------- */
.split > .display { max-width: 16ch; }

/* ---------- Stages (What We Do) ---------- */
.stages { display: grid; gap: 0; counter-reset: stage; }
.stage { position: relative; padding-block: 36px; border-top: 1px solid var(--line); font-size: 1rem; }
.stage:last-child { border-bottom: 1px solid var(--line); }
.stage > * + * { margin-top: .9em; }
.stage-num { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; color: var(--accent); font-variant-numeric: tabular-nums; }
.stage-title {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(1.75rem, 1.5rem + .8vw, 2.125rem); line-height: 1.1; letter-spacing: -0.01em;
  margin-top: .35em !important; margin-bottom: .2em;
}
.dash-list li { position: relative; padding-left: 1.25rem; }
.dash-list li + li { margin-top: .35em; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .85em; width: .6rem; height: 1px; background: var(--accent); }
.callout {
  margin-top: 1.5em !important; padding: 18px 0 2px 20px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; color: var(--ink);
  text-wrap: balance;
}

/* Tablet: two columns */
@media (min-width: 760px) {
  .stages { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 64px); }
  .stage:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
/* Desktop: four stages across, joined by a single rail */
@media (min-width: 1140px) {
  .stages { grid-template-columns: repeat(4, 1fr); column-gap: 40px; border-top: 1px solid var(--ink); }
  .stage { border: 0 !important; padding-block: 32px 0; font-size: .9688rem; line-height: 1.68; }
  .stage::before {
    content: ""; position: absolute; top: -5px; left: 0;
    width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink);
  }
  .section--stone .stage::before { background: var(--stone); }
  .stage:first-child::before { background: var(--accent); border-color: var(--accent); }
  .callout { font-size: 1.2rem; }
}

/* ---------- Audiences ---------- */
.audiences { display: grid; }
.audience { padding-block: 32px; border-top: 1px solid var(--line); }
.audience p { margin-top: .75em; color: var(--muted); max-width: 34rem; }
@media (min-width: 760px) {
  .audiences { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 7vw, 112px); }
  .audience { padding-block: 36px 44px; }
}
.sector-note {
  margin-top: clamp(40px, 6vw, 64px); padding-top: 32px; border-top: 1px solid var(--ink);
  max-width: 48rem;
  font-family: var(--serif); font-size: clamp(1.2rem, 1.08rem + .45vw, 1.45rem); line-height: 1.5; color: var(--ink);
  text-wrap: pretty;
}

/* ---------- Many markets ---------- */
.split--markets .display { margin-bottom: clamp(24px, 3vw, 36px); max-width: none; }
@media (min-width: 900px) {
  .split--markets { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
}
.states { border-left: 1px solid var(--line); padding: 8px 0 8px clamp(24px, 4vw, 56px); }
@media (max-width: 899px) { .states { border-left: 0; border-top: 1px solid var(--line); padding: 32px 0 0; } }
.states-list {
  columns: 2; column-gap: 24px;
  font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.25; color: #6E6A62;
}
.states-list li { padding: .42em 0; break-inside: avoid; }
.states-list .is-start { color: var(--ink); }
.states-list .is-start::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .5em;
  border-radius: 50%; background: var(--accent); vertical-align: .2em;
}
.states-caption { margin-top: 24px; font-size: .875rem; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.states-caption .dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }

/* ---------- Access → Execution ---------- */
.sequence {
  display: grid; margin-bottom: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.sequence li {
  position: relative; padding: 20px 0;
  font-family: var(--serif); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.1; color: var(--ink);
  letter-spacing: -0.012em;
}
.sequence li + li { border-top: 1px solid var(--line); }
.sequence li:not(:last-child)::after {
  content: "\2193"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.5rem; color: var(--accent);
}
.sequence li:last-child { color: var(--accent); }
@media (min-width: 900px) {
  .sequence { grid-template-columns: repeat(4, auto); justify-content: space-between; padding-block: 36px; }
  .sequence li { padding: 0; }
  .sequence li + li { border-top: 0; }
  .sequence li:not(:last-child)::after { content: "\2192"; position: static; transform: none; margin-left: clamp(14px, 2.6vw, 44px); vertical-align: .12em; font-size: clamp(1.5rem, 1rem + 1.2vw, 2.25rem); }
}
.columns > div > * + * { margin-top: 1.15em; }
@media (max-width: 799px) { .columns > div + div { margin-top: 1.15em; } }

/* ---------- Why VMG ---------- */
.statement {
  margin-top: 40px !important; padding-top: 28px; border-top: 1px solid var(--ink);
  font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); line-height: 1.08; letter-spacing: -0.015em;
  color: var(--accent);
}

/* ---------- Closing CTA ---------- */
.closing { background: var(--ink); color: #D5DBE0; padding-block: clamp(80px, 11vw, 136px); }
.closing .display { color: #fff; max-width: 14ch; }
.closing-inner { display: grid; gap: 32px; }
@media (min-width: 900px) { .closing-inner { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 112px); align-items: start; } }
.closing-body p + p { margin-top: 1.1em; }
.closing-tagline {
  margin-top: 1.6em !important; margin-bottom: 1.8em;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); line-height: 1.3; color: var(--accent-lt);
}

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact-intro > p:not(.eyebrow) { margin-top: 1.25rem; color: var(--muted); max-width: 30rem; }
.contact-details { margin-top: 40px; display: grid; gap: 20px; border-top: 1px solid var(--line); padding-top: 28px; }
.contact-details dt { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-details dd { margin-top: 3px; color: var(--ink); }
.contact-details a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .2s, color .2s; }
.contact-details a:hover { color: var(--accent); border-color: var(--accent); }
@media (min-width: 900px) { .split--contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.form { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.field-row { display: grid; gap: 0 20px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: .875rem; font-weight: 500; color: var(--ink); }
.field input, .field textarea {
  display: block; width: 100%; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; line-height: 1.5; color: var(--ink);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #C9C1B4; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--ink); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { min-height: 0; margin-top: 6px; font-size: .8125rem; color: #B3261E; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 8px; }
.form-status { margin-top: 16px; font-size: .9375rem; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: 14px 16px; background: #EEF4EE; border-left: 2px solid #3E7B4E; color: #1F3D27; }
.form-status.is-err { padding: 14px 16px; background: #FBEDEA; border-left: 2px solid #B3261E; color: #5E1712; }
.form-status a { color: inherit; }
.form-note { margin-top: 16px; font-size: .8125rem; color: var(--muted); }
.form-note a { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #A9B3BC; padding-block: 64px 32px; font-size: .9375rem; }
.site-footer a { color: #E4E8EB; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--accent-lt); }
.footer-top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1fr auto; align-items: start; } }
.brand-name--footer { color: #fff; }
.footer-sub { margin-top: 8px; font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: #8B96A0; }
.footer-addr { margin-top: 24px; line-height: 1.7; }
.footer-addr a { border-bottom: 1px solid rgba(255,255,255,.25); }
.footer-nav { display: grid; gap: 10px; }
@media (min-width: 800px) { .footer-nav { grid-template-columns: repeat(2, auto); gap: 10px 48px; } }
.footer-disclaimer { padding-block: 24px; font-size: .8125rem; line-height: 1.6; color: #7F8A94; max-width: 52rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8125rem; color: #7F8A94; }
.footer-legal a { color: #C5CCD2; }

/* ---------- Simple pages (privacy, thank-you, 404) ---------- */
.page { padding-block: clamp(56px, 9vw, 112px); }
.page .display { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); margin-bottom: 32px; }
.page-body { max-width: 44rem; }
.page-body h2 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--ink); margin-top: 2em; margin-bottom: .5em; line-height: 1.25; }
.page-body p, .page-body ul { margin-top: .9em; }
.page-body ul { list-style: none; }
.page-body li { position: relative; padding-left: 1.25rem; margin-top: .4em; }
.page-body li::before { content: ""; position: absolute; left: 0; top: .85em; width: .6rem; height: 1px; background: var(--accent); }
.page-body a { color: var(--accent); }
.page .btn { margin-top: 32px; }
