/* ==========================================================================
   Tokens
   Shape rule: every UI surface is square-cornered (radius 0). The only round
   things are avatars inside the illustrative post, because that is how the
   platforms draw them.
   ========================================================================== */
:root {
  --paper: #EEEEE9;
  --paper-2: #E5E5DF;
  --card: #FAFAF7;
  --ink: #131418;
  --ink-2: #33353B;
  --muted: #595B62;           /* 6.0:1 on paper */
  --rule: rgba(19, 20, 24, .14);
  --line-strong: #85878D;     /* 3.2:1 on paper, for input borders */
  --accent: #D6411B;          /* vermilion: the editor's pen */
  --accent-ink: #AE3112;      /* accent for small text, 5.3:1 on paper */
  --accent-wash: rgba(214, 65, 27, .1);
  --shadow: 0 1px 0 rgba(19, 20, 24, .04), 0 40px 80px -40px rgba(38, 30, 24, .35);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1360px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --mast-h: 68px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101114;
    --paper-2: #16171B;
    --card: #191A1F;
    --ink: #ECEBE6;
    --ink-2: #CFCEC8;
    --muted: #A0A2A9;
    --rule: rgba(236, 235, 230, .13);
    --line-strong: #6E7078;
    --accent: #FF6A3D;
    --accent-ink: #FF8A63;
    --accent-wash: rgba(255, 106, 61, .12);
    --shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 40px 80px -40px rgba(0, 0, 0, .8);
  }
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 10px 14px; background: var(--ink); color: var(--paper); text-decoration: none;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

em { font-style: italic; }
.section-title em, .hero__title em, .rules__statement em { color: var(--accent); }

/* Layers: field 0, content 1, masthead 20, grain 30, cursor 100, skip 200 */
.inkfield {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; display: block;
  opacity: 0; transition: opacity 1.6s ease;
}
.inkfield.is-on { opacity: 1; }
.grain {
  position: fixed; inset: -50%; z-index: 30; pointer-events: none;
  opacity: .055; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1.1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-color-scheme: dark) { .grain { mix-blend-mode: screen; opacity: .04; filter: invert(1); } }

main, .masthead, .colophon { position: relative; z-index: 1; }

