/* =========================================================
   Edo Daves — site stylesheet
   ========================================================= */

:root {
  --bg: #0a0a09;
  --bg-mid: #0f0e0c;
  --bg-glow: #1a1815;
  --text: #ece6db;
  --muted: #b4ada1;
  --muted-strong: #cfc8bc;
  --line: #24211d;
  --line-soft: rgba(236, 230, 219, 0.09);
  --surface: rgba(22, 20, 17, 0.72);
  --ink: #0a0a09;
  --error: #ff6d39;
  --grad: linear-gradient(180deg, #ece6db 0%, #ece6db 100%);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --gold: #c9a96a;

  /* Side margin grows with the screen (about 6% of the width), and past
     1360px of content only the empty space on the sides keeps growing. */
  --content-max: 1360px;
  --gutter: max(clamp(2rem, 6vw, 7rem), calc((100vw - var(--content-max)) / 2));
  --name-gutter: clamp(1.4rem, 2.6vw, 3rem);
  --header-h: 4.5rem;
  --radius: 16px;
  --radius-sm: 9px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Fonts (self-hosted) ----------
   Newsreader: headlines, names, numbers (italic for the key word).
   Manrope: everything else. Same pairing as zenithmembers.com. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Base ---------- */

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: -0.005em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* The soft radial glow behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 45%, var(--bg-glow) 0%, var(--bg-mid) 50%, var(--bg) 100%);
  pointer-events: none;
}

