/* ============================================================================
   VH Marketing: shared styles for the plain pages (branch pages, the guide).
   Same tokens and faces as the studio flight on index.html, layout primitives
   from index-editorial.html. Load after scrollcraft.css (the engine's tokens).
   These pages are built by build-pages.mjs: edit the content there.
   ========================================================================== */

:root {
  --sc-canvas:     #0C0B0A;
  --sc-surface:    #141210;
  --sc-ink:        #F2ECE2;
  --sc-ink-soft:   #ADA293;
  --sc-accent:     #E8A33D;
  --sc-accent-ink: #0C0B0A;
  --sc-font-display: "Fraunces", Georgia, serif;
  --sc-font-text:    "Instrument Sans", system-ui, sans-serif;
}
/* the nav (vh-nav.css) is fixed; the page starts below it */
html { scroll-padding-top: calc(var(--vh-nav-h) + 1rem); }
body.vh-page { padding-top: var(--vh-nav-h); }
.sc-display { font-weight: 500; font-optical-sizing: auto; }
.vh-serif { font-family: var(--sc-font-display); }

.vh-skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--sc-accent); color: var(--sc-accent-ink); padding: .6rem 1rem; border-radius: var(--sc-r-sm); font-family: var(--sc-font-text); font-weight: 600; text-decoration: none; transition: top var(--sc-d-base) var(--sc-ease-out); }
.vh-skip:focus-visible { top: 1rem; }

