/* Waypoints Labs. Black for the story, white for the product, one warm light for the way.
   The type is the device's own: San Francisco on Apple devices, nothing downloaded. */

:root {
  --black: #000;
  --ink-d: #f5f5f7;
  --mute-d: #86868b;
  --line-d: #2a2a2d;
  --tile-d: #141416;
  --white: #fff;
  --paper: #f5f5f7;
  --ink: #1d1d1f;
  --mute: #6e6e73;
  --line: #d2d2d7;
  --g1: #ffe4b8;
  --g2: #f6b561;
  --g3: #e07b39;
  --gold: linear-gradient(100deg, var(--g1) 0%, var(--g2) 48%, var(--g3) 100%);
  --gold-deep: linear-gradient(100deg, #d98a3a 0%, #c9692c 55%, #a94d24 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 48px;
}

* { box-sizing: border-box; }
html { background: var(--black); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--black);
  color: var(--ink-d);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--g2); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: var(--nav-h); }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

.gold { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  margin: 0 0 12px;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--g2);
}
.section-title {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-d);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.on-light, .nav.light {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
.nav-in {
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand svg { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 12.5px; text-decoration: none; opacity: 0.8; transition: opacity 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 185vh; }
.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.ways { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  top: 21vh;
  padding: 0 24px;
  text-align: center;
  will-change: transform, opacity;
}
.hero h1 {
  font-size: clamp(54px, 10.5vw, 150px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.hero h1 span { display: block; padding-bottom: 0.04em; }
.hero-copy p {
  margin: 30px auto 0;
  max-width: 30ch;
  font-size: clamp(19px, 1.9vw, 25px);
  line-height: 1.32;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--mute-d);
}
.cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 22px;
  height: 36px;
  margin-left: -11px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
}
.cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.7);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80%, 100% { transform: translateY(12px); opacity: 0; } }

