/* NextMotion Technology, styles.css
   Variant v3, dark product. Plain CSS, no build step, no external requests.
   Order: 1 tokens, 2 fonts, 3 reset, 4 type, 5 layout, 6 components, 7 header,
   8 to 16 one block per section in page order, 17 footer, 18 motion and print.
   Dark sections carry .is-dark, which flips text colours and the focus ring to lime. */

/* 1. Tokens */
:root {
  --ink: #0B1220;
  --ink-2: #071120;
  --navy: #081120;            /* the navy field of the renders, so the hero photo edge disappears */
  --lime: #D4F21A;
  --lime-soft: #E2F84A;       /* hover state for lime buttons */
  --pale: #F3EFE6;
  --zebra: #F7F5F0;
  --body: #3A4354;
  --muted: #6B7280;
  --muted-pale: #5B6474;      /* muted, darkened to keep 4.5:1 on pale */
  --muted-light: #8E9BB0;
  --rule: #D9DEE8;
  --white: #FFFFFF;
  --on-ink: #C9D0DC;          /* body text on ink */
  --rule-ink: rgba(255, 255, 255, .1);
  --card-ink: rgba(255, 255, 255, .04);
  --error: #B42318;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-h1: clamp(2.25rem, 1rem + 4.4vw, 4.75rem);
  --fs-h2: clamp(1.875rem, 1.1rem + 2.6vw, 3.25rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  --fs-body: 1rem;
  --fs-small: .9375rem;
  --fs-mono: .8125rem;

  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  --section: clamp(64px, 10vw, 128px);
  --gap-row: clamp(32px, 5vw, 48px);   /* vertical gap between grid rows */
  --gutter: 24px;
  --max: 1200px;
  --radius: 24px;
  --radius-s: 14px;
  --header-h: 76px;           /* 16px top offset plus the 60px pill, matched by scroll-margin-top */
  --focus: var(--ink);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Fonts, self hosted */
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

/* 3. Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 var(--fs-body)/1.6 var(--font-body);
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
template { display: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
section[id] { scroll-margin-top: var(--header-h); }

/* 4. Type */
.display, .display-2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .96;
  color: var(--ink);
  text-wrap: balance;
}
.display { font-size: var(--fs-h1); }
.display-2 { font-size: var(--fs-h2); }
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
}
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.prose p + p { margin-top: 1em; }
.hl { color: var(--lime); }
.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--s-3);
  font: 500 var(--fs-mono)/1.4 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 4px; border-radius: 2px; background: var(--lime); }
.tag {
  display: inline-block;
  font: 500 .75rem/1 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Dark sections */
.is-dark { background: var(--ink); color: var(--on-ink); --focus: var(--lime); }
.is-dark .display, .is-dark .display-2, .is-dark h3 { color: var(--white); }
.is-dark .eyebrow { color: var(--lime); }
.is-pale { background: var(--pale); }
.is-pale .lead { color: var(--body); }

/* 5. Layout */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-row) var(--s-3); }
.grid > * { grid-column: 1 / -1; }
.section-head { margin-bottom: clamp(40px, 4.5vw, 48px); align-items: end; }
.section-head .lead { max-width: 52ch; }
.section-head .display-2 { max-width: 18ch; }
@media (min-width: 1024px) {
  .col-4 { grid-column: span 4; }
  .col-5 { grid-column: span 5; }
  .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; }
  .col-8 { grid-column: span 8; }
  .col-4-r { grid-column: 9 / -1; }  /* right aligned four columns */
  .col-5-r { grid-column: 8 / -1; }  /* right aligned five columns */
}

/* 6. Components: buttons, icons, cards */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 700 .9375rem/1.2 var(--font-display);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-soft); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .3); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-sm { min-height: 44px; padding: 10px 16px 10px 20px; font-size: .875rem; }
.btn:disabled { opacity: .7; cursor: default; }