/* ---- sections ----------------------------------------------------------- */
.vh-sec { position: relative; padding-block: clamp(4rem, 9vh, 7.5rem); }
.vh-wrap { width: 100%; max-width: 68rem; margin-inline: auto; padding-inline: var(--sc-gutter); }
.vh-wrap--wide { max-width: 82rem; }
.vh-ground-0 { background: #0C0B0A; }
.vh-ground-1 { background: #0E0D0B; }
.vh-ground-2 { background: #0A0A0B; }
.vh-ground-3 { background: #100E0C; }

/* ---- type --------------------------------------------------------------- */
.vh-eyebrow { font-family: var(--sc-font-text); font-size: var(--sc-t-xs); letter-spacing: .24em; text-transform: uppercase; color: var(--sc-accent); margin: 0; }
.vh-h1 { font-size: var(--sc-t-3xl); max-width: 16ch; margin: var(--sc-4) 0 0; }
.vh-h2 { font-size: var(--sc-t-2xl); letter-spacing: var(--sc-track-snug); line-height: 1.08; max-width: 22ch; margin: 0; }
.vh-lead { font-size: var(--sc-t-lg); line-height: 1.45; letter-spacing: var(--sc-track-snug); color: var(--sc-ink); max-width: 40ch; margin: var(--sc-5) 0 0; text-wrap: pretty; }
.vh-text { color: var(--sc-ink-soft); max-width: 58ch; margin: var(--sc-4) 0 0; text-wrap: pretty; }
.vh-micro { font-family: var(--sc-font-text); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); margin: var(--sc-4) 0 0; }

/* ---- page hero ---------------------------------------------------------- */
.vh-pagehero { padding-block: clamp(4.5rem, 12vh, 8.5rem) clamp(3.5rem, 8vh, 5.5rem); }
.vh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-4); margin-top: var(--sc-6); }

/* ---- buttons and links -------------------------------------------------- */
.vh-cta { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sc-font-text); font-weight: 600; color: var(--sc-accent-ink); background: var(--sc-accent); padding: .85rem 1.4rem; border-radius: var(--sc-r-pill); text-decoration: none; transition: transform var(--sc-d-base) var(--sc-ease-out); }
.vh-cta:hover { transform: translateY(-2px); color: var(--sc-accent-ink); text-decoration: none; }
.vh-cta:active { transform: translateY(0); }
.vh-ghost { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sc-font-text); font-weight: 600; color: var(--sc-ink); padding: .8rem 1.3rem; border: 1px solid var(--sc-hairline-strong); border-radius: var(--sc-r-pill); text-decoration: none; transition: border-color var(--sc-d-base) ease, color var(--sc-d-base) ease; }
.vh-ghost:hover { border-color: var(--sc-accent); color: var(--sc-accent); text-decoration: none; }
.vh-runlink { color: var(--sc-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.vh-runlink:hover { color: var(--sc-ink); }

/* ---- the terms the owner stands behind ---------------------------------- */
.vh-terms { list-style: none; margin: var(--sc-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.vh-terms li { font-family: var(--sc-font-text); font-size: var(--sc-t-sm); color: var(--sc-ink); border: 1px solid var(--sc-hairline-strong); border-radius: var(--sc-r-pill); padding: .4rem .85rem; }
.vh-terms li::before { content: ""; display: inline-block; width: .42rem; height: .42rem; border-radius: 50%; background: var(--sc-accent); margin-right: .55rem; vertical-align: middle; }

/* ---- pains: an editorial list, not three equal cards --------------------- */
.vh-pains { list-style: none; margin: var(--sc-7) 0 0; padding: 0; }
.vh-pain { display: grid; gap: var(--sc-2) var(--sc-6); padding-block: var(--sc-5); border-top: 1px solid var(--sc-hairline); }
.vh-pain:last-child { border-bottom: 1px solid var(--sc-hairline); }
.vh-pain h3 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-xl); letter-spacing: var(--sc-track-snug); line-height: 1.15; margin: 0; }
.vh-pain p { margin: 0; color: var(--sc-ink-soft); max-width: 46ch; }
@media (min-width: 760px) { .vh-pain { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: baseline; } }

/* ---- editorial spread --------------------------------------------------- */
.vh-spread { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 760px) {
  .vh-spread { grid-template-columns: 1.05fr .95fr; }
  .vh-spread--media-left > .vh-col-text { order: 2; }
  .vh-spread--media-left > .vh-col-media { order: 1; }
}

/* ---- media: phones for vertical clips, a frame for stills ---------------- */
/* phones share one row and shrink together, so two clips sit side by side */
.vh-phones { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: flex-end; gap: var(--sc-5); }
.vh-phones > li { flex: 0 1 12.5rem; min-width: 0; }
.vh-phones--one > li { flex-basis: 16rem; }
.vh-phones figure { margin: 0; width: 100%; }
.vh-phone {
  position: relative; aspect-ratio: 9 / 16; border-radius: 1.5rem; padding: .38rem;
  background: linear-gradient(160deg, #2b2621, #0d0c0b 60%);
  border: 1px solid var(--sc-hairline-strong); box-shadow: var(--sc-e3);
}
.vh-phone::before { content: ""; position: absolute; z-index: 2; top: .7rem; left: 50%; width: 30%; height: .34rem; border-radius: 1rem; background: #050404; transform: translateX(-50%); }
.vh-phone > img, .vh-phone > video { width: 100%; height: 100%; object-fit: cover; border-radius: 1.15rem; display: block; background: #050404; }
.vh-frame { margin: 0; }
.vh-frame img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--sc-r-md); border: 1px solid var(--sc-hairline); box-shadow: var(--sc-e3); display: block; }
.vh-cap { font-family: var(--sc-font-text); font-size: var(--sc-t-xs); color: var(--sc-ink-soft); margin: var(--sc-3) 0 0; letter-spacing: .02em; text-align: center; }
.vh-media-cap { font-family: var(--sc-font-text); font-size: var(--sc-t-xs); color: var(--sc-ink-soft); margin: var(--sc-4) 0 0; text-align: center; }

/* ---- what you get -------------------------------------------------------- */
.vh-checks { list-style: none; margin: var(--sc-5) 0 0; padding: 0; display: grid; gap: .75rem; }
.vh-checks li { position: relative; padding-left: 1.6rem; color: var(--sc-ink); max-width: 52ch; }
.vh-checks li::before { content: ""; position: absolute; left: 0; top: .72em; width: .9rem; height: 1px; background: var(--sc-accent); }
.vh-offer { border-left: 1px solid var(--sc-accent); padding-left: var(--sc-5); margin-top: var(--sc-7); }
.vh-offer p { margin: 0; font-size: var(--sc-t-lg); line-height: 1.45; color: var(--sc-ink); max-width: 40ch; }
.vh-offer .vh-price { font-family: var(--sc-font-display); font-size: var(--sc-t-2xl); line-height: 1.1; }

/* ---- steps --------------------------------------------------------------- */
.vh-steps { list-style: none; margin: var(--sc-6) 0 0; padding: 0; counter-reset: s; }
.vh-steps li { display: grid; grid-template-columns: 3.4rem 1fr; gap: clamp(1rem, 3vw, 2.4rem); align-items: baseline; padding: var(--sc-5) 0; border-top: 1px solid var(--sc-hairline); }
.vh-steps li:last-child { border-bottom: 1px solid var(--sc-hairline); }
.vh-steps li::before { counter-increment: s; content: "0" counter(s); font-family: var(--sc-font-display); font-size: var(--sc-t-xl); color: var(--sc-accent); font-variant-numeric: tabular-nums; line-height: 1; }
.vh-steps h3 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-lg); letter-spacing: var(--sc-track-snug); margin: 0 0 var(--sc-2); }
.vh-steps p { margin: 0; color: var(--sc-ink-soft); max-width: 48ch; }

/* ---- faq ----------------------------------------------------------------- */
.vh-faq { margin-top: var(--sc-6); max-width: 46rem; }
.vh-faq details { border-top: 1px solid var(--sc-hairline); }
.vh-faq details:last-child { border-bottom: 1px solid var(--sc-hairline); }
.vh-faq summary { cursor: pointer; list-style: none; padding: var(--sc-4) 2rem var(--sc-4) 0; position: relative; font-family: var(--sc-font-text); font-weight: 600; color: var(--sc-ink); }
.vh-faq summary::-webkit-details-marker { display: none; }
.vh-faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); color: var(--sc-accent); font-size: 1.25rem; }
.vh-faq details[open] summary::after { content: "–"; }
.vh-faq details p { color: var(--sc-ink-soft); margin: 0 0 var(--sc-4); line-height: 1.6; max-width: 60ch; }
.vh-faq summary:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; }

