/* ============================================================================
   SPLIT — YC-faithful landing page
   A light editorial layout modeled on ycombinator.com: warm paper, an editorial
   serif, monospace labels, generous whitespace, a dark footer.
   Self-contained: this file + yc.js drive index.html only. Other pages keep
   styles.css / app.js untouched until the full-site pass.
   ========================================================================== */

/* ------------------------------------------------------------------ FONTS
   Self-hosted, no CDN. Newsreader = editorial serif (YC-serif lookalike),
   JetBrains Mono = MD-IO-style label face. Both variable, hence weight ranges. */
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/Newsreader-latin.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/Newsreader-Italic-latin.woff2') format('woff2');
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* ------------------------------------------------------------------ TOKENS */
:root {
  --paper:      #FCFBF9;   /* primary warm off-white canvas */
  --paper-2:    #F4F2EC;   /* subtle band / photo-strip backing */
  --paper-3:    #ECE9E1;   /* placeholder photo tone */
  --ink:        #1B1A17;   /* warm near-black text */
  --ink-2:      #56534C;   /* secondary text */
  --muted:      #B4AEA4;   /* faint names, dim labels */
  --muted-2:    #8C867C;   /* captions, meta */
  --line:       rgba(27,26,23,0.12);
  --line-2:     rgba(27,26,23,0.20);
  --accent:     #FF6A3C;   /* operator orange — reads as YC orange too */
  --accent-ink: #D9531E;   /* orange dark enough for small text on paper */
  --footer-bg:  #0C0B0A;
  --footer-ink: #EDEBE6;
  --footer-mut: #8A857C;
  --footer-ln:  rgba(255,255,255,0.12);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1220px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ------------------------------------------------------------------ RESET */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.yc {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.yc img { max-width: 100%; display: block; }
/* resets wrapped in :where() so they carry ZERO specificity and never
   override the single-class margin/color rules below (which would otherwise
   lose to a bare `.yc h1` / `.yc a` selector and break centering & spacing). */
:where(.yc a) { color: inherit; text-decoration: none; }
:where(.yc h1, .yc h2, .yc h3, .yc p) { margin: 0; }
.yc ::selection { background: var(--accent); color: #fff; }

.yc .skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
  font-family: var(--mono); font-size: 13px;
}
.yc .skip-link:focus { left: 12px; top: 12px; }

/* shared helpers */
.yc-container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.yc-narrow   { max-width: 720px; margin-inline: auto; }
.yc-label {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2);
}
.yc-section { padding-block: clamp(56px, 9vw, 120px); }

/* ------------------------------------------------------------------ HEADER */
.yc-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.yc-header.is-scrolled { border-bottom-color: var(--line); }
.yc-nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 66px; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter);
}
.yc-nav__group { display: flex; align-items: center; gap: 26px; }
.yc-nav__group--right { justify-content: flex-end; }
.yc-nav__link {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
  position: relative; padding: 6px 0; transition: color .18s var(--ease);
}
.yc-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.yc-nav__link:hover { color: var(--ink); }
.yc-nav__link:hover::after,
.yc-nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* the orange square mark, YC-style, centered */
.yc-mark { display: inline-flex; align-items: center; gap: 10px; }
.yc-mark__sq {
  width: 34px; height: 34px; border-radius: 7px; background: var(--accent);
  display: grid; place-items: center; flex: none;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.yc-mark__sq svg { width: 20px; height: 20px; }
.yc-mark__word {
  font-family: var(--mono); font-weight: 700; font-size: 15px;
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink);
}
.yc-nav .yc-mark { justify-self: center; }

.yc .yc-btn {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
  border-radius: 6px; padding: 9px 16px; border: 1px solid var(--ink);
  color: var(--ink); background: transparent; transition: all .18s var(--ease);
  display: inline-flex; align-items: center; gap: 8px; line-height: 1;
}
.yc .yc-btn:hover { background: var(--ink); color: var(--paper); }
.yc .yc-btn--solid { background: var(--ink); color: var(--paper); }
.yc .yc-btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.yc .yc-btn--round { border-radius: 999px; }