/* ==========================================================================
   Buttons and links
   ========================================================================== */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  height: 52px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--ink); border-radius: 0;
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .2s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--accent); }
@media (prefers-color-scheme: dark) { .btn:hover, .btn:focus-visible { color: #121316; } }
.btn:active { transform: translateY(1px) scale(.985); }
.btn .ph { font-size: 1.05em; transition: transform .45s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(3px); }
.btn:hover .ph-arrow-down-right { transform: translate(2px, 2px); }
.btn--small { height: 40px; padding: 0 18px; font-size: 14px; }

.link {
  position: relative; display: inline-block; text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 4px 0;
  background: linear-gradient(var(--accent), var(--accent)) left 100% / 0 1px no-repeat,
              linear-gradient(var(--rule), var(--rule)) left 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link:hover, .link:focus-visible { background-size: 100% 1px, 100% 1px; color: var(--accent-ink); }

/* ==========================================================================
   Masthead
   ========================================================================== */
/* Open like the colophon: no panel, the ink field runs behind it; a hairline runs gutter to gutter. */
.masthead {
  --col: var(--gutter); /* logo sits at the page gutter, left of the content column */
  position: relative; z-index: 20;
  height: var(--mast-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--col);
}
.masthead::after { content: ""; position: absolute; left: var(--col); right: var(--col); bottom: 0; height: 1px; background: var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.wordmark__name {
  font-family: var(--serif); font-variation-settings: "opsz" 72;
  font-size: 30px; font-weight: 500; letter-spacing: -.02em; line-height: 1;
  position: relative; top: .1em; /* optical centering: caps sit mid-bar, not the full line box */
}
.masthead__nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); }
.masthead__nav > a:not(.btn) {
  text-decoration: none; font-size: 14.5px; font-weight: 450; color: var(--ink-2);
  position: relative; padding: 6px 0;
}
.masthead__nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.masthead__nav > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 640px) {
  .masthead__nav > a:not(.btn) { display: none; }
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.hero, .terms, .month, .writing, .rules, .apply, .colophon, .lines {
  width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}
.section-title {
  font-family: var(--serif); font-variation-settings: "opsz" 72;
  font-weight: 400; font-size: clamp(2.1rem, 1.1rem + 3.2vw, 4rem);
  line-height: 1.04; letter-spacing: -.028em;
  max-width: 18ch; text-wrap: balance;
}
.section-title em { padding-bottom: .06em; }
.lede { margin-top: 20px; max-width: 46ch; font-size: clamp(17px, 1rem + .3vw, 20px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  min-height: calc(100dvh - var(--mast-h));
  padding-top: clamp(32px, 5vh, 72px);
  padding-bottom: clamp(48px, 8vh, 96px);
}
.hero__copy { max-width: 820px; }

.toggle {
  position: relative; display: inline-grid; grid-template-columns: auto auto;
  border: 1px solid var(--ink); margin-bottom: clamp(24px, 4vh, 40px);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
}
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle label {
  position: relative; z-index: 1; cursor: pointer;
  padding: 9px 18px; font-size: 14px; font-weight: 500; letter-spacing: .01em;
  color: var(--ink-2); transition: color .4s var(--ease);
  user-select: none;
}
.toggle input:checked + label { color: var(--paper); }
.toggle input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.toggle__thumb {
  position: absolute; z-index: 0; top: 0; bottom: 0; left: 0;
  width: var(--tw, 50%); transform: translateX(var(--tx, 0));
  background: var(--ink);
  transition: transform .55s var(--ease), width .55s var(--ease);
}

.hero__title {
  display: grid;
  font-family: var(--serif); font-variation-settings: "opsz" 72;
  font-weight: 380; font-size: clamp(2.6rem, 1rem + 4vw, 4.75rem);
  line-height: 1.0; letter-spacing: -.032em;
  text-wrap: balance;
}
.hero__line { grid-area: 1 / 1; padding-bottom: .08em; }
.hero__line .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__line .w > span { display: inline-block; transition: transform .9s var(--ease), opacity .6s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.hero__line .w:last-child > span { font-style: italic; color: var(--accent); padding-right: .04em; }
html:not(.js) .hero__line[data-aud="founders"] { display: none; }
.hero__line[aria-hidden="true"] { visibility: hidden; }
.hero__line[aria-hidden="true"] .w > span { transform: translateY(105%); opacity: 0; transition-delay: calc(var(--i) * 25ms); }
html.js:not(.ready) .hero__line .w > span { transform: translateY(105%); }

.hero__sub {
  margin-top: clamp(20px, 3vh, 32px); max-width: 34ch;
  font-size: clamp(18px, 1rem + .5vw, 22px); line-height: 1.45; color: var(--ink-2);
  text-wrap: pretty;
}
.hero__ctas { display: flex; align-items: center; gap: 28px; margin-top: clamp(28px, 4vh, 44px); flex-wrap: wrap; }

/* Post preview */
.preview { justify-self: end; width: 100%; max-width: 480px; perspective: 1400px; }
.preview__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.platforms { display: inline-flex; gap: 2px; }
.platforms button {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px; border: 1px solid transparent; background: none; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--muted);
  transition: color .3s, border-color .3s, background-color .3s;
}
.platforms button:hover { color: var(--ink); }
.platforms button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); background: var(--card); }
.platforms .ph { font-size: 15px; }
.preview__note { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.post {
  --tilt-x: 0deg; --tilt-y: 0deg;
  background: var(--card); border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
  font-family: var(--sans); color: var(--ink);
  overflow: hidden;
}
.post__head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 16px 18px 10px; align-items: start; }
.post__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  font-family: var(--serif); font-size: 18px; font-style: italic; letter-spacing: .02em;
}
.post__who { display: grid; line-height: 1.3; min-width: 0; }
.post__name { font-weight: 600; font-size: 15px; }
.post__handle { font-weight: 400; color: var(--muted); }
.post__role { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post__meta { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.post__more { font-size: 22px; color: var(--muted); }
.post__body { padding: 2px 18px 14px; font-size: 15px; line-height: 1.5; min-height: 9.2em; }
.post__body p + p { margin-top: .7em; }
.post__body .caret {
  display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -.18em;
  background: var(--accent); animation: blink 1s steps(1) infinite;
}
.post__photo { position: relative; aspect-ratio: 5 / 3; overflow: hidden; background: var(--paper-2); }
.post__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.05) brightness(1.02);
  transition: opacity .5s var(--ease), transform 1.2s var(--ease);
}
.post__photo::after { /* duotone tint: ink shadows, warm highlights */
  content: ""; position: absolute; inset: 0; background: var(--accent); mix-blend-mode: soft-light; opacity: .22; pointer-events: none;
}
.post__photo img.is-swapping { opacity: 0; transform: scale(1.03); }
.post__actions {
  display: flex; justify-content: space-between; padding: 6px 10px;
  border-top: 1px solid var(--rule); font-size: 13px; font-weight: 500; color: var(--muted);
}
.post__actions span { display: inline-flex; align-items: center; gap: 6px; padding: 8px; }
.post__actions .ph { font-size: 18px; }

