/* XX MGMT — website system from Brand Playbook v3.4.
   Palette locked 30 Nov 2026. No beige, no Poppins, no red or blue as XX colours. */

@font-face {
  font-family: "Mona Sans Cond";
  src: url("../assets/fonts/MonaSansCond-738.woff2") format("woff2");
  font-weight: 738;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mona Sans Cond";
  src: url("../assets/fonts/MonaSansCond-415.woff2") format("woff2");
  font-weight: 415;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../assets/fonts/Inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../assets/fonts/Inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../assets/fonts/Inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --xx-xxw: #f8f8ec;
  --xx-black: #000000;
  --xx-graphite: #737373;
  --xx-ash: #999999;
  --xx-mist: #f5f5f5;
  --xx-rule: rgba(0, 0, 0, 0.14);
  --nav-h: 64px;
  --display: "Mona Sans Cond", "Arial Narrow", sans-serif;
  --text: Inter, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  overflow-x: clip;
}

body {
  margin: 0;
  padding-bottom: 0;
  background: var(--xx-xxw);
  color: var(--xx-black);
  font-family: var(--text);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-120%);
  background: var(--xx-black);
  color: var(--xx-xxw);
  padding: 8px 12px;
  z-index: 80;
}

.skip:focus {
  transform: none;
  top: 12px;
}

.display {
  font-family: var(--display);
  font-weight: 738;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.84;
  margin: 0;
}

.sub {
  font-family: var(--display);
  font-weight: 415;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
}

.kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede {
  margin: 0;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.wrap {
  width: min(1440px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
  max-width: 920px;
}

.section-head h2 {
  font-size: clamp(2.7rem, 8vw, 5.4rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--xx-black);
  color: var(--xx-xxw);
  text-decoration: none;
  border: 1px solid var(--xx-black);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  background: transparent;
  color: var(--xx-black);
}

.btn-ghost {
  background: transparent;
  color: var(--xx-black);
}

.btn-ghost:hover {
  background: var(--xx-black);
  color: var(--xx-xxw);
}

.btn-light {
  background: var(--xx-xxw);
  color: var(--xx-black);
  border-color: var(--xx-xxw);
}

.btn-light:hover {
  background: transparent;
  color: var(--xx-xxw);
}

/* Nav */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(248, 248, 236, 0.94);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--xx-rule);
}

.nav-inner {
  width: calc(100% - 36px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  display: block;
  line-height: 0;
}

.logo-mark img {
  height: 26px;
  width: auto;
}

.logo-mark .mark-on-dark {
  display: none;
}

.nav-side {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.6rem;
}

.nav-text {
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-text:hover {
  opacity: 0.55;
}

body:not(.page-pr):not(.page-offer) .nav:not(.is-scrolled) .nav-text {
  color: var(--xx-xxw);
}

body:not(.page-pr):not(.page-offer) .nav:not(.is-scrolled) .mark-on-light {
  display: none;
}

body:not(.page-pr):not(.page-offer) .nav:not(.is-scrolled) .mark-on-dark {
  display: block;
}

.menu-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  gap: 6px;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--xx-black);
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

.nav-open .menu-btn span {
  background: transparent;
}

.nav-open .menu-btn span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

.menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--xx-xxw);
  z-index: 39;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px 32px;
}

.nav-open .menu {
  display: flex;
}

.menu a {
  font-family: var(--display);
  font-weight: 738;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 12vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: block;
}

.menu-foot {
  font-size: 14px;
  color: var(--xx-graphite);
}

/* Hero */

.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  background: #111;
  overflow: hidden;
  color: var(--xx-xxw);
}

.hero picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.18) 28%, rgba(0, 0, 0, 0.22) 55%, rgba(0, 0, 0, 0.52) 100%);
  pointer-events: none;
}

.hero-stage {
  position: absolute;
  inset: var(--nav-h) 0 0 0;
}

.hero-title {
  position: absolute;
  left: 0;
  top: 50%;
  width: 33.333%;
  height: 50%;
  margin: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.14em;
  padding: 20px 24px 58px;
  font-family: var(--display);
  font-weight: 738;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.84;
  font-size: clamp(2.05rem, 3.4vw, 3.85rem);
  color: var(--xx-xxw);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.28);
}

.hero-title > span {
  display: block;
  max-width: 10.5ch;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  border-top: 1px solid rgba(248, 248, 236, 0.42);
}

.hero-cell {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 20px;
  color: var(--xx-xxw);
  text-decoration: none;
  min-height: 44px;
  border-right: 1px solid rgba(248, 248, 236, 0.42);
  border-bottom: 1px solid rgba(248, 248, 236, 0.42);
  isolation: isolate;
}

.hero-cell:nth-child(3n) {
  border-right: 0;
}

.hero-cell:nth-child(n+4) {
  border-bottom: 0;
}

.hero-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0);
  transition: background 0.35s var(--ease);
}

.hero-cell-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-cell-arrow {
  font-size: 16px;
  line-height: 1;
  transform: translateX(0);
  transition: transform 0.35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .hero-cell:hover::before {
    background: rgba(0, 0, 0, 0.28);
  }

  .hero-cell:hover .hero-cell-arrow {
    transform: translateX(5px);
  }
}

.hero-cell:focus-visible {
  outline: 2px solid var(--xx-xxw);
  outline-offset: -2px;
}