.yc-burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-2);
  background: transparent; border-radius: 8px; cursor: pointer;
  position: relative; justify-self: end;
}
.yc-burger span, .yc-burger span::before, .yc-burger span::after {
  content: ""; position: absolute; left: 50%; width: 18px; height: 1.5px;
  background: var(--ink); transform: translateX(-50%); transition: .2s var(--ease);
}
.yc-burger span { top: 50%; margin-top: -0.75px; }
.yc-burger span::before { top: -6px; } .yc-burger span::after { top: 6px; }

/* mobile full-screen menu */
.yc-mobile {
  position: fixed; inset: 0; z-index: 60; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 var(--gutter); transform: translateY(-100%);
  transition: transform .38s var(--ease); visibility: hidden;
}
body.menu-open .yc-mobile { transform: translateY(0); visibility: visible; }
.yc-mobile a {
  font-family: var(--serif); font-size: clamp(30px, 8vw, 46px); font-weight: 400;
  color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--line);
}
.yc-mobile a em { color: var(--accent-ink); font-style: italic; }
.yc-mobile__close {
  position: absolute; top: 18px; right: var(--gutter); width: 44px; height: 44px;
  border: 1px solid var(--line-2); background: transparent; border-radius: 8px;
  font-size: 22px; cursor: pointer; color: var(--ink);
}

/* ------------------------------------------------------------------ HERO */
.yc-hero { text-align: center; padding-block: clamp(64px, 13vw, 168px) clamp(40px, 7vw, 80px); }
.yc-hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.1rem); line-height: 1.05;
  letter-spacing: -0.02em; max-width: 17ch; margin-inline: auto;
  text-wrap: balance;
}
.yc-hero__title em { font-style: italic; }
.yc-hero__title sup {
  font-family: var(--mono); font-size: 0.26em; font-weight: 500;
  vertical-align: super; color: var(--accent-ink); top: -0.9em;
}
.yc-hero__quote {
  font-style: italic; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.5;
  color: var(--ink-2); max-width: 48ch; margin: clamp(36px, 6vw, 64px) auto 0;
  text-wrap: pretty;
}
.yc-hero__fn {
  font-style: normal; font-family: var(--mono); font-size: 0.72em;
  font-weight: 500; color: var(--accent-ink); vertical-align: super;
  margin-right: 0.15em;
}
.yc-hero__cite {
  display: block; font-style: normal; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2);
  margin-top: 20px;
}
.yc-scrollcue {
  width: 1px; height: 46px; margin: clamp(40px,7vw,72px) auto 0;
  background: linear-gradient(var(--line-2), transparent);
}

/* ------------------------------------------------- SECTOR / LOGO WALL
   A pinned scroll-scrub (YC's founders wall): the section locks while one
   sector name grows large at centre and the two side photos swap to match.
   Base styles below are the static/no-JS fallback; `.is-live` (added by JS
   when motion is allowed) turns on the sticky pin + absolute name column. */
.yc-wall { position: relative; --wall-n: 8; }
.yc-wall__sticky {
  display: grid; grid-template-columns: 1fr minmax(0, 34%) 1fr; align-items: center;
  gap: clamp(16px, 3vw, 56px); max-width: 1440px; margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
}
.yc-wall__photo {
  position: relative; height: min(64vh, 560px); border-radius: 3px;
  overflow: hidden; display: none;
}
/* two stacked layers per photo → cross-dissolve + gentle ken-burns drift on
   swap. Swap `background` for a real `background-image: url(...)` per sector. */
.yc-wall__layer {
  position: absolute; inset: 0; opacity: 0; border-radius: 3px;
  border: 1px solid var(--line); background: var(--paper-3);
  background-size: cover; background-position: center;
  transform: scale(1.06); transform-origin: center;
  transition: opacity .7s var(--ease), transform 1.5s var(--ease);
}
.yc-wall__layer::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 11px, rgba(27,26,23,0.035) 11px 12px);
}
.yc-wall__layer::after {
  content: attr(data-label); position: absolute; left: 12px; bottom: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted-2);
}
.yc-wall__layer.is-on { opacity: 1; transform: scale(1); }

