/* Dream Build Own — one page. Ink background, paper text, yellow used sparingly. */
:root {
  --ink: #0B0B0C; --paper: #F4F1EA; --sun: #FFD60A; --soft: #C9C5BD; --mute: #8D8A84; --panel: #161617; --edge: #2E2E30;
  --pad: clamp(20px, 5vw, 72px);
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color: var(--paper); font-family: var(--font); -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, p, ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.sun { color: var(--sun); }
.w-thin { font-weight: 200; } .w-mid { font-weight: 500; } .w-black { font-weight: 900; }
.sr, .trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.trap { left: -9999px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--sun); color: var(--ink); padding: 10px 16px;
  border-radius: 999px; font-weight: 500; text-decoration: none; z-index: 20; }
.skip:focus { top: 16px; }

/* the 3D picture sits behind the words and never takes a click */
canvas.scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.top, main, .foot { position: relative; z-index: 1; }
.has-3d .fallback { visibility: hidden; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px var(--pad); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.brand img { width: 26px; height: auto; }
.top nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); font-size: 16px; }
.top nav a { text-decoration: none; padding: 10px 4px; }
.top nav a:hover { color: var(--sun); }
.pill { background: var(--paper); color: var(--ink); padding: 10px 18px !important; border-radius: 999px; font-weight: 500; }
.pill:hover { background: var(--sun); color: var(--ink) !important; }

/* hero */
.hero, .end { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--pad); }
.hero { min-height: calc(100svh - 84px); justify-content: center; padding-bottom: 8vh; }
.stage { width: min(72vw, 420px); height: clamp(220px, 40vh, 420px); display: flex; align-items: center; justify-content: center; }
.stage .fallback { height: 82%; width: auto; }
h1 { font-weight: 500; font-size: clamp(40px, 7.2vw, 104px); line-height: 0.96; letter-spacing: -0.045em;
  max-width: 13ch; margin-top: clamp(8px, 2vh, 24px); text-wrap: balance; }
.lead { font-weight: 300; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.42; color: var(--soft); max-width: 34em;
  margin-top: 22px; text-wrap: pretty; }
.note { font-weight: 300; font-size: 15px; line-height: 1.4; color: var(--mute); margin-top: 16px; }

/* sign-up form */
.join { position: relative; display: flex; gap: 8px; width: min(100%, 480px); margin-top: 30px; padding: 6px;
  background: var(--panel); border: 1px solid var(--edge); border-radius: 999px; }
.join:focus-within { border-color: var(--paper); }
.join input[type=email] { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--paper); font: inherit;
  font-size: 17px; padding: 12px 8px 12px 18px; border-radius: 999px; }
.join input[type=email]::placeholder { color: var(--mute); }
.join input[type=email]:focus { outline: none; }
.join button { flex: none; border: 0; cursor: pointer; background: var(--sun); color: var(--ink); font: inherit; font-weight: 500;
  font-size: 17px; padding: 12px 22px; border-radius: 999px; transition: transform .15s ease, background .15s ease; }
.join button:hover { background: var(--paper); }
.join button:active { transform: scale(0.97); }
.join button[disabled] { opacity: .6; cursor: default; }
.join__msg { position: absolute; left: 0; right: 0; top: calc(100% + 12px); font-size: 16px; line-height: 1.35; color: var(--soft); }
.join__msg:empty { display: none; }
.join.is-bad { border-color: #F2777A; }
.join.is-bad .join__msg { color: #F2A0A2; }
.join.is-done { background: transparent; border-color: transparent; justify-content: center; padding: 14px 0; }
.join.is-done input, .join.is-done button { display: none; }
.join.is-done .join__msg { position: static; font-size: 20px; color: var(--paper); font-weight: 500; }
.hero .join.is-bad + .note, .end .join.is-bad + .signoff { margin-top: 56px; }

/* the three steps */
.step { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 6vw, 96px);
  min-height: 86vh; padding: 8vh var(--pad); max-width: 1320px; margin: 0 auto; }
.step__obj { height: clamp(240px, 52vh, 520px); }
.step--flip .step__obj { order: 2; }
.step__text h2 { font-size: clamp(64px, 11vw, 176px); line-height: 0.9; letter-spacing: -0.05em; }
.step__text p { font-weight: 300; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.38; color: var(--soft); max-width: 19em;
  margin-top: 26px; text-wrap: pretty; }

/* links */
.follow { padding: 12vh var(--pad) 6vh; max-width: 1080px; margin: 0 auto; }
.follow h2, .end h2 { font-weight: 500; font-size: clamp(36px, 5.2vw, 72px); line-height: 1; letter-spacing: -0.04em; }
.links { list-style: none; margin-top: 34px; display: grid; gap: 12px; }
.links a, .links .soon { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; text-decoration: none;
  background-color: var(--panel); border-radius: 18px; padding: 24px 28px; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.links span { font-weight: 500; font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.03em; }
/* the handle takes the row's own text colour, softened, so it stays readable when the row turns yellow */
.links em { font-style: normal; font-weight: 300; font-size: clamp(15px, 1.4vw, 19px); color: inherit; opacity: 0.62; }
.links .soon span { color: var(--mute); }
.links a:hover { background-color: var(--sun); color: var(--ink); transform: translateY(-2px); }
.links a:hover em { opacity: 0.8; }

/* closing sign-up */
.end { padding-top: 10vh; padding-bottom: 12vh; }
.stage--end { height: clamp(200px, 34vh, 360px); }
.end h2 { margin-top: 10px; }
.signoff { font-size: clamp(22px, 3.2vw, 44px); letter-spacing: -0.035em; margin-top: 64px; }

.foot { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; padding: 28px var(--pad) 40px;
  font-weight: 300; font-size: 15px; color: var(--mute); }
.foot a { text-decoration: none; padding: 6px 0; }
.foot a:hover { color: var(--paper); }

/* privacy page */
.doc { max-width: 40em; margin: 0 auto; padding: 6vh var(--pad) 12vh; }
.doc h1 { font-size: clamp(36px, 5vw, 64px); max-width: none; margin: 0 0 28px; }
.doc h2 { font-weight: 500; font-size: 24px; letter-spacing: -0.02em; margin: 36px 0 10px; }
.doc p { font-weight: 300; font-size: 19px; line-height: 1.5; color: var(--soft); margin-bottom: 14px; }
.doc a { color: var(--paper); }

@media (max-width: 760px) {
  .brand span { display: none; }
  .hero { min-height: calc(100svh - 76px); padding-bottom: 6vh; }
  .join button { padding: 12px 18px; }
  .step { grid-template-columns: 1fr; min-height: 0; padding: 7vh var(--pad); gap: 8px; text-align: center; }
  .step--flip .step__obj { order: 0; }
  .step__obj { height: clamp(200px, 32vh, 300px); }
  .step__text p { margin-left: auto; margin-right: auto; }
  .links a, .links .soon { padding: 20px 22px; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .links a, .join button { transition: none; }
}
