/* GSP — Gravity Spring & Pivot */

:root {
  --ink: #0b0d10;
  --ink-2: #111419;
  --ink-3: #171b21;
  --line: rgba(214, 222, 232, 0.10);
  --line-2: rgba(214, 222, 232, 0.20);
  --text: #e8e6e1;
  --mute: #8d939b;
  --blue: #5c84ad;
  --deep: #1e3f78;
  --navy: #1a1a2e;
  --lume: #f2ead3;
  --paper: #efe8d6;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  font-stretch: 100%;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film grain, so the black reads as a surface rather than a screen */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 1px solid var(--lume); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow, .mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.015em;
  font-variant-numeric: lining-nums;
  margin: 0;
}
.display em { font-style: italic; color: var(--lume); }
h2.display { font-size: clamp(44px, 6.4vw, 92px); }
h3 { font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: 0.02em; margin: 0 0 10px; }
p { margin: 0 0 1em; }
.lede { font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.4; font-weight: 400; color: #d6d3cc; max-width: 34ch; }
.body { color: #b9bcc1; max-width: 58ch; }

/* ---------- header ---------- */
.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.is-scrolled { background: rgba(11, 13, 16, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand svg { width: 24px; height: auto; color: var(--lume); }
.brand b { font-weight: 600; font-stretch: 125%; font-size: 15px; letter-spacing: 0.32em; }
.brand span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--mute); text-transform: uppercase; padding-left: 14px; border-left: 1px solid var(--line-2); }
.nav { display: flex; gap: 40px; align-items: center; }
.nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c3c6cb;
  position: relative;
  padding: 6px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--lume); transition: right 0.35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--text); }
.nav .nav-cta { color: var(--lume); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); padding: 10px 0 10px 10px; cursor: pointer; font: 500 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }

@media (max-width: 760px) {
  .brand span { display: none; }
  .menu-btn { display: block; }
  .nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s var(--ease);
  }
  .nav a { font-size: 13px; padding: 16px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .site-head.is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .site-head.is-open { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- the watch (built by site.js) ---------- */
.watch { position: relative; width: 100%; aspect-ratio: 2280 / 2400; }
.watch > svg, .watch > .bezel { position: absolute; }
.watch > svg { inset: 0; width: 100%; height: 100%; overflow: visible; }
/* case = 1924 units, centred in a 2280 x 2400 box */
.watch > .bezel {
  left: calc((1140 - 962) / 2280 * 100%);
  top: calc((1200 - 962) / 2400 * 100%);
  width: calc(1924 / 2280 * 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  /* circular brushing + polished bevel catching the light */
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.035) 0 1px, rgba(0, 0, 0, 0.035) 1px 2px),
    conic-gradient(from 210deg, #4b5057, #d9dde2 7%, #7d838a 15%, #2f3338 27%, #6f757c 38%, #eef1f4 46%, #8c9299 52%, #3a3e44 63%, #a7adb4 76%, #f4f6f8 82%, #6c7279 90%, #4b5057);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
.watch .glare { transition: transform 0.6s var(--ease); }

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 26px;
  border: 1px solid var(--line-2);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { background: var(--lume); color: var(--ink); border-color: var(--lume); }
.btn--solid { background: var(--lume); color: var(--ink); border-color: var(--lume); }
.btn--solid:hover { background: transparent; color: var(--lume); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lume); border-bottom: 1px solid rgba(242, 234, 211, 0.35); padding-bottom: 4px; transition: border-color 0.3s; }
.link:hover { border-color: var(--lume); }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(64px, 10.4vw, 168px); }
.hero h1 > span { display: block; }
.hero h1 .amp { font-style: italic; color: var(--blue); padding-right: 0.08em; }
.hero .lede { margin: 40px 0 44px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.hero-watch { position: relative; justify-self: center; width: min(100%, 520px); }
/* construction lines behind the watch, like the drawing it came from */
.hero-watch::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(92, 132, 173, 0.16), transparent 58%),
    repeating-radial-gradient(circle, transparent 0 79px, var(--line) 79px 80px);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%);
  mask: radial-gradient(circle, #000 30%, transparent 70%);
  pointer-events: none;
}
.hero-watch .axis { position: absolute; background: var(--line); pointer-events: none; }
.hero-watch .axis--h { left: -25%; right: -25%; top: 50%; height: 1px; }
.hero-watch .axis--v { top: -10%; bottom: -10%; left: 50%; width: 1px; }
.readout { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); }
.readout b { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .hero { padding-top: 110px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero-watch { width: min(86%, 440px); }
}

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(96px, 13vw, 180px) 0; }
.sec--line { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(56px, 8vw, 104px); }
.sec-head .body { justify-self: end; margin: 0; }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } .sec-head .body { justify-self: start; } }