/* pinned-scroll affordances: sector counter + thin progress line */
.yc-wall__meta, .yc-wall__progress { display: none; }
.yc-wall.is-live .yc-wall__meta {
  display: block; position: absolute; left: 0; right: 0; bottom: clamp(22px, 5vh, 44px);
  text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  color: var(--muted-2); pointer-events: none;
}
.yc-wall__meta b { color: var(--accent-ink); font-weight: 500; }
.yc-wall.is-live .yc-wall__progress {
  display: block; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--line);
}
.yc-wall__progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.yc-wall__names { position: relative; }
.yc-wall__col { display: flex; flex-direction: column; align-items: center; }
.yc-wall__name {
  height: var(--item-h, 92px); display: flex; align-items: center; justify-content: center;
  width: 100%;
}
.yc-wall__name span {
  font-family: var(--serif); font-weight: 400; color: var(--muted); white-space: nowrap;
  font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1; letter-spacing: -0.01em;
  transform: scale(1); transform-origin: center;
  transition: color .35s var(--ease), transform .35s var(--ease), opacity .35s var(--ease);
}
.yc-wall__name.is-on span { color: var(--ink); transform: scale(1.9); }

/* live (JS + motion allowed): pin and scrub */
.yc-wall.is-live { height: calc(100vh + (var(--wall-n) - 1) * 34vh); }
.yc-wall.is-live .yc-wall__sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden; padding-block: 0; align-content: center;
}
.yc-wall.is-live .yc-wall__photo { display: block; }
.yc-wall.is-live .yc-wall__names { height: 100%; }
.yc-wall.is-live .yc-wall__col { position: absolute; left: 0; right: 0; top: 50%; will-change: transform; }

/* ---- mobile carousel (hidden on desktop; the responsive block flips it on).
   Native CSS scroll-snap handles manual swipe; yc.js drives auto-play + dots. */
.yc-wall__carousel { display: none; }
.yc-carousel__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; touch-action: pan-x;
}
.yc-carousel__track::-webkit-scrollbar { display: none; }
.yc-carousel__slide {
  flex: 0 0 100%; scroll-snap-align: center; box-sizing: border-box;
  padding-inline: var(--gutter);
}
.yc-carousel__slide .ph { height: 56vh; max-height: 500px; border-radius: 3px; }
.yc-carousel__name {
  font-family: var(--serif); font-weight: 400; text-align: center;
  font-size: clamp(1.5rem, 6vw, 2rem); letter-spacing: -0.01em; color: var(--ink);
  margin-top: clamp(16px, 4vw, 24px);
}
.yc-carousel__dots {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: clamp(18px, 5vw, 26px);
}
.yc-carousel__dot {
  width: 7px; height: 7px; padding: 0; border: none; border-radius: 999px;
  background: var(--line-2); cursor: pointer; transition: all .3s var(--ease);
}
.yc-carousel__dot.is-on { background: var(--accent); width: 22px; }

/* ------------------------------------------------- PLACEHOLDER PHOTO SLOTS */
.ph {
  position: relative; overflow: hidden; border-radius: 3px;
  background:
    linear-gradient(135deg, var(--paper-3), var(--paper-2));
  border: 1px solid var(--line);
}
.ph > img { width: 100%; height: 100%; object-fit: cover; }
.ph::after {
  content: attr(data-ph); position: absolute; left: 10px; bottom: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-2); opacity: .8;
}
.ph:empty::before, .ph:not(:has(img))::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, rgba(27,26,23,0.03) 11px 12px);
}
.ph--wide  { aspect-ratio: 3 / 2; }
.ph--tall  { aspect-ratio: 3 / 4; }
.ph--sq    { aspect-ratio: 1 / 1; }
.ph--land  { aspect-ratio: 16 / 10; }