/* ---- a real review, once the owner gives one ---------------------------- */
.vh-quote { border-left: 1px solid var(--sc-accent); padding-left: var(--sc-5); margin: var(--sc-6) 0 0; }
.vh-quote p { font-family: var(--sc-font-display); font-size: var(--sc-t-xl); line-height: 1.3; color: var(--sc-ink); margin: 0; max-width: 36ch; }
.vh-quote footer { font-family: var(--sc-font-text); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); margin-top: var(--sc-3); }

/* ---- links to the other branches ---------------------------------------- */
.vh-links { list-style: none; margin: var(--sc-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.vh-links a { display: inline-block; font-family: var(--sc-font-text); font-size: var(--sc-t-sm); color: var(--sc-ink); border: 1px solid var(--sc-hairline-strong); border-radius: var(--sc-r-pill); padding: .45rem .9rem; text-decoration: none; transition: border-color var(--sc-d-fast) ease, color var(--sc-d-fast) ease; }
.vh-links a:hover, .vh-links a[aria-current="page"] { border-color: var(--sc-accent); color: var(--sc-accent); }

/* ---- close + footer ------------------------------------------------------ */
.vh-close-line { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-2xl); letter-spacing: var(--sc-track-tight); line-height: 1.06; margin: 0; max-width: 20ch; }
.vh-foot { border-top: 1px solid var(--sc-hairline); padding-block: var(--sc-6); font-family: var(--sc-font-text); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); background: #0C0B0A; }
.vh-foot .vh-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sc-4); }
.vh-foot nav { display: flex; flex-wrap: wrap; gap: var(--sc-2) var(--sc-5); }
.vh-foot a { color: var(--sc-ink-soft); text-decoration: none; }
.vh-foot a:hover { color: var(--sc-ink); text-decoration: underline; }

