/* RAW US · colors from the brand pack (ColorCards) */
:root {
  --wet-soil: #451c12;
  --terracotta: #7c4d35;
  --stone: #d3d0c9;
  --dried-fig: #5a4d40;
  --ochre: #a97537;
  --yellow-ochre: #d3af80;
  --mushroom: #847363;
  --mineral: #ece7e1;
  --deep-ground: #4e4237;
  --mud: #643924;
  --black: #000000;

  --bg: #1b1410;            /* night version of Wet Soil, for the 3D field */
  --ink: #ece7e1;           /* Mineral */
  --ink-soft: rgba(236, 231, 225, .62);
  --line: rgba(236, 231, 225, .16);

  --font: "Figtree", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ochre); color: var(--bg); }

#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }

main, .footer { position: relative; z-index: 2; }
section { position: relative; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--gutter);
  mix-blend-mode: difference;
}
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; gap: clamp(14px, 3vw, 36px); align-items: center; font-size: 14px; letter-spacing: .04em; }
.nav__links a { text-decoration: none; opacity: .85; transition: opacity .3s; }
.nav__links a:hover { opacity: 1; }
.nav__cta { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
@media (max-width: 560px) { .nav__links a:not(.nav__cta) { display: none; } }

/* ---------- type ---------- */
.eyebrow { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 28px; }
.section-title { font-size: clamp(34px, 5.4vw, 76px); line-height: 1.02; font-weight: 600; letter-spacing: -.02em; max-width: 14ch; margin-bottom: clamp(40px, 6vw, 80px); }
h3 { font-weight: 600; font-size: 22px; letter-spacing: -.01em; margin-bottom: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border: 1px solid var(--ink); border-radius: 999px;
  font: 500 15px var(--font); letter-spacing: .03em; color: var(--ink);
  text-decoration: none; background: transparent; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--yellow-ochre); border-color: var(--yellow-ochre); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(48px, 9vh, 110px);
}
.hero__title { font-weight: 600; font-size: clamp(40px, 7.6vw, 118px); line-height: .98; letter-spacing: -.03em; margin-bottom: 36px; max-width: 12ch; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line span { display: inline-block; transform: translateY(105%); }
.hero__title .line:nth-child(2) { color: var(--yellow-ochre); }
.hero .btn { align-self: flex-start; }
.scroll-hint { position: absolute; right: var(--gutter); bottom: clamp(48px, 9vh, 110px); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.scroll-hint span { width: 1px; height: 54px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
@media (max-width: 560px) { .scroll-hint { display: none; } }

/* ---------- manifesto ---------- */
.manifesto { padding: 28vh var(--gutter) 34vh; display: flex; flex-direction: column; gap: 26vh; }
.manifesto__text { font-size: clamp(26px, 3.6vw, 52px); line-height: 1.15; font-weight: 400; letter-spacing: -.015em; max-width: 22ch; }
.manifesto__text:nth-child(2) { align-self: flex-end; text-align: right; }
.manifesto__big { font-size: clamp(56px, 12vw, 200px); line-height: .9; font-weight: 800; letter-spacing: -.04em; }
.split .w { display: inline-block; opacity: .12; transition: none; }

/* ---------- light sections ---------- */
.light { background: var(--mineral); color: #241913; overflow: hidden; }
.light .eyebrow { color: var(--mushroom); }
.light .btn { border-color: #241913; color: #241913; }
.deco { position: absolute; pointer-events: none; z-index: 0; }
.light .wrap { position: relative; z-index: 1; }

.values { padding: clamp(100px, 16vh, 180px) 0; }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); border-top: 1px solid rgba(36,25,19,.18); padding-top: 40px; }
.values__grid p { color: #5a4d40; font-size: 17px; }
.deco--stone { right: -4vw; top: -6vh; width: clamp(180px, 26vw, 420px); opacity: .1; }
@media (max-width: 820px) { .values__grid { grid-template-columns: 1fr; } }

/* ---------- method ---------- */
.method { padding: clamp(120px, 22vh, 240px) 0; min-height: 160vh; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.step { padding: 32px 28px 36px; border: 1px solid var(--line); border-radius: 22px; background: rgba(27,20,16,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.step__n { display: block; font-size: 13px; letter-spacing: .2em; color: var(--yellow-ochre); margin-bottom: 64px; }
.step p { color: var(--ink-soft); }
.proof { margin-top: clamp(48px, 7vw, 90px); font-size: clamp(20px, 2.2vw, 30px); max-width: 26ch; border-left: 2px solid var(--ochre); padding-left: 22px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step__n { margin-bottom: 28px; } }

/* ---------- club ---------- */
.club { min-height: 150vh; padding: clamp(120px, 22vh, 240px) 0; overflow: hidden; }
.club__inner { position: relative; z-index: 1; }
.club__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.club__cols p { color: var(--ink-soft); font-size: 18px; max-width: 34ch; }
.club__cols .big-line { color: var(--ink); font-size: clamp(28px, 3.4vw, 48px); line-height: 1.1; font-weight: 300; font-style: italic; }
.deco--tree { right: -6vw; bottom: -10vh; height: 110vh; width: auto; filter: invert(1); opacity: .035; }
@media (max-width: 820px) { .club__cols { grid-template-columns: 1fr; } }

/* ---------- cities ---------- */
.cities { padding: clamp(110px, 18vh, 200px) 0; }
.cities__lead { font-size: 20px; color: #5a4d40; margin: -30px 0 48px; max-width: 34ch; }
.cities__list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: clamp(36px, 6vw, 92px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.cities__list li:not(:last-child)::after { content: "·"; margin-left: 40px; color: var(--ochre); font-weight: 300; }
.deco--cut { left: -8vw; bottom: -14vh; width: clamp(220px, 30vw, 480px); opacity: .1; }

/* ---------- waitlist ---------- */
.list { min-height: 120vh; padding: clamp(120px, 20vh, 220px) 0 140px; }
.list__inner { max-width: 640px; margin-left: auto; margin-right: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); padding: 0; }
@media (max-width: 900px) { .list__inner { margin: 0 auto; padding: 0 var(--gutter); } }
.list .section-title { margin-bottom: 40px; }
.form { display: grid; gap: 22px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 26px; background: rgba(27,20,16,.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.field { display: grid; gap: 8px; border: 0; }
.field > span, .field legend { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.field input[type=email], .field input[type=text], .field select {
  width: 100%; font: 400 18px var(--font); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0 12px; border-radius: 0; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .3s;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: #241913; }
.field input:focus, .field select:focus { border-color: var(--yellow-ochre); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; transition: all .3s var(--ease); }
.chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--yellow-ochre); outline-offset: 2px; }
.form .btn { justify-content: center; margin-top: 6px; }
.form__note { font-size: 13px; color: var(--ink-soft); }
.form__error { font-size: 14px; color: var(--yellow-ochre); }
.thanks { padding: 40px; border: 1px solid var(--line); border-radius: 26px; background: rgba(27,20,16,.62); }
.thanks h3 { font-size: 34px; }
.thanks p { color: var(--ink-soft); }
.thanks__sign { margin-top: 26px; color: var(--yellow-ochre) !important; }

/* ---------- footer ---------- */
.footer { padding: 80px var(--gutter) 48px; border-top: 1px solid var(--line); background: var(--bg); display: grid; gap: 14px; font-size: 14px; color: var(--ink-soft); }
.footer__logo { height: 26px; width: auto; margin-bottom: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer__c { opacity: .6; }

/* reveal start state (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
  .grain, .scroll-hint span::after { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__title .line span { transform: none; }
  .split .w { opacity: 1; }
}