/* ------------------------------------------------- EDITORIAL STORY */
.yc-story { max-width: 660px; margin-inline: auto; }
.yc-story p { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.72; margin-top: 1.4em; }
.yc-story p:first-child { margin-top: 0; }
.yc-story p:first-child::first-letter {
  font-size: 3.9em; line-height: 0.72; float: left; font-weight: 500;
  padding: 0.06em 0.12em 0 0; color: var(--ink);
}
.yc-story__foot {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--muted-2); text-transform: uppercase; margin-top: 2.6em;
}

/* ------------------------------------------------- PHOTO STRIP (full bleed) */
.yc-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.yc-strip .ph { border-radius: 0; border: none; aspect-ratio: 1 / 1; }

/* ------------------------------------------------- ANNOTATED VOICE BLOCK */
.yc-voice { max-width: 640px; margin-inline: auto; text-align: left; }
.yc-voice p { font-size: clamp(1.1rem, 1.7vw, 1.32rem); line-height: 1.75; }
.yc-voice .mark {
  background: linear-gradient(transparent 62%, rgba(255,106,60,0.28) 62% 92%, transparent 92%);
  padding: 0 1px;
}
.yc-voice em { font-style: italic; }

/* ------------------------------------------------- "BE IN THE ROOM" GRID */
.yc-heading-c { text-align: center; margin-bottom: clamp(34px, 5vw, 60px); }
.yc-heading-c h2 {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.01em; line-height: 1.1;
}
.yc-heading-c p { color: var(--muted-2); margin-top: 14px; font-size: 1.05rem; }
.yc-roomgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 18px);
}

/* ------------------------------------------------- PEOPLE / SEATS GRID */
.yc-people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.yc-person { }
.yc-person__photo {
  aspect-ratio: 1 / 1; border-radius: 3px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #E8E2D6, #D9D2C6);
}
.yc-person__photo > img { width: 100%; height: 100%; object-fit: cover; }
/* the YC-style orange duotone wash over portraits */
.yc-person__photo::after {
  content: ""; position: absolute; inset: 0; mix-blend-mode: multiply;
  background: linear-gradient(150deg, rgba(255,106,60,0.55), rgba(217,83,30,0.75));
}
.yc-person--open .yc-person__photo {
  background: var(--paper-2);
  display: grid; place-items: center;
}
.yc-person--open .yc-person__photo::after { display: none; }
.yc-person--open .yc-person__q {
  font-family: var(--serif); font-size: 3rem; color: var(--muted); font-style: italic;
}
.yc-person__name {
  font-family: var(--serif); font-size: 1.15rem; margin-top: 12px; font-weight: 500;
}
.yc-person__role {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted-2); margin-top: 5px;
}
.yc-person__bio { color: var(--ink-2); font-size: 0.98rem; margin-top: 10px; line-height: 1.5; }
.yc-person--open .yc-person__role { color: var(--accent-ink); }

/* ------------------------------------------------- KNOWLEDGE & NEWS */
.yc-know { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
.yc-know__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 22px); }
.yc-kcard { display: block; }
.yc-kcard .ph { aspect-ratio: 16 / 10; margin-bottom: 14px; }
.yc-kcard__tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-ink);
}
.yc-kcard__title {
  font-family: var(--serif); font-size: 1.22rem; line-height: 1.28; margin-top: 6px;
  transition: color .18s var(--ease);
}
.yc-kcard:hover .yc-kcard__title { color: var(--accent-ink); }
.yc-news__head {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); padding-bottom: 12px; border-bottom: 1px solid var(--line-2);
}
.yc-news__item { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
.yc-news__item span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted-2);
  text-transform: uppercase;
}
.yc-news__item p { font-family: var(--serif); font-size: 1.05rem; margin-top: 4px; line-height: 1.35; }
.yc-news__item:hover p { color: var(--accent-ink); }