.ico {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.ico-lg { width: 28px; height: 28px; color: var(--white); }

.card {
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--rule);
}
.card p { margin-top: 8px; font-size: var(--fs-small); }
.card-dark { background: var(--card-ink); border-color: var(--rule-ink); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.num { font: 500 var(--fs-mono)/1 var(--font-mono); letter-spacing: .08em; color: var(--lime); }
.rule-title::before { content: ""; display: block; width: 24px; height: 3px; margin-bottom: 12px; border-radius: 2px; background: var(--lime); }

/* Soft lime glow behind the renders on ink */
.glow-frame { position: relative; }
.glow-frame::before {
  content: "";
  position: absolute;
  inset: 10% 4% -8% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 242, 26, .26), rgba(212, 242, 26, 0) 72%);
  filter: blur(28px);
}
.glow-frame img {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .65);
}

/* 7. Header */
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.site-header { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav-pill {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
  min-height: 60px;
  padding: 7px 7px 7px 18px;
  border-radius: 999px;
  background: rgba(11, 18, 32, .78);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 10px 30px rgba(7, 17, 32, .25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--white);
  --focus: var(--lime);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled .nav-pill { background: rgba(11, 18, 32, .92); box-shadow: 0 14px 40px rgba(7, 17, 32, .4); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--white); text-decoration: none; }
.mark { width: 28px; height: 28px; display: block; }
.brand-name { font: 800 1.0625rem/1 var(--font-display); letter-spacing: -.01em; text-transform: uppercase; }
.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .86);
  font: 500 .875rem/1.2 var(--font-body);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav-link:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; }

@media (max-width: 1023.98px) {
  :root { --header-h: 68px; }
  .site-header { top: 12px; }
  .nav-pill { min-height: 56px; padding: 5px 5px 5px 16px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    color: var(--white);
  }
  .nav-toggle[aria-expanded="true"] .ico-menu { display: none; }
  .nav-toggle[aria-expanded="false"] .ico-close { display: none; }
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: var(--radius);
    background: var(--ink);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 20px 50px rgba(7, 17, 32, .5);
  }
  .nav-menu.is-open { display: flex; }
  .nav-link { min-height: 48px; padding: 12px 16px; font-size: 1rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* 8. Hero */
.hero { position: relative; background: var(--navy); color: var(--on-ink); overflow: hidden; }
.hero-inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 48px); padding-bottom: 40px; }
.hero .eyebrow { margin-bottom: var(--s-4); color: var(--lime); }
.hero .display { max-width: 10.4em; color: var(--white); }
.hero .lead { max-width: 52ch; margin-top: var(--s-4); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-5); }
.status-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 60ch;
  margin-top: var(--s-4);
  font: 500 var(--fs-mono)/1.5 var(--font-mono);
  color: var(--muted-light);
}
.status-line::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(212, 242, 26, .18);
}
.hero-media { position: relative; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 100% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
@media (max-width: 1023.98px) {
  /* the photo sits under the copy, cropped to its right half so the machine shows and the headline never sits on it */
  .hero-media { height: min(96vw, 440px); }
  .hero-media::after { background: linear-gradient(180deg, var(--navy) 0%, rgba(8, 17, 32, 0) 14%, rgba(8, 17, 32, 0) 82%, var(--navy) 100%); }
}
@media (min-width: 1024px) {
  .hero { display: flex; align-items: center; min-height: clamp(620px, 90vh, 700px); }
  .hero-inner { padding-top: calc(var(--header-h) + 72px); padding-bottom: 88px; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media::after {
    background:
      linear-gradient(90deg, var(--navy) 0%, rgba(8, 17, 32, .88) 32%, rgba(8, 17, 32, 0) 58%),
      linear-gradient(180deg, rgba(8, 17, 32, 0) 78%, var(--navy) 100%);
  }
}

/* 9. Numbers strip */
.numbers { background: var(--navy); color: var(--on-ink); border-top: 1px solid var(--rule-ink); padding-block: clamp(32px, 3.5vw, 44px); }
.numbers-grid { display: grid; gap: var(--s-4) var(--s-3); }
.number { display: flex; flex-direction: column; gap: 6px; }
.number-value { font: 500 clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem)/1.05 var(--font-mono); letter-spacing: -.02em; color: var(--lime); }
.number-label { color: var(--white); font-size: var(--fs-small); line-height: 1.45; }
.number-source { font: 400 .75rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }
@media (max-width: 559.98px) {
  .numbers-grid { gap: var(--s-3); }
  .number + .number { border-top: 1px solid var(--rule-ink); padding-top: var(--s-3); }
}
@media (min-width: 560px) { .numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .numbers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
  .number + .number { border-left: 1px solid var(--rule-ink); padding-left: var(--s-4); }
}

/* 10. The problem */
.why-copy .display-2 { max-width: 16ch; }
.prose { max-width: 58ch; margin-top: var(--s-4); }
.points { display: grid; gap: var(--s-2); }
.point { padding: 20px 22px 22px; border-radius: var(--radius-s); background: var(--zebra); border: 1px solid var(--rule); }
.point h3 { font-size: 1.0625rem; }
.point h3::before { content: ""; display: block; width: 24px; height: 3px; margin-bottom: 12px; border-radius: 2px; background: var(--lime); }
.point p { margin-top: 6px; font-size: var(--fs-small); }
.why-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 768px) {
  .why-copy { grid-column: span 7; }
  .why-media { grid-column: 8 / -1; align-self: stretch; }
  .why-media img { height: 100%; aspect-ratio: auto; }
  .points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .why-copy { grid-column: span 6; }
  .why-media img { aspect-ratio: 1 / 1; height: auto; }
}