/* X variant */
.post[data-platform="x"] .post__head { padding-bottom: 4px; }
.post[data-platform="x"] .post__avatar { width: 40px; height: 40px; font-size: 15px; }
.post[data-platform="x"] .post__role { display: none; }
.post[data-platform="x"] .post__who { grid-auto-flow: column; justify-content: start; gap: 6px; align-items: baseline; }
.post[data-platform="x"] .post__body { padding-left: 70px; min-height: 6.5em; }
.post[data-platform="x"] .post__photo { margin: 0 18px 4px 70px; aspect-ratio: 16 / 9; border: 1px solid var(--rule); border-radius: 14px; }
.post[data-platform="x"] .post__actions { border-top: 0; padding-left: 62px; padding-right: 18px; }
.post[data-platform="x"] .post__actions .lbl { display: none; }

/* ==========================================================================
   The arrangement
   ========================================================================== */
.terms { padding-top: clamp(72px, 12vh, 140px); padding-bottom: clamp(72px, 12vh, 140px); }
.terms__grid {
  margin-top: clamp(40px, 6vh, 72px);
  display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 0;
  border-top: 1px solid var(--ink);
}
.term { padding: 24px clamp(16px, 2vw, 32px) 8px 0; }
.term + .term { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--rule); }
.term__fig {
  font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 300;
  font-size: clamp(4rem, 2rem + 6vw, 8.5rem); line-height: .9; letter-spacing: -.04em;
  font-feature-settings: "lnum";
}
.term:first-child .term__fig { color: var(--accent); }
.term__fig sup { font-size: .42em; vertical-align: .95em; margin-left: .02em; font-weight: 400; }
.term dd { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 30ch; }
.term dd strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   How a month runs
   ========================================================================== */