@media (max-width: 899px) {
  .nav-text {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .nav-side {
    gap: 0.9rem;
  }

  .logo-mark img {
    height: 22px;
  }

  .hero {
    min-height: 100svh;
    height: 100svh;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.22) 16%, rgba(0, 0, 0, 0.16) 42%, rgba(0, 0, 0, 0.58) 100%);
  }

  .hero-title {
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    padding: 8px 20px 16px;
    font-size: clamp(2.15rem, 11vw, 3.1rem);
    justify-content: flex-start;
  }

  .hero-title > span {
    max-width: 14ch;
  }

  .hero-grid {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, minmax(52px, auto));
  }

  .hero-cell {
    padding: 16px 18px;
    min-height: 52px;
    border-right: 1px solid rgba(248, 248, 236, 0.42);
    border-bottom: 1px solid rgba(248, 248, 236, 0.42);
    border-top: 0;
    border-left: 0;
  }

  .hero-cell:nth-child(3n) {
    border-right: 1px solid rgba(248, 248, 236, 0.42);
  }

  .hero-cell:nth-child(2n) {
    border-right: 0;
  }

  .hero-cell:nth-child(n+4) {
    border-bottom: 1px solid rgba(248, 248, 236, 0.42);
  }

  .hero-cell:nth-child(n+5) {
    border-bottom: 0;
  }

  .hero-grid {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  html {
    scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

/* Proof: a four-stat hook band, full-bleed, with a Varsity-style hover fill */

.proof {
  border-top: 1px solid var(--xx-black);
  border-bottom: 1px solid var(--xx-black);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.proof-grid article {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-height: 12.5rem;
  padding: 32px 18px 26px;
  border-bottom: 1px solid var(--xx-black);
  border-right: 1px solid var(--xx-black);
  color: var(--xx-black);
  transition: color 0.4s var(--ease);
}

.proof-grid article:nth-child(even) {
  border-right: 0;
}

.proof-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.proof-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--xx-black);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.5s var(--ease);
}

.proof-grid strong {
  display: block;
  font-family: var(--display);
  font-weight: 738;
  font-size: clamp(2.35rem, 6.6vw, 4.8rem);
  letter-spacing: -0.045em;
  line-height: 0.88;
  padding-top: 0.1em;
  text-transform: uppercase;
}

.proof-grid .nb { white-space: nowrap; font-size: inherit; letter-spacing: inherit; font-weight: inherit; }

.proof-grid article > span {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  max-width: 22ch;
  text-wrap: balance;
}

@media (hover: hover) and (pointer: fine) {
  .proof-grid article:hover {
    color: var(--xx-xxw);
  }
  .proof-grid article:hover::before {
    transform: none;
  }
}

/* System */

.pillars {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--xx-rule);
}

.pillar {
  display: grid;
  gap: 14px;
  padding: 32px 0;
  border-bottom: 1px solid var(--xx-rule);
}

.pillar-index {
  font-family: var(--display);
  font-weight: 415;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.pillar h3 {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
}

.pillar p {
  margin: 0;
  max-width: 36rem;
}

.pillar-stat {
  margin-top: 8px;
}

.pillar-stat b {
  display: block;
  font-family: var(--display);
  font-weight: 738;
  font-size: clamp(2.6rem, 8vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 0.85;
}

.pillar-stat span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  max-width: 22ch;
  text-wrap: balance;
}

/* Wins */

.wins {
  display: grid;
  gap: 72px;
}

.win {
  display: grid;
  gap: 22px;
}

.win-result {
  margin: 14px 0 0;
  font-family: var(--display);
  font-weight: 738;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.86;
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  text-wrap: balance;
}

.win-result i {
  font-style: normal;
  font-weight: 415;
  padding-inline: 0.08em;
}

.win-meta {
  margin: 10px 0 0;
  font-size: 15px;
}

.win h3 {
  margin: 18px 0 0;
  font-family: var(--display);
  font-weight: 415;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.win .body {
  margin: 12px 0 0;
  max-width: 38rem;
}

.win-media {
  min-height: 280px;
  background: var(--xx-mist);
  position: relative;
  overflow: hidden;
}

.win-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.win-media.is-logo {
  background: var(--xx-black);
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-self: center;
}

.win-media.is-logo img {
  object-fit: contain;
  padding: 8%;
}

/* Placeholders */

.ph {
  min-height: 280px;
  background: var(--xx-mist);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--xx-rule);
}

.ph-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ph-note {
  margin: 0;
  max-width: 36ch;
  font-size: 13px;
  line-height: 1.4;
  color: var(--xx-graphite);
}

/* Reels */

.reel-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 78%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 80px;
  scrollbar-width: thin;
}

.reel {
  scroll-snap-align: start;
}

.reel-frame {
  aspect-ratio: 9 / 14;
  background: var(--xx-black);
  color: var(--xx-xxw);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  overflow: hidden;
}

.reel-frame::before {
  content: "";
  position: absolute;
  inset: 18% 18% auto;
  height: 42%;
  background: radial-gradient(circle at 50% 40%, rgba(248, 248, 236, 0.16), transparent 68%);
}

.play {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border: 1px solid rgba(248, 248, 236, 0.85);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.play::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--xx-xxw);
  margin-left: 3px;
}

.reel-note {
  position: relative;
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(248, 248, 236, 0.72);
  max-width: 28ch;
}

.reel h3 {
  margin: 14px 0 0;
  font-size: 1.7rem;
}

.reel .who {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--xx-graphite);
}

/* Why */

.reasons {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--xx-rule);
}

.reason {
  display: grid;
  gap: 8px;
  padding: 28px 0;
  border-bottom: 1px solid var(--xx-rule);
}

.reason b {
  font-family: var(--display);
  font-weight: 738;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.92;
}

.reason p {
  margin: 0;
  max-width: 40rem;
}

.why-photo {
  margin-top: 28px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--xx-mist);
}

.why-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Team */

.team-grid {
  display: grid;
  gap: 28px;
}

.person h3 {
  margin: 14px 0 0;
  font-size: 1.8rem;
}

.person .role {
  margin: 4px 0 0;
  font-size: 14px;
}

.person .bio {
  margin: 10px 0 0;
  max-width: 36ch;
  font-size: 15px;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gallery figure {
  margin: 0;
  background: var(--xx-mist);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
}

.gallery figure.is-wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(248, 248, 236, 0.88);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 6px;
}

/* Ventures */

.ventures {
  display: grid;
  gap: 12px;
}

.venture {
  background: var(--xx-black);
  color: var(--xx-xxw);
  padding: 28px 22px 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.venture h3 {
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  margin-top: 12px;
}

.venture p {
  margin: 0;
  max-width: 36rem;
  color: rgba(248, 248, 236, 0.82);
}

.venture .kicker {
  color: rgba(248, 248, 236, 0.62);
}

/* FAQ */

.faq {
  border-top: 1px solid var(--xx-rule);
}

.faq-item {
  border-bottom: 1px solid var(--xx-rule);
}

.faq-item h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-item button {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  font-family: var(--display);
  font-weight: 738;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  line-height: 0.95;
}

.faq-item button span[aria-hidden] {
  font-family: var(--text);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  width: 1.2em;
  text-align: center;
}

.faq-item .panel {
  display: none;
  padding: 0 0 22px;
  max-width: 42rem;
}

.faq-item.is-open .panel {
  display: block;
}

.faq-item .panel p {
  margin: 0;
}

/* Apply */

.apply-grid {
  display: grid;
  gap: 36px;
}

.apply-intro h2 {
  font-size: clamp(3rem, 10vw, 6rem);
}

form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--xx-mist);
  border: 1px solid transparent;
  border-radius: 0;
  padding: 15px 14px;
  font-size: 16px;
  appearance: none;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--xx-black);
  outline-offset: 1px;
  background: var(--xx-xxw);
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.4;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--xx-black);
  flex: none;
}

.form-note,
.form-error {
  margin: 0;
  font-size: 14px;
}