/* three words */
.triad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.triad article { padding: 40px 40px 8px 0; position: relative; }
.triad article + article { padding-left: 40px; border-left: 1px solid var(--line); }
.triad .num { font-family: var(--serif); font-size: 15px; font-style: italic; color: var(--blue); margin-bottom: 64px; display: block; }
.triad h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.2vw, 60px); letter-spacing: -0.01em; line-height: 1; margin-bottom: 24px; }
.triad p { color: #b0b4ba; font-size: 15px; }
.triad .fig { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--mute); text-transform: uppercase; margin-top: 28px; padding-top: 14px; border-top: 1px dashed var(--line-2); display: block; }
@media (max-width: 860px) {
  .triad { grid-template-columns: 1fr; }
  .triad article, .triad article + article { padding: 36px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .triad .num { margin-bottom: 24px; }
}

/* generative art */
.art { position: relative; width: 100%; aspect-ratio: 1; color: var(--text); }
.art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.art--wide { aspect-ratio: 4 / 3; }
.art--strip { aspect-ratio: auto; height: clamp(110px, 12vw, 160px); }
.triad .art { width: min(100%, 300px); margin: 0 0 40px -6px; }

/* beat band */
.beat { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.beat .wrap { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.beat p { margin: 0; }
.beat .mono b { display: block; color: var(--text); font-weight: 500; margin-top: 6px; }
@media (max-width: 700px) { .beat .wrap { grid-template-columns: 1fr; gap: 8px; padding-top: 24px; } }

/* first-watch teaser */
.teaser { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.teaser h2 { font-size: clamp(110px, 17vw, 260px); line-height: 0.8; letter-spacing: -0.04em; }
.teaser .tag { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 34px); color: var(--lume); margin: 28px 0 20px; }
.teaser .body { margin-bottom: 40px; }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } }

/* paper section */
.paper { background: var(--paper); color: var(--navy); }
.paper .eyebrow, .paper .mono { color: #6b6a72; }
.paper .display em { color: var(--deep); }
.paper .lede { color: #2b2b3d; }
.paper .body { color: #43424f; }
.paper .btn { border-color: rgba(26, 26, 46, 0.3); color: var(--navy); }
.paper .btn:hover { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.paper ::selection { background: var(--navy); color: var(--paper); }

.cta-band { text-align: center; overflow: hidden; }
.cta-band .wrap { position: relative; }
.cta-band .art { position: absolute; left: 88%; top: 50%; width: min(1000px, 140vw); translate: -50% -50%; color: var(--navy); opacity: 0.7; pointer-events: none; animation: turn 240s linear infinite; }
@keyframes turn { to { rotate: 360deg; } }
@media (max-width: 700px) { .cta-band .art { left: 100%; opacity: 0.45; } }
.cta-band h2 { font-size: clamp(52px, 8vw, 128px); margin-bottom: 40px; }
.cta-band .body { margin: 0 auto 44px; }

/* header over a cream page, before it picks up its dark backdrop */
.on-paper { background: var(--paper); }
.on-paper .site-head:not(.is-scrolled):not(.is-open) { color: var(--navy); }
.on-paper .site-head:not(.is-scrolled):not(.is-open) .brand svg,
.on-paper .site-head:not(.is-scrolled):not(.is-open) .nav a,
.on-paper .site-head:not(.is-scrolled):not(.is-open) .menu-btn { color: var(--navy); }
.on-paper .site-head:not(.is-scrolled):not(.is-open) .brand span { color: #6b6a72; border-color: rgba(26, 26, 46, 0.2); }
.on-paper .site-head:not(.is-scrolled):not(.is-open) .nav a::after { background: var(--navy); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); border-top: 1px solid var(--line); padding: 72px 0 40px; font-size: 14px; color: var(--mute); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-grid .brand { margin-bottom: 20px; color: var(--text); }
.foot-grid p { max-width: 36ch; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a:hover { color: var(--text); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- page heads (inner pages) ---------- */
.page-head { padding: clamp(150px, 18vw, 230px) 0 clamp(56px, 8vw, 96px); }
.page-head h1 { font-size: clamp(60px, 9.4vw, 150px); }

/* ---------- collection ---------- */
.piece { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; padding-bottom: clamp(96px, 12vw, 160px); }
.piece .hero-watch { width: min(100%, 480px); }
.piece h2 { font-size: clamp(110px, 16vw, 240px); line-height: 0.8; letter-spacing: -0.04em; }
.piece dl { margin: 40px 0; border-top: 1px solid var(--line-2); }
.piece dl div { display: grid; grid-template-columns: 140px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.piece dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.piece dd { margin: 0; font-family: var(--serif); font-size: 22px; }
@media (max-width: 900px) { .piece { grid-template-columns: 1fr; } .piece .hero-watch { width: min(86%, 420px); justify-self: center; } }

.bench { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.bench figure { margin: 0; }
.bench .art { background: var(--ink-2); border: 1px solid var(--line); }
.bench figcaption { padding-top: 20px; }
.bench figcaption .mono { display: block; margin-bottom: 8px; }
.bench figcaption p { color: #b0b4ba; font-size: 15px; max-width: 34ch; }
@media (max-width: 860px) { .bench { grid-template-columns: 1fr; } }

/* ---------- story ---------- */
.story-body { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); }
.story-body + .story-body { margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid rgba(26, 26, 46, 0.16); }
.story-body h2 { font-size: clamp(40px, 5vw, 72px); }
.story-body .prose p { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.5; color: #2b2b3d; max-width: 38ch; }
.story-body .prose p:first-child::first-letter { float: left; font-size: 4.2em; line-height: 0.8; padding: 0.06em 0.08em 0 0; color: var(--deep); font-weight: 300; }
.pull { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.15; color: var(--deep); border-top: 1px solid rgba(26, 26, 46, 0.25); padding-top: 28px; margin: 48px 0 0; max-width: 20ch; }
.sig { margin-top: 40px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #6b6a72; }
@media (max-width: 860px) { .story-body { grid-template-columns: 1fr; } }

.word-stack { font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 12vw, 190px); line-height: 0.86; letter-spacing: -0.03em; }
.word-stack span { display: block; }
.word-stack span:nth-child(2) { padding-left: 1.2em; font-style: italic; color: var(--deep); }
.word-stack span:nth-child(3) { padding-left: 0.5em; }
.story-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.story-head .art { color: var(--navy); animation: turn 300s linear infinite; }
@media (max-width: 860px) { .story-head { grid-template-columns: 1fr; } .story-head .art { width: 70%; justify-self: end; margin-top: -10%; } }

/* ---------- waitlist ---------- */
.join { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 8vw, 140px); padding-bottom: clamp(96px, 12vw, 160px); }
.join .steps { list-style: none; padding: 0; margin: 48px 0 0; counter-reset: s; border-top: 1px solid var(--line); }
.join .steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); color: #b9bcc1; font-size: 15px; }
.join .steps li::before { content: counter(s, upper-roman); font-family: var(--serif); font-style: italic; color: var(--blue); font-size: 18px; }
.contact-line { margin-top: 48px; }
.contact-line a { font-family: var(--serif); font-size: 28px; color: var(--lume); border-bottom: 1px solid rgba(242, 234, 211, 0.3); }

.form { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.field { position: relative; border-bottom: 1px solid var(--line-2); display: grid; grid-template-columns: 160px 1fr; align-items: baseline; transition: border-color 0.3s; }
.field:focus-within { border-color: var(--lume); }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); padding: 26px 0; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font: 400 clamp(20px, 2vw, 26px)/1.3 var(--serif);
  padding: 20px 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.field select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238d939b'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field select option { background: var(--ink-2); color: var(--text); font-family: var(--sans); font-size: 16px; }
.field textarea { resize: vertical; min-height: 120px; font-size: 20px; }
.field input::placeholder, .field textarea::placeholder { color: #4f545b; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 36px; }
.form-foot p { margin: 0; font-size: 13px; color: var(--mute); max-width: 40ch; }
.form-status { min-height: 24px; margin-top: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
.form-status.ok { color: var(--lume); }
.form-status.err { color: #e59a8c; }
.form.is-done { opacity: 0.4; pointer-events: none; }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field { grid-template-columns: 1fr; } .field label { padding: 18px 0 0; } .field input, .field select, .field textarea { padding-top: 6px; } }

/* big screens: let the layout breathe */
@media (min-width: 1800px) { :root { --max: 1560px; } body { font-size: 17px; } }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.1s; } .rv-d2 { transition-delay: 0.2s; } .rv-d3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
}