body.is-locked { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p { margin: 0; }

ul { list-style: none; margin: 0; padding: 0; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 1px solid rgba(236, 230, 219, 0.7); outline-offset: 4px; border-radius: 4px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.dot { opacity: 0.9; }

h2 {
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.08em;
}

.lead {
  font-size: 1.45rem;
  line-height: 1.32;
  letter-spacing: -0.03em;
  color: var(--muted);
}

/* ---------- Icons ---------- */

.socials {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.socials a {
  display: block;
  padding: 0.25rem;
  margin: -0.25rem;
}

.socials svg,
.video-card__meta svg,
.pill svg,
.to-top svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: url(#g-icon);
  --stroke: url(#g-icon);
  transition: fill 0.3s, opacity 0.3s;
}

.socials a:hover svg,
.socials a:focus-visible svg {
  fill: var(--text);
  --stroke: var(--text);
}

/* ---------- Preloader ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: radial-gradient(circle, var(--bg-glow) 0%, var(--bg-mid) 50%, var(--bg) 100%);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.preloader__name {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.preloader__meter {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted-strong);
}

.preloader__count { min-width: 1.6em; text-align: right; }

.preloader__bar {
  position: relative;
  width: 6.5rem;
  height: 1px;
  background: rgba(236, 230, 219, 0.2);
  overflow: hidden;
}

.preloader__bar span {
  position: absolute;
  inset: 0;
  background: var(--text);
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
}

body.is-ready .preloader {
  opacity: 0;
  visibility: hidden;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.4s, backdrop-filter 0.4s, opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

body.is-loading .site-header { opacity: 0; transform: translateY(-0.5rem); }

.site-header.is-scrolled {
  background: rgba(10, 10, 9, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.logo {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2.2rem;
  font-size: 0.78rem;
}

.nav a {
  color: var(--muted);
  transition: color 0.3s;
}

.nav a:hover,
.nav a.is-active { color: var(--text); }

.menu-toggle {
  display: none;
  width: 2rem;
  height: 2rem;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 0.3rem; right: 0.3rem;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.menu-toggle span:nth-child(1) { top: 0.62rem; }
.menu-toggle span:nth-child(2) { top: 0.95rem; }
.menu-toggle span:nth-child(3) { top: 1.28rem; }

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.33rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.33rem) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  padding: 0 var(--gutter);
  background: rgba(10, 10, 9, 0.96);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.mobile-menu.is-open { opacity: 1; }

/* ---------- Intro: sticky stage + hero + about ---------- */

.intro { position: relative; }

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  z-index: 0;
}

.stage__inner {
  position: relative;
  height: 100%;
}

.stage__name {
  position: absolute;
  /* Same left and right edges as the content above it (logo, mission, video card) */
  left: var(--gutter);
  bottom: 0.14em;
  z-index: 1;
  margin: 0;
  font-size: 16vw;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.075em;
  white-space: nowrap;
  opacity: var(--name-opacity, 1);
  transform: translateX(var(--name-shift, 0px));
}

body.is-ready .stage__name { animation: name-in 1.4s var(--ease) 0.2s backwards; }

@keyframes name-in {
  from { opacity: 0; }
}

.stage__name span {
  display: inline-block;
  padding: 0 0.08em 0.12em 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: transform 1.6s var(--ease) 0.2s;
}

body.is-loading .stage__name { opacity: 0; }
body.is-loading .stage__name span { transform: translateY(30%); }

.stage__portrait {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: min(74vw, 1250px);
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  object-position: bottom center;
  transform: translateX(calc(-50% + var(--shift, 0px)));
  transition: opacity 1.2s var(--ease) 0.5s;
  will-change: transform;
}

body.is-loading .stage__portrait { opacity: 0; }

.stage__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  height: 6vh;
  background: linear-gradient(180deg, rgba(10, 10, 9, 0) 0%, rgba(10, 10, 9, 0.45) 100%);
  pointer-events: none;
}

.intro__content {
  position: relative;
  z-index: 2;
  margin-top: -100vh;
  margin-top: -100svh;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 25rem) 1fr minmax(0, 19rem);
  align-items: start;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 0;
}

.hero__mission { grid-column: 1; }
.hero__mission .lead { margin-bottom: 2.2rem; }
.hero__card { grid-column: 3; }

.about {
  display: grid;
  grid-template-columns: 1fr minmax(0, 29rem);
  padding: 22vh var(--gutter) 38vh;
}

.about__text { grid-column: 2; }

.about__intro {
  font-size: 1.3rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
}

.about__text p:not(.about__intro):not(.footnote) {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.footnote {
  font-size: 0.68rem;
  line-height: 1.5;
  color: rgba(236, 230, 219, 0.42);
  margin: 1.8rem 0 2rem;
}

/* ---------- Video cards ---------- */

.video-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: border-color 0.35s, transform 0.35s var(--ease);
}

.video-card:hover {
  border-color: rgba(236, 230, 219, 0.18);
  transform: translateY(-3px);
}

.video-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0b0b0b;
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.video-card:hover .video-card__thumb img { transform: scale(1.04); }

.play {
  position: absolute;
  top: 50%; left: 50%;
  width: 2.5rem; height: 2.5rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(236, 230, 219, 0.85);
  background: rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.play::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.4rem 0 0.4rem 0.65rem;
  border-color: transparent transparent transparent var(--text);
}

.video-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0 0.25rem 0.15rem;
}

.video-card__title {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
}

.video-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.66rem;
  color: var(--muted);
}

.video-card__meta svg { width: 0.95rem; height: 0.95rem; }

.video-card--small {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  max-width: 24rem;
}

.video-card--small .video-card__body { flex: 1; padding-left: 0.5rem; }
.video-card--small .video-card__thumb { width: 7.6rem; flex-shrink: 0; }
.video-card--small .play { width: 1.9rem; height: 1.9rem; }
.video-card--small .play::after { border-width: 0.3rem 0 0.3rem 0.5rem; }

/* ---------- Building in public ---------- */

.journey {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 5rem;
  align-items: center;
  padding: 11rem var(--gutter);
  min-height: 100vh;
}

.journey__text p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 30rem;
}

.episode { margin-top: 3rem; }

.tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.58rem;
  letter-spacing: 0;
  color: var(--muted-strong);
  border: 1px solid rgba(236, 230, 219, 0.18);
  border-radius: 6px;
}

.reel {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 86vh;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b0b0b;
  border: 1px solid var(--line);
}

.reel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.reel:hover video { transform: scale(1.03); }