.month { padding-top: clamp(48px, 8vh, 96px); padding-bottom: clamp(72px, 12vh, 140px); }
.month__body {
  margin-top: clamp(40px, 6vh, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px);
  align-items: start;
}
.cal { position: sticky; top: calc(var(--mast-h) + 32px); }
.cal__grid {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
  background: color-mix(in srgb, var(--card) 55%, transparent);
}
.cal__cell {
  position: relative; aspect-ratio: 1;
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 6px 7px;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.cal__cell--blank { background: repeating-linear-gradient(135deg, transparent 0 6px, var(--rule) 6px 7px); opacity: .5; }
.cal__mark {
  position: absolute; left: 50%; top: 56%; translate: -50% -50%;
  width: 30%; aspect-ratio: 1; background: var(--ink);
  transform: scale(0); transition: transform .6s var(--ease);
  transition-delay: calc(var(--n) * 70ms + 300ms);
}
.cal__cell--call .cal__mark { background: none; border: 2px solid var(--accent); border-radius: 50%; width: 56%; transition-delay: 100ms; }
.cal__cell--call { color: var(--accent-ink); }
.cal.in .cal__mark { transform: scale(1); }
.cal__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.cal__legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal__key { display: inline-block; width: 12px; height: 12px; background: var(--ink); }
.cal__key--call { background: none; border: 2px solid var(--accent); border-radius: 50%; }

.steps { counter-reset: step; }
.step { padding: 26px 0 30px; border-top: 1px solid var(--rule); }
.step:first-child { border-top-color: var(--ink); }
.step h3 {
  font-family: var(--serif); font-variation-settings: "opsz" 48; font-style: italic;
  font-weight: 400; font-size: clamp(28px, 1.2rem + 1.4vw, 40px); line-height: 1.1; letter-spacing: -.02em;
}
.step p { margin-top: 10px; color: var(--muted); max-width: 44ch; }

/* ==========================================================================
   What we write
   ========================================================================== */
.writing { padding-top: clamp(48px, 8vh, 96px); padding-bottom: clamp(72px, 12vh, 140px); }
.columns { margin-top: clamp(40px, 6vh, 64px); display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.column { padding: 32px clamp(20px, 3.5vw, 56px) 8px 0; position: relative; }
.column + .column { padding-left: clamp(20px, 3.5vw, 56px); padding-right: 0; border-left: 1px solid var(--rule); }
.column::before { /* active-audience marker */
  content: ""; position: absolute; top: -2px; left: 0; height: 3px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
html[data-audience="funds"] .column[data-col="funds"]::before,
html[data-audience="founders"] .column[data-col="founders"]::before { transform: scaleX(1); }
.column__title {
  font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 400;
  font-size: clamp(32px, 1.4rem + 1.8vw, 48px); letter-spacing: -.025em; line-height: 1.05;
}
.column__dek { margin-top: 12px; color: var(--muted); max-width: 42ch; }
.column__list { margin-top: 28px; display: grid; gap: 18px; }
.column__list li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; align-items: baseline; font-size: 16px; line-height: 1.5; }
.column__list span { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); }

/* ==========================================================================
   Opening lines (marquee)
   ========================================================================== */
.lines { max-width: none; padding-inline: 0; padding-top: clamp(24px, 4vh, 48px); padding-bottom: clamp(72px, 12vh, 140px); }
.lines__label {
  max-width: var(--max); margin: 0 auto 20px; padding-inline: var(--gutter);
  font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.marquee {
  overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: clamp(18px, 3vh, 30px) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  flex: none; display: inline-flex; align-items: center;
  font-family: var(--serif); font-variation-settings: "opsz" 72; font-style: italic; font-weight: 350;
  font-size: clamp(30px, 1.2rem + 2.6vw, 58px); letter-spacing: -.02em; line-height: 1.15; white-space: nowrap;
}
.marquee__track span::after {
  content: ""; display: inline-block; width: .22em; height: .22em; margin: 0 .9em; background: var(--accent); transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   House rules
   ========================================================================== */
.rules { padding-top: clamp(24px, 4vh, 48px); padding-bottom: clamp(80px, 14vh, 160px); }
.rules__statement {
  font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 380;
  font-size: clamp(2.5rem, 1rem + 5vw, 6.2rem); line-height: 1.0; letter-spacing: -.035em;
}
.rules__statement span, .rules__statement em { display: block; }
.rules__statement em { padding-bottom: .08em; }
.rules__list {
  margin-top: clamp(48px, 8vh, 96px); margin-left: auto; width: min(100%, 860px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(24px, 4vw, 64px);
}
.rules__list li { border-top: 1px solid var(--ink); padding-top: 18px; }
.rules__list h3 { font-size: 17px; font-weight: 600; letter-spacing: -.005em; }
.rules__list p { margin-top: 6px; color: var(--muted); }

/* ==========================================================================
   Apply
   ========================================================================== */
.apply {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px);
  padding-top: clamp(64px, 10vh, 120px); padding-bottom: clamp(80px, 14vh, 160px);
  border-top: 1px solid var(--rule);
}
.apply__intro .section-title { max-width: 13ch; }
.apply__photo { margin-top: clamp(32px, 5vh, 56px); position: relative; max-width: 340px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.apply__photo img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08); }
.apply__photo::after { content: ""; position: absolute; inset: 0; background: var(--accent); mix-blend-mode: soft-light; opacity: .25; }
@media (prefers-color-scheme: dark) { .apply__photo img, .post__photo img { filter: contrast(1.05) brightness(.85); } }

.form {
  align-self: start; display: grid; gap: 26px;
  background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow);
  padding: clamp(22px, 3.2vw, 44px);
}
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field legend { font-size: 14px; font-weight: 550; color: var(--ink); padding: 0; }
.field__opt { font-weight: 400; color: var(--muted); margin-left: 6px; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 0;
  font-size: 16px; line-height: 1.4; color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input, .field textarea { caret-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 0 0 4px var(--accent-wash); background: var(--card); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field__help { font-size: 13px; color: var(--muted); }
.field__error { font-size: 13px; font-weight: 500; color: var(--accent-ink); min-height: 0; }
.field__error:empty { display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--accent-ink); box-shadow: 0 0 0 1px var(--accent-ink); }
.field.has-error .choice label { border-color: var(--accent-ink); }

.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 10px;
  border: 1px solid var(--line-strong); background: var(--paper); cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.choice label:hover { border-color: var(--ink); color: var(--ink); }
.choice input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 4px; }
.btn--submit { height: 56px; padding: 0 30px; font-size: 16px; }
.btn--submit[disabled] { cursor: progress; }
.btn--submit.is-loading::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 40%; background: var(--accent);
  animation: loadbar 1.1s var(--ease-io) infinite;
}
@keyframes loadbar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.form__status { font-size: 14px; color: var(--muted); max-width: 40ch; }
.form__status.is-error { color: var(--accent-ink); font-weight: 500; }

