/* N9 — N8's painted world, at full scale.
   One section system (padding, label, heading, hairlines); each section
   composed in its own way rather than borrowed from zealotlabs.com. */
.p9 {
  --n9-pad: clamp(96px, 10vw, 168px);
  --n9-gap: clamp(40px, 5vw, 96px);
  --n9-h: clamp(40px, 4.6vw, 78px);
}

.p9 .n9-sec {
  position: relative;
  padding-block: var(--n9-pad);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.p9 .n9-team,
.p9 .n9-careers {
  background: var(--paper-warm);
}

.p9 .n9-backing {
  background: var(--paper-deep);
}

.p9 .n9-h {
  max-width: 18ch;
  margin-top: clamp(18px, 1.8vw, 28px);
  font-size: var(--n9-h);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.p9 .n9-h em {
  color: var(--gold-deep);
  font-style: normal;
}

.p9 .n9-sub {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

.p9 .n9-head {
  margin-bottom: clamp(40px, 4.5vw, 80px);
}

.p9 .n9-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--n9-gap);
}

.p9 .n9-plate figcaption,
.p9 .n9-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ---------- Mission: a mounted plate beside the statement ---------- */
.p9 .n9-mission {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--n9-gap);
  min-height: clamp(640px, 88vh, 940px);
  padding-inline: var(--gut) clamp(32px, 6vw, 120px);
  background: var(--paper-warm);
}

.p9 .n9-plate {
  display: grid;
  gap: 14px;
}

.p9 .n9-plate-img {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(36, 39, 32, .45);
}

.p9 .n9-plate-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  transform: scale(1.04);
  transition: transform 2.4s var(--ease, ease);
}

.p9 .n9-mission:hover .n9-plate-img img {
  transform: scale(1);
}

.p9 .n9-plate figcaption {
  display: flex;
  justify-content: space-between;
  color: var(--ink-faint);
}

.p9 .n9-mission-copy {
  display: grid;
  justify-items: start;
  gap: clamp(22px, 2.2vw, 34px);
}

.p9 .n9-mission-copy .n9-h {
  max-width: 14ch;
  margin-top: 0;
}

/* ---------- Team: the alumni as one running line ---------- */
.p9 .n9-roll {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .1em .45em;
  padding-block: clamp(28px, 3vw, 48px);
  border-block: 1px solid var(--line);
  font-size: clamp(34px, 4.5vw, 96px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.p9 .n9-roll i {
  color: var(--gold-deep);
  font-style: normal;
}

.p9 .n9-team-sub {
  margin-top: clamp(28px, 3vw, 44px);
}

/* ---------- Backing: one name carries the band ---------- */
.p9 .n9-backing {
  padding-block: clamp(80px, 8vw, 132px);
}

.p9 .n9-backing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: end;
  gap: var(--n9-gap);
}

.p9 .n9-backing-line {
  max-width: 22ch;
  margin-top: clamp(18px, 1.8vw, 28px);
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.p9 .n9-lead-backer {
  padding-bottom: clamp(18px, 2vw, 28px);
  border-bottom: 1px solid var(--line);
  font-size: clamp(44px, 5.4vw, 92px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.045em;
}

.p9 .n9-other {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 23px);
}

/* ---------- Writing: one lead essay, two in the margin ---------- */
.p9 .n9-posts {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(28px, 3vw, 48px) clamp(28px, 3.4vw, 56px);
}

.p9 .n9-post.is-lead {
  grid-row: 1 / span 2;
}

.p9 .n9-post figure {
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 16 / 10;
}

.p9 .n9-post.is-lead figure {
  aspect-ratio: 1 / 1;
  margin-bottom: 24px;
}

.p9 .n9-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease, ease);
}

.p9 .n9-post:hover img {
  transform: scale(1.04);
}