.form-error {
  display: none;
}

.form-error.is-on {
  display: block;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.thanks {
  display: none;
  background: var(--xx-black);
  color: var(--xx-xxw);
  padding: 36px 24px;
  min-height: 320px;
}

.thanks.is-on {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}

.thanks h3 {
  font-size: clamp(2.6rem, 8vw, 4.4rem);
}

.thanks p {
  margin: 0;
  max-width: 36rem;
  color: rgba(248, 248, 236, 0.86);
}

.apply.is-sent form {
  display: none;
}

.section.apply {
  padding-bottom: 32px;
}

/* Privacy: compact note under the apply form */

.privacy-note {
  padding: 28px 0 36px;
  border-top: 1px solid var(--xx-rule);
}

.privacy-note p {
  margin: 0;
  max-width: 46rem;
  font-size: 13px;
  line-height: 1.5;
  color: var(--xx-graphite);
}

.privacy-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Footer */

.site-footer {
  background: var(--xx-black);
  color: var(--xx-xxw);
  padding: 56px 0 28px;
}

.site-footer a {
  color: inherit;
}

.foot-logo img {
  height: 28px;
  width: auto;
}

.foot-lock {
  margin-top: 22px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  max-width: 16ch;
}

.foot-grid {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

.foot-links {
  display: grid;
  gap: 8px;
}

.foot-links a {
  text-decoration: none;
  font-size: 15px;
}

.foot-links a:hover {
  text-decoration: underline;
}

.legal {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(248, 248, 236, 0.18);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(248, 248, 236, 0.68);
}

.legal p {
  margin: 0 0 6px;
}

/* Mobile apply bar */

.mobile-apply {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 25;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--xx-black);
  color: var(--xx-xxw);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}

.mobile-apply.is-hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s var(--ease) forwards;
}

.reveal-d1 { animation-delay: 0.08s; }
.reveal-d2 { animation-delay: 0.16s; }
.reveal-d3 { animation-delay: 0.24s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .mobile-apply {
    transition: none;
  }
}


@media (max-width: 599px) {
  .nav-side {
    gap: 0.85rem;
  }

  .nav-text {
    font-size: 10px;
    letter-spacing: 0.14em;
  }
}

/* Desktop */

@media (min-width: 900px) {
  :root {
    --nav-h: 76px;
  }

  .wrap {
    width: min(1440px, calc(100% - 80px));
  }

  .nav-inner {
    width: calc(100% - 72px);
  }

  .logo-mark img {
    height: 30px;
  }

  .nav-side {
    gap: 2.4rem;
  }

  body {
    padding-bottom: 0;
  }

  html {
    scroll-padding-bottom: 0;
  }

  .menu-btn,
  .menu,
  .mobile-apply {
    display: none;
  }

  .section {
    padding: 128px 0;
  }

  .proof-grid {
    grid-template-columns: repeat(4, 1fr);
    padding-inline: max(20px, calc((100vw - 1440px) / 2 + 40px));
  }

  .proof-grid article,
  .proof-grid article:nth-child(odd),
  .proof-grid article:nth-child(even) {
    min-height: 17.5rem;
    border-bottom: 0;
    border-right: 1px solid var(--xx-black);
    padding: 48px 28px 36px;
  }

  .proof-grid article:last-child {
    border-right: 0;
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .pillar {
    padding: 36px 32px 8px 0;
    border-bottom: 0;
    border-right: 1px solid var(--xx-rule);
  }

  .pillar:last-child {
    border-right: 0;
  }

  .win {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: stretch;
  }

  .win:nth-child(even) .win-copy {
    order: 2;
  }

  .win-media,
  .win .ph {
    min-height: 520px;
  }

  .reel-row {
    grid-auto-columns: calc((100% - 28px) / 3);
    overflow: visible;
    padding-bottom: 0;
  }

  .why-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
  }

  .why-photo {
    margin-top: 0;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    aspect-ratio: 4 / 5;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .gallery figure.is-wide {
    grid-column: 1 / -1;
    aspect-ratio: 2 / 1;
  }

  .ventures {
    grid-template-columns: 1fr 1fr;
  }

  .venture {
    min-height: 380px;
    padding: 36px;
  }

  .apply-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: start;
  }

  .apply-intro {
    position: sticky;
    top: calc(var(--nav-h) + 28px);
  }

  .foot-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-end;
  }

  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}


/* Video clips */

.clip {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--xx-black);
}

.win-media.is-clip {
  background: var(--xx-black);
  min-height: 0;
  aspect-ratio: 3 / 4;
  max-height: 82vh;
}

.win-media.is-clip .clip {
  position: absolute;
  inset: 0;
}

.win-extra {
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 738;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
}

.reel-frame.is-clip {
  padding: 0;
  background: var(--xx-black);
}

.reel-frame.is-clip::before,
.reel-frame.is-clip .play,
.reel-frame.is-clip .reel-note {
  display: none;
}

/* PR — full-bleed, dark, typographic */

.pr {
  background: var(--xx-black);
  color: var(--xx-xxw);
  padding: 96px 0 0;
}

.pr-intro {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.pr-intro .kicker {
  color: rgba(248, 248, 236, 0.5);
}

.pr-intro h1,
.pr-intro h2 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-weight: 738;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 0.82;
  font-size: clamp(3.6rem, 13vw, 9.4rem);
  max-width: 14ch;
}

.pr-intro .lede {
  margin-top: 28px;
  max-width: 34rem;
  color: rgba(248, 248, 236, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.pr-more {
  display: inline-block;
  margin-top: 28px;
  color: var(--xx-xxw);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(248, 248, 236, 0.45);
  padding-bottom: 3px;
}

.pr-more:hover {
  border-bottom-color: var(--xx-xxw);
}

.pr-feature {
  border-top: 1px solid rgba(248, 248, 236, 0.14);
  padding: 64px 0 80px;
}

.pr-feature:last-child {
  padding-bottom: 112px;
}

.pr-inner {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.pr-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 738;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.86;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}

.pr-results {
  margin: 18px 0 0;
  font-family: var(--display);
  font-weight: 738;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
  color: var(--xx-xxw);
}

.pr-stunts {
  margin-top: 36px;
  display: grid;
  gap: 0;
}

.pr-stunt {
  padding: 28px 0;
  border-top: 1px solid rgba(248, 248, 236, 0.12);
}

.pr-stunt:last-child {
  padding-bottom: 0;
}

.pr-stunt h3,
.pr-stunt h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 415;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.pr-hook {
  margin: 10px 0 0;
  max-width: 38rem;
  color: rgba(248, 248, 236, 0.82);
  font-size: 1.05rem;
  line-height: 1.5;
}

.pr-outlets {
  margin: 16px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 248, 236, 0.5);
}

.pr-links {
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.pr-links a {
  color: var(--xx-xxw);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid rgba(248, 248, 236, 0.4);
  padding-bottom: 2px;
}

.pr-links a:hover {
  border-bottom-color: var(--xx-xxw);
}

.pr-media {
  margin: 0;
  background: #111;
  overflow: hidden;
  aspect-ratio: 9 / 14;
  max-height: min(820px, 86vh);
}

.pr-media .clip,
.pr-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PR page */

.page-pr {
  background: var(--xx-black);
  color: var(--xx-xxw);
}

.page-pr .nav-text {
  color: var(--xx-xxw);
}

.page-pr .nav.is-scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(248, 248, 236, 0.14);
}

.page-pr .nav-text.is-current {
  opacity: 0.55;
}

/* Studio lifestyle */

.studio-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
}

