/* Vhet waitlist landing page. Self-hosted fonts only, no external requests. */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/sora-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/sora-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-latin-600-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --brand-dark: #023c2f;
  --brand-accent: #2fc593;
  --brand-ink: #04140f;
  --bg: #f4f6f3;
  --surface: #ffffff;
  --muted: #55645e;
  --muted-on-dark: #cfe3db;
  --rule: #e3e8e4;
  --focus: #2fc593;
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--brand-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--surface); color: var(--brand-ink); padding: 0.5rem 1rem; z-index: 10;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

a:focus-visible, button:focus-visible, input:focus-visible, .table-wrap:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.hl {
  background: var(--brand-accent);
  color: var(--brand-ink);
  padding: 0 0.18em;
  border-radius: 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Header + hero ------------------------------------------------------ */
.site-header {
  background: var(--brand-dark);
  color: #fff;
}
.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 6vw;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
}
.nav img { height: 28px; width: auto; }
.nav b { font: 800 22px/1 var(--font-display); }

.hero {
  background: var(--brand-dark);
  color: #fff;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 6vw;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 2rem 0 0;
}
.hero h1 {
  font: 800 clamp(2.25rem, 5vw, 3.625rem)/1.08 var(--font-display);
  letter-spacing: -0.01em;
  margin: 0;
}
.hero .sub {
  margin: 1.1rem 0 1.75rem;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--muted-on-dark);
  max-width: 30em;
}
.hero { overflow: hidden; }
.hero-grid { align-items: end; }
.hero-art {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  margin-right: -6vw;
}
.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  /* Fade the artboard's edges into the hero's dark green. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

/* Signup form, used in hero and bottom CTA --------------------------- */
.signup {
  background: #fff;
  border-radius: 20px;
  padding: 1.25rem;
  color: var(--brand-ink);
  max-width: 520px;
}
.signup .row { display: flex; gap: 0.625rem; }
.field-label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.signup input[type="email"] {
  flex: 1 0 52px;
  min-height: 52px;
  border: 1.5px solid #cbd5d0;
  border-radius: 14px;
  padding: 0 1rem;
  font: 1rem var(--font-body);
  color: var(--brand-ink);
  background: #fff;
}
.signup input[type="email"]:focus { outline: 0; border-color: var(--brand-accent); box-shadow: 0 0 0 4px rgba(47, 197, 147, 0.2); }
.signup button {
  white-space: nowrap;
  height: 52px;
  border: 0;
  border-radius: 14px;
  padding: 0 1.375rem;
  font: 600 1rem var(--font-body);
  background: var(--brand-accent);
  color: var(--brand-ink);
  cursor: pointer;
}
.signup button:hover:not(:disabled) { background: #3ad6a2; }
.signup button:disabled { opacity: 0.6; cursor: default; }
.signup .consent {
  display: flex;
  gap: 0.625rem;
  margin-top: 0.875rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}
.signup .consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; }
.signup .consent a { color: #057056; text-underline-offset: 0.15em; }
.signup .form-status {
  min-height: 1.4em;
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
}
.signup .form-status[data-state="success"] { color: #057056; }
.signup .form-status[data-state="error"] { color: #b3261e; }
.hero .note { margin: 0.75rem 0 3rem; font-size: 0.8125rem; color: #9fc4b6; }

.cta .signup .form-status[data-state="success"] { color: #057056; }

/* Runner band --------------------------------------------------------- */
.band {
  max-width: 1120px;
  margin: 3.5rem auto 0;
  padding: 0 6vw;
  overflow: hidden;
}
.band img { width: 100%; height: auto; aspect-ratio: 2680 / 1305; object-fit: cover; border-radius: 24px; }

/* Video duo ------------------------------------------------------------ */
.duo {
  max-width: 1120px;
  margin: 1.25rem auto 0;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.vid {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0b1210;
}
.vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3rem 1.375rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: #fff;
  font: 600 1.25rem var(--font-display);
}
.vid .cap span {
  display: block;
  font: 600 0.75rem var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7fe3be;
  margin-bottom: 0.25rem;
}

/* Feature rows ----------------------------------------------------------- */
.feats { max-width: 1040px; margin: 3.5rem auto; padding: 0 6vw; }
.feat-h { font: 600 2.125rem/1.25 var(--font-display); text-align: center; color: var(--brand-ink); margin: 0 0 1.75rem; }
.feat {
  display: flex;
  align-items: center;
  gap: 48px;
  background: #fff;
  border-radius: 24px;
  padding: 2.25rem 2.75rem;
  margin-bottom: 1.25rem;
}
.feat.flip { flex-direction: row-reverse; }
.feat .shot {
  flex: 0 0 220px;
  background: #eef4f1;
  border-radius: 20px;
  padding: 1.125rem 1.125rem 0;
  overflow: hidden;
  height: 300px;
  padding-bottom: 1.125rem;
}
.feat .shot img { width: auto; height: 100%; max-width: 100%; margin: 0 auto; object-fit: contain; border-radius: 14px; }
.feat .txt { flex: 1; }
.feat .step {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #ddf3ea;
  display: grid;
  place-items: center;
  color: #057056;
  font: 700 1rem var(--font-body);
  margin-bottom: 1rem;
}
.feat h3 { font: 600 1.625rem/1.3 var(--font-display); margin: 0.625rem 0; }
.feat p { color: var(--muted); line-height: 1.55; font-size: 1.0625rem; margin: 0; }

/* Culture food section ----------------------------------------------------- */
.dishes { max-width: 1040px; margin: 3.5rem auto; padding: 0 6vw; }
.dish-sub { text-align: center; color: var(--muted); margin: -0.875rem 0 1.625rem; font-size: 1.0625rem; }
.dish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dish { margin: 0; background: #fff; border-radius: 20px; overflow: hidden; }
.dish img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dish figcaption { padding: 0.875rem 1rem; display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.dish b { font: 600 1rem var(--font-display); color: var(--brand-ink); }
.dish span { color: #057056; font-size: 0.8125rem; white-space: nowrap; }

/* Bottom CTA --------------------------------------------------------------- */
.cta {
  background: var(--brand-dark);
  color: #fff;
  border-radius: 28px;
  max-width: 1040px;
  margin: 0 auto 2.5rem;
  padding: 3rem 6vw;
  text-align: center;
}
.cta h2 { font: 600 2.125rem/1.25 var(--font-display); margin: 0 0 0.625rem; }
.cta > p { color: var(--muted-on-dark); margin: 0 0 1.375rem; }
.cta .signup { max-width: 520px; margin: 0 auto; text-align: left; }

/* Footer --------------------------------------------------------------------- */
.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 6vw 2.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  border-top: 1px solid var(--rule);
}
.site-footer ul { list-style: none; padding: 0; margin: 0 0 0.75rem; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.site-footer li { margin: 0; }
.site-footer a { display: inline-block; min-height: 44px; line-height: 44px; }
.site-footer p { margin: 0; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .signup .row { flex-direction: column; }
  .duo { grid-template-columns: 1fr; }
  .hero-art { order: -1; margin: 0 -6vw; }
  .hero-art img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 78%, transparent 100%);
  }
}
@media (max-width: 700px) {
  .feat, .feat.flip { flex-direction: column; padding: 1.5rem; gap: 1.25rem; }
  .feat .shot { flex: none; width: 200px; height: 260px; }
  .feat-h { font-size: 1.625rem; }
  .cta { margin: 0 1rem 2rem; padding: 2rem 1.375rem; }
  .cta h2 { font-size: 1.625rem; }
  .dish-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .dish figcaption { flex-direction: column; padding: 0.625rem 0.75rem; }
  .dish b { font-size: 0.875rem; }
}

/* Reveal-on-scroll, disabled under reduced motion below --------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.band.in img, .band img { transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.band img { transform: scale(1.08); }
.band.in img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .band img { transform: none; }
}