.pill {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0.85rem 1.2rem 0.85rem 1.4rem;
  font-size: 0.78rem;
  border-radius: 2rem;
  background: rgba(19, 20, 23, 0.7);
  border: 1px solid rgba(236, 230, 219, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background 0.3s;
}

.pill svg { fill: var(--text); width: 1.1rem; height: 1.1rem; }
.reel:hover .pill { background: rgba(19, 20, 23, 0.9); }

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 5fr);
  align-items: center;
  padding: 9rem var(--gutter) 11rem;
}

.contact__text { grid-column: 1; }
.form { grid-column: 3; }

.contact .lead { font-size: 1.3rem; }

.field { display: block; }

.field input,
.field textarea {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 1.25em 1.4rem;
  font: inherit;
  font-size: 0.83rem;
  letter-spacing: -0.01em;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(236, 230, 219, 0.4);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea { resize: vertical; min-height: 9rem; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(236, 230, 219, 0.55); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--text);
  background: rgba(236, 230, 219, 0.03);
}

.field .is-invalid,
.consent.is-invalid .consent__box { border-color: var(--error); }

.form__footer {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 0.6rem;
}

.consent {
  position: relative;
  display: flex;
  gap: 0.8rem;
  flex: 1;
  font-size: 0.6rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.consent input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.consent__box {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  border: 1px solid rgba(236, 230, 219, 0.55);
  position: relative;
  transition: border-color 0.3s;
}

.consent__box::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--text);
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}

.consent input:checked + .consent__box::after { transform: scale(1); }
.consent input:focus-visible + .consent__box { outline: 1px solid var(--text); outline-offset: 3px; }

.button {
  display: inline-block;
  flex-shrink: 0;
  padding: 1rem 1.7rem;
  font-size: 0.83rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  background: var(--text);
  border-radius: 2rem;
  transition: background 0.3s, transform 0.3s var(--ease);
}

.button:hover { background: #ffffff; transform: translateY(-1px); }

.form__status {
  min-height: 1.2em;
  margin-top: 1rem;
  font-size: 0.72rem;
  color: var(--muted-strong);
}

.form__status.is-error { color: var(--error); }

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem var(--gutter);
  border-top: 1px solid var(--line-soft);
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.site-footer__links a:hover { color: var(--text); }

.to-top svg { width: 1rem; height: 1rem; }
.to-top:hover svg { fill: var(--text); }

/* ---------- Modals ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

body.has-modal .backdrop { opacity: 1; pointer-events: auto; }

.modal {
  position: fixed;
  z-index: 80;
  opacity: 0;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}

.modal.is-open { opacity: 1; }

.modal__close {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  width: 1.7rem;
  height: 1.7rem;
  z-index: 2;
}

.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1.5px;
  background: var(--text);
  transform: rotate(45deg);
}

.modal__close::after { transform: rotate(-45deg); }

.modal--venture {
  top: 50%;
  left: 50%;
  width: min(44rem, 92vw);
  padding: 3.4rem 3rem 3rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transform: translate(-50%, -42%);
}

.modal--venture.is-open { transform: translate(-50%, -50%); }

.modal--venture h3 {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.03em;
  max-width: 30rem;
  margin: 0 auto 1rem;
}

.modal--venture p {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 28rem;
  margin: 0 auto 2rem;
}

.modal--sheet {
  inset: 0;
  overflow-y: auto;
  background: radial-gradient(circle, var(--bg-glow) 0%, var(--bg-mid) 50%, var(--bg) 100%);
  transform: translateY(2rem);
}

.modal--sheet.is-open { transform: none; }

.sheet {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 3rem;
  padding: 7rem var(--gutter) 4rem;
}

.sheet h3 {
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.sheet__body { font-size: 0.9rem; color: var(--muted); }

/* ---------- Scroll reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Calls to action ---------- */

.hero__cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.2rem;
}

.link-arrow {
  font-size: 0.83rem;
  color: var(--muted-strong);
  transition: color 0.3s;
}