/* ---- who a branch page is for -------------------------------------------- */
.vh-who { list-style: none; margin: var(--sc-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.vh-who li { font-family: var(--sc-font-text); font-size: var(--sc-t-xs); letter-spacing: .04em; color: var(--sc-ink-soft); border: 1px solid var(--sc-hairline); border-radius: var(--sc-r-pill); padding: .3rem .75rem; }

/* ---- clip ideas: the stagger owns each <li>'s transform, the card inside
   owns the hover ------------------------------------------------------------ */
.vh-ideas { list-style: none; margin: var(--sc-7) 0 0; padding: 0; display: grid; gap: var(--sc-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); counter-reset: idea; }
.vh-idea { counter-increment: idea; }
.vh-idea__in {
  height: 100%; padding: var(--sc-5); border: 1px solid var(--sc-hairline); border-radius: var(--sc-r-lg);
  background: color-mix(in oklab, var(--sc-ink) 2.5%, transparent);
  transition: border-color var(--sc-d-base) ease, background-color var(--sc-d-base) ease, translate var(--sc-d-base) var(--sc-ease-out);
}
.vh-idea__in:hover { border-color: color-mix(in oklab, var(--sc-accent) 55%, transparent); background: color-mix(in oklab, var(--sc-ink) 4%, transparent); translate: 0 -2px; }
.vh-idea__in::before { content: "0" counter(idea); display: block; margin-bottom: var(--sc-3); font-family: var(--sc-font-display); font-size: var(--sc-t-lg); color: var(--sc-accent); font-variant-numeric: tabular-nums; line-height: 1; }
.vh-idea h3 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-lg); letter-spacing: var(--sc-track-snug); line-height: 1.2; margin: 0; }
.vh-idea p { margin: var(--sc-2) 0 0; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); line-height: 1.6; }
.vh-tags { list-style: none; margin: var(--sc-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.vh-tags li { font-family: var(--sc-font-text); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-ink); background: color-mix(in oklab, var(--sc-ink) 7%, transparent); border-radius: var(--sc-r-sm); padding: .2rem .5rem; }

/* ---- the year: four seasons; the page's year script lights the current one */
.vh-year { list-style: none; margin: var(--sc-7) 0 0; padding: 0; display: grid; gap: var(--sc-4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .vh-year { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .vh-year { grid-template-columns: repeat(4, 1fr); } }
.vh-season__in { position: relative; height: 100%; padding: var(--sc-5); border: 1px solid var(--sc-hairline); border-radius: var(--sc-r-lg); background: color-mix(in oklab, var(--sc-ink) 2%, transparent); transition: border-color var(--sc-d-base) ease, background-color var(--sc-d-base) ease; }
.vh-season h3 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-xl); letter-spacing: var(--sc-track-snug); line-height: 1.1; margin: 0; }
.vh-season h3 small { display: block; margin-top: .35rem; font-family: var(--sc-font-text); font-size: var(--sc-t-xs); letter-spacing: .06em; color: var(--sc-ink-soft); }
.vh-season ul { list-style: none; margin: var(--sc-4) 0 0; padding: 0; display: grid; gap: .65rem; }
.vh-season ul li { position: relative; padding-left: 1.1rem; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); line-height: 1.55; }
.vh-season ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: .55rem; height: 1px; background: var(--sc-accent); }
.vh-season.is-now .vh-season__in { border-color: color-mix(in oklab, var(--sc-accent) 70%, transparent); background: color-mix(in oklab, var(--sc-accent) 7%, transparent); }
.vh-season.is-now ul li { color: var(--sc-ink); }
.vh-now { position: absolute; top: var(--sc-5); right: var(--sc-5); font-family: var(--sc-font-text); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sc-accent-ink); background: var(--sc-accent); border-radius: var(--sc-r-pill); padding: .2rem .55rem; }