/* ------------------------------------------------- APPLY CTA */
.yc-apply { text-align: center; }
.yc-apply h2 {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.01em; line-height: 1.06;
}
.yc-apply p { color: var(--muted-2); margin-top: 18px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; }
.yc .yc-apply__pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 34px;
  background: var(--ink); color: var(--paper); border-radius: 999px;
  padding: 15px 40px; font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; transition: all .2s var(--ease);
}
.yc .yc-apply__pill:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* ------------------------------------------------- PULL-QUOTE (philosophy)
   Carried from the old page ("Ghode race track…"). Full-width serif statement
   with a mono footnote cite, in the hero's voice. */
.yc-pullquote { text-align: center; }
.yc-pullquote__q {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(2.1rem, 5.2vw, 3.9rem); line-height: 1.06; text-wrap: balance;
  max-width: 26ch; margin-inline: auto;
}
.yc-pullquote__q em { white-space: nowrap; }
.yc-pullquote__q em { font-style: italic; }
.yc-pullquote__sub {
  max-width: 46ch; margin: clamp(24px, 4vw, 36px) auto 0; color: var(--ink-2);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.6; text-wrap: pretty;
}
.yc-pullquote__cite {
  display: block; margin-top: 22px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2);
}

/* ------------------------------------------------- COLUMNS (process / pillars / cases)
   One reusable 3-up (or 4-up) text grid: mono kicker, serif accent head, prose.
   Each column sits under its own thin rule, YC-editorial style. */
.yc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3.4vw, 48px); }
.yc-cols--4 { grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 34px); }
.yc-col { padding-top: 20px; border-top: 1px solid var(--line-2); }
.yc-col__idx {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-ink);
}
.yc-col__head {
  font-family: var(--serif); font-weight: 400; line-height: 1.14; margin-top: 14px;
  font-size: clamp(1.3rem, 2.2vw, 1.72rem); letter-spacing: -0.01em;
}
.yc-cols--4 .yc-col__head { font-size: clamp(1.15rem, 1.7vw, 1.32rem); }
.yc-col__head em { font-style: italic; }
.yc-col__body { color: var(--ink-2); margin-top: 12px; font-size: 1.02rem; line-height: 1.6; }

/* stepped variant — Process only: a connective 01 → 02 → 03 spine above the
   columns that signals sequence ("in that order"). The per-column top rule is
   dropped so the spine is the section's single horizontal line. */
.yc-cols--steps .yc-col { border-top: none; padding-top: 0; }
.yc-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3.4vw, 48px);
  list-style: none; margin: 0 0 clamp(26px, 3.6vw, 40px); padding: 0;
}
.yc-step { position: relative; display: flex; align-items: center; min-height: 22px; }
.yc-step::before {                       /* the line running through the cell */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: var(--line-2);
}
.yc-step__n {                            /* numeral sits on the line, paper-masked */
  position: relative; z-index: 1; background: var(--paper); padding-right: 14px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em;
  color: var(--accent-ink);
}
.yc-step::after {                        /* arrow head bridging to the next step */
  content: ""; position: absolute; right: -5px; top: 50%; width: 6px; height: 6px;
  border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2);
  transform: translateY(-50%) rotate(45deg);
}
.yc-step:last-child::after { display: none; }

/* ------------------------------------------------- STAT ROW (the deal)
   Big serif figures + mono captions on a rule — YC renders numbers as type,
   never as pill cards. */
.yc-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 40px);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  padding-block: clamp(30px, 4vw, 48px); margin-top: clamp(36px, 5vw, 60px);
}
.yc-stat__num {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
}
.yc-stat__num em { font-style: italic; color: var(--accent-ink); }
.yc-stat__label {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-2); margin-top: 12px; line-height: 1.4;
}
.yc-deal__foot {
  text-align: center; margin-top: clamp(24px, 4vw, 34px);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted-2);
}

