/* Layout: a black stage where the globe stands on a grid floor, four small corner labels that stay put,
   and one paper sheet that rises over the stage for everything else (on a phone the sheet splits into stacked cards).
   A pin opens a curved band of our studio's work: cards on the inside of a cylinder you scroll, drag or flick across.
   One family, Geist, served with the page. Dark by design. */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-latin-gyByhwUxId.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-latin-ext-gyByhwUxId.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-mono-latin-or3nQ6H-1_.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ground: #08080a;
  --ink: #ecece8;
  --ink-2: rgba(236,236,232,.66);
  --ink-3: rgba(236,236,232,.56);
  --line: rgba(236,236,232,.14);
  --wash: rgba(236,236,232,.10);
  --wash-2: rgba(236,236,232,.16);
  --globe: #111113;
  --card-dark: #1c1c1f;
  --paper: #e9e8e4;
  --paper-2: #dcdbd6;
  --paper-ink: #0b0b0c;
  --paper-ink-2: #5c5c59;
  --paper-line: rgba(11,11,12,.12);
  --paper-shade: rgba(11,11,12,.45);
  --paper-wash: rgba(233,232,228,.10);
  --paper-wash-2: rgba(233,232,228,.16);
  --ok: #2f5f48;
  --ok-wash: rgba(47,95,72,.12);
  --warn: #8a4106;
  --warn-wash: rgba(154,74,7,.12);

  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --label: clamp(11px, .7vw, 13px);

  --r-card: 22px; --r-sm: 12px; --r-pill: 999px;
  --eo: cubic-bezier(.23,1,.32,1);
  --micro: 160ms; --meso: 280ms;
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) { :root { --micro: 1ms; --meso: 1ms; } }
@media (max-width: 860px) { :root { --label: 11px; --r-card: 18px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 15px/1.45 var(--font);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; font-weight: 500; }
p { font-weight: 400; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── corner labels: fixed, small, and they invert over the paper ── */
.corners {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: calc(26px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  padding-left: max(38px, env(safe-area-inset-left, 0px));
  padding-right: max(38px, env(safe-area-inset-right, 0px));
  mix-blend-mode: difference; color: var(--ink);
}
.corners .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.corners a {
  pointer-events: auto; text-decoration: none;
  font: 500 var(--label)/1.2 var(--font); letter-spacing: 0; text-transform: uppercase;
  transition: opacity var(--micro) linear;
}
.corners .pair { display: flex; gap: .45em; align-items: baseline; font: 500 var(--label)/1.2 var(--font); text-transform: uppercase; }
.corners .dim { opacity: .56; }
.corners a:hover { opacity: 1; }
@media (max-width: 860px) {
  .corners { padding-top: calc(22px + env(safe-area-inset-top, 0px)); padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
}

/* ── the stage ── */
.stage { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.globe-wrap { position: absolute; inset: 0; touch-action: pan-y; }
.globe-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero {
  position: absolute; z-index: 2;
  left: max(38px, env(safe-area-inset-left, 0px)); bottom: 92px;
  width: min(560px, 42vw);
  display: grid; gap: 18px;
}
.hero h1 { font: 500 clamp(40px, 4.3vw, 68px)/1 var(--font); letter-spacing: -.045em; text-wrap: balance; }
.hero h1 span { display: block; transition: color var(--meso) var(--eo); }
.hero h1 .off { color: var(--ink-3); }
.hero .lead { color: var(--ink-2); max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border: 0; border-radius: var(--r-pill);
  font: 500 14px/1 var(--font); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: transform var(--micro) var(--eo), background var(--micro) var(--eo), opacity var(--micro) linear;
}
.btn:active { transform: scale(.97); }
.btn.light { background: var(--ink); color: var(--ground); }
.btn.glass { background: var(--wash); color: var(--ink); }
.btn.glass:hover { background: var(--wash-2); }
.btn.small { height: 30px; padding: 0 13px; font-size: 12px; }
.stage-foot {
  position: absolute; z-index: 2; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; width: min(460px, 44vw); text-align: center;
}
.stage-foot p { font: 500 var(--label)/1.35 var(--font); text-transform: uppercase; color: var(--ink-3); }
.stage-foot .actions { justify-content: center; }
.you-chip {
  position: absolute; left: 0; top: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--ground);
  font: 500 12px/1 var(--font); white-space: nowrap;
  pointer-events: none; will-change: transform, opacity; opacity: 0;
  transition: opacity var(--micro) linear;
}
.you-chip small { font-size: 12px; opacity: .6; }
.credit {
  position: absolute; left: 0; top: 0; z-index: 3; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 13px; border-radius: var(--r-pill);
  background: var(--wash); color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 12px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: background var(--micro) var(--eo);
}
.credit:hover { background: var(--wash-2); }
.credit small { font-size: 12px; opacity: .6; }
.pin-tip {
  position: absolute; left: 0; top: 0; z-index: 3; transform: translate(-50%, calc(-100% - 14px));
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: var(--r-pill);
  background: var(--wash-2); color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 12px/1 var(--font); white-space: nowrap; pointer-events: none;
}
.pin-tip small { font-size: 12px; opacity: .6; }
@media (max-width: 860px) {
  .stage { height: auto; min-height: 0; padding-top: calc(52px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; }
  .globe-wrap { position: relative; inset: auto; width: 100%; aspect-ratio: 1 / 1; max-width: 100%; }
  .hero { position: static; width: auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); padding-block: 6px 20px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .stage-foot { position: static; transform: none; width: auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); padding-block: 4px 76px; justify-items: start; text-align: left; }
  .stage-foot .actions { justify-content: flex-start; }
}

/* ── the sheet ── */
.sheet {
  position: relative; z-index: 1;
  margin-left: max(14px, env(safe-area-inset-left, 0px)); margin-right: max(14px, env(safe-area-inset-right, 0px));
  margin-bottom: 120px;
  display: grid; gap: 0;
}
.sec {
  background: var(--paper); color: var(--paper-ink);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(48px, 7vw, 104px); padding-inline: clamp(22px, 4.5vw, 72px);
  border-top: 1px solid var(--paper-line);
}
.sec:first-child { border-top: 0; border-radius: var(--r-card) var(--r-card) 0 0; }
.sheet-foot { background: var(--paper); color: var(--paper-ink-2); border-top: 1px solid var(--paper-line); border-radius: 0 0 var(--r-card) var(--r-card); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px clamp(22px, 4.5vw, 72px) 26px; font: 500 var(--label)/1.3 var(--font); text-transform: uppercase; }
.sheet-foot a { text-decoration: none; }
.side { position: sticky; top: 76px; align-self: start; display: grid; gap: 16px; min-width: 0; }
.label { font: 500 var(--label)/1.3 var(--font); text-transform: uppercase; color: var(--paper-ink-2); }
.sec h2 { font: 500 clamp(32px, 3.3vw, 50px)/1.02 var(--font); letter-spacing: -.045em; text-wrap: balance; }
.body { color: var(--paper-ink-2); max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--r-pill); background: var(--paper-2); font: 500 12px/1 var(--font); white-space: nowrap; }
.dot-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-ink); color: var(--paper); text-decoration: none; flex: none; }
.dot-btn svg { width: 12px; height: 12px; transition: transform var(--micro) var(--eo); }
.dot-btn:hover svg { transform: translateX(2px); }
.main { min-width: 0; display: grid; gap: 10px; align-content: start; }
.card { background: var(--paper-2); border-radius: var(--r-card); padding: 22px; min-width: 0; }
.card.black { background: var(--paper-ink); color: var(--paper); }
/* the same hover as the band: a card comes forward a little when you point at it */
.sheet .card { transition: transform var(--meso) var(--eo), box-shadow var(--meso) var(--eo); }
.sheet .card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px var(--paper-shade); }
.btn.ink:hover, .btn.light:hover { opacity: .9; }
@media (prefers-reduced-motion: reduce) { .sheet .card:hover { transform: none; } }
@media (max-width: 860px) {
  .sheet { gap: 14px; margin-left: max(10px, env(safe-area-inset-left, 0px)); margin-right: max(10px, env(safe-area-inset-right, 0px)); }
  .sec { grid-template-columns: minmax(0, 1fr); border-top: 0; border-radius: var(--r-card); padding-block: 40px 22px; padding-inline: 18px; gap: 26px; }
  .sec:first-child { border-radius: var(--r-card); }
  .side { position: static; }
  .sheet-foot { border-radius: var(--r-card); border-top: 0; padding: 20px 18px; }
}