/* ---- the portfolio --------------------------------------------------------- */
.vh-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 var(--sc-7); }
.vh-filter[hidden] { display: none; }
.vh-filter button {
  font: inherit; font-family: var(--sc-font-text); font-size: var(--sc-t-sm); color: var(--sc-ink-soft);
  background: none; border: 1px solid var(--sc-hairline-strong); border-radius: var(--sc-r-pill);
  padding: .45rem .95rem; cursor: pointer;
  transition: color var(--sc-d-fast) ease, border-color var(--sc-d-fast) ease, background-color var(--sc-d-fast) ease;
}
.vh-filter button:hover { color: var(--sc-ink); border-color: var(--sc-ink-soft); }
.vh-filter button[aria-pressed="true"] { color: var(--sc-accent-ink); background: var(--sc-accent); border-color: var(--sc-accent); }
.vh-filter button span { margin-left: .3rem; opacity: .7; font-variant-numeric: tabular-nums; }
.vh-works-group[hidden] { display: none; }
.vh-works-group + .vh-works-group { margin-top: var(--sc-8); }
.vh-works-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sc-2) var(--sc-5); margin-bottom: var(--sc-6); }
.vh-works-head .vh-micro { margin: 0; }
.vh-works { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sc-6) var(--sc-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.vh-work { animation: vh-work-in var(--sc-d-slow) var(--sc-ease-out) both; }
.vh-work[hidden] { display: none; }
@keyframes vh-work-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.vh-work__btn { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.vh-work__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--sc-r-md); border: 1px solid var(--sc-hairline); background: #050404; transition: border-color var(--sc-d-base) ease; }
.vh-work__media > img, .vh-work__media > video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform var(--sc-d-slow) var(--sc-ease-out); }
.vh-work__btn:hover .vh-work__media { border-color: var(--sc-accent); }
.vh-work__btn:hover .vh-work__media > img, .vh-work__btn:hover .vh-work__media > video { transform: scale(1.03); }
.vh-work__btn:focus-visible { outline: none; }
.vh-work__btn:focus-visible .vh-work__media { outline: 2px solid var(--sc-accent); outline-offset: 3px; }
.vh-work__play { position: absolute; right: .6rem; bottom: .6rem; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-size: .62rem; color: var(--sc-ink); background: color-mix(in oklab, var(--sc-canvas) 72%, transparent); border: 1px solid var(--sc-hairline-strong); }
.vh-work__demo { position: absolute; left: .6rem; top: .6rem; font-family: var(--sc-font-text); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sc-ink); background: color-mix(in oklab, var(--sc-canvas) 74%, transparent); border: 1px solid var(--sc-hairline-strong); border-radius: var(--sc-r-pill); padding: .18rem .55rem; }
.vh-work__meta { display: block; padding-top: var(--sc-3); }
.vh-work__k { display: block; font-family: var(--sc-font-text); font-size: var(--sc-t-xs); letter-spacing: .04em; color: var(--sc-ink-soft); }
.vh-work__t { display: block; margin-top: .2rem; font-family: var(--sc-font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.25; color: var(--sc-ink); }
.vh-works-empty[hidden] { display: none; }

/* the viewer */
.vh-lb {
  width: min(52rem, calc(100% - 2rem)); max-width: none; max-height: 96svh; margin: auto;
  padding: var(--sc-4) var(--sc-5) var(--sc-5);
  color: var(--sc-ink); background: #110f0d;
  border: 1px solid var(--sc-hairline-strong); border-radius: var(--sc-r-lg); box-shadow: var(--sc-e3);
  overflow: auto; overscroll-behavior: contain; font-family: var(--sc-font-text);
}
.vh-lb::backdrop { background: rgba(6, 5, 4, .84); }
.vh-lb[open] { animation: vh-lb-in var(--sc-d-slow) var(--sc-ease-out); }
@keyframes vh-lb-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.vh-lb__top { display: flex; align-items: center; justify-content: space-between; gap: var(--sc-4); margin-bottom: var(--sc-4); }
.vh-lb__count { margin: 0; font-size: var(--sc-t-xs); letter-spacing: .08em; color: var(--sc-ink-soft); font-variant-numeric: tabular-nums; }
.vh-lb__ctrl { display: flex; gap: .45rem; }
.vh-lb__prev, .vh-lb__next, .vh-lb__close { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--sc-hairline-strong); background: none; color: var(--sc-ink); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: border-color var(--sc-d-fast) ease, color var(--sc-d-fast) ease; }
.vh-lb__prev:hover, .vh-lb__next:hover, .vh-lb__close:hover { border-color: var(--sc-accent); color: var(--sc-accent); }
.vh-lb.is-single .vh-lb__prev, .vh-lb.is-single .vh-lb__next { display: none; }
.vh-lb__media { width: min(100%, calc(var(--ar, .5625) * 64svh)); margin-inline: auto; touch-action: pan-y; }
.vh-lb__media > video, .vh-lb__media > img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: var(--sc-r-md); background: #050404; }
.vh-lb__meta { max-width: 40rem; margin: var(--sc-5) auto 0; text-align: center; }
.vh-lb__kicker { margin: 0; font-size: var(--sc-t-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--sc-accent); }
.vh-lb__title { margin: .35rem 0 0; font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-xl); letter-spacing: var(--sc-track-snug); line-height: 1.15; }
.vh-lb__text { margin: var(--sc-3) 0 0; color: var(--sc-ink-soft); }
.vh-lb__text[hidden] { display: none; }
.vh-lb .vh-cta { margin-top: var(--sc-5); }