.link-arrow::after {
  content: "→";
  display: inline-block;
  margin-left: 0.45em;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover { color: var(--text); }
.link-arrow:hover::after { transform: translateX(3px); }

.button--ghost {
  color: var(--text);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(236, 230, 219, 0.4);
}

.button--ghost:hover { background: rgba(236, 230, 219, 0.08); }

.mobile-menu .button {
  align-self: flex-start;
  margin-top: 1rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Shared section head ---------- */

.section-head {
  max-width: 38rem;
  margin-bottom: 3.6rem;
}

.section-head h2 { margin-bottom: 0.8rem; }
.section-head .lead { font-size: 1.15rem; }

/* ---------- Numbers ---------- */

.stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 6.5rem var(--gutter);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10, 10, 9, 0.35);
}

.stat { display: flex; flex-direction: column; gap: 0.6rem; }

.stat__value {
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  padding-bottom: 0.05em;
}

.stat__label {
  max-width: 15rem;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- Work with me ---------- */

.work { padding: 11rem var(--gutter) 5rem; }

.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 1.8rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: border-color 0.35s, transform 0.35s var(--ease);
}

.offer:hover { border-color: rgba(236, 230, 219, 0.18); transform: translateY(-3px); }

.offer .tag { margin-bottom: 0.4rem; }