/* why */
.tally-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.tally-row b { font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.tally-row p { color: var(--paper-ink-2); font-size: 13px; }
.num { font: 500 52px/1 var(--font); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.dimnum { color: var(--paper-ink-2); }
.note-s { font-size: 12px; color: var(--paper-ink-2); padding: 2px 4px; }

/* how */
.steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 8px; padding: 13px 0; border-top: 1px solid var(--paper-line); }
.steps li::before { counter-increment: step; content: "0" counter(step); grid-row: span 2; font: 500 12px/22px var(--mono); color: var(--paper-ink-2); }
.steps b { font-weight: 500; font-size: 16px; letter-spacing: -.02em; }
.steps p { color: var(--paper-ink-2); font-size: 14px; }
.cut-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cut-head b { display: block; font-weight: 500; font-size: 22px; letter-spacing: -.035em; }
.cut-head p { color: var(--paper-ink-2); font-size: 13px; }
.source { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; background: var(--paper); border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 8px; }
.wave { display: flex; align-items: center; gap: 2px; height: 28px; overflow: hidden; }
.wave i { display: block; width: 3px; border-radius: 2px; background: var(--paper-ink-2); }
.meta { font: 500 11px/16px var(--mono); color: var(--paper-ink-2); letter-spacing: .03em; }
/* on a phone the waveform sits above the call's line, so the line keeps the card's full width */
@media (max-width: 560px) { .source { grid-template-columns: minmax(0, 1fr); } }
.outs { display: grid; gap: 6px; }
.out { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-sm); background: var(--paper); }
.frame { display: flex; align-items: center; justify-content: center; height: 38px; }
.frame i { display: block; background: var(--paper-ink); border-radius: 3px; }
.out b { display: block; font-weight: 500; font-size: 14px; letter-spacing: -.01em; }
.out span.f { font: 500 11px/1.4 var(--mono); color: var(--paper-ink-2); letter-spacing: .02em; }
.state { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font: 500 12px/1 var(--font); white-space: nowrap; }
.state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.state.ok { background: var(--ok-wash); color: var(--ok); }
.state.warn { background: var(--warn-wash); color: var(--warn); }
.cut-foot { font-size: 12px; color: var(--paper-ink-2); margin-top: 12px; }
@media (max-width: 420px) { .out { grid-template-columns: 38px minmax(0, 1fr); } .out .state { grid-column: 2; justify-self: start; } }