.studio-band figure {
  margin: 0;
  background: var(--xx-black);
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 14;
}

.studio-band .is-hero {
  grid-column: 1 / -1;
  max-height: 78vh;
}

.studio-caption {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .pr {
    padding-top: 128px;
  }

  .pr-intro {
    width: min(1440px, calc(100% - 80px));
    padding-bottom: 96px;
  }

  .pr-inner {
    width: min(1440px, calc(100% - 80px));
  }

  .pr-feature {
    padding: 88px 0 104px;
  }

  .pr-feature:last-child {
    padding-bottom: 136px;
  }

  .pr-feature.has-media .pr-inner {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 72px;
    align-items: start;
  }

  .pr-media {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
  }

  .studio-band {
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 40px;
  }

  .studio-band .is-hero {
    grid-column: auto;
    max-height: none;
  }

  .studio-caption {
    margin: 0 0 16px;
  }

}


/* Scroll sequence: hero grid fills with colour, then becomes the proof scatter.
   Pinned with position: sticky, scrubbed by main.js. Behaviour studied from Varsity's
   pinned hero (pin + scrub, cells fill, cells shrink to tags, headline reveal), rebuilt here. */

html.js-seq .hero-seq {
  position: relative;
  height: calc(var(--seq-len, 4.7) * max(100svh, 640px));
}

html.js-seq .hero {
  position: sticky;
  top: 0;
}

.hero.is-seq .hero-stage {
  pointer-events: none;
}
.hero.is-seq .hero-grid a {
  pointer-events: none;
}

.seq {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

html.js-seq .seq {
  visibility: visible;
}

.seq-bg {
  position: absolute;
  inset: 0;
  background: var(--xx-xxw);
  opacity: 0;
}

.seq-zoom,
.seq-tags,
.seq-cells {
  position: absolute;
  inset: 0;
}

.seq-zoom {
  transform-origin: 50% 50%;
  will-change: transform;
}

.seq-chip {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 8px 12px;
  background: var(--c, #000);
  color: var(--f, #f8f8ec);
  font-family: var(--text);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  will-change: transform, opacity;
}

.seq-chip.is-line {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.22);
}

.seq-chip.is-lg {
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 16px 20px;
  overflow: hidden;
}

.seq-chip > span {
  display: block;
}

.seq-probe {
  position: absolute;
  visibility: hidden;
  left: -9999px;
  top: 0;
  opacity: 1;
  height: auto;
}

.seq-title {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(16ch, 86vw);
  margin: 0;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-weight: 738;
  font-size: clamp(3.2rem, 8.4vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-align: center;
  color: var(--xx-black);
}

.seq-title .w {
  padding: 0.06em 0.04em 0.04em;
  margin: -0.06em -0.04em -0.04em;
}

.seq--static {
  position: relative;
  inset: auto;
  visibility: visible;
  height: clamp(540px, 84svh, 780px);
  background: var(--xx-xxw);
}

.seq--static .seq-bg {
  opacity: 1;
}

/* Word masks (rise-in text) */

.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.1em 0.06em 0.12em;
  margin: -0.1em -0.06em -0.12em;
}

.wi {
  display: inline-block;
  will-change: transform;
}

html.js-seq .rv .wi {
  transform: translateY(112%);
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms);
}

html.js-seq .rv.is-in .wi {
  transform: none;
}

/* Hero load-in */

@keyframes xx-word-up {
  from { transform: translateY(112%); }
  to { transform: none; }
}

@keyframes xx-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes xx-photo-settle {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

html.js-seq .hero picture {
  overflow: hidden;
}

html.js-seq .hero img {
  animation: xx-photo-settle 1.9s var(--ease) both;
  will-change: transform;
}

html.js-seq .hero-title .wi {
  animation: xx-word-up 1s var(--ease) backwards;
  animation-delay: calc(0.35s + var(--i, 0) * 70ms);
}

html.js-seq .hero-cell-label,
html.js-seq .hero-cell-arrow {
  animation: xx-fade 0.8s ease backwards;
  animation-delay: calc(1.1s + var(--cell, 0) * 90ms);
}

/* Fade-ups */

html.js-seq [data-fade] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}

html.js-seq [data-fade].is-in {
  opacity: 1;
  transform: none;
}

/* Media reveal: clip wipe + settle */

html.js-seq .media-rv {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease);
}

html.js-seq .media-rv > img,
html.js-seq .media-rv > video,
html.js-seq .media-rv > picture {
  transform: scale(1.12);
  transition: transform 1.4s var(--ease);
}

html.js-seq .media-rv.is-in {
  clip-path: inset(0 0 0 0);
}

html.js-seq .media-rv.is-in > img,
html.js-seq .media-rv.is-in > video,
html.js-seq .media-rv.is-in > picture {
  transform: none;
}

/* Nav: slide away on the way down, back on the way up */

.nav {
  transition: transform 0.45s var(--ease), background 0.3s ease, border-color 0.3s ease;
}

.nav.is-away {
  transform: translateY(-101%);
}

body.nav-open .nav.is-away {
  transform: none;
}

@media (min-width: 900px) {
  html.js-seq .hero-seq {
    --seq-len: 4.9;
  }
}