.form-done { align-self: start; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--ink); background: var(--card); }
.form-done:focus { outline: none; }
.form-done h3 { font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 400; font-size: clamp(36px, 1.6rem + 2vw, 56px); letter-spacing: -.03em; line-height: 1.05; }
.form-done p { margin-top: 14px; color: var(--muted); max-width: 42ch; }

/* ==========================================================================
   Colophon
   ========================================================================== */
.colophon { padding-bottom: 28px; overflow: hidden; }
.colophon__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }

/* ==========================================================================
   Custom cursor (fine pointers only; enabled by JS adding .has-cursor)
   ========================================================================== */
.cursor { display: none; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 100; pointer-events: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; will-change: transform; }
.cursor__nib {
  position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  transition: transform .35s var(--ease), border-radius .35s var(--ease), opacity .2s;
}
.cursor__disc {
  position: absolute; left: -36px; top: -36px; width: 72px; height: 72px; border-radius: 50%;
  border: 2.2px solid var(--ink); opacity: .55;
  transform: scale(.44);
  transition: transform .5s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), opacity .4s;
}
.cursor__label {
  position: absolute; left: 0; top: 0; translate: -50% -50%;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--paper);
  opacity: 0; transform: scale(.6); transition: opacity .3s var(--ease), transform .5s var(--ease); white-space: nowrap;
}
html.cursor-hidden .cursor { opacity: 0; }
/* over links and buttons: ring swells and tints, dot recedes */
html.cursor-link .cursor__disc { transform: scale(.78); border-color: var(--accent); background: var(--accent-wash); opacity: 1; }
html.cursor-link .cursor__nib { transform: scale(.5); }
/* over elements with a label: solid disc with a word */
html.cursor-label .cursor__disc { transform: scale(1); background: var(--ink); border-color: var(--ink); opacity: 1; }
html.cursor-label .cursor__label { opacity: 1; transform: none; }
html.cursor-label .cursor__nib { opacity: 0; }
/* over text fields: the dot becomes an editor's caret */
/* Over text fields, step aside: native I-beam for precise placement, no second blinking line. */
html.cursor-text .cursor { opacity: 0; transition: opacity .15s; }
html.has-cursor input[type="text"], html.has-cursor input[type="email"], html.has-cursor textarea { cursor: text !important; }
html.cursor-down .cursor__disc { transform: scale(.36); }
html.cursor-down.cursor-link .cursor__disc { transform: scale(.66); }
@keyframes blink { 50% { opacity: 0; } }

/* ==========================================================================
   Reveal on scroll (only when JS and motion are allowed)
   ========================================================================== */
