:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --fg: #eeebe4;
  --mute: #8f8b84;
  --dim: #5a5752;
  --line: #232220;
  --paper: #e9e3d3;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film grain over everything, like a phone shot in a dark room */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 50;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); }
  50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); } 100% { transform: translate(0,0); }
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .02em;
  color: var(--mute); text-transform: lowercase;
}
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); max-width: 1320px; margin: 0 auto; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  padding-top: max(14px, env(safe-area-inset-top));
  background: linear-gradient(to bottom, rgba(10,10,10,.75), rgba(10,10,10,0));
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(10,10,10,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.brand { font-family: var(--serif); font-size: 24px; text-decoration: none; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { font-family: var(--mono); font-size: 12px; text-decoration: none; color: var(--fg); opacity: .85; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.nav-links a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.nav-links a.pill[aria-current="page"] { text-decoration: none; background: rgba(238,235,228,.12); border-color: rgba(238,235,228,.6); }
.nav-links .short { display: none; }
@media (max-width: 480px) {
  .nav-links { gap: 12px; }
  .nav-links .long { display: none; }
  .nav-links .short { display: inline; }
  .brand { font-size: 21px; }
  .pill { padding: 6px 10px; }
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(238,235,228,.35); border-radius: 999px;
  padding: 7px 12px; text-decoration: none;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 43% 60%; filter: saturate(.92) contrast(1.04); }
.hero.home .hero-photo img { object-position: 50% 30%; filter: saturate(.9) contrast(1.04); }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,.82) 0%, rgba(10,10,10,.35) 38%, rgba(10,10,10,0) 58%, rgba(10,10,10,.55) 85%, var(--bg) 100%);
}
.hero-copy {
  position: relative; z-index: 2;
  align-self: start;
  padding: calc(84px + env(safe-area-inset-top)) var(--gutter) 0;
  max-width: 760px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(64px, 19vw, 150px); line-height: .95; letter-spacing: -.02em;
  margin: 0; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
.hero h1 em { font-style: italic; color: var(--paper); }
.hero.home h1 { font-size: clamp(38px, 9.4vw, 92px); line-height: 1.02; letter-spacing: -.015em; }
.hero-sub { font-size: clamp(17px, 2vw, 21px); line-height: 1.45; margin: 18px 0 0; max-width: 30ch; text-shadow: 0 1px 16px rgba(0,0,0,.6); }
.hero-sub b { font-weight: 600; }
.hero-foot {
  position: relative; z-index: 2; align-self: end;
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter) calc(28px + env(safe-area-inset-bottom));
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 15px/1 var(--sans); text-decoration: none;
  background: var(--fg); color: var(--bg);
  padding: 15px 20px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: #fff; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid rgba(238,235,228,.4); }
.btn.ghost:hover { background: rgba(238,235,228,.08); }
.btn svg { width: 16px; height: 16px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: 1fr auto auto 1fr; min-height: 100vh; }
  .hero-photo { position: relative; inset: auto; grid-column: 2; grid-row: 1 / -1; min-width: 0; overflow: hidden; }
  .hero-photo::after { background: linear-gradient(to right, var(--bg) 0%, rgba(10,10,10,0) 30%), linear-gradient(to top, var(--bg) 0%, rgba(10,10,10,0) 25%); }
  .hero-copy { grid-column: 1; grid-row: 2; align-self: end; padding-top: 110px; }
  .hero-foot { grid-column: 1; grid-row: 3; align-self: start; justify-content: flex-start; padding-top: 34px; padding-bottom: 0; }
  .hero h1 { font-size: clamp(84px, 9vw, 150px); }
  .hero.home h1 { font-size: clamp(54px, 5.6vw, 96px); }
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap; padding: 18px 0;
}
.marquee-track { display: inline-flex; gap: 48px; animation: slide 60s linear infinite; padding-left: 48px; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3.2vw, 34px); color: var(--fg); }
.marquee span::after { content: "✦"; font-style: normal; font-size: .5em; color: var(--dim); margin-left: 48px; vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: clamp(72px, 12vw, 150px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: clamp(28px, 5vw, 56px); }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 6vw, 64px); line-height: 1; margin: 0; letter-spacing: -.01em; }