.js .hero-copy > * { opacity: 0; transform: translateY(26px); animation: rise 1.3s var(--ease) forwards; }
.js .hero-copy h1 span:nth-child(1) { animation-delay: 0.15s; }
.js .hero-copy h1 span:nth-child(2) { animation-delay: 0.35s; }
.js .hero-copy h1 { opacity: 1; transform: none; animation: none; }
.js .hero-copy h1 span { opacity: 0; transform: translateY(26px); animation: rise 1.3s var(--ease) forwards; }
.js .hero-copy p { animation-delay: 1.1s; }
.js .cue { opacity: 0; animation: fade 1s 3.4s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Words lit by scrolling ---------- */
.manifesto { position: relative; height: 230vh; }
.manifesto-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}
.manifesto-in { max-width: 1000px; width: 100%; }
.lit b { font-weight: inherit; }
.lit {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.js .lit .w { color: #2a2a2c; transition: color 0.45s var(--ease); }
.js .lit .w.on { color: var(--ink-d); }
.js .lit .w.key.on, .still .lit .w.key { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.still .lit .w { color: var(--ink-d); }

/* ---------- Three waypoints ---------- */
.principles { position: relative; height: 300vh; }
.principles-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 20px) 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.track { --vertical: 0; position: relative; margin-top: clamp(56px, 10vh, 120px); }
.rail { position: absolute; left: 0; right: 0; top: 10px; height: 2px; border-radius: 2px; background: var(--line-d); overflow: hidden; }
.rail-fill {
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(255, 228, 184, 0.15), var(--g2) 55%, var(--g1));
}
.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stop { position: relative; padding-top: 48px; }
.node {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid #3a3a3c;
  transition: all 0.6s var(--ease);
}
.stop h3 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 10px; }
.stop p { margin: 0; max-width: 26ch; text-wrap: pretty; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.38; color: var(--mute-d); font-weight: 500; }
.js .stop h3, .js .stop p { opacity: 0.22; transform: translateY(10px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .stop.on h3, .js .stop.on p, .still .stop h3, .still .stop p { opacity: 1; transform: none; }
.still .rail-fill { transform: none; }
.stop.on .node, .still .node {
  border-color: var(--g1);
  background: var(--g2);
  box-shadow: 0 0 0 6px rgba(246, 181, 97, 0.14), 0 0 34px 8px rgba(246, 181, 97, 0.45);
}

/* ---------- Mission ---------- */
.mission { background: var(--white); color: var(--ink); padding: clamp(110px, 16vh, 170px) 24px clamp(100px, 14vh, 150px); }
.mission-head { max-width: 900px; margin: 0 auto; text-align: center; }
.mission .eyebrow, .company .eyebrow { color: #c46a2b; }
.mission .section-title { max-width: 22ch; margin: 0 auto; }
.lede { text-wrap: pretty; max-width: 38ch; margin: 24px auto 0; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; font-weight: 500; color: var(--mute); }
.bento {
  max-width: 1080px;
  margin: clamp(56px, 9vh, 90px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tile {
  position: relative;
  min-height: 300px;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 30px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.tile h3 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 10px; }
.tile p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--mute); max-width: 30ch; }
.tile.dark { background: #0b0b0c; color: var(--ink-d); }
.tile.dark p { color: var(--mute-d); }
.glyph { position: absolute; top: clamp(28px, 3vw, 40px); left: clamp(28px, 3vw, 40px); width: 44px; height: 44px; }

/* ---------- Something brewing ---------- */
.brew { position: relative; overflow: hidden; text-align: center; padding: clamp(150px, 26vh, 260px) 24px; }
.brew-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(900px, 140vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 160, 0.30) 0%, rgba(246, 181, 97, 0.14) 22%, rgba(224, 123, 57, 0.05) 45%, rgba(0, 0, 0, 0) 68%);
  animation: brew 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes brew { 0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.92); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
.brew-in { position: relative; max-width: 900px; margin: 0 auto; }
.brew .section-title { font-size: clamp(46px, 7.4vw, 104px); letter-spacing: -0.05em; }
.brew .lede { color: var(--mute-d); }

/* ---------- Company ---------- */
.company { background: var(--paper); color: var(--ink); text-align: center; padding: clamp(110px, 18vh, 190px) 24px; }
.company .section-title { max-width: 14ch; margin: 0 auto; }
.facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px clamp(32px, 7vw, 96px); margin: 64px 0 0; }
.facts div { min-width: 150px; }
.facts dt { font-size: 14px; font-weight: 500; color: var(--mute); }
.facts dd { margin: 6px 0 0; font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }

/* ---------- Contact ---------- */
.contact { text-align: center; padding: clamp(120px, 20vh, 220px) 24px clamp(110px, 18vh, 190px); }
.contact h2 { font-size: clamp(60px, 10vw, 140px); letter-spacing: -0.055em; line-height: 1; }
.mail {
  display: inline-block;
  margin-top: 30px;
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink-d);
  padding-bottom: 6px;
  background: linear-gradient(90deg, var(--g2), var(--g3)) left bottom / 100% 2px no-repeat;
  transition: color 0.3s;
}
.mail:hover { color: var(--g1); }
.contact p { margin: 30px auto 0; max-width: 40ch; color: var(--mute-d); font-size: 17px; }
.contact p a { color: var(--ink-d); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid #1d1d1f; color: var(--mute-d); font-size: 12px; }
.foot-in {
  max-width: 1024px;
  margin: 0 auto;
  padding: 20px 22px 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}
.foot p { margin: 0; }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; color: #d2d2d7; }
.foot a:hover { text-decoration: underline; }

/* ---------- Rise into view ---------- */
.js .reveal { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.bento .reveal:nth-child(2) { transition-delay: 0.1s; }
.bento .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ---------- Text pages: privacy, support ---------- */
.page { background: var(--white); color: var(--ink); }
html:has(body.page) { background: var(--paper); }
.page .doc { max-width: 740px; margin: 0 auto; padding: calc(var(--nav-h) + clamp(56px, 9vw, 100px)) 24px clamp(80px, 12vw, 130px); }
.doc .kicker { margin: 0 0 10px; font-size: 17px; font-weight: 600; color: #c46a2b; }
.doc h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 14px; }
.doc .updated { margin: 0 0 40px; color: var(--mute); font-size: 15px; }
.doc h2 { margin: 56px 0 12px; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -0.03em; line-height: 1.15; }
.doc h3 { margin: 30px 0 6px; font-size: 21px; letter-spacing: -0.02em; }
.doc p, .doc li, .doc dd { color: #424245; font-size: 17px; line-height: 1.55; }
.doc strong, .doc dt { color: var(--ink); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 8px 0; }
.doc li::marker { color: #c46a2b; }
.doc a { color: #0066cc; text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.doc .lead { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; color: var(--mute); font-weight: 500; }
.doc .mail { color: var(--ink); margin: 26px 0 6px; font-size: clamp(26px, 3.6vw, 40px); }
.doc .mail:hover { color: #c46a2b; }
.short { margin: 0 0 8px; padding: 22px 28px; border-radius: 20px; background: var(--paper); }
.short ul { margin: 0; padding-left: 1.1em; }
.short li { color: var(--ink); font-weight: 600; }
.faq dt { margin-top: 26px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.faq dd { margin: 6px 0 0; }
.page .foot { background: var(--paper); border-top-color: var(--line); color: var(--mute); }
.page .foot a { color: #424245; }

/* ---------- Not found ---------- */
.lost { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 90px 24px 60px; }
.lost h1 { font-size: clamp(56px, 9vw, 120px); letter-spacing: -0.055em; line-height: 1; }
.lost p { margin: 22px 0 0; max-width: 30ch; color: var(--mute-d); font-size: clamp(19px, 1.8vw, 23px); font-weight: 500; line-height: 1.4; }
.lost a.btn { margin-top: 34px; display: inline-block; padding: 13px 24px; border-radius: 980px; background: var(--ink-d); color: #000; text-decoration: none; font-weight: 500; }

/* ---------- Share image mode ---------- */
.og .nav, .og .cue, .og .hero-copy p { display: none; }
.og .hero-copy { top: 22vh; }

/* ---------- Phone and tablet ---------- */
@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .tile:last-child { grid-column: span 2; }
}
@media (max-width: 734px) {
  .nav-links { gap: 20px; }
  .nav-links a.opt { display: none; }
  .hero-copy { top: 17vh; }
  .track { --vertical: 1; margin-top: 44px; }
  .rail { left: 10px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .rail-fill { transform: scaleY(0); transform-origin: center top; background: linear-gradient(180deg, rgba(255, 228, 184, 0.15), var(--g2) 55%, var(--g1)); }
  .still .rail-fill { transform: none; }
  .stops { grid-template-columns: 1fr; gap: 42px; }
  .stop { padding: 0 0 0 52px; }
  .bento { grid-template-columns: 1fr; gap: 16px; }
  .bento .tile:last-child { grid-column: auto; }
  .tile { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .brew-glow { animation: none; }
  .js .hero-copy > *, .js .hero-copy h1 span { animation: none; opacity: 1; transform: none; }
  .cue::after { animation: none; }
}