html.motion [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
html.motion [data-reveal].in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .terms__grid { grid-template-columns: 1fr 1fr; }
  .term:nth-child(3) { border-left: 0; padding-left: 0; }
  .term:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 8px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; gap: 44px; }
  .preview { justify-self: start; max-width: 520px; }
  .month__body { grid-template-columns: 1fr; }
  .cal { position: relative; top: 0; max-width: 520px; }
  .columns { grid-template-columns: 1fr; }
  .column { padding-right: 0; }
  .column + .column { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); margin-top: 32px; }
  .column::before { top: -1px; }
  .apply { grid-template-columns: 1fr; }
  .apply__photo { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .terms, .month, .writing { padding-top: 56px; padding-bottom: 56px; }
  .lines { padding-bottom: 64px; }
  .rules { padding-bottom: 72px; }
  .apply { padding-top: 56px; padding-bottom: 72px; }
  .cal__mark { top: 62%; width: 26%; }
  .cal__cell--call .cal__mark { width: 44%; border-width: 1.5px; }
  .cal__cell { padding: 3px 4px; font-size: 10px; }
  .form__row--2 { grid-template-columns: 1fr; }
  .rules__list { grid-template-columns: 1fr; gap: 28px; }
  .column__list li { grid-template-columns: 1fr; gap: 2px; }
  .term dd { font-size: 15px; }
  .term { padding-right: 12px; }
  .term + .term { padding-left: 14px; }
  .term:nth-child(3) { padding-left: 0; }
  .post__body { font-size: 14.5px; }
  .post[data-platform="x"] .post__body { padding-left: 18px; }
  .post[data-platform="x"] .post__photo { margin-left: 18px; }
  .post[data-platform="x"] .post__actions { padding-left: 10px; }
  .post__actions .lbl { display: none; }
  .post__actions { justify-content: space-around; }
  .preview__note { font-size: 10px; }
  .colophon__row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .toggle label { padding: 9px 14px; }
  .choice { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .choice label { font-size: 14px; padding: 0 4px; }
}

/* ==========================================================================
   Reduced motion: everything settles, nothing loops
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; flex-wrap: wrap; gap: 6px 0; padding-inline: var(--gutter); animation: none; }
  .marquee__track span { white-space: normal; font-size: clamp(24px, 1rem + 2vw, 40px); }
  .marquee__track span[data-clone] { display: none; }
  .post { transform: none; }
}
.post__seemore { color: var(--muted); }

/* Single-section page: the form is the page. */
.apply--solo {
  border-top: 0; align-items: start;
  min-height: calc(100dvh - var(--mast-h));
  padding-top: clamp(40px, 9vh, 112px); padding-bottom: clamp(64px, 10vh, 120px);
}
.apply--solo .apply__intro { position: sticky; top: 40px; }
.apply--solo .section-title { font-size: clamp(2.6rem, 1rem + 4vw, 4.75rem); line-height: 1.0; letter-spacing: -.032em; }
.apply__note { font-size: 15px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); max-width: 40ch; }
@media (max-width: 900px) {
  .apply--solo { min-height: 0; padding-top: 32px; }
  .apply--solo .apply__intro { position: static; }
}
.wordmark__x { color: var(--accent); }

/* Footer */
.colophon__row { border-top: 1px solid var(--rule); }
.colophon__links { display: flex; gap: clamp(16px, 2.4vw, 32px); flex-wrap: wrap; }

/* Extra LinkedIn/X profiles */
.field__more-list:empty { display: none; }
.field__more-list { display: grid; gap: 8px; }
.field__more { display: flex; gap: 8px; }
.field__more input { flex: 1; min-width: 0; }
.field__remove {
  flex: none; width: 50px; min-height: 50px; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line-strong); color: var(--muted); cursor: pointer;
  transition: border-color .25s, color .25s;
}
.field__remove:hover { border-color: var(--ink); color: var(--ink); }
.field__remove:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field__more.has-error input { border-color: var(--accent-ink); box-shadow: 0 0 0 1px var(--accent-ink); }
.field__add {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 0; background: none; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.field__add:hover { color: var(--accent-ink); }
.field__add:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field__add[hidden] { display: none; }

/* Text pages: about, privacy, terms */
.page { width: 100%; max-width: var(--max); margin-inline: auto; padding: clamp(48px, 10vh, 128px) var(--gutter) clamp(64px, 12vh, 144px); }
.page__body { max-width: 68ch; }
.page h1 { font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 400; font-size: clamp(2.4rem, 1.2rem + 3vw, 4rem); line-height: 1.04; letter-spacing: -.03em; }
.page h2 { font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 450; font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -.02em; margin-top: clamp(40px, 6vh, 64px); }
.page p, .page li { font-size: clamp(17px, 1rem + .2vw, 19px); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.page p { margin-top: 18px; }
.page ul { margin-top: 14px; padding-left: 1.2em; display: grid; gap: 8px; }
.page li::marker { color: var(--accent); }
.page__meta { font-size: 14px !important; color: var(--muted) !important; }
.page a:not(.btn) { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }

.quote { margin: 0 0 clamp(56px, 10vh, 112px); }
.quote blockquote { margin: 0; }
.quote p {
  margin: 0; font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 380;
  font-size: clamp(2.8rem, 1rem + 6vw, 6.5rem); line-height: 1.0; letter-spacing: -.035em; color: var(--ink);
  max-width: 15ch; text-wrap: balance; text-indent: -.4em;
}
.quote p em { color: var(--accent); }
.quote footer { margin-top: clamp(20px, 3vh, 32px); font-size: clamp(16px, 1rem + .2vw, 19px); color: var(--muted); }
.page__cta { margin-top: clamp(40px, 6vh, 64px); }