@media (max-width: 899px) {
  html.js-seq .hero-seq {
    --seq-len: 4.4;
  }

  .seq-chip {
    font-size: 10px;
    letter-spacing: 0.1em;
    padding: 7px 10px;
  }

  .seq-chip.is-lg {
    font-size: 11px;
    padding: 12px 14px;
  }

  .seq-title {
    font-size: clamp(2.5rem, 13vw, 3.8rem);
    width: min(11ch, 90vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js-seq .hero-seq {
    height: auto;
  }

  html.js-seq .hero {
    position: relative;
  }

  html.js-seq .hero img,
  html.js-seq .hero-title .wi,
  html.js-seq .hero-cell-label,
  html.js-seq .hero-cell-arrow {
    animation: none;
  }

  html.js-seq .rv .wi,
  html.js-seq [data-fade],
  html.js-seq .media-rv,
  html.js-seq .media-rv > img,
  html.js-seq .media-rv > video,
  html.js-seq .media-rv > picture {
    transform: none;
    opacity: 1;
    clip-path: none;
    transition: none;
  }

  .nav {
    transition: none;
  }
}


/* ===== Layouts studied from Varsity: stacked colour bands, index table,
   bordered team grid, staggered story cards, full-bleed closer, giant footer wordmark ===== */

/* What we offer: intro, section index, stacked service bands, two marketing paths */

#system {
  padding-bottom: 48px;
}

.sys-head {
  max-width: 1100px;
}

.sys-head h2 {
  font-size: clamp(2.7rem, 8.4vw, 8rem);
  line-height: 0.86;
}

.sys-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--xx-black);
}

.sys-index li {
  border-bottom: 1px solid var(--xx-black);
}

.sys-index a {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  grid-template-areas: "n t t" ". te go";
  align-items: baseline;
  gap: 6px 16px;
  padding: 22px 8px 20px;
  color: inherit;
  text-decoration: none;
  transition: color 0.4s var(--ease), padding 0.4s var(--ease);
}

.sys-index a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--xx-black);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.45s var(--ease);
}

.sys-index a span {
  grid-area: n;
  font-family: var(--display);
  font-weight: 415;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--xx-graphite);
  transition: color 0.4s var(--ease);
}

.sys-index a b {
  grid-area: t;
  font-family: var(--display);
  font-weight: 738;
  font-size: clamp(1.35rem, 4.4vw, 1.85rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.sys-index a em {
  grid-area: te;
  font-style: normal;
  font-size: 14px;
  line-height: 1.4;
  max-width: 26ch;
  opacity: 0.72;
}

.sys-index a i {
  grid-area: go;
  justify-self: end;
  align-self: end;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.sys-index a i::after { content: " →"; }
.sys-index a i.is-jump::after { content: " ↓"; }

@media (hover: hover) and (pointer: fine) {
  .sys-index a:hover {
    color: var(--xx-xxw);
    padding-inline: 20px 16px;
  }
  .sys-index a:hover::before { transform: none; }
  .sys-index a:hover span { color: var(--xx-ash); }
}

@media (min-width: 900px) {
  .sys-index {
    grid-template-columns: repeat(4, 1fr);
  }
  .sys-index li { border-bottom: 0; border-right: 1px solid var(--xx-black); }
  .sys-index li:last-child { border-right: 0; }
  .sys-index a {
    grid-template-columns: 1fr;
    grid-template-areas: "n" "t" "te" "go";
    gap: 10px;
    grid-template-rows: auto auto auto 1fr;
    min-height: 16.5rem;
    padding: 26px 24px 24px;
    align-content: stretch;
  }
  .sys-index a i { justify-self: start; align-self: end; padding-top: 18px; }
  .sys-index a em { max-width: 20ch; }
}

#system .pillars {
  display: block;
  border: 0;
  margin-inline: 0;
}

#system .pillar {
  position: sticky;
  top: var(--stick, 0px);
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 22px;
  padding: calc(var(--nav-h) + 28px) max(20px, calc((100vw - 1440px) / 2 + 40px)) 44px;
  border: 0;
  background: var(--b, #000);
  color: var(--ink, #f8f8ec);
}

#system .pillar:nth-child(1) { --b: #000000; --ink: #f8f8ec; }
#system .pillar:nth-child(2) { --b: #737373; --ink: #f8f8ec; }
#system .pillar:nth-child(3) { --b: #999999; --ink: #000000; }

#system .pillar-index {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#system .pillar h3 {
  margin: 4px 0 6px;
  font-size: clamp(2.9rem, 10.4vw, 10.5rem);
  line-height: 0.84;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

#system .sys-lead {
  max-width: 36rem;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  line-height: 1.45;
}

#system .pillar-stat {
  margin: 0;
}

#system .pillar-stat b {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.sys-list,
.sys-proof {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}

.sys-list li,
.sys-proof li {
  display: grid;
  gap: 6px;
  padding: 16px 0 18px;
  border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent);
}

.sys-list b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.sys-list span {
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.82;
}

.sys-proof li b {
  font-family: var(--display);
  font-weight: 738;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.sys-proof li span {
  font-size: 15px;
  line-height: 1.4;
  max-width: 24ch;
}

@media (min-width: 640px) {
  .sys-proof { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

@media (min-width: 900px) {
  #system .pillar {
    grid-template-columns: 1fr minmax(0, 24rem);
    grid-template-areas: "idx idx" "ttl ttl" "lead stat" "list list";
    column-gap: 40px;
    align-items: end;
  }

  #system .pillar-index { grid-area: idx; align-self: start; }
  #system .pillar h3 { grid-area: ttl; }
  #system .sys-lead { grid-area: lead; }
  #system .pillar-stat { grid-area: stat; justify-self: end; text-align: right; }
  #system .pillar-stat span { margin-left: auto; }
  #system .sys-list, #system .sys-proof { grid-area: list; align-self: start; margin-top: 18px; column-gap: 28px; }
  #system .sys-list--3 { grid-template-columns: repeat(3, 1fr); }
  #system .sys-list--4 { grid-template-columns: repeat(4, 1fr); }
  #system .sys-proof { grid-template-columns: repeat(3, 1fr); }
  #system .sys-list span { max-width: none; }
}

/* Marketing paths: a hard split, hidden vs seen */

.paths {
  padding: 96px 0 0;
}

.path-split {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 8px;
}

.path {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 64px max(20px, calc((100vw - 1440px) / 2 + 40px)) 44px;
  background: var(--xx-black);
  color: var(--xx-xxw);
}

.path-tag {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--xx-ash);
}

.path h3 {
  margin: 4px 0 0;
  font-size: clamp(3.4rem, 15vw, 9.5rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.path-line {
  margin: 0;
  font-family: var(--display);
  font-weight: 738;
  font-size: clamp(1.4rem, 4.4vw, 2.1rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.path-copy {
  margin: 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.9;
}

.path-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.path-list li {
  display: grid;
  gap: 4px 24px;
  padding: 14px 0 16px;
  border-top: 1px solid rgba(248, 248, 236, 0.3);
}

.path-list b {
  font-size: 15px;
  font-weight: 600;
}

.path-list span {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.82;
}

.path-list a {
  color: inherit;
  text-underline-offset: 3px;
}

.path-foot {
  display: grid;
  gap: 16px;
  justify-items: start;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(248, 248, 236, 0.3);
}

.path-foot p {
  margin: 0;
  max-width: 28rem;
  font-size: 15px;
  line-height: 1.45;
}

.path--private,
.path--public {
  background: #1a1a1a;
}

.path-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.path-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: grayscale(1) contrast(1.05) brightness(0.52);
  transition: transform 1.4s var(--ease);
}

/* Keep the Low-key figure in frame: she's slightly left of centre, with studio space around. */
.path--private .path-bg img {
  object-position: 42% 78%;
}

.path--public::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.7));
}

.path--private::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.40) 38%, rgba(0, 0, 0, 0.72));
}