/* who */
.who h3 { font-size: 24px; letter-spacing: -.04em; margin-bottom: 8px; }
.who p { color: var(--paper-ink-2); }
.who .said { color: var(--paper-ink); font-weight: 500; font-size: 17px; letter-spacing: -.025em; margin-top: 14px; }

/* selected work */

/* creators */
.people-list { list-style: none; margin: 0; padding: 0; display: grid; }
.people-list li { padding: 16px 0; border-top: 1px solid var(--paper-wash-2); display: grid; gap: 4px; }
.people-list li:first-child { border-top: 0; padding-top: 2px; }
.people-list b { font-weight: 500; font-size: 18px; letter-spacing: -.03em; }
.people-list p { color: var(--paper); opacity: .68; }
.fields { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fields span { height: 28px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: var(--r-pill); font: 500 12px/1 var(--font); background: var(--paper-wash); }

/* prices */
/* three tiers in a row only where each has room for its price; one under another below that */
.tiers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 1400px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tier { display: flex; flex-direction: column; gap: 14px; }
.tier .name { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.tier .name b { font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price strong { font: 500 46px/1 var(--font); letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.price strong.free { font-size: 34px; letter-spacing: -.045em; }
.price span { font-size: 13px; opacity: .7; }
.tier > p { opacity: .72; min-height: 42px; }
.tier ul { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--paper-line); display: grid; gap: 8px; flex: 1; align-content: start; font-size: 14px; }
.tier.black ul { border-top-color: var(--paper-wash-2); }
.tier li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 6px; }
.tier li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-top: 8px; }
.tier .btn { width: 100%; }
.btn.ink { background: var(--paper-ink); color: var(--paper); }
.btn.paper { background: var(--paper); color: var(--paper-ink); }
.btn.line { background: transparent; color: var(--paper-ink); box-shadow: inset 0 0 0 1px var(--paper-line); }
.tier.black .tag { background: var(--paper-wash); }
@media (max-width: 1100px) and (min-width: 861px) { .tiers { grid-template-columns: minmax(0, 1fr); } .tier > p { min-height: 0; } }
@media (max-width: 560px) { .tiers { grid-template-columns: minmax(0, 1fr); } .tier > p { min-height: 0; } }

/* join */
.join .note { font-size: 13px; color: var(--paper-ink-2); margin-top: 12px; }

/* small helpers that used to be inline styles */
.tag.on-paper { background: var(--paper); }
.gap-below { margin-bottom: 16px; }
.frame i.f-916 { width: 17px; height: 30px; }
.frame i.f-169 { width: 38px; height: 22px; }
.frame i.f-45 { width: 24px; height: 30px; }
.frame i.f-11 { width: 28px; height: 28px; }
/* the 404 page */
.lost-page { min-height: 100svh; display: grid; place-content: center; justify-items: start; gap: 18px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.lost-page h1 { font: 500 clamp(36px, 6vw, 64px)/1 var(--font); letter-spacing: -.045em; }
.kicker-lost { font: 500 var(--label)/1.2 var(--mono); text-transform: uppercase; color: var(--ink-3); }