/* 11. The machine */
.machine { position: relative; overflow: hidden; }
.machine::before {
  content: "";
  position: absolute;
  left: -20vw;
  top: 20%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(closest-side, rgba(212, 242, 26, .07), rgba(212, 242, 26, 0) 70%);
  pointer-events: none;
}
.machine .container { position: relative; }
.machine-body { align-items: start; }
.machine .render { max-width: 480px; margin-inline: auto; width: 100%; }
.systems { display: grid; gap: var(--s-2); }
.systems h3 { font-size: 1.125rem; }
@media (min-width: 640px) { .systems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .machine .render { position: sticky; top: calc(var(--header-h) + 24px); max-width: none; margin: 0; }
}

/* 12. How it works */
.how-grid { display: grid; gap: var(--gap-row) var(--s-3); grid-template-areas: "head" "phone" "steps" "aside"; }
.how-head { grid-area: head; }
.how-head .display-2 { max-width: 14ch; }
.how-head .lead { max-width: 50ch; margin-top: var(--s-3); }
.steps { grid-area: steps; display: grid; gap: var(--s-2); }
.aside-card { grid-area: aside; }
.phone { grid-area: phone; }
.step { padding: 24px 24px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--rule); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font: 500 var(--fs-mono)/1 var(--font-mono);
  letter-spacing: .06em;
}
.step h3 { margin-top: 18px; font-size: 1.375rem; }
.step p { margin-top: 8px; font-size: var(--fs-small); }
.aside-card { padding: 28px; border-radius: var(--radius); background: var(--ink); color: var(--on-ink); }
.aside-card h3 { margin-top: 12px; color: var(--white); }
.aside-card p + h3 { margin-top: 12px; }
.aside-card h3 + p { margin-top: 10px; font-size: var(--fs-small); }
.phone { justify-self: center; width: min(100%, 240px); }
.phone-frame {
  position: relative;
  padding: 10px;
  border-radius: 40px;
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 90px -30px rgba(7, 17, 32, .6), 0 0 0 1px rgba(7, 17, 32, .08);
}
.phone-frame img { width: 100%; border-radius: 30px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-areas:
      "head head head head head head head . phone phone phone phone"
      "aside aside aside aside aside aside aside . phone phone phone phone"
      "steps steps steps steps steps steps steps steps steps steps steps steps";
    align-items: start;
  }
  .phone { align-self: center; }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 13. For clubs */