.about-line { font-family: var(--serif); font-size: clamp(34px, 5.4vw, 70px); line-height: 1.04; letter-spacing: -.015em; margin: 0 0 clamp(36px, 6vw, 72px); max-width: 18ch; text-wrap: balance; }
.about-line em { font-style: italic; color: var(--paper); }
/* ladder */
.ladder { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ladder li {
  display: grid; grid-template-columns: 1fr; gap: 6px;
  padding: clamp(20px, 3.4vw, 34px) 0; border-bottom: 1px solid var(--line);
}
.ladder .when { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.ladder .num { font-family: var(--serif); font-size: clamp(60px, 15vw, 150px); line-height: .9; letter-spacing: -.03em; }
.ladder .num small { font-size: .32em; color: var(--mute); letter-spacing: 0; margin-left: .15em; }
.ladder .what { color: var(--mute); max-width: 34ch; }
.ladder li.goal .num { color: transparent; -webkit-text-stroke: 1px var(--paper); }
@media (min-width: 760px) {
  .ladder li { grid-template-columns: 160px 1fr 34ch; align-items: end; gap: 24px; }
  .ladder .what { justify-self: end; text-align: right; }
}

/* takes */
.takes { display: grid; gap: 0; border-top: 1px solid var(--line); }
.take {
  margin: 0; padding: clamp(26px, 4vw, 44px) 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 44px 1fr; gap: 8px;
}
.take .n { font-family: var(--mono); font-size: 12px; color: var(--dim); padding-top: .9em; }
.take p { margin: 0; font-family: var(--serif); font-size: clamp(28px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
@media (min-width: 900px) {
  .takes { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .take p { font-size: clamp(30px, 3.1vw, 46px); }
}

/* the other side */
.other { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.other figure { margin: 0; position: relative; }
.other img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 2px; }
.other blockquote { margin: 0; font-family: var(--serif); font-size: clamp(36px, 7vw, 76px); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.other .sig { margin-top: 22px; }
@media (min-width: 900px) { .other { grid-template-columns: .8fr 1.2fr; } }

/* ---------- hiring ---------- */
.paper { background: var(--paper); color: #141312; }
.paper .label { color: #6c675d; }
.paper .section-head h2 { color: #141312; }
.hire { display: grid; gap: clamp(36px, 6vw, 80px); }
@media (min-width: 980px) {
  .hire { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .hire-info { position: static; }
}
.hire-lead { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; margin: 0 0 30px; letter-spacing: -.01em; }
.hire-lead span { display: block; font-family: var(--mono); font-size: 12px; color: #6c675d; margin-top: 10px; letter-spacing: 0; }
.hire-block { margin: 0 0 34px; }
.mini { font-family: var(--mono); font-size: 12px; font-weight: 400; color: #6c675d; margin: 0 0 10px; letter-spacing: .02em; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid #cfc8b6; counter-reset: step; }
.ticks li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid #cfc8b6; font-size: 16.5px; line-height: 1.45; }
.ticks li::before { content: "—"; position: absolute; left: 0; top: 12px; color: #8a8476; }
.ticks.num li { counter-increment: step; }
.ticks.num li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 12px; top: 15px; }
.facts-head { margin-top: 6px; }
.facts { margin: 0; border-top: 1px solid #cfc8b6; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #cfc8b6; }
.facts dt { font-family: var(--mono); font-size: 12px; color: #6c675d; padding-top: 3px; }
.facts dd { margin: 0; font-size: 17px; }

form { background: #141312; color: var(--fg); padding: clamp(22px, 4vw, 40px); border-radius: 4px; }
form h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 0 0 4px; }
form .label { color: var(--mute); }
.field { display: grid; gap: 8px; margin-top: 22px; }
.field > label, fieldset legend { font-size: 14px; font-weight: 400; color: #cfcac1; padding: 0; }
fieldset legend { margin-bottom: 10px; }
fieldset { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.req { color: var(--mute); }
input[type=text], input[type=tel], input[type=email], textarea {
  width: 100%; font: 400 17px/1.4 var(--sans); color: var(--fg);
  background: transparent; border: 0; border-bottom: 1px solid #3a3835;
  padding: 10px 0; border-radius: 0; outline: none; transition: border-color .15s ease;
}
textarea { resize: vertical; min-height: 84px; }
input:focus, textarea:focus { border-bottom-color: var(--fg); }
input::placeholder, textarea::placeholder { color: #55524d; }
.two { display: grid; gap: 0 20px; }
@media (min-width: 620px) { .two { grid-template-columns: 1fr 1fr; } }
.choices { display: flex; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span {
  display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1px solid #3a3835;
  font-size: 14px; color: #cfcac1; transition: all .15s ease;
}
.choices input:checked + span { background: var(--fg); color: #141312; border-color: var(--fg); }
.choices input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.opt { color: var(--mute); }
.upload { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 6px 0 2px; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-btn { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid #3a3835; font-size: 14px; color: #cfcac1; transition: all .15s ease; }
.upload:hover .upload-btn, .upload input:focus-visible + .upload-btn { border-color: var(--fg); color: var(--fg); }
.upload-name { font-size: 14px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; }
.fine { font-size: 13px; color: var(--mute); margin: 0; }
.err { color: #f0a29a; font-size: 14px; margin: 14px 0 0; min-height: 1em; }
.done { text-align: left; padding: 30px 0 10px; }
.done p { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); line-height: 1.08; margin: 0 0 10px; }

.cta-band .wrap { display: grid; gap: 26px; }
.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 8vw, 96px); line-height: .98; letter-spacing: -.02em; margin: 0; }
.cta-band h2 em { font-style: italic; }
.cta-band p { margin: 0; font-size: clamp(17px, 2vw, 20px); max-width: 44ch; }
.cta-band .btn { background: #141312; color: var(--paper); justify-self: start; }
.cta-band .btn:hover { background: #000; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr auto; align-items: end; } .cta-band .btn { justify-self: end; } }
.other .sig { font-family: var(--mono); font-size: 14px; color: var(--paper); margin-top: 24px; }

/* ---------- footer ---------- */
footer { padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: baseline; }
footer .brand { font-size: clamp(44px, 12vw, 120px); line-height: .9; }

/* floating hiring pill on phones */
.float {
  position: fixed; z-index: 45; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translate(-50%, 140%); transition: transform .35s ease;
  background: var(--fg); color: var(--bg); text-decoration: none;
  font: 500 14px/1 var(--sans); padding: 13px 18px; border-radius: 999px;
  display: inline-flex; gap: 9px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.float.show { transform: translate(-50%, 0); }
@media (min-width: 900px) { .float { display: none; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