.path--private .path-tag,
.path--public .path-tag { color: var(--xx-xxw); }

/* Keep list/copy readable where type crosses the lighter hair in the Low-key still. */
.path--private .path-copy,
.path--private .path-list b,
.path--private .path-list span,
.path--private .path-foot p {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}
.path--private .path-list span { opacity: 0.92; }

@media (max-width: 899px) {
  .path--private .path-bg img {
    object-position: 40% 62%;
  }
}

@media (min-width: 900px) {
  .path-split {
    grid-template-columns: 1fr 1fr;
    transition: grid-template-columns 0.8s var(--ease);
  }

  .path {
    padding: 80px 40px 56px max(20px, calc((100vw - 1440px) / 2 + 40px));
  }

  .path--public {
    padding: 80px max(20px, calc((100vw - 1440px) / 2 + 40px)) 56px 40px;
  }

  .path-list li {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    align-items: baseline;
  }
}

@media (min-width: 1100px) and (hover: hover) {
  .path-split:has(.path--private:hover) { grid-template-columns: 1.14fr 0.86fr; }
  .path-split:has(.path--public:hover) { grid-template-columns: 0.86fr 1.14fr; }
  .path--private:hover .path-bg img,
  .path--public:hover .path-bg img { transform: scale(1.05); }
}

/* Work: index table with colour-fill hover */

.idx {
  border-top: 1px solid var(--xx-black);
  margin: 0 0 64px;
}

.idx-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  grid-template-areas: "n name arw" ". res .";
  align-items: baseline;
  gap: 6px 16px;
  padding: 20px 6px;
  border-bottom: 1px solid var(--xx-rule);
  color: var(--xx-black);
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.35s var(--ease), padding 0.45s var(--ease);
}

.idx-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--xx-black);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.45s var(--ease);
}