.offer h3 {
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.offer p {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

/* ---------- Testimonials ---------- */

.results { padding: 9rem var(--gutter) 5rem; }

.stories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.story { margin: 0; }

.story__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}

.story__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__media .play {
  width: 3.2rem;
  height: 3.2rem;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.story__media:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.story.is-playing .play { opacity: 0; pointer-events: none; }

.story figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 0.2rem 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.story figcaption strong {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

/* ---------- Gallery ---------- */

.gallery { padding: 8rem 0 5rem; }
.gallery .section-head { padding: 0 var(--gutter); }

.gallery__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 var(--gutter) 1rem;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: rgba(236, 230, 219, 0.2) transparent;
}

.gallery__track img {
  flex: 0 0 auto;
  width: clamp(16rem, 30vw, 26rem);
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

/* ---------- Form select ---------- */

.field select {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 1.25em 3rem 1.25em 1.4rem;
  font: inherit;
  font-size: 0.83rem;
  color: var(--text);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 1.4rem center;
  border: 1px solid rgba(236, 230, 219, 0.4);
  border-radius: var(--radius-sm);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.field select:focus { outline: none; border-color: var(--text); }
.field select option { color: #111; }
.field select.is-empty { color: rgba(236, 230, 219, 0.55); }

/* ---------- Long text (privacy policy) ---------- */

.prose h4 {
  margin: 2rem 0 0.6rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}

.prose p { margin-bottom: 0.9rem; line-height: 1.65; }
.prose a, .sheet__body a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.sheet__body p + p { margin-top: 0.8rem; }

/* ---------- Large screens ---------- */

@media (min-width: 1700px) {
  html { font-size: 21px; }
}

/* ---------- Tablet & phone ---------- */

@media (max-width: 991px) {
  :root {
    --gutter: 1.25rem;
    --name-gutter: 1.25rem;
    --header-h: 4rem;
  }

  html { font-size: 16px; }

  .nav { display: none; }
  .menu-toggle { display: block; }

  h2 { font-size: 2.1rem; }
  .lead { font-size: 1.25rem; }

  /* Phone intro: a big close-up portrait stays pinned behind the page,
     the mission sits on top, the video card rests on the portrait,
     then the bio scrolls over it while it dims. */
  .stage__inner { height: 100%; }

  .stage__name { display: none; }

  .stage__portrait {
    width: 205vw;
    max-width: none;
    max-height: none;
    transform: translateX(-56%);
  }

  /* Darkens the pinned portrait as the bio comes in (driven by JS) */
  .stage__fade {
    top: 0;
    height: 100%;
    background: var(--bg);
    opacity: var(--dim, 0);
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.6rem) var(--gutter)
             calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  /* Compact, horizontal video card resting on the portrait */
  .hero__card {
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem 0.7rem 0.7rem 1rem;
  }
  .hero__card .video-card__body { flex: 1; padding: 0; gap: 0.6rem; }
  .hero__card .video-card__title { font-size: 0.95rem; }
  .hero__card .video-card__meta svg { display: none; }
  .hero__card .video-card__thumb { order: 2; width: 42%; flex-shrink: 0; }

  .about {
    display: block;
    padding: 30vh var(--gutter) 6rem;
  }
  .about__intro { font-size: 1.45rem; }
  .about__text p:not(.about__intro):not(.footnote) {
    font-size: 1.06rem;
    line-height: 1.55;
    color: rgba(236, 230, 219, 0.7);
  }

  .journey,
  .contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    padding: 4rem var(--gutter);
    min-height: 0;
  }

  .contact__text,
  .form { grid-column: 1; }

  .reel { aspect-ratio: 4 / 5; max-height: none; }

  .form__footer { flex-direction: column; align-items: flex-start; gap: 1.4rem; }

  .site-footer { flex-direction: column; gap: 1.6rem; }

  .sheet { grid-template-columns: minmax(0, 1fr); padding-top: 5.5rem; gap: 1.5rem; }

  /* --- Phone polish --- */

  /* iPhone notch / home bar */
  .site-header {
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  }
  .mobile-menu { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .site-footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }

  /* Fingers need ~44px targets; the icons stay the same size */
  .socials { gap: 1.6rem; }
  .socials a { padding: 0.7rem; margin: -0.7rem; }
  .site-footer__links a { padding: 0.75rem 0.25rem; }

  /* 16px+ stops iOS Safari zooming into the field on focus */
  .field input,
  .field textarea { font-size: 16px; }

  /* Small print stays readable */
  .consent { font-size: 0.78rem; }
  .consent__box { width: 1.25rem; height: 1.25rem; margin-top: 0; }
  .footnote { font-size: 0.8rem; }
  .video-card__meta,
  .form__status { font-size: 0.8rem; }
  .tag { font-size: 0.72rem; }
  .button { padding: 1.05rem 2rem; font-size: 1rem; }

  /* Venture pop-up becomes a bottom sheet */
  .modal--venture {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.6rem 1.4rem calc(1.8rem + env(safe-area-inset-bottom, 0px));
    border-radius: var(--radius) var(--radius) 0 0;
    border-bottom: 0;
    transform: translateY(100%);
  }
  .modal--venture.is-open { transform: translateY(0); }
  .modal--venture h3 { font-size: 1.25rem; padding: 0 1.5rem; }
  .modal--venture p { font-size: 0.95rem; margin-bottom: 1.6rem; }
  .modal__close { top: 1rem; right: 1rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- New sections on tablet & phone ---------- */

@media (max-width: 991px) {
  .hero__cta { gap: 1.3rem; margin-top: 1.8rem; }

  .stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
    padding: 3.5rem var(--gutter);
  }
  .stat__value { font-size: 3.4rem; }
  .stat__label { font-size: 0.95rem; max-width: none; }

  .work,
  .results { padding: 4.5rem var(--gutter) 2rem; }

  .section-head { margin-bottom: 2rem; }

  .offers { grid-template-columns: minmax(0, 1fr); }
  .offer { padding: 1.7rem 1.4rem 1.5rem; }
  .offer p { font-size: 1rem; }

  /* Stories become a sideways swipe, like Reels */
  .stories {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 0.5rem;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .stories::-webkit-scrollbar { display: none; }
  .story { flex: 0 0 68vw; scroll-snap-align: start; }
  .story figcaption { font-size: 0.9rem; }

  .gallery { padding: 3.5rem 0 2rem; }
  .gallery__track img { width: 78vw; }

  .field select { font-size: 16px; }
}

/* ---------- Client results carousel ---------- */

.carousel { margin-top: 5rem; }

.carousel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.carousel__title {
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.carousel__track {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 0.4rem;
  scroll-behavior: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; user-select: none; }
.carousel__track.is-dragging a { pointer-events: none; }

.result {
  flex: 0 0 auto;
  width: clamp(13rem, 18vw, 16.5rem);
  display: flex;
  flex-direction: column;
}

.result__img {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0b0b0b;
  margin-bottom: 1rem;
}

.result__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  transition: transform 0.7s var(--ease), filter 0.5s;
}

.result:hover .result__img img { transform: scale(1.04); }

.result__kicker {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 230, 219, 0.45);
  margin-bottom: 0.55rem;
}

.result__name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.story figcaption strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.result__line {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.carousel__nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.carousel__btn {
  position: relative;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(236, 230, 219, 0.22);
  transition: border-color 0.3s, background 0.3s;
}

.carousel__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 1.5px solid var(--text);
  border-right: 1.5px solid var(--text);
  transform: translate(-65%, -50%) rotate(45deg);
}

.carousel__btn[data-dir="-1"]::after { transform: translate(-35%, -50%) rotate(-135deg); }
.carousel__btn:hover { border-color: rgba(236, 230, 219, 0.6); background: rgba(236, 230, 219, 0.05); }

@media (max-width: 991px) {
  .carousel { margin-top: 3.5rem; }
  .carousel__track { gap: 0.9rem; }
  .result { width: 62vw; }
  .result__kicker { font-size: 0.68rem; }
  .result__name { font-size: 1.35rem; }
  .result__line { font-size: 0.92rem; }
  .carousel__nav { display: none; }
}


/* =========================================================
   Zenith family style
   Serif headlines with an italic key word, light Manrope body,
   warm cream on warm black. Shared with zenithmembers.com.
   ========================================================= */

/* No more grey gradients: solid warm cream */
.gradient,
.stage__name span {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text);
}

/* Serif voice */
h2,
.sheet h3,
.offer h3,
.carousel__title,
.stat__value,
.stage__name,
.logo,
.preloader__name,
.modal--venture h3,
.about__intro {
  font-family: var(--serif);
  font-weight: 400;
}

h2 {
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h2 em,
h3 em,
.stage__name em,
.about__intro em,
.lead em {
  font-style: italic;
  font-weight: 300;
}

.logo,
.preloader__name {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.lead {
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--muted);
}

.hero__mission .lead {
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
}

.about__intro {
  font-size: 1.6rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

/* Giant name: serif, with the surname in italic */
.stage__name {
  font-weight: 400;
  letter-spacing: -0.035em;
}

.stage__name span { padding-right: 0; }

/* Numbers */
.stat__value {
  font-size: 4.6rem;
  letter-spacing: -0.03em;
}

.offer h3 {
  font-size: 1.9rem;
  letter-spacing: -0.02em;
}

.carousel__title {
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.modal--venture h3 {
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.sheet h3 { font-size: 3rem; }

/* Small caps labels, Zenith-style */
.tag,
.result__kicker {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tag {
  font-size: 0.55rem;
  border-color: rgba(236, 230, 219, 0.18);
  color: var(--muted);
}

/* Buttons: cream pill, tighter, medium weight */
.button {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0;
  background: var(--text);
  color: var(--ink);
}

.button--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(236, 230, 219, 0.35);
}

.button--ghost:hover { background: rgba(236, 230, 219, 0.07); }

/* Nav and small text in Manrope regular for crispness */
.nav,
.video-card__title,
.story figcaption,
.stat__label,
.result__line,
.site-footer__links,
.form__status { font-weight: 400; }

.nav a:hover,
.nav a.is-active { color: var(--text); }

/* Phone sizes */
@media (max-width: 991px) {
  h2 { font-size: 2.35rem; }
  .hero__mission .lead { font-size: 1.5rem; }
  .about__intro { font-size: 1.6rem; }
  .stat__value { font-size: 3.8rem; }
  .offer h3 { font-size: 1.75rem; }
  .carousel__title { font-size: 1.7rem; }
  .logo { font-size: 1.35rem; }
  .tag { font-size: 0.66rem; }
  .mobile-menu { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; font-size: 2.3rem; }
  .mobile-menu .button { font-size: 1rem; }
}

@media (min-width: 992px) {
  .hero { grid-template-columns: minmax(0, 29rem) 1fr minmax(0, 19rem); }
}