/* ---- the guide's sign-up page --------------------------------------------- */
.vh-guidehero { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 900px) { .vh-guidehero { grid-template-columns: 1.1fr .9fr; } }
.vh-guidehero .vh-checks { margin-top: var(--sc-6); }
@media (max-width: 899px) { .vh-guidehero .vh-checks { display: none; } }   /* the form comes first on a phone; the parts follow below */
.vh-form {
  display: grid; gap: var(--sc-4);
  padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--sc-hairline-strong); border-radius: var(--sc-r-lg);
  background: color-mix(in oklab, var(--sc-ink) 4%, #0E0D0B); box-shadow: var(--sc-e3);
  font-family: var(--sc-font-text);
}
.vh-form [hidden] { display: none !important; }
.vh-form__kicker { margin: 0; font-size: var(--sc-t-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--sc-accent); }
.vh-form__title { margin: 0; font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-xl); line-height: 1.15; letter-spacing: var(--sc-track-snug); color: var(--sc-ink); }
.vh-field { display: grid; gap: .4rem; }
.vh-field__label { font-size: var(--sc-t-sm); font-weight: 600; color: var(--sc-ink); }
.vh-field__label small { font-weight: 400; color: var(--sc-ink-soft); margin-left: .3rem; font-size: var(--sc-t-xs); }
.vh-field input, .vh-field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--sc-ink);
  background: #0A0908; border: 1px solid var(--sc-hairline-strong); border-radius: var(--sc-r-md);
  padding: .8rem .95rem; transition: border-color var(--sc-d-fast) ease, box-shadow var(--sc-d-fast) ease;
}
.vh-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sc-ink-soft) 50%), linear-gradient(135deg, var(--sc-ink-soft) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 55%, calc(100% - .8rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; padding-right: 2.4rem; }
.vh-field input::placeholder { color: color-mix(in oklab, var(--sc-ink-soft) 70%, transparent); }
.vh-field input:focus, .vh-field select:focus { outline: none; border-color: var(--sc-accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--sc-accent) 28%, transparent); }
.vh-check { display: grid; grid-template-columns: 1.2rem 1fr; gap: .7rem; align-items: start; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); line-height: 1.5; cursor: pointer; }
.vh-check input { width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; accent-color: var(--sc-accent); }
.vh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vh-form__btn { justify-self: start; border: 0; cursor: pointer; font-size: 1rem; }
.vh-form__btn:disabled { opacity: .7; cursor: progress; transform: none; }
.vh-form__fine { margin: 0; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); line-height: 1.55; }
.vh-form__err { margin: 0; font-size: var(--sc-t-sm); color: #F2A08A; }
.vh-form__done { display: grid; gap: var(--sc-3); }
.vh-form__done p { margin: 0; color: var(--sc-ink-soft); line-height: 1.6; }
.vh-form__done b { color: var(--sc-ink); }
.vh-form__done .vh-form__title { color: var(--sc-ink); }
.vh-form__preview { font-size: var(--sc-t-xs); color: var(--sc-accent) !important; }
.vh-parts { list-style: none; margin: var(--sc-7) 0 0; padding: 0; counter-reset: part; display: grid; gap: var(--sc-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.vh-parts > li { counter-increment: part; padding-top: var(--sc-4); border-top: 1px solid var(--sc-hairline-strong); }
.vh-parts > li::before { content: "0" counter(part); display: block; font-family: var(--sc-font-display); font-size: var(--sc-t-lg); color: var(--sc-accent); margin-bottom: var(--sc-2); }
.vh-parts h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-lg); letter-spacing: var(--sc-track-snug); line-height: 1.2; }
.vh-parts p { margin: var(--sc-2) 0 0; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); line-height: 1.6; }
.vh-tips--sample .vh-tip::before { content: attr(data-n); }
.vh-tip h3 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-xl); letter-spacing: var(--sc-track-snug); line-height: 1.15; margin: 0 0 var(--sc-3); }
.vh-steps-mini { list-style: none; margin: var(--sc-4) 0 0; padding: 0; display: grid; gap: .5rem; }
.vh-steps-mini li { position: relative; padding-left: 1.5rem; color: var(--sc-ink); max-width: 58ch; }
.vh-steps-mini li::before { content: "→"; position: absolute; left: 0; color: var(--sc-accent); }
/* plain long text (the privacy policy) */
.vh-prose { max-width: 46rem; }
.vh-prose h2 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-xl); letter-spacing: var(--sc-track-snug); line-height: 1.15; margin: var(--sc-7) 0 var(--sc-3); }
.vh-prose h2:first-child { margin-top: 0; }
.vh-prose p { color: var(--sc-ink-soft); margin: 0 0 var(--sc-3); line-height: 1.7; }
.vh-prose .vh-checks { margin-top: 0; }