.clubs { position: relative; overflow: hidden; }
.clubs::before {
  content: "";
  position: absolute;
  right: -20vw;
  top: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(closest-side, rgba(212, 242, 26, .07), rgba(212, 242, 26, 0) 70%);
  pointer-events: none;
}
.clubs .container { position: relative; }
.clubs-top { align-items: center; }
.clubs-top .display-2 { max-width: 14ch; }
.clubs-top .lead { max-width: 52ch; margin-top: var(--s-3); }
.clubs-top .btn { margin-top: var(--s-4); }
.clubs .render { max-width: 480px; margin-inline: auto; width: 100%; }
.benefits { display: grid; gap: var(--s-2); margin-top: clamp(40px, 4.5vw, 48px); }
.benefits h3 { font-size: 1.125rem; }
.benefits h3::before { content: ""; display: block; width: 24px; height: 3px; margin-bottom: 12px; border-radius: 2px; background: var(--lime); }
.clubs-bottom { margin-top: var(--s-3); align-items: start; }
.check-list { display: grid; gap: 12px; margin-top: 18px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--white); font-size: var(--fs-small); line-height: 1.5; }
.check-list .ico { width: 22px; height: 22px; color: var(--lime); }
.audiences { display: grid; gap: var(--s-2); }
.audience { padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--rule-ink); }
.audience p { font-size: var(--fs-small); }
.audience .btn { margin-top: 18px; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) {
  .clubs-top > .col-6 { grid-column: span 6; }
  .clubs .render { grid-column: 7 / -1; max-width: none; margin: 0; }
  .clubs-bottom .hosting { grid-column: span 7; }
  .clubs-bottom .audiences { grid-column: span 5; }
}
@media (min-width: 1024px) {
  .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .clubs .render { grid-column: 8 / -1; max-width: 440px; justify-self: end; }
}

/* 14. The platform */
.tiles { display: grid; gap: var(--s-2); }
.tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--rule);
}
.tile h3 { margin-top: 6px; font-size: 1.5rem; }
.tile p { margin-top: auto; padding-top: 8px; font-size: var(--fs-small); }
.tile-now { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.tile-now h3 { color: var(--white); font-size: 2.25rem; }
.status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  font: 500 .75rem/1 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.status-now { background: var(--lime); color: var(--ink); }
.status-next { background: var(--white); color: var(--ink); border: 1px solid var(--ink); }
.status-planned { background: var(--zebra); color: var(--muted-pale); border: 1px solid var(--rule); }
@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-now { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile { grid-column: span 1; min-height: 190px; }
  .tile-now { grid-column: span 2; }
}

/* 15. The people */
.team { display: grid; gap: var(--s-2); }
.person { padding: 24px; }
.monogram {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--pale);
  font: 800 1.375rem/1 var(--font-display);
  letter-spacing: -.02em;
}
.monogram::after { content: ""; position: absolute; right: 8px; bottom: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); }
.person h3 { margin-top: 20px; }
.person .role { margin-top: 4px; font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-pale); }
.person .bio { margin-top: 14px; }
.origin { margin-top: var(--s-3); padding: 32px; align-items: start; }
.origin h3 { font-size: 1.375rem; }
.origin h3::before { content: ""; display: block; width: 24px; height: 3px; margin-bottom: 12px; border-radius: 2px; background: var(--lime); }
.origin p { margin-top: 0; font-size: var(--fs-lead); line-height: 1.6; }
@media (min-width: 768px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .origin { padding: 32px 40px; } }