.p9 .n9-post h3 {
  margin-block: 10px 12px;
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.p9 .n9-post.is-lead h3 {
  max-width: 22ch;
  font-size: clamp(26px, 2.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

/* ---------- Careers: pitch holds, roles scroll past ---------- */
.p9 .n9-careers-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: var(--n9-gap);
}

.p9 .n9-careers-copy {
  position: sticky;
  top: clamp(80px, 9vh, 120px);
  display: grid;
  justify-items: start;
  gap: clamp(20px, 2vw, 28px);
}

.p9 .n9-careers-copy .n9-h {
  margin-top: 0;
}

.p9 .n9-count {
  color: var(--ink-soft);
}

.p9 .n9-count b {
  color: var(--gold-deep);
  font-weight: 500;
}

/* buttons keep the shared N8 styles: gold .btn, mono .link-rule */

.p9 .n9-roles {
  margin-top: 0;
}

.p9 .n9-roles a {
  grid-template-columns: minmax(0, 1fr) auto 40px;
  gap: 24px;
  padding-block: clamp(24px, 2.6vw, 38px);
}

.p9 .n9-roles .rt {
  font-size: clamp(20px, 1.9vw, 30px);
}

.p9 .n9-roles .rg {
  white-space: nowrap;
}

/* ---------- Referral: a paper card hung on the painting ---------- */
.p9 .n9-referral {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: clamp(560px, 80vh, 860px);
  padding-inline: var(--gut);
}

.p9 .n9-referral .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.8);
}

.p9 .n9-card {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: clamp(18px, 1.8vw, 26px);
  width: min(100%, 760px);
  padding: clamp(40px, 5vw, 80px);
  background: rgba(247, 244, 236, .94);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(36, 39, 32, .5);
  text-align: center;
}

.p9 .n9-card .n9-h {
  margin-top: 0;
  max-width: 14ch;
}

.p9 .n9-card .n9-sub {
  max-width: 40ch;
}

.p9 .n8-arrow {
  transition: transform .4s var(--ease, ease);
}

.p9 a:hover .n8-arrow {
  transform: translateX(4px);
}

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .p9 .n9-mission {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-inline: var(--gut);
  }

  .p9 .n9-backing-grid,
  .p9 .n9-careers-grid,
  .p9 .n9-posts {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .p9 .n9-post.is-lead {
    grid-row: auto;
  }

  .p9 .n9-careers-copy {
    position: static;
  }

  .p9 .n9-mission {
    row-gap: 0;
  }

  .p9 .n9-mission-copy {
    padding-top: clamp(40px, 8vw, 64px);
  }
}

@media (max-width: 820px) {
  .p9 .n9-roles a {
    grid-template-columns: 1fr auto;
  }

  .p9 .n9-roles .rx {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 600px) {
  .p9 {
    --n9-pad: 80px;
    --n9-h: clamp(36px, 10vw, 44px);
  }

  .p9 .n9-head-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .p9 .n9-other {
    flex-direction: column;
    gap: 8px;
  }

  .p9 .n9-card {
    justify-items: start;
    text-align: left;
  }
}

/* ---------- Team: Careers-style split — statement left, numbered alumni rows right ---------- */
.p9 .n9-team-copy {
  position: static;
}

.p9 .n9-alumni {
  border-top: 1px solid var(--line);
}

.p9 .n9-alumni li {
  display: grid;
  grid-template-columns: clamp(48px, 5vw, 76px) minmax(0, 1fr);
  align-items: baseline;
  padding-block: clamp(18px, 1.9vw, 28px);
  border-bottom: 1px solid var(--line);
}

.p9 .n9-ai {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--gold-deep);
}

.p9 .n9-an {
  font-size: clamp(20px, 1.9vw, 30px);
  font-weight: 500;
  letter-spacing: -.025em;
}

/* ---------- N9 only: one paper tone for every section ---------- */
.p9:not(.p10) .n9-sec:not(.n9-referral) {
  background: var(--paper-warm);
}

/* ---------- role arrows: a bare arrow, no circle ---------- */
.p9 .roles-list .rx,
.p9 .roles-list a:hover .rx {
  width: auto;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: none;
  color: var(--ink);
}