/* ---- the guide's numbered tips ------------------------------------------ */
.vh-tips { list-style: none; margin: var(--sc-7) 0 0; padding: 0; counter-reset: t; }
.vh-tip { display: grid; grid-template-columns: 4.5rem 1fr; gap: clamp(1rem, 3vw, 2.5rem); padding: var(--sc-6) 0; border-top: 1px solid var(--sc-hairline); break-inside: avoid; }
.vh-tip:last-child { border-bottom: 1px solid var(--sc-hairline); }
.vh-tip::before { counter-increment: t; content: counter(t); font-family: var(--sc-font-display); font-size: var(--sc-t-3xl); line-height: .9; color: var(--sc-accent); font-variant-numeric: tabular-nums; }
.vh-tip h2 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-xl); letter-spacing: var(--sc-track-snug); line-height: 1.15; margin: 0 0 var(--sc-3); }
.vh-tip p { margin: 0; color: var(--sc-ink-soft); max-width: 58ch; }
.vh-printonly { display: none; }

/* ---- phones and small screens ------------------------------------------- */
@media (max-width: 640px) {
  .vh-works { grid-template-columns: 1fr 1fr; gap: var(--sc-5) var(--sc-3); }
  .vh-work__t { font-size: 1rem; }
  .vh-lb { padding-inline: var(--sc-4); }
  .vh-h1 { font-size: var(--sc-t-2xl); }
  .vh-h2 { font-size: var(--sc-t-xl); }
  .vh-tip { grid-template-columns: 2.75rem 1fr; }
  .vh-tip::before { font-size: var(--sc-t-2xl); }
  .vh-phones { gap: var(--sc-4); }
}
@media (prefers-reduced-motion: reduce) {
  .vh-cta:hover { transform: none; }
  .vh-idea__in:hover { translate: none; }
  .vh-work, .vh-lb[open] { animation: none; }
  .vh-work__btn:hover .vh-work__media > img, .vh-work__btn:hover .vh-work__media > video { transform: none; }
}

/* ---- print: the guide as a light, readable PDF -------------------------- */
@media print {
  @page { size: A4; margin: 16mm 16mm 18mm; }
  :root { --sc-canvas: #FBF8F2; --sc-ink: #1A1612; --sc-ink-soft: #564C43; --sc-accent: #9A560A; }
  html, body { background: #FBF8F2 !important; color: #1A1612; }
  /* the footer nav goes too: relative links turn into dead local paths in a
     PDF. The top nav is hidden by vh-nav.css's own print rule. */
  .sc-grain, .vh-skip, .vh-noprint, .vh-foot nav { display: none !important; }
  body.vh-page { padding-top: 0; }
  .vh-ground-0, .vh-ground-1, .vh-ground-2, .vh-ground-3, .vh-foot { background: transparent !important; }
  [data-sc-in], [data-sc-stagger] > * { opacity: 1 !important; transform: none !important; }
  .vh-pagehero { padding-block: 0 1.25rem; }
  .vh-sec { padding-block: 1rem; }
  .vh-tip { padding: 1rem 0; }
  .vh-tip::before { font-size: 2.2rem; }
  .vh-printonly { display: block !important; }
  a { color: inherit; }
}