/* ------------------------------------------------- BENCH (portfolio) */
.yc-bench { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); }
.yc-bench__item { display: block; }
.yc-bench .ph { aspect-ratio: 4 / 5; margin-bottom: 12px; }
.yc-bench__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-ink);
}
.yc-bench__title { font-family: var(--serif); font-size: 1.12rem; margin-top: 5px; line-height: 1.3; }
.yc-viewall {
  display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(30px, 4vw, 44px);
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px; transition: color .18s var(--ease), border-color .18s var(--ease);
}
.yc-center { text-align: center; }
.yc .yc-viewall:hover { color: var(--accent-ink); border-color: var(--accent-ink); }

/* ------------------------------------------------------------------ FOOTER */
.yc-footer { background: var(--footer-bg); color: var(--footer-ink); padding-block: clamp(56px, 8vw, 96px) 40px; }
.yc-footer .yc-mark__word { color: var(--footer-ink); }
.yc-footer__top { display: grid; grid-template-columns: 1.4fr 2fr; gap: clamp(30px, 5vw, 64px); }
.yc-footer__mission { color: var(--footer-mut); margin-top: 20px; max-width: 34ch; line-height: 1.6; font-size: 1.02rem; }
.yc-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.yc-footer__col h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--footer-mut); margin-bottom: 16px; font-weight: 500;
}
.yc-footer__col a {
  display: block; color: var(--footer-ink); padding: 6px 0; font-size: 1rem;
  transition: color .16s var(--ease);
}
.yc-footer__col a:hover { color: var(--accent); }
.yc-footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  margin-top: clamp(44px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--footer-ln);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--footer-mut);
}
.yc-footer__bottom .socials { display: flex; gap: 22px; }
.yc-footer__bottom a { color: var(--footer-mut); text-transform: uppercase; }
.yc-footer__bottom a:hover { color: var(--accent); }

/* ------------------------------------------------------------------ REVEAL */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .yc-apply__pill:hover { transform: none; }
}

/* focus visibility */
.yc a:focus-visible, .yc button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px;
}

/* ------------------------------------------------------------------ RESPONSIVE */
@media (max-width: 900px) {
  .yc-know { grid-template-columns: 1fr; }
  .yc-footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body.yc { font-size: 17px; }
  .yc-nav { grid-template-columns: auto 1fr auto; height: 60px; }
  .yc-nav__group { display: none; }
  .yc-nav .yc-mark { justify-self: start; }
  .yc-burger { display: block; }
  /* wall on mobile: swap the pinned scrub for the swipeable carousel
     (JS skips is-live < 720px; carousel auto-plays + is manually swipeable). */
  .yc-wall { height: auto; }
  .yc-wall__sticky { display: none; }
  .yc-wall__carousel { display: block; padding-bottom: clamp(28px, 7vw, 44px); }
  .yc-people { grid-template-columns: repeat(2, 1fr); }
  .yc-know__cards { grid-template-columns: 1fr; }
  .yc-roomgrid { grid-template-columns: repeat(2, 1fr); }
  .yc-story p:first-child::first-letter { font-size: 3.2em; }
  .yc-cols { grid-template-columns: 1fr; gap: 0; }
  .yc-cols--4 { grid-template-columns: repeat(2, 1fr); }
  .yc-cols .yc-col + .yc-col { margin-top: 4px; }
  /* stepped cols stack: keep the compact 01→02→03 spine on top, and give the
     now-borderless columns a separating rule back so they don't run together. */
  .yc-cols--steps .yc-col { border-top: 1px solid var(--line-2); padding-top: 18px; }
  .yc-cols--steps .yc-col + .yc-col { margin-top: 18px; }
  .yc-stats { grid-template-columns: repeat(2, 1fr); row-gap: clamp(24px, 6vw, 34px); }
  .yc-bench { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .yc-people { grid-template-columns: 1fr 1fr; }
  .yc-strip { grid-auto-columns: unset; grid-auto-flow: unset; grid-template-columns: repeat(3, 1fr); }
  .yc-cols--4 { grid-template-columns: 1fr; }
}
