@font-face { font-family: "Setup Grotesk"; src: url(../fonts/SetupGrotesk-Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Setup Grotesk"; src: url(../fonts/SetupGrotesk-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Setup Grotesk"; src: url(../fonts/SetupGrotesk-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Setup Grotesk"; src: url(../fonts/SetupGrotesk-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #FFFFFF;
  --sheet: #FAFAFA;
  --ink: #000000;
  --ink-soft: #6B6B6B;
  --rule: #E2E2E2;
  --signal: #FF5A1F;
  --signal-tint: #FFEDE5;
  --signal-wash: #FFF1EA;
  --muted: #D0D0D0;

  --display: "Setup Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: var(--display);

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
::selection { background: var(--signal); color: #fff; }
h1, h2, h3 { text-wrap: balance; }
p, dd { text-wrap: pretty; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
main { overflow-x: clip; }

/* Header */
.top {
  position: relative; z-index: 1;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-top: 32px; padding-bottom: 28px;
}
.mark {
  font-family: var(--display); font-weight: 700;
  font-size: 1.75rem; letter-spacing: -0.02em; line-height: 1;
  text-decoration: none;
}
.dot-mark { color: var(--signal); }
.contact { display: flex; gap: 28px; flex-wrap: wrap; font-size: 1rem; }
.contact a { text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.contact a:hover { border-color: var(--ink); }

/* Hero */
.hero { padding-top: clamp(56px, 9vh, 120px); padding-bottom: clamp(72px, 11vh, 128px); position: relative; isolation: isolate; }
.hero::before { /* the brand dot, as a quiet backdrop */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: clamp(360px, 58vw, 860px); aspect-ratio: 1; border-radius: 50%;
  right: clamp(-380px, -22vw, -140px); top: clamp(-380px, -20vw, -140px);
  background: var(--signal-wash);
}
.hero h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(3.25rem, min(9vw, 15vh), 8.25rem);
  line-height: 0.92; letter-spacing: -0.04em;
  margin: 0;
}
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 36rem) auto;
  justify-content: space-between; align-items: end; gap: 40px;
  margin-top: clamp(40px, 6vw, 72px);
}
.hero-foot p { margin: 0; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.55; }

.btn {
  display: inline-block;
  font-family: var(--display); font-weight: 500; font-size: 1.125rem;
  letter-spacing: -0.005em;
  background: var(--ink); color: #fff;
  padding: 18px 28px; text-decoration: none;
  transition: background-color .15s;
}
.btn:hover { background: #333; }
.btn:active { background: var(--ink); }
.cta { display: grid; gap: 14px; justify-items: start; }
.cta small { font-size: 1rem; color: var(--ink-soft); }
.cta small a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.cta small a:hover { border-color: var(--ink); }

/* Proof: statement + measurement sheet */
.proof {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px); align-items: start;
  padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(88px, 11vw, 152px);
  position: relative;
}
.proof::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 2px; background: var(--ink); }
.proof .label { font-family: var(--display); font-size: 1rem; color: var(--ink-soft); margin: 0 0 16px; }
.proof h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.25rem, 4.2vw, 3.75rem); line-height: 1.02; letter-spacing: -0.035em;
  margin: 0 0 32px;
}
.proof p { margin: 0; max-width: 30rem; color: var(--ink-soft); }

.sheet {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 28px 28px 22px;
  margin: 0;
}
.sheet-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  font-family: var(--display); margin-bottom: 20px;
}
.sheet-head strong { font-weight: 500; font-size: 1.25rem; letter-spacing: -0.01em; }
.sheet-head span { font-size: .9375rem; color: var(--ink-soft); }

.grid {
  display: grid;
  grid-template-columns: minmax(8.5rem, 1.6fr) repeat(8, minmax(0, 1fr));
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
}
.grid > * { border-top: 1px solid var(--rule); padding: 10px 0; }
.grid .wk { font-size: .875rem; color: var(--ink-soft); text-align: center; border-top: 0; padding-top: 0; }
.grid .wk.now, .grid .cell.now { background: var(--signal-tint); }
.grid .wk.now { color: var(--ink); }
.grid .rowname { font-size: .9375rem; line-height: 1.25; padding-right: 12px; align-self: stretch; display: flex; align-items: end; }
.cell { display: flex; align-items: end; justify-content: center; height: 88px; }
.bar { width: 42%; max-width: 18px; background: var(--signal); height: calc(var(--v) * 1%); transform-origin: bottom; }
.stuck .bar { background: var(--muted); }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--signal); }
.dot.on { background: var(--signal); }
.dot.half { background: linear-gradient(90deg, var(--signal) 50%, transparent 50%); }
.sheet-note { font-size: .875rem; color: var(--ink-soft); margin: 14px 0 0; }