/* 16. Contact */
.contact { position: relative; overflow: hidden; background: var(--ink-2); }
.contact-bg { position: absolute; inset: 0; }
.contact-bg picture, .contact-bg img { width: 100%; height: 100%; }
.contact-bg img { object-fit: cover; object-position: 60% 50%; }
.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 32, .6) 0%, rgba(7, 17, 32, .3) 45%, rgba(7, 17, 32, .75) 100%);
}
.contact-grid { position: relative; display: grid; gap: var(--gap-row) var(--s-3); grid-template-areas: "head" "form" "cards"; }
.contact-head { grid-area: head; }
.contact-head .display-2 { max-width: 14ch; }
.contact-head .lead { max-width: 46ch; margin-top: var(--s-3); }
.form-card { grid-area: form; }
.contact-cards { grid-area: cards; display: grid; gap: 12px; }
.form-card {
  padding: clamp(24px, 3.4vw, 36px);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--body);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7);
  --focus: var(--ink);
}
.form-fields { display: grid; gap: 14px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: var(--fs-small); color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted-light); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { min-height: 124px; resize: vertical; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field-error { font-size: .8125rem; font-weight: 500; color: var(--error); }
.field-error[hidden] { display: none; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.75px solid var(--ink);
  border-bottom: 1.75px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field-check { grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; padding: 0; accent-color: var(--ink); }
.field-check label { font-weight: 400; color: var(--body); line-height: 1.5; }
.field-check .field-error { grid-column: 1 / -1; }
.field-check a { color: var(--ink); font-weight: 600; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.response-line { font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form-status { display: none; padding: 22px 24px; border-radius: 16px; margin-bottom: 20px; }
.form-status:focus { outline: none; }
.form-status.is-success { display: block; background: var(--ink); color: var(--on-ink); }
.form-status.is-error { display: block; background: #FDECEA; color: #7A1C12; border: 1px solid #F2B8B0; }
.form-status p + p { margin-top: 6px; }
.status-title { font: 700 1.25rem/1.2 var(--font-display); color: var(--white); }
.form.is-sent .form-fields { display: none; }
.form.is-sent .form-status { margin-bottom: 0; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(7, 17, 32, .66);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.contact-card .ico { color: var(--lime); margin-top: 2px; }
.contact-card h3 { font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.contact-card a, .contact-card p { display: inline-block; margin-top: 4px; color: var(--white); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; }
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "form head" "form cards";
    gap: var(--s-4) var(--s-6);
    align-content: start;
  }
  .contact-head { padding-top: 8px; }
  .contact-cards { align-self: end; }
}

/* 17. Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 5.5vw, 64px);
  background: var(--ink-2);
  color: var(--on-ink);
  border-top: 1px solid var(--rule-ink);
}
.footer-grid { display: grid; gap: var(--s-5) var(--s-3); }
.footer-tagline { max-width: 34ch; margin-top: 18px; font-size: var(--fs-small); }
.footer-nav ul { display: grid; gap: 2px; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--white);
  font-size: var(--fs-small);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--lime); }
.footer-legal { display: grid; gap: 12px; align-content: start; font-size: .8125rem; line-height: 1.55; color: var(--muted-light); }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; color: var(--on-ink); }
.footer-meta a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); text-decoration: none; }
.footer-meta a:hover { color: var(--lime); }
@media (max-width: 559.98px) { .footer-meta > span { flex-basis: 100%; } }
.watermark {
  margin: var(--s-3) 0 -0.14em;
  font: 800 clamp(4rem, 12.2vw, 11.5rem)/.78 var(--font-display);
  letter-spacing: -.04em;
  text-align: center;
  white-space: nowrap;
  color: rgba(255, 255, 255, .035);
  user-select: none;
  pointer-events: none;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr .7fr 1.4fr; } }

/* 18. Motion and print */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .skip-link, .watermark, .hero-media, .contact-bg { display: none; }
  .is-dark, .hero, .numbers { background: var(--white); color: var(--body); }
}

/* ---- Secondary pages (appended by _build/make_pages.py) ---- */
.page { padding: calc(var(--header-h) + var(--s-6)) 0 var(--section); background: var(--white); color: var(--body); }
.page .container { max-width: 760px; }
.page .eyebrow { margin-bottom: var(--s-3); }
.page h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); margin: 0 0 var(--s-4); }
.page h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; color: var(--ink); margin: var(--s-6) 0 var(--s-2); }
.page p, .page li { font-size: var(--fs-body); line-height: 1.65; }
.page p + p { margin-top: var(--s-2); }
.page ul { padding-left: 1.2em; margin: var(--s-2) 0; }
.page li + li { margin-top: var(--s-1); }
.page .lead { font-size: var(--fs-lead); color: var(--ink); }
.page .page-meta { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 var(--s-3); }
.page .btn { margin-top: var(--s-5); }
.page a:not(.btn) { color: var(--ink); text-decoration: underline; text-underline-offset: .15em; }
.page a:not(.btn):hover { color: var(--body); }
.page-centre { min-height: 70vh; display: flex; align-items: center; }
.page-centre .lead { max-width: 52ch; }
