/* chern · one paper, one ink, one thread. No boxes, no rules: the thread does the framing. */
:root {
  color-scheme: light;
  --paper: #F4F4F6;
  --ink: #0B0B0D;
  --knot: #1C1503;
  --graphite: #8B8B94;
  --soft: #5C5C64;
  --honey: #FFD21F;
  --honey-d: #F0A500;
  --tile: radial-gradient(70% 70% at 40% 30%, #FFF3A0 0%, rgba(255,243,160,0) 70%), linear-gradient(180deg, #FFD21F 0%, #F0A500 100%);
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1240px;
  --pad: clamp(34px, 5vw, 64px);
  --gap: clamp(150px, 19vw, 260px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--honey); color: var(--knot); }
#thread { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 15; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.08em; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.05em; line-height: .96; }
h2 { font-size: clamp(44px, 6.2vw, 92px); }
h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; line-height: 1.05; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: var(--soft); max-width: 31em; }
.mt-s { margin-top: 18px; } .mt { margin-top: 28px; } .mt-l { margin-top: 48px; }

/* nav: no border, just enough paper to read over the thread */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(244,244,246,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav .logo img { height: 30px; width: auto; }
.nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav ul a, .nav .go { text-decoration: none; font-size: 15px; color: var(--soft); transition: color .2s; }
.nav ul a:hover, .nav ul a[aria-current="page"], .nav .go:hover { color: var(--ink); }
.nav .go { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .nav ul { display: none; } }

/* the one button */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--tile); color: var(--knot); font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .3s ease; }
.btn:hover { transform: translateY(-1px); }
.link { font-weight: 600; text-decoration: none; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .4s; }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* stops: each is one thing the thread will frame */
.stop { padding: calc(var(--gap) / 2) 0; }
.stop:first-of-type { padding-top: clamp(80px, 11vw, 150px); }
.f { width: fit-content; max-width: 100%; }
.f.l { margin-right: auto; }
.f.r { margin-left: auto; }
.f.c { margin-left: auto; margin-right: auto; text-align: center; }
.f.c .lede { margin-left: auto; margin-right: auto; }
.w-s { max-width: 520px; } .w-m { max-width: 720px; } .w-l { max-width: 940px; }

/* hero */
.hero h1 { font-size: clamp(56px, 9.4vw, 142px); letter-spacing: -.058em; line-height: .88; }
.hero h1 span { display: block; }
.proof { position: relative; z-index: 0; white-space: nowrap; }
.proof::after { content: ""; position: absolute; left: -.04em; right: -.06em; bottom: .07em; height: .3em; background: var(--tile); z-index: -1; border-radius: .06em; transform-origin: left; animation: swipe 1.4s 2.6s cubic-bezier(.6,0,.2,1) both; }
@keyframes swipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .lede { margin-top: 36px; }
.hero .ctas { margin-top: 36px; }

/* inline list of places */
.places { display: flex; flex-wrap: wrap; gap: 6px 30px; list-style: none; margin: 18px 0 0; padding: 0; font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.035em; }
.f.c .places { justify-content: center; }

.statement { font-size: clamp(36px, 4.8vw, 68px); font-weight: 600; letter-spacing: -.048em; line-height: 1.02; }
.statement .dim { color: var(--graphite); }

.num { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--honey-d); }
.pill h2 { margin-top: 18px; }
.pill .lede { margin-top: 22px; }

/* moves: plain rows, aligned by space alone */
.moves { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 30px; }
.moves li { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px 24px; align-items: baseline; }
.moves .n { font-family: var(--mono); font-size: 13px; color: var(--graphite); }
.moves li:first-child .n { color: var(--honey-d); }
.moves .t { font-size: 21px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }
.moves .s { grid-column: 2; color: var(--soft); font-size: 15px; margin-top: -4px; }
.moves .d { grid-row: 1 / span 2; grid-column: 3; font-size: clamp(30px, 3vw, 40px); font-weight: 600; letter-spacing: -.045em; white-space: nowrap; }
.moves .d small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--graphite); font-weight: 400; text-align: right; }
.note { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); margin-top: 36px; }

.nos { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 56px; margin-top: 52px; text-align: left; }
@media (max-width: 760px) { .nos { grid-template-columns: 1fr; } }
.nos .k { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--honey-d); display: block; margin-bottom: 8px; }
.nos p { font-size: 18px; color: var(--soft); }

.who { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 18px; }
.who li { font-size: clamp(30px, 3.9vw, 52px); font-weight: 600; letter-spacing: -.048em; line-height: 1.02; }
.who li em { color: var(--soft); }
.who li small { display: block; font: 400 15px/1.4 var(--sans); letter-spacing: 0; color: var(--graphite); margin-top: 4px; }

/* contact */
.photo { width: clamp(220px, 24vw, 300px); aspect-ratio: 4 / 5; display: grid; place-items: center; color: var(--graphite); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.duo { display: flex; gap: clamp(40px, 6vw, 88px); align-items: center; flex-wrap: wrap; }
.names { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.email { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.03em; margin-top: 26px; display: inline-block; }

form { width: min(620px, 100%); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.fld label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-bottom: 8px; }
.fld input, .fld select, .fld textarea { width: 100%; font: 400 18px/1.4 var(--sans); color: var(--ink); background: rgba(11,11,13,.045); border: 0; border-radius: 12px; padding: 14px 16px; appearance: none; transition: background .3s; }
.fld textarea { min-height: 110px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; background: rgba(11,11,13,.08); }
form .btn { margin-top: 32px; }
.form-note { color: var(--graphite); font-size: 13px; margin-top: 16px; }
.sent { display: none; }
form.done .fields, form.done .btn, form.done .form-note { display: none; }
form.done .sent { display: block; }

/* inner pages */
.page h1 { font-size: clamp(52px, 8vw, 116px); letter-spacing: -.058em; line-height: .9; margin-top: 22px; }
.page .lede { margin-top: 28px; }
.step h3 { margin-top: 16px; }
.step p { color: var(--soft); margin-top: 18px; font-size: 18px; max-width: 34em; }
.step ul, .prose ul { margin: 16px 0 0; padding-left: 20px; color: var(--soft); }
.step li, .prose li { margin: 7px 0; }

.faq details { padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--graphite); transition: transform .4s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--soft); padding: 0 0 18px; max-width: 40em; }

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -.04em; line-height: 1.05; margin-bottom: 18px; }
.prose p { color: #2b2b31; margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { text-decoration-color: var(--honey-d); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.rows { display: grid; gap: 22px; margin-top: 8px; }
.rows div { display: grid; grid-template-columns: 190px 1fr; gap: 20px; }
@media (max-width: 640px) { .rows div { grid-template-columns: 1fr; gap: 4px; } }
.rows b { font-weight: 600; letter-spacing: -.01em; }
.rows span { color: #2b2b31; }
.ph { background: rgba(255,210,31,.4); border-radius: 4px; padding: 0 4px; }
.quote { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.quote a { text-decoration-color: var(--honey-d); text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* footer: the tagline is the last frame; the rest is quiet */
footer .base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 40px 0 44px; }
footer .base img { height: 26px; width: auto; }
footer ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
footer ul a { text-decoration: none; }
footer ul a:hover { color: var(--ink); }
.tagline { font-size: clamp(40px, 5.6vw, 80px); font-weight: 600; letter-spacing: -.052em; line-height: .96; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* bees: pinned to their words */
html, body { overflow-x: clip; }
[data-bee] { position: relative; }
.bee { position: absolute; pointer-events: none; z-index: 16; }
@media (max-width: 640px) { .bee { transform: scale(.8); } }