.idx-n {
  grid-area: n;
  font-family: var(--display);
  font-weight: 415;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.idx-name {
  grid-area: name;
  font-family: var(--display);
  font-weight: 738;
  font-size: clamp(1.7rem, 6vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
}

.idx-type {
  display: none;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.idx-res {
  grid-area: res;
  font-size: 15px;
}

.idx-arw {
  grid-area: arw;
  justify-self: end;
  transition: transform 0.4s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .idx-row:hover {
    color: var(--xx-xxw);
    padding-inline: 20px;
  }

  .idx-row:hover::before {
    transform: scaleY(1);
  }

  .idx-row:hover .idx-arw {
    transform: translateX(6px);
  }
}

@media (min-width: 900px) {
  .idx-row {
    grid-template-columns: 56px 1.5fr 0.7fr 1.3fr 32px;
    grid-template-areas: "n name type res arw";
    align-items: center;
    padding: 26px 8px;
  }

  .idx-type {
    display: block;
    grid-area: type;
  }
}

/* Team: bordered cells on a hairline grid */

.team-grid {
  gap: 0;
  border-top: 1px solid var(--xx-black);
  border-left: 1px solid var(--xx-black);
}

.team-grid .person {
  padding: 20px 20px 28px;
  border-right: 1px solid var(--xx-black);
  border-bottom: 1px solid var(--xx-black);
}

/* Stories: staggered cards */

@media (min-width: 900px) {
  .reel-row .reel:nth-child(2) {
    margin-top: 72px;
  }

  .reel-row .reel:nth-child(3) {
    margin-top: 144px;
  }
}

/* Closer */

.cta-band {
  position: relative;
  min-height: 92svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0b0b0b;
  color: var(--xx-xxw);
  text-align: center;
}

.cta-media {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  will-change: transform;
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.52);
}

.cta-inner {
  display: grid;
  gap: 26px;
  justify-items: center;
  padding: 80px 20px;
}

.cta-inner .kicker {
  color: var(--xx-xxw);
}

.cta-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 738;
  font-size: clamp(3.4rem, 11vw, 10rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

/* Footer wordmark */

.site-footer {
  overflow: hidden;
}

.foot-word-wrap {
  margin-top: 56px;
  overflow: hidden;
}

.foot-word {
  font-family: var(--display);
  font-weight: 738;
  font-size: clamp(4rem, 23.6vw, 23rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  color: var(--xx-xxw);
  user-select: none;
}

/* Hero hover: siblings dim */

@media (hover: hover) and (pointer: fine) {
  .hero-grid:hover .hero-cell:not(:hover) .hero-cell-label,
  .hero-grid:hover .hero-cell:not(:hover) .hero-cell-arrow {
    opacity: 0.4;
  }

  .hero-cell-label,
  .hero-cell-arrow {
    transition: opacity 0.3s ease, transform 0.35s var(--ease);
  }
}

html.smooth-scroll {
  scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  .path-split, .path-bg img, .sys-index a { transition: none; }
}

@media (max-width: 899px) {
  #system .pillar { padding-bottom: 92px; }
  .path { padding-bottom: 96px; }
  .sys-index a::after { display: none; }
}

/* Affiliations and partners: twisting cords + a column of partner logos.
   The cords are drawn on one canvas (js/affiliations.js). Layout and scroll hand-off studied
   from Varsity's manifesto scene (fixed cord canvas, pinned logo column, side text), rebuilt here. */

.affil {
  --affil-vh: max(100svh, 640px);
  position: relative;
}

.affil-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.affil-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.affil-side {
  margin: 0;
  font-family: var(--display);
  font-weight: 738;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
  font-size: clamp(1.7rem, 2.6vw, 2.9rem);
  text-wrap: balance;
}

/* Partner logos: official marks, brand colours, optically sized (not equal widths). */

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.partner-logo,
html.js-affil .partner {
  width: max-content;
  max-width: 100%;
}

.partner-logo svg,
.partner-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

/* Desktop optical sizes. Heavier marks run slightly smaller; fine-line marks slightly larger. */
.partner-logo--dailymail svg { height: 52px; width: auto; }
.partner-logo--onlyfans svg { height: 52px; width: auto; }       /* official viewBox has vertical padding */
.partner-logo--fanvue svg { height: 44px; width: auto; }         /* bold mark + wide lockup */
.partner-logo--fansly img { height: 58px; width: auto; }         /* official PNG includes padding */
.partner-logo--aiims img { height: 44px; width: auto; }          /* very heavy letters */
.partner-logo--spicy svg { height: 88px; width: auto; }          /* official file has generous clear space */
.partner-logo--slushy svg { height: 52px; width: auto; }         /* bold italic wordmark */

/* Animated mode: cords on a fixed canvas, logo column pinned in a sticky stage */

html.js-affil .affil {
  margin-top: calc(var(--affil-vh) * -0.35);
  pointer-events: none;
}

html.js-affil .affil {
  z-index: 4;
}

html.js-affil .affil-cords {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100lvh;
  z-index: 12;
  pointer-events: none;
  visibility: hidden;
}

html.js-affil .affil-track {
  height: calc(var(--affil-vh) * (1 + var(--affil-len, 4.2)));
}

html.js-affil .affil-stage {
  position: sticky;
  top: 0;
  z-index: 13;
  height: var(--affil-vh);
  overflow: hidden;
}

html.js-affil .affil-kicker {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--nav-h) + 26px);
  text-align: center;
  opacity: 0;
  will-change: opacity, transform;
}

html.js-affil .affil-row {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
}

html.js-affil .affil-side {
  position: absolute;
  top: 50%;
  width: 15vw;
  max-width: 16rem;
  margin-top: -0.9em;
  opacity: 0;
  will-change: opacity, transform;
}

html.js-affil .affil-side--l { left: max(20px, 4.6vw); text-align: left; }
html.js-affil .affil-side--r { right: max(20px, 4.6vw); text-align: right; }

html.js-affil .affil-list {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: min(400px, 32vw);
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
}

html.js-affil .partner {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  color: var(--xx-graphite);
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  transition: color 0.35s var(--ease);
}

html.js-affil .partner.is-active { color: var(--xx-black); }

@media (max-width: 767px) {
  html.js-affil .affil-track { --affil-len: 3.75; }

  html.js-affil .affil-side {
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    margin: 0 auto;
    padding: 0 22%;
    text-align: center;
    font-size: clamp(1.5rem, 7.2vw, 2rem);
  }

  html.js-affil .affil-side--l { top: 19%; }
  html.js-affil .affil-side--r { top: auto; bottom: 21%; }

  html.js-affil .affil-list {
    width: min(70vw, 280px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 70%, transparent 100%);
  }

  html.js-affil .affil-side--l { top: 16%; }
  html.js-affil .affil-side--r { bottom: 18%; }

  .partner-logo--dailymail svg { height: 40px; }
  .partner-logo--onlyfans svg { height: 40px; }
  .partner-logo--fanvue svg { height: 34px; }
  .partner-logo--fansly img { height: 44px; }
  .partner-logo--aiims img { height: 34px; }
  .partner-logo--spicy svg { height: 68px; }
  .partner-logo--slushy svg { height: 40px; }
}

/* Static mode (reduced motion, or no canvas): everything laid out, cords drawn once behind */

html:not(.js-affil) .affil {
  overflow: hidden;
  padding: 104px 0 112px;
  border-bottom: 1px solid var(--xx-rule);
}

html:not(.js-affil) .affil-cords {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

html:not(.js-affil) .affil-stage,
html:not(.js-affil) .affil-track { position: relative; z-index: 1; }

html:not(.js-affil) .affil-kicker { text-align: center; margin-bottom: 40px; }

html:not(.js-affil) .affil-row {
  width: min(1440px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr minmax(0, 24rem) 1fr;
  align-items: center;
  gap: 24px;
}

html:not(.js-affil) .affil-side--r { text-align: right; }

html:not(.js-affil) .affil-list { display: grid; gap: 40px; justify-items: center; }

html:not(.js-affil) .partner { color: var(--xx-black); }

@media (max-width: 767px) {
  html:not(.js-affil) .affil-row { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  html:not(.js-affil) .affil-side--r { text-align: center; }
  html:not(.js-affil) .affil-list { padding-inline: 18%; }
}

html:not(.js-affil) .affil-cords {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
}

html:not(.js-affil) .affil-side { max-width: 5.6em; }
html:not(.js-affil) .affil-side--r { justify-self: end; }

@media (max-width: 767px) {
  html:not(.js-affil) .affil-side,
  html:not(.js-affil) .affil-side--r { max-width: 6em; justify-self: center; font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .proof-grid article::before { transition: none; }
}


/* Offer detail pages (chat team, management, why XX) */

.page-offer .nav-text.is-current { text-decoration: underline; text-underline-offset: 5px; }
.page-offer .nav {
  background: rgba(248, 248, 236, 0.94);
  border-bottom-color: var(--xx-rule);
}


.offer-hero {
  padding: calc(var(--nav-h) + 48px) 0 56px;
}

.offer-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--xx-graphite);
}

.offer-back:hover { color: var(--xx-black); }

.offer-hero .kicker { color: var(--xx-graphite); }

.offer-hero h1 {
  margin: 12px 0 22px;
  font-size: clamp(3.2rem, 11vw, 9.5rem);
  line-height: 0.84;
  letter-spacing: -0.05em;
}

.offer-hero .lede { max-width: 36rem; }

.offer-stat {
  margin: 40px 0 0;
}

.offer-stat b {
  display: block;
  font-family: var(--display);
  font-weight: 738;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.85;
  text-transform: uppercase;
}

.offer-stat span {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  max-width: 22ch;
}

.offer-points {
  list-style: none;
  margin: 0;
  padding: 0 0 72px;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--xx-black);
}

.offer-points li {
  display: grid;
  gap: 8px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--xx-rule);
}

.offer-points b {
  font-family: var(--display);
  font-weight: 738;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.offer-points span {
  max-width: 38rem;
  font-size: 16px;
  line-height: 1.5;
}

.offer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  padding: 36px 0 8px;
  border-top: 1px solid var(--xx-black);
}

.offer-cta p {
  margin: 0;
  max-width: 28rem;
  font-size: 16px;
  line-height: 1.45;
}

.offer-more {
  display: grid;
  grid-template-columns: 1fr;
  margin: 64px 0 0;
  border-top: 1px solid var(--xx-black);
}

.offer-more a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--xx-rule);
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 738;
  font-size: clamp(1.3rem, 3.4vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.offer-more a::after { content: "→"; font-size: 0.85em; opacity: 0.5; }
.offer-more a.is-jump::after { content: "↓"; }
.offer-more a:hover { padding-left: 8px; }
.offer-more a:hover::after { opacity: 1; }

@media (min-width: 800px) {
  .offer-points { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .offer-more { grid-template-columns: 1fr 1fr 1fr; }
  .offer-more a { border-right: 1px solid var(--xx-rule); padding-right: 20px; }
  .offer-more a:last-child { border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sys-index a, .sys-index a::before, .offer-more a { transition: none; }
}

@media (max-width: 899px) {
  #system {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   Round 10: featured wins as click-to-open rows
   ========================================================================== */

.idx--acc {
  margin-bottom: 0;
}

.idx--acc .idx-item {
  border-bottom: 1px solid var(--xx-rule);
}

.idx--acc .idx-row {
  width: 100%;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  grid-template-columns: 44px 1fr;
  grid-template-areas: "n name" ". res" ". cue";
  align-items: baseline;
  row-gap: 8px;
  -webkit-appearance: none;
  appearance: none;
}

.idx--acc .idx-row:focus-visible {
  outline: 2px solid var(--xx-black);
  outline-offset: -2px;
}

.idx-cue {
  grid-area: cue;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.idx-cue .cue-close {
  display: none;
}

.idx--acc .idx-arw {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 0.5s var(--ease);
}

.idx--acc .idx-arw::before,
.idx--acc .idx-arw::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.idx--acc .idx-arw::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.idx-item.is-open .idx-row {
  color: var(--xx-xxw);
  padding-inline: 20px;
}

.idx-item.is-open .idx-row::before {
  transform: scaleY(1);
}

.idx-item.is-open .idx-arw {
  transform: rotate(45deg);
}

.idx-item.is-open .cue-open {
  display: none;
}

.idx-item.is-open .cue-close {
  display: inline;
}

@media (hover: hover) and (pointer: fine) {
  .idx--acc .idx-row:hover .idx-arw {
    transform: rotate(90deg);
  }

  .idx-item.is-open .idx-row:hover .idx-arw {
    transform: rotate(45deg);
  }
}

@media (min-width: 900px) {
  .idx--acc .idx-row {
    grid-template-columns: 56px 1.5fr 0.7fr 1.3fr 9.5rem;
    grid-template-areas: "n name type res cue";
    align-items: center;
  }

  .idx-cue {
    justify-self: end;
    margin-top: 0;
  }
}

.idx-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.7s var(--ease);
}

.idx-item.is-open .idx-panel {
  grid-template-rows: 1fr;
}

.idx-panel-clip {
  min-height: 0;
  overflow: hidden;
}

.idx-panel-in {
  padding: 36px 6px 64px;
  visibility: hidden;
  transition: visibility 0s linear 0.7s;
}

.idx-item.is-open .idx-panel-in {
  visibility: visible;
  transition-delay: 0s;
}

@media (min-width: 900px) {
  .idx-panel-in {
    padding-inline: 8px;
  }
}

/* ==========================================================================
   "In their words" — Varsity-style cross of written creator quotes
   ========================================================================== */

.tsec {
  padding-block: 88px;
}

.tgrid {
  display: block;
}

.tcentre {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 0 28px;
}

.tcentre h2 {
  margin: 0;
  font-size: clamp(2.4rem, 11vw, 3.4rem);
  line-height: 0.92;
  text-wrap: balance;
}

.tcentre-hint {
  margin: 0;
  max-width: 32ch;
  font-size: 14px;
  color: var(--xx-graphite);
}

.tcards {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: -20px;
  padding: 0 20px 4px;
  scroll-padding-inline: 20px;
}

.tcards::-webkit-scrollbar {
  display: none;
}

.tcard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(14px, 8cqh, 28px);
  flex: 0 0 78vw;
  max-width: 340px;
  aspect-ratio: 3 / 4;
  padding: clamp(20px, 7cqi, 28px) clamp(18px, 6.5cqi, 28px) clamp(16px, 5.5cqi, 22px);
  overflow: hidden;
  isolation: isolate;
  container-type: size;
  background: var(--accent, var(--xx-black));
  color: var(--ink, var(--xx-xxw));
  scroll-snap-align: center;
}

.tcard[data-accent="graphite"] { --accent: var(--xx-graphite); --ink: var(--xx-xxw); }
.tcard[data-accent="black"] { --accent: var(--xx-black); --ink: var(--xx-xxw); }
.tcard[data-accent="ash"] { --accent: var(--xx-ash); --ink: var(--xx-black); }
.tcard[data-accent="cream"] { --accent: var(--xx-xxw); --ink: var(--xx-black); }
.tcard[data-accent="cream"] { box-shadow: inset 0 0 0 1px var(--xx-black); }

.tcard-quote {
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
}

.tcard-quote p {
  margin: 0;
  font-family: var(--text);
  font-weight: 400;
  font-size: clamp(15px, 5.8cqi, 20px);
  line-height: 1.28;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* Longest quote (Marcus): keep the type a shade smaller so it never clips. */
.tcard[data-i="1"] .tcard-quote p {
  font-size: clamp(14px, 5.2cqi, 18px);
  line-height: 1.26;
}

.tcard-by {
  margin: 0;
  font-family: var(--display);
  font-style: normal;
  font-weight: 738;
  font-size: clamp(1.25rem, 8cqi, 1.7rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

/* Desktop: the cross (centre title, quotes above / left / right / below) */
@media (min-width: 861px) {
  .tsec {
    padding-block: 120px;
  }

  .tgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .tcards {
    display: contents;
  }

  .tcentre {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 4 / 3;
    align-items: center;
    text-align: center;
    padding: 24px 28px;
  }

  .tcentre h2 {
    font-size: clamp(2rem, 3.3vw, 3.1rem);
    max-width: 11ch;
  }

  .tcentre-hint {
    max-width: 28ch;
  }

  .tcard {
    flex: none;
    max-width: none;
    aspect-ratio: 4 / 3;
  }

  .tcard[data-i="0"] { grid-column: 2; grid-row: 1; }
  .tcard[data-i="1"] { grid-column: 1; grid-row: 2; }
  .tcard[data-i="2"] { grid-column: 3; grid-row: 2; }
  .tcard[data-i="3"] { grid-column: 2; grid-row: 3; }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .tcard {
    padding: 16px 16px 14px;
    gap: 12px;
  }

  .tcard-quote p {
    font-size: 13px;
    line-height: 1.24;
  }

  .tcard[data-i="1"] .tcard-quote p {
    font-size: 12px;
    line-height: 1.22;
  }

  .tcard-by {
    font-size: 1.2rem;
  }
}

@media (max-width: 860px) {
  .tsec {
    padding-bottom: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .idx-panel {
    transition: none !important;
  }
}

.idx-panel .win-copy > .kicker {
  display: none;
}