.p9 .roles-list a:hover .rx {
  transform: translateX(4px);
}

/* ---------- Team + Backing (one section): C3 ---------- */
.p9 .n9-team-head {
  align-items: start;
  margin-bottom: clamp(64px, 7vw, 112px);
}

.p9 .n9-team-head .n9-h {
  max-width: 16ch;
  margin-top: 0;
}

.p9 .n9-team-head .n9-sub {
  max-width: 46ch;
  padding-top: .6em;
}

/* rule label: hairline, label, short gold stroke (right-aligned) */
.p9 .n9-rl {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(16px, 1.6vw, 24px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.p9 .n9-rl i {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.p9 .n9-rl b {
  width: 48px;
  height: 1px;
  background: var(--gold-deep);
}

.p9 .n9-al-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
}

.p9 .n9-al-row li,
.p9 .n9-cells li {
  display: grid;
  gap: 28px;
  padding: 6px 20px 22px 0;
}

.p9 .n9-al-row li + li,
.p9 .n9-cells li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.p9 .n9-al-row b {
  font-size: clamp(20px, 1.9vw, 30px);
  font-weight: 500;
  letter-spacing: -.025em;
}

.p9 .n9-tb-back {
  margin-top: clamp(64px, 7vw, 104px);
}

.p9 .n9-tb-back-in {
  align-items: end;
}

.p9 .n9-tb-st {
  max-width: 20ch;
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.p9 .n9-cells {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.p9 .n9-cells li {
  gap: 22px;
  padding-bottom: 18px;
}

.p9 .n9-cells b {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -.02em;
}

/* ---------- one colour system ----------
   gold-deep: labels, rule strokes, index numbers, highlighted phrases
   ink: headings and names · ink-soft: body copy · ink-faint: metadata · --line: every hairline */
.p9 .n9-num,
.p9 .n9-ai,
.p9 .n9-count b {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--gold-deep);
}

.p9 .n9-h em,
.p9 .n9-tb-st em {
  color: var(--gold-deep);
  font-style: normal;
}

.p9 .n9-sub,
.p9 .n9-count {
  color: var(--ink-soft);
}

.p9 .n9-roles .rg,
.p9 .n9-plate figcaption {
  color: var(--ink-faint);
}

.p9 .n9-roles,
.p9 .n9-roles li,
.p9 .n9-roles a {
  border-color: var(--line);
}

@media (max-width: 960px) {
  .p9 .n9-team-head .n9-sub {
    padding-top: 0;
  }

  .p9 .n9-tb-back-in {
    row-gap: 28px;
  }
}

@media (max-width: 820px) {
  .p9 .n9-al-row,
  .p9 .n9-cells {
    grid-template-columns: 1fr 1fr;
    border-bottom: 0;
  }

  .p9 .n9-al-row li,
  .p9 .n9-cells li,
  .p9 .n9-al-row li + li,
  .p9 .n9-cells li + li {
    gap: 10px;
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- N9 only: Referral shorter, label without the lead dash, card more opaque ---------- */
.p9:not(.p10) .n9-referral {
  min-height: 0;
  padding-block: clamp(56px, 6vw, 96px);
}

.p9:not(.p10) .n9-card .n8-section-label::before {
  content: none;
}

.p9:not(.p10) .n9-card {
  background: rgba(247, 244, 236, .985);
}

/* ---------- C4: names on slashed lines ---------- */
.p9 .n9-slash {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 22px;
  font-weight: 500;
}

.p9 .n9-slash b {
  font-weight: 500;
}

.p9 .n9-slash i {
  font-style: normal;
  font-weight: 400;
  color: var(--gold-deep);
}

.p9 .n9-slash-al {
  margin-top: 4px;
  gap: 10px 28px;
  font-size: clamp(26px, 2.8vw, 46px);
  letter-spacing: -.03em;
}

.p9 .n9-slash-bk {
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: -.02em;
}

@media (max-width: 600px) {
  .p9 .n9-slash-al {
    gap: 6px 16px;
  }
}

/* ---------- N9 only: everything a step smaller (type, section padding, gaps) ---------- */
.p9:not(.p10) {
  --n9-pad: clamp(80px, 8.5vw, 136px);
  --n9-gap: clamp(36px, 4.4vw, 80px);
  --n9-h: clamp(36px, 4vw, 64px);
}

.p9:not(.p10) .n9-sub {
  font-size: clamp(16px, 1.25vw, 19px);
}

/* Mission: same two columns as Team and Careers — statement in the left column,
   plate filling the right column edge to edge (column line to right gutter, like the
   role rows below). "Smaller" comes from a wider, shorter plate, not a narrower one. */
.p9:not(.p10) .n9-mission {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  min-height: 0;
  padding-inline: var(--gut);
}

.p9:not(.p10) .n9-mission-copy {
  order: -1;
}

.p9:not(.p10) .n9-mission .n9-plate-img {
  aspect-ratio: 16 / 10;
}

.p9:not(.p10) .n9-mission-copy {
  gap: clamp(18px, 1.8vw, 28px);
}

/* Team */
.p9:not(.p10) .n9-team-head {
  margin-bottom: clamp(48px, 5.5vw, 88px);
}

.p9:not(.p10) .n9-slash-al {
  font-size: clamp(22px, 2.4vw, 38px);
}

.p9:not(.p10) .n9-slash-bk {
  font-size: clamp(16px, 1.4vw, 21px);
}

.p9:not(.p10) .n9-tb-back {
  margin-top: clamp(48px, 5.5vw, 80px);
}

.p9:not(.p10) .n9-tb-st {
  max-width: 26ch;
  font-size: clamp(21px, 2vw, 30px);
}

/* Careers */
.p9:not(.p10) .n9-careers-copy {
  gap: clamp(16px, 1.6vw, 24px);
}

.p9:not(.p10) .n9-roles a {
  padding-block: clamp(20px, 2.1vw, 30px);
}

.p9:not(.p10) .n9-roles .rt {
  font-size: clamp(18px, 1.65vw, 26px);
}

@media (max-width: 960px) {
  .p9:not(.p10) .n9-mission {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  /* phones: plate first, then the statement */
  .p9:not(.p10) .n9-mission-copy {
    order: 0;
  }
}

@media (max-width: 600px) {
  .p9:not(.p10) {
    --n9-pad: 72px;
    --n9-h: clamp(32px, 9vw, 40px);
  }
}

/* each name carries its trailing slash, so a line never starts with one */
.p9 .n9-slash > span {
  display: inline-flex;
  align-items: baseline;
  gap: inherit;
  column-gap: inherit;
  white-space: nowrap;
}

/* ---------- N9 only: section labels boxed, as on N7 ---------- */
.p9:not(.p10) .n8-section-label,
.p9:not(.p10) .n9-rl span {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 5px 10px 4px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: clamp(10px, .78vw, 11.5px);
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink-soft);
}

.p9:not(.p10) .n8-section-label::before {
  content: none;
}

.p9:not(.p10) .n9-rl {
  gap: 0;
}

.p9:not(.p10) .n9-rl b {
  display: none;
}

/* ---------- N9 Mission, layout 2: split, everything starts on one top line (like Careers) ---------- */
.p9:not(.p10) .n9-mission {
  align-items: start;
}

.p9:not(.p10) .n9-mission-copy .n9-h {
  max-width: 14ch;
}

/* ---------- same horizontal edges as .wrap at every width ----------
   Mission is a full-bleed grid (its background spans the page), so its side padding must
   reproduce .wrap's centred max-width container: gutter + half of whatever exceeds --maxw. */
.p9 .n9-mission,
.p9:not(.p10) .n9-mission {
  --n9-edge: max(var(--gut), calc((100% - var(--maxw)) / 2 + var(--gut)));
  padding-inline: var(--n9-edge);
}

@media (max-width: 960px) {
  .p9 .n9-mission,
  .p9:not(.p10) .n9-mission {
    padding-inline: var(--gut);
  }
}

/* ---------- N9 only: a tad smaller overall, more horizontal breathing room ----------
   --gut and --maxw drive every section, the masthead and the hero, so edges stay locked. */
body.p9:not(.p10) {
  --gut: clamp(24px, 5vw, 88px);
  --maxw: 1480px;
  --n9-pad: clamp(72px, 7.6vw, 120px);
  --n9-gap: clamp(32px, 4vw, 72px);
  --n9-h: clamp(33px, 3.6vw, 58px);
}

.p9:not(.p10) .h-xl {
  font-size: clamp(32px, 4.5vw, 64px);
}

.p9:not(.p10) .n9-sub {
  font-size: clamp(15px, 1.15vw, 18px);
}

.p9:not(.p10) .n9-slash-al {
  font-size: clamp(21px, 2.2vw, 35px);
}

.p9:not(.p10) .n9-slash-bk {
  font-size: clamp(15px, 1.3vw, 19px);
}

.p9:not(.p10) .n9-tb-st {
  font-size: clamp(19px, 1.8vw, 27px);
}

.p9:not(.p10) .n9-roles .rt {
  font-size: clamp(17px, 1.5vw, 24px);
}

.p9:not(.p10) .n9-roles a {
  padding-block: clamp(18px, 1.9vw, 27px);
}

@media (max-width: 600px) {
  body.p9:not(.p10) {
    --gut: 20px;
    --n9-pad: 64px;
    --n9-h: clamp(30px, 8.4vw, 38px);
  }
}

/* ---------- N9 only: no grey fade — the hero is the painting, in full colour ----------
   The shared hero runs a scroll-linked painting → duotone transition over a 156svh runway.
   On N9 the hero is one screen tall and scrolls away normally; nothing reads --p. */
.p9:not(.p10) .hero.h-tech {
  height: 100svh;
  min-height: 580px;
}

.p9:not(.p10) .hero .edge-canvas {
  display: none;
}

.p9:not(.p10) .hero .hero-image {
  opacity: 1;
  filter: none;
  transform: none;
}

.p9:not(.p10) .hero .scrim,
.p9:not(.p10) .hero .vignette,
.p9:not(.p10) .hero .veil {
  opacity: 1;
}

.p9:not(.p10) .hero .grain {
  opacity: .05;
}

.p9:not(.p10) .hero-copy {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

/* ---------- N9 only: the whole page at 92.5% on desktop ---------- */
@media (min-width: 961px) {
  html:has(body.p9:not(.p10)) {
    zoom: .925;
  }

  /* viewport units inside a zoomed page shrink with it; scale the full-screen hero back up */
  .p9:not(.p10) .hero.h-tech,
  .p9:not(.p10) .hero-sticky {
    height: calc(100svh / .925);
    min-height: calc(580px / .925);
  }
}

.p9:not(.p10) .hero-copy p {
  max-width: 62ch;
}

/* ---------- Team as rows, Backing as a centred statement with pills ---------- */
.p9 .n9-tr {
  align-items: start;
}

.p9 .n9-tr-copy {
  display: grid;
  justify-items: start;
  gap: clamp(16px, 1.6vw, 24px);
}

.p9 .n9-tr-copy .n9-h {
  margin-top: 0;
}

.p9 .n9-tr-meta {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: right;
  color: var(--ink-faint);
}

.p9 .n9-tr-rows {
  border-top: 1px solid var(--line);
}

.p9 .n9-tr-rows li {
  display: grid;
  grid-template-columns: clamp(56px, 5.4vw, 84px) minmax(0, 1fr);
  align-items: baseline;
  padding-block: clamp(16px, 1.7vw, 24px);
  border-bottom: 1px solid var(--line);
}

.p9 .n9-tr-rows b {
  font-size: clamp(20px, 1.9vw, 30px);
  font-weight: 500;
  letter-spacing: -.025em;
}

.p9 .n9-bp-in {
  display: grid;
  justify-items: center;
  gap: clamp(20px, 2.2vw, 32px);
  text-align: center;
}

.p9 .n9-bp-st {
  max-width: 28ch;
  font-size: clamp(26px, 2.8vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.035em;
  color: var(--ink-soft);
  text-wrap: balance;
}

.p9 .n9-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.p9 .n9-pills li {
  padding: 12px 20px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 960px) {
  .p9 .n9-tr-meta {
    display: none;
  }
}

/* ---------- N9 follow-ups: plate zooms once on first view, tighter N8-style rows,
   a short brown Backing band with no rules, a standout Join ---------- */
.p9:not(.p10) .n9-plate-img img {
  transform: scale(1.08);
  transition: transform 2.6s cubic-bezier(.2, .7, .2, 1);
}
.p9:not(.p10) .n9-mission:hover .n9-plate-img img { transform: scale(1.08); }
.p9:not(.p10) .n9-plate-img.in img,
.p9:not(.p10) .n9-mission:hover .n9-plate-img.in img { transform: scale(1); }

.p9:not(.p10) .n9-tr-rows li { padding-block: clamp(13px, 1.4vw, 20px); }
.p9:not(.p10) .n9-tr-rows b { font-size: clamp(19px, 1.8vw, 28px); }

.p9:not(.p10) .n9-sec.n9-backing {
  background: #e5dac3;
  border-top: 0;
  padding-block: clamp(44px, 4.6vw, 72px);
}
.p9:not(.p10) .n9-sec.n9-backing + .n9-sec { border-top: 0; }
.p9:not(.p10) .n9-bp-in { gap: clamp(16px, 1.7vw, 24px); }
.p9:not(.p10) .n9-bp-st { font-size: clamp(22px, 2.2vw, 34px); }
.p9:not(.p10) .n9-pills li { border-color: rgba(36, 39, 32, .2); background: rgba(255, 252, 244, .35); }

/* Join: the same gold button as "Refer someone" (shared .btn: gold, ink wipe on hover) */
.p9:not(.p10) .mast-nav .mast-cta.n9-join {
  padding: 12px 18px;
  opacity: 1;
  color: var(--ink);
}
.p9:not(.p10) .mast-nav .mast-cta.n9-join::after { display: none; }
.p9:not(.p10) .mast-nav .mast-cta.n9-join:hover { color: var(--paper); }
@media (prefers-reduced-motion: reduce) {
  .p9:not(.p10) .n9-plate-img img { transform: none; transition: none; }
}

/* ---------- roles: hover tints behind the row; nothing inside moves or re-wraps ---------- */
.p9:not(.p10) .n9-roles a,
.p9:not(.p10) .n9-roles a:hover {
  position: relative;
  isolation: isolate;
  padding-inline: 0;
  background: none;
  transition: none;
}
.p9:not(.p10) .n9-roles a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(-1 * clamp(12px, 1.2vw, 18px));
  background: rgba(217, 180, 99, .13);
  opacity: 0;
  transition: opacity .35s ease;
}
.p9:not(.p10) .n9-roles a:hover::before { opacity: 1; }
.p9:not(.p10) .n9-roles .rt { text-wrap: balance; }
.p9:not(.p10) .n9-roles .rx { transition: transform .35s ease; }

/* ---------- Team: N7's alumni block, on N9's column grid ---------- */
.p9:not(.p10) .n9-team7 .sec-head { margin-bottom: clamp(18px, 1.8vw, 26px); }
.p9:not(.p10) .n9-team7 .alumni {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: var(--n9-gap);
}
@media (max-width: 960px) { .p9:not(.p10) .n9-team7 .alumni { grid-template-columns: 1fr; } }

/* N9 buttons (Join + Refer someone): flat, no shadow */
.p9:not(.p10) .btn,
.p9:not(.p10) .btn:hover { box-shadow: none; }

/* ---------- Backing: walnut band, ivory type, gold-rimmed pills numbered α β γ ---------- */
.p9:not(.p10) .n9-sec.n9-backing { background: #2f261c; }
.p9:not(.p10) .n9-backing .n8-section-label { color: #d9b463; border-color: rgba(217, 180, 99, .5); }
.p9:not(.p10) .n9-bp-st { color: #f1e9d8; max-width: 26ch; }
.p9:not(.p10) .n9-pills li {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px 10px 15px;
  border: 0;
  border-radius: 999px;
  background: rgba(241, 233, 216, .06);
  box-shadow: inset 0 0 0 1px rgba(217, 180, 99, .5);
  color: #f1e9d8;
}
.p9:not(.p10) .n9-pills i {
  font: italic 500 19px/0 "Cormorant Garamond", Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  text-transform: none;
  color: #d9b463;
  transform: translateY(-1px);
}

/* ---------- one heading size: every section title matches "Builders from the frontiers." ---------- */
.p9:not(.p10) .n9-sec h2.n9-h,
.p9:not(.p10) .n9-team7 h2.h-lg {
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.p9:not(.p10) .n9-mission-copy .n9-h { max-width: 17ch; }
/* one body size: the Team line matches the other section sublines */
.p9:not(.p10) .n9-team7 .body-l { font-size: clamp(15px, 1.15vw, 18px); }
/* one small-mono size for the careers count */
.p9:not(.p10) .n9-count, .p9:not(.p10) .n9-count b { font-size: 11.2px; }

/* Team: slightly tighter; rows keep N8's hover (slide in + gold tint) */
.p9:not(.p10) .n9-team7 { padding-block: calc(var(--n9-pad) * .68) calc(var(--n9-pad) * .8); }
.p9:not(.p10) .n9-team7 .alumni-list li { padding-block: clamp(8px, .95vw, 13px); }

/* Join: compact, sits on the nav's text line */
.p9:not(.p10) .mast-nav .mast-cta.n9-join { padding: 10px 14px 10px 15px; gap: 8px; line-height: 1; }
.p9:not(.p10) .mast-nav .mast-cta.n9-join .n8-arrow { width: 14px; height: 14px; }

/* footer email: the square bullet read as noise; make it read as a link instead */
.p9:not(.p10) .footer-mail::before { display: none; }
.p9:not(.p10) .footer-mail { gap: 8px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.p9:not(.p10) .footer-mail::after { content: "\2192"; font-family: var(--sans, inherit); letter-spacing: 0; transition: transform .4s var(--ease); }
.p9:not(.p10) .footer-mail:hover { border-color: currentColor; }
.p9:not(.p10) .footer-mail:hover::after { transform: translateX(3px); }

/* ---------- N9 desktop: every page's masthead and the home hero sit between N10's tight edge and the section gutter; sections keep the wider gutter ---------- */
@media (min-width: 961px) {
  body.p9:not(.p10) .masthead,
  body.p9:not(.p10):not(.r9) .hero {
    --gut: calc(clamp(20px, 3.6vw, 60px) / .925);
    --maxw: calc(100vw / .925);
  }
}

/* ---------- 2026-11-11 phone pass ---------- */
/* no zoom on the Mission plate: it stuttered on phones */
.p9:not(.p10) .n9-plate-img img,
.p9:not(.p10) .n9-plate-img.in img,
.p9:not(.p10) .n9-mission:hover .n9-plate-img img,
.p9:not(.p10) .n9-mission:hover .n9-plate-img.in img { transform: none; transition: none; }

/* the Backing statement is a section title, so it takes the section-title size */
.p9:not(.p10) .n9-bp-st { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.1; letter-spacing: -.025em; max-width: 22ch; }

/* careers rows on phones: title, then its team line right under it, arrow centred on the pair */
@media (max-width: 820px) {
  .p9:not(.p10) .n9-roles a { grid-template-columns: minmax(0, 1fr) 34px; grid-template-rows: auto auto; column-gap: 16px; row-gap: 7px; align-items: center; padding-block: 18px; }
  .p9:not(.p10) .n9-roles .rt { grid-column: 1; grid-row: 1; font-size: 18px; line-height: 1.3; }
  .p9:not(.p10) .n9-roles .rg { grid-column: 1; grid-row: 2; }
  .p9:not(.p10) .n9-roles .rx { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* hero copy on phones: sit low in the frame, clear of the home indicator */
@media (max-width: 600px) {
  .p9:not(.p10):not(.r9) .hero-copy.tech { bottom: calc(30px + env(safe-area-inset-bottom, 0px)); }
  body.p9:not(.p10):has(.vticker) .hero-copy.tech { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* the overscroll bounce at the very bottom shows the footer's colour, not a different plate */

/* a CSS filter on the full-bleed referral painting repainted on every scroll frame on iOS; the grade is baked into the image */
.p9:not(.p10) .n9-referral .bg { filter: none; }

/* ---------- footer: the manifesto's dark footer on every N9 page, on the hero's edge ---------- */
.p9:not(.p10) .site-footer { background: var(--night); color: #f0e9d8; border-top: 0; }
.p9:not(.p10) .site-footer .footer-line { color: #f0e9d8; }
.p9:not(.p10) .footer-mail,
.p9:not(.p10) .footer-col a,
.p9:not(.p10) .footer-col span { color: rgba(240, 233, 216, .7); }
.p9:not(.p10) .footer-mail:hover,
.p9:not(.p10) .footer-col a:hover { color: var(--gold); }
.p9:not(.p10) .footer-mail { border-bottom-color: rgba(240, 233, 216, .3); }
.p9:not(.p10) .footer-base { color: rgba(240, 233, 216, .5); border-color: rgba(240, 233, 216, .14); }
@media (min-width: 961px) {
  body.p9:not(.p10) .site-footer { --gut: calc(clamp(20px, 3.6vw, 60px) / .925); --maxw: calc(100vw / .925); }
}
html:has(body.p9:not(.p10)) { background: var(--night); }

/* desktop hero: title and subline sit lower in the frame */
@media (min-width: 601px) {
  .p9:not(.p10):not(.r9) .hero-copy.tech { bottom: clamp(40px, 5.5vh, 72px); }
}

/* ---------- no intro motion in the hero: it read as a zoom on phones ---------- */
body.p9:not(.p10) { animation: none; }
html:has(body.p9:not(.p10))::view-transition-old(root),
html:has(body.p9:not(.p10))::view-transition-new(root) { animation: none; }
.p9:not(.p10) .hero .hero-image,
.p9:not(.p10) .hero .stage,
.p9:not(.p10) .hero-copy { transition: none !important; animation: none !important; will-change: auto; }
.p9:not(.p10) .hero .hero-image { transform: none !important; }
.p9:not(.p10) .hero-copy .lines .line > i { transform: none !important; transition: none !important; }

/* phones: a touch bigger title, subline closer to it */
@media (max-width: 600px) {
  .p9:not(.p10) .hero-copy h1 { font-size: clamp(27px, 9.2vw, 40px); line-height: 1.04; }
  .p9:not(.p10) .hero-copy.tech { gap: 10px; }
}

/* hero a touch brighter: no flat veil, softer top shade and vignette; the bottom shade stays for the title */
.p9:not(.p10) .hero.h-tech .veil { background: transparent; }
.p9:not(.p10) .hero.h-tech .scrim.full { background: linear-gradient(180deg, rgba(6,5,4,.22), rgba(6,5,4,.02) 40%, rgba(6,5,4,.44)); }
.p9:not(.p10) .hero .vignette { box-shadow: inset 0 0 clamp(90px,13vw,230px) rgba(20,14,7,.28); }
/* hero livelier: lighter shading again (the painting itself is regraded a touch brighter) */
.p9:not(.p10) .hero.h-tech .scrim.full { background: linear-gradient(180deg, rgba(6,5,4,.14), rgba(6,5,4,0) 40%, rgba(6,5,4,.4)); }
.p9:not(.p10) .hero .vignette { box-shadow: inset 0 0 clamp(90px,13vw,230px) rgba(20,14,7,.18); }