/* Process */
.process { padding-bottom: clamp(96px, 12vw, 168px); }
.process h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.25rem, 4.2vw, 3.75rem); line-height: 1; letter-spacing: -0.035em;
  margin: 0 0 clamp(40px, 5vw, 64px);
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { padding-right: clamp(20px, 3vw, 48px); }
.step-n {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--display); font-weight: 500; font-size: 1rem;
  margin-bottom: 28px;
}
.step-n::after { content: ""; flex: 1; height: 2px; background: var(--ink); }
.step:last-child .step-n::after { height: 0; background: none; border-top: 2px dashed var(--ink); }
.step h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.625rem, 2.4vw, 2.125rem); letter-spacing: -0.025em; line-height: 1.1;
  margin: 0 0 14px;
}
.step p { margin: 0; color: var(--ink); max-width: 24rem; }
.gets { margin: 36px 0 0; padding: 24px 0 0; border-top: 1px solid var(--rule); max-width: 24rem; }
.gets dt { font-size: 1rem; color: var(--ink-soft); margin-bottom: 16px; }
.gets dd { margin: 0 0 14px; padding-left: 24px; position: relative; color: var(--ink); font-size: 1.1875rem; line-height: 1.4; letter-spacing: -0.005em; }
.gets dd:last-child { margin-bottom: 0; }
.gets dd::before { content: ""; position: absolute; left: 4px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

/* Close */
.close { background: var(--paper); color: var(--ink); }
.close .wrap::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 2px; background: var(--ink); }
.close .wrap { position: relative; padding-top: clamp(72px, 10vw, 136px); padding-bottom: 48px; }
.close h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.375rem, 7vw, 6.25rem); line-height: .95; letter-spacing: -0.04em;
  margin: 0 0 clamp(40px, 5vw, 64px);
}
.person { display: grid; grid-template-columns: clamp(88px, 8vw, 116px) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: end; }
.person img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.person-name { font-family: var(--display); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 14px; }
.close-links { display: flex; flex-wrap: wrap; gap: 16px 48px; font-family: var(--display); font-variant-numeric: tabular-nums; font-size: clamp(1.375rem, 2.6vw, 2.25rem); letter-spacing: -0.02em; }
.close-links a { text-decoration: none; border-bottom: 2px solid var(--rule); }
.close-links a:hover { border-color: var(--ink); }
.foot {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 32px;
  margin-top: clamp(80px, 10vw, 128px); padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 1rem; color: var(--ink-soft);
}
.foot .mark { font-size: 1.5rem; color: var(--ink); }

/* One reveal: the sheet fills in */
.sheet.armed .bar { transform: scaleY(0); }
.sheet.armed .dot { opacity: 0; }
.sheet.armed.in .bar { transform: scaleY(1); transition: transform .7s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 90ms); }
.sheet.armed.in .dot { opacity: 1; transition: opacity .3s calc(var(--i) * 90ms + 200ms); }
@media (prefers-reduced-motion: reduce) {
  .sheet.armed .bar, .sheet.armed .dot { transform: none; opacity: 1; transition: none !important; }
}

@media (max-width: 900px) {
  .hero-foot { grid-template-columns: 1fr; align-items: start; }
  .proof { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .step-n::after { max-width: 120px; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .contact { gap: 16px; font-size: .9375rem; }
  .sheet { padding: 22px 14px 18px; }
  .person { grid-template-columns: 1fr; }
  .person img { width: 88px; }
  .grid { grid-template-columns: minmax(5.5rem, 1.4fr) repeat(8, minmax(0, 1fr)); }
  .grid .rowname { font-size: .8125rem; }
  .grid .wk { font-size: .75rem; }
  .cell { height: 72px; }
  .dot { width: 10px; height: 10px; }
}
