/* =========================================================
   HOUSE OF TWO — visual system
   Layout concept: an art-directed magazine. Ink and ivory
   spreads alternate; burgundy is the house; thread red is the
   talent and appears only where a person is named or chosen.
   ========================================================= */
:root {
  --ink: #14182A;
  --ink-2: #1C2136;
  --ivory: #F4EFE7;
  --ivory-2: #E8E0D3;
  --burgundy: #5B1822;
  --red: #D23A2E;
  --on-ink-mute: rgba(244, 239, 231, .62);
  --on-ink-line: rgba(244, 239, 231, .16);
  --on-ivory-mute: rgba(20, 24, 42, .62);
  --on-ivory-line: rgba(20, 24, 42, .16);

  --f-logo: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-display: "Darker Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-sans: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --t-mega: clamp(3.6rem, 15.5vw, 17rem);
  --t-xl: clamp(2.9rem, 9vw, 9.5rem);
  --t-l: clamp(2.2rem, 5.4vw, 5rem);
  --t-m: clamp(1.45rem, 2.5vw, 2.25rem);
  --t-body: clamp(1rem, .95rem + .2vw, 1.0625rem);
  --t-small: .8125rem;
  --t-micro: .6875rem;

  --g: clamp(16px, 4vw, 56px);
  --sec: clamp(88px, 13vw, 200px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --slow: 1.1s;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--red); outline-offset: 4px; }
::selection { background: var(--red); color: var(--ivory); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ivory); color: var(--ink); padding: 10px 14px; font-size: var(--t-small); }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type primitives ---------- */
.display { font-family: var(--f-display); font-weight: 400; line-height: .9; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
.display em, .serif-it { font-style: italic; }
.mega { font-size: var(--t-mega); line-height: .84; letter-spacing: -.025em; }
.xl { font-size: var(--t-xl); }
.l { font-size: var(--t-l); line-height: .95; }
.m { font-size: var(--t-m); line-height: 1.1; }
.label {
  font-family: var(--f-sans); font-size: var(--t-micro); font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; line-height: 1.4;
}
.meta { font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: .04em; line-height: 1.5; font-variant-numeric: tabular-nums; }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.375rem); line-height: 1.5; max-width: 34ch; }
.body { max-width: 60ch; }
.body p { margin: 0 0 1em; }
.mute { color: var(--on-ink-mute); }
.ivory .mute, .sec--ivory .mute { color: var(--on-ivory-mute); }
.red { color: var(--red); }
.logo { font-family: var(--f-logo); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.logo i { font-style: italic; font-weight: 400; letter-spacing: .02em; text-transform: lowercase; }
.vlabel { writing-mode: vertical-rl; transform: rotate(180deg); }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: var(--sec); padding-inline: var(--g); }
.sec--ink { background: var(--ink); color: var(--ivory); }
.sec--ivory { background: var(--ivory); color: var(--ink); }
.sec--ivory ::selection { color: var(--ivory); }
.sec--burg { background: var(--burgundy); color: var(--ivory); }
.sec--tight { padding-block: clamp(56px, 8vw, 120px); }
.rule { border: 0; border-top: 1px solid var(--on-ink-line); margin: 0; }
.sec--ivory .rule { border-color: var(--on-ivory-line); }
.wrap { max-width: 1600px; margin-inline: auto; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--g) 18px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  color: var(--ivory); mix-blend-mode: difference;
  pointer-events: none;
}
.hdr > * { pointer-events: auto; }
.hdr .logo { font-size: .95rem; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav a { font-size: var(--t-micro); letter-spacing: .2em; text-transform: uppercase; font-weight: 500; position: relative; padding-block: 4px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .5s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.hdr-cta { display: none; }

.float-cta {
  position: fixed; right: var(--g); bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); z-index: 49;
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ivory); color: var(--ink);
  padding: 14px 20px; font-size: var(--t-micro); letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.float-cta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.float-cta:hover { background: var(--red); color: var(--ivory); }
.float-cta:hover::before { background: var(--ivory); }
.float-cta.is-hidden { transform: translateY(160%); }

/* mobile: bottom navigation instead of a hamburger */
.mnav { display: none; }
@media (max-width: 760px) {
  .hdr .nav { display: none; }
  .mnav { display: flex; position: fixed; inset: auto 0 0 0; z-index: 60; justify-content: space-between;
    background: var(--ink); color: var(--ivory);
    padding: 15px 16px calc(env(safe-area-inset-bottom, 0px) + 15px);
    border-top: 1px solid var(--on-ink-line); }
  .mnav a { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
  .mnav a[aria-current="page"] { color: var(--red); }
  .float-cta { display: none; }
  .hdr-cta { display: inline-block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid currentColor; }
  body { padding-bottom: 50px; }
  .frame-cap { display: none; }
}

/* ---------- placeholder imagery ---------- */
.ph { position: relative; overflow: hidden; background: var(--ink-2); max-width: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter 1s var(--ease); }
.ph::after { /* crop marks */
  content: ""; position: absolute; inset: 14px; pointer-events: none;
  background:
    linear-gradient(var(--ivory), var(--ivory)) top left / 14px 1px no-repeat,
    linear-gradient(var(--ivory), var(--ivory)) top left / 1px 14px no-repeat,
    linear-gradient(var(--ivory), var(--ivory)) bottom right / 14px 1px no-repeat,
    linear-gradient(var(--ivory), var(--ivory)) bottom right / 1px 14px no-repeat;
  opacity: .55;
}
.ph figcaption, .ph .cap {
  position: absolute; left: 22px; bottom: 18px; right: 22px; z-index: 2;
  display: flex; justify-content: space-between; gap: 12px; color: var(--ivory);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; opacity: .78;
}

/* ---------- reveal + motion ---------- */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: .12s; } .js .rv-d2 { transition-delay: .24s; } .js .rv-d3 { transition-delay: .36s; }
.lines > span { display: block; overflow: hidden; padding-bottom: .04em; }
.lines > span > span { display: block; animation: rise 1.25s var(--ease) both; }
.lines > span:nth-child(2) > span { animation-delay: .1s; }
.lines > span:nth-child(3) > span { animation-delay: .2s; }
.lines > span:nth-child(4) > span { animation-delay: .3s; }
@keyframes rise { from { transform: translateY(55%); opacity: .0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .lines > span > span { animation: none; }
  .ph img { transition: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 0 var(--g); display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.hero-seq { position: absolute; inset: 0; z-index: -2; }
.hero-seq img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s linear; }
.hero-seq img.on { opacity: 1; transform: scale(1); }
.hero-seq img:first-child { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,24,42,.55) 0%, rgba(20,24,42,.1) 40%, rgba(20,24,42,.7) 100%); }
.hero-top { padding-top: calc(env(safe-area-inset-top, 0px) + 96px); align-self: end; }
.hero h1 { margin: 0; }
.hero .mega { font-size: clamp(3.4rem, 13.2vw, 15rem); }
.hero-wordmark { font-family: var(--f-logo); font-size: clamp(.9rem, 1.3vw, 1.15rem); letter-spacing: .32em; margin: 0 0 clamp(18px, 3vw, 40px); display: block; }
.hero-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; padding-block: 28px 32px; }
.hero-foot .meta { opacity: .8; }
.enter { justify-self: center; display: inline-flex; flex-direction: column; align-items: center; gap: 12px; font-size: var(--t-micro); letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.enter span.tick { width: 1px; height: 46px; background: currentColor; transform-origin: top; animation: tick 2.4s var(--ease) infinite; }
@keyframes tick { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.frame-cap { justify-self: end; text-align: right; }
.frame-cap b { color: var(--red); font-weight: 400; }
@media (max-width: 760px) {
  .hero { min-height: calc(100svh - 56px); }
  .hero-foot { grid-template-columns: 1fr 1fr; }
  .enter { grid-column: 1 / -1; grid-row: 1; justify-self: start; flex-direction: row; }
  .enter span.tick { width: 36px; height: 1px; animation: none; }
}

/* the red thread */
.thread { position: absolute; pointer-events: none; z-index: 1; overflow: visible; }
.thread path { fill: none; stroke: var(--red); stroke-width: 1.2; vector-effect: non-scaling-stroke; }

/* sound control */
.sound { position: fixed; left: var(--g); bottom: calc(env(safe-area-inset-bottom, 0px) + 26px); z-index: 49; display: inline-flex; align-items: center; gap: 10px; mix-blend-mode: difference; color: var(--ivory); }
.sound .bars { display: inline-flex; gap: 2px; align-items: end; height: 12px; }
.sound .bars i { width: 2px; height: 3px; background: currentColor; }
.sound[aria-pressed="true"] .bars i { animation: eq 1s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -.3s; }
.sound[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -.6s; }
.sound[aria-pressed="true"] .bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { height: 2px; } to { height: 12px; } }
@media (max-width: 760px) { .sound { bottom: auto; top: calc(env(safe-area-inset-top, 0px) + 52px); left: var(--g); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--on-ink-line); padding-block: 18px; white-space: nowrap; }
.sec--ivory .marquee, .marquee.on-ivory { border-color: var(--on-ivory-line); }
.marquee .track { display: inline-flex; gap: 48px; animation: marq 48s linear infinite; padding-left: 48px; }
.marquee .track > span { font-family: var(--f-display); font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1; display: inline-flex; gap: 48px; align-items: center; }
.marquee .track > span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* ---------- statement ---------- */
.statement { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: end; }
.statement h2 { grid-column: 1 / span 10; }
.statement .aside { grid-column: 8 / span 5; }
.statement .tag { grid-column: 1 / span 4; }
@media (max-width: 900px) { .statement h2, .statement .aside, .statement .tag { grid-column: 1 / -1; } }

/* ---------- founders spread ---------- */
.spread { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); }
.founder { position: relative; }
.founder .ph { aspect-ratio: 3 / 4; }
.founder--a { grid-column: 1 / span 5; }
.founder--b { grid-column: 8 / span 5; margin-top: clamp(80px, 18vw, 300px); }
.founder h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 6rem); line-height: .9; margin: -.55em 0 0; position: relative; z-index: 3; mix-blend-mode: normal; }
.founder--b h3 { text-align: right; }
.founder .dek { margin-top: 18px; max-width: 36ch; }
.founder--b .dek { margin-left: auto; text-align: right; }
.spread-mid { grid-column: 6 / span 2; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.spread-mid .amp { font-family: var(--f-logo); font-style: italic; font-size: clamp(3rem, 7vw, 7rem); line-height: 1; color: var(--red); }
@media (max-width: 900px) {
  .founder--a, .founder--b { grid-column: 1 / -1; margin-top: 0; }
  .founder--a { margin-right: 18%; } .founder--b { margin-left: 18%; }
  .spread-mid { grid-column: 1 / -1; flex-direction: row; justify-content: center; }
}

/* ---------- talent feature ---------- */
.tfeat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: start; position: relative; }
.tfeat .ph { grid-column: 4 / span 6; aspect-ratio: 4 / 5; grid-row: 1 / span 2; }
.tfeat .tname { grid-column: 1 / -1; grid-row: 1; z-index: 3; align-self: end; margin-bottom: -.12em; pointer-events: none; }
.tfeat .tinfo { grid-column: 10 / span 3; grid-row: 2; align-self: end; }
.tfeat .tleft { grid-column: 1 / span 3; grid-row: 2; align-self: start; padding-top: 24px; }
.tname { font-family: var(--f-display); font-size: clamp(3.6rem, 14vw, 15rem); line-height: .82; letter-spacing: -.03em; margin: 0; }
.tname .first { display: block; }
.tname .last { display: block; padding-left: 28%; font-style: italic; }
.vis-name { transition: color .6s var(--ease); background-size: cover; background-position: center; -webkit-background-clip: text; background-clip: text; }
.tlink:hover .vis-name, .tlink:focus-visible .vis-name { color: transparent; background-image: var(--name-img); }
.tlink:hover .ph img { transform: scale(1.05); }
.tinfo dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.tinfo dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; padding-top: 3px; }
.tinfo dd { margin: 0; font-size: var(--t-small); }
.tbc { font-family: var(--f-display); font-style: italic; font-size: 1.05em; opacity: .6; }
.view { display: inline-flex; gap: 14px; align-items: center; margin-top: 24px; font-size: var(--t-micro); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.view::after { content: ""; width: 40px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.tlink:hover .view::after, .view:hover::after { width: 72px; }
@media (max-width: 900px) {
  .tfeat .ph { grid-column: 1 / -1; grid-row: 2; }
  .tfeat .tname { grid-row: 1; margin-bottom: 0; }
  .tname .last { padding-left: 12%; }
  .tfeat .tinfo, .tfeat .tleft { grid-column: 1 / -1; grid-row: auto; padding-top: 0; }
}

/* ---------- archetypes ---------- */
.arch { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); }
.arch-item { border-top: 1px solid var(--on-ink-line); padding-top: 20px; display: grid; gap: 18px; align-content: start; }
.sec--ivory .arch-item { border-color: var(--on-ivory-line); }
.arch-item:nth-child(1) { grid-column: 1 / span 4; }
.arch-item:nth-child(2) { grid-column: 5 / span 4; margin-top: clamp(40px, 8vw, 140px); }
.arch-item:nth-child(3) { grid-column: 9 / span 4; margin-top: clamp(80px, 16vw, 280px); }
.arch-item h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: .95; margin: 0; }
.arch-item h3 em { display: block; }
.arch-item .provo { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; line-height: 1.3; }
@media (max-width: 900px) { .arch-item:nth-child(n) { grid-column: 1 / -1; margin-top: 0; } }

/* ---------- followers / character ---------- */
.fc { display: grid; gap: 4px; }
.fc .data { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.2rem, 4.4vw, 4.6rem); line-height: 1.05; color: var(--on-ivory-mute); }
.fc .data s { text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.fc .value { font-family: var(--f-display); font-size: clamp(3.4rem, 13vw, 14rem); line-height: .85; letter-spacing: -.02em; padding-left: 8vw; }
.fc .value em { color: var(--red); }

/* ---------- services (horizontal) ---------- */
.hscroll { position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll-track { display: flex; gap: clamp(24px, 4vw, 64px); padding-inline: var(--g); will-change: transform; }
.svc { flex: 0 0 clamp(300px, 34vw, 520px); display: grid; grid-template-rows: auto auto 1fr; gap: 16px; border-left: 1px solid var(--on-ink-line); padding-left: 24px; min-width: 0; }
.svc .num { font-family: var(--f-display); font-size: clamp(6rem, 14vw, 13rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--ivory); transition: color .6s var(--ease); }
.svc:hover .num { color: var(--ivory); }
.svc h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.8rem); line-height: 1; margin: 0; }
.svc p { margin: 0; color: var(--on-ink-mute); max-width: 34ch; }
.hscroll-head { padding: 0 var(--g) clamp(28px, 4vw, 56px); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.progress { height: 1px; background: var(--on-ink-line); margin: clamp(28px, 4vw, 56px) var(--g) 0; position: relative; }
.progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--red); }
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .hscroll { height: auto !important; }
  .hscroll-sticky { position: static; height: auto; padding-block: var(--sec); }
  .hscroll-track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 12px; scrollbar-width: none; }
  .hscroll-track::-webkit-scrollbar { display: none; }
  .svc { flex-basis: 82vw; scroll-snap-align: start; }
  .progress { display: none; }
}

/* ---------- the house ---------- */
.house { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: start; }
.house .ph { grid-column: 8 / span 5; aspect-ratio: 4 / 5; grid-row: 1 / span 2; }
.house .q { grid-column: 1 / span 8; grid-row: 1; z-index: 2; }
.house .body { grid-column: 2 / span 5; grid-row: 2; }
.bilingual { display: grid; gap: 6px; }
.bilingual .es { font-family: var(--f-display); font-style: italic; font-size: var(--t-m); opacity: .7; }
@media (max-width: 900px) { .house .ph, .house .q, .house .body { grid-column: 1 / -1; grid-row: auto; } }

/* ---------- split CTA ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > a, .split > div { padding: clamp(56px, 9vw, 140px) var(--g); display: grid; gap: 28px; align-content: space-between; min-height: clamp(420px, 60vw, 760px); position: relative; overflow: hidden; }
.split .brands { background: var(--ivory); color: var(--ink); }
.split .talent { background: var(--burgundy); color: var(--ivory); }
.split h2 { font-size: clamp(2.6rem, 6.6vw, 7rem); }
.split .go { display: inline-flex; align-items: center; gap: 14px; font-size: var(--t-micro); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.split .go::after { content: "→"; font-family: var(--f-sans); transition: transform .5s var(--ease); }
.split a:hover .go::after { transform: translateX(10px); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split > a, .split > div { min-height: 0; } }

/* ---------- page heads ---------- */
.phead { padding: calc(env(safe-area-inset-top, 0px) + clamp(120px, 16vw, 220px)) var(--g) clamp(48px, 7vw, 100px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: end; }
.phead h1 { grid-column: 1 / -1; }
.phead .kicker { grid-column: 1 / span 3; }
.phead .lede { grid-column: 7 / span 6; }
@media (max-width: 900px) { .phead .kicker, .phead .lede { grid-column: 1 / -1; } }

/* ---------- roster (talent page) ---------- */
.roster { display: flex; gap: clamp(16px, 3vw, 40px); overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--g); padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.rcard { flex: 0 0 clamp(270px, 38vw, 560px); scroll-snap-align: start; display: grid; gap: 16px; min-width: 0; }
.rcard .ph { aspect-ratio: 3 / 4; }
.rcard h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 4rem); line-height: .92; margin: 0; }
.rcard.held .ph img { filter: grayscale(1) brightness(.55); }
.rcard.held h3 { font-style: italic; opacity: .55; }
.criteria { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--on-ivory-line); }
.criteria li { list-style: none; padding: 18px 12px 18px 0; border-right: 1px solid var(--on-ivory-line); display: grid; gap: 28px; }
.criteria li:last-child { border-right: 0; }
.criteria b { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1; }
.criteria { padding: 0; margin: 0; }
@media (max-width: 900px) { .criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); } .criteria li { border-bottom: 1px solid var(--on-ivory-line); } .criteria li:nth-child(2n) { border-right: 0; padding-left: 12px; } }

/* ---------- profile page ---------- */
.prof-hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); padding: calc(env(safe-area-inset-top, 0px) + 110px) var(--g) 40px; align-items: end; overflow: hidden; }
.prof-hero .ph { grid-column: 5 / span 5; grid-row: 1; aspect-ratio: 3 / 4; align-self: start; }
.prof-hero .tname { grid-column: 1 / -1; grid-row: 1; align-self: end; z-index: 2; }
.prof-hero .tname .last { color: var(--red); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--on-ink-line); }
.facts div { padding: 18px 16px 18px 0; display: grid; gap: 10px; border-right: 1px solid var(--on-ink-line); min-width: 0; }
.facts div:last-child { border-right: 0; }
.facts div + div { padding-left: 16px; }
@media (max-width: 900px) {
  .prof-hero .ph { grid-column: 2 / span 11; }
  .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2n) { border-right: 0; } .facts div:nth-child(n) { border-bottom: 1px solid var(--on-ink-line); } .facts div:nth-child(3) { padding-left: 0; }
}
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); }
.gallery .ph:nth-child(1) { grid-column: 1 / span 7; aspect-ratio: 4 / 5; }
.gallery .ph:nth-child(2) { grid-column: 9 / span 4; aspect-ratio: 3 / 4; margin-top: 30%; }
.gallery .ph:nth-child(3) { grid-column: 3 / span 4; aspect-ratio: 3 / 4; margin-top: -12%; }
.gallery .ph:nth-child(4) { grid-column: 8 / span 5; aspect-ratio: 4 / 5; }
@media (max-width: 760px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--g) * -1); padding-inline: var(--g); }
  .gallery .ph:nth-child(n) { flex: 0 0 78vw; margin: 0; aspect-ratio: 3 / 4; scroll-snap-align: start; }
}
.pull { font-family: var(--f-display); font-style: italic; font-size: clamp(2rem, 5vw, 4.6rem); line-height: 1.02; max-width: 18ch; margin: 0; }

/* ---------- founders page ---------- */
.fpage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: start; }
.fpage .ph { aspect-ratio: 3 / 4; }
.fpage.a .ph { grid-column: 1 / span 6; }
.fpage.a .txt { grid-column: 8 / span 5; }
.fpage.b .ph { grid-column: 7 / span 6; grid-row: 1; }
.fpage.b .txt { grid-column: 1 / span 5; grid-row: 1; }
.fpage .txt { display: grid; gap: 28px; padding-top: clamp(0px, 6vw, 100px); }
.fpage h2 { font-size: clamp(3.2rem, 8vw, 8.5rem); }
.worlds { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.1; }
.worlds li:nth-child(odd) { font-style: italic; }
.coords { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.coords dt { opacity: .6; } .coords dd { margin: 0; }
@media (max-width: 900px) { .fpage.a .ph, .fpage.a .txt, .fpage.b .ph, .fpage.b .txt { grid-column: 1 / -1; grid-row: auto; } }

/* ---------- services page list ---------- */
.slist { list-style: none; margin: 0; padding: 0; }
.slist li { display: grid; grid-template-columns: minmax(80px, 2fr) 5fr 4fr; gap: var(--g); padding-block: clamp(28px, 4vw, 56px); border-top: 1px solid var(--on-ivory-line); align-items: baseline; transition: background .5s var(--ease), padding .5s var(--ease); }
.slist li:last-child { border-bottom: 1px solid var(--on-ivory-line); }
.slist .n { font-family: var(--f-display); font-size: clamp(3rem, 7vw, 7rem); line-height: .8; color: var(--burgundy); }
.slist h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 4.4vw, 4.4rem); line-height: .95; margin: 0; }
.slist p { margin: 0 0 .8em; }
.slist .tags { display: flex; flex-wrap: wrap; gap: 6px 14px; }
@media (max-width: 760px) { .slist li { grid-template-columns: 1fr; gap: 14px; } }

.props { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--on-ink-line); }
.props > div { padding: 24px 20px 24px 0; border-right: 1px solid var(--on-ink-line); display: grid; gap: 40px; min-width: 0; }
.props > div + div { padding-left: 20px; }
.props > div:last-child { border-right: 0; }
.props b { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 4rem); line-height: .9; }
@media (max-width: 760px) { .props { grid-template-columns: 1fr 1fr; } .props > div:nth-child(2n) { border-right: 0; } .props > div:nth-child(3) { padding-left: 0; } .props > div { border-bottom: 1px solid var(--on-ink-line); } }

/* ---------- contact ---------- */
.contact { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: calc(env(safe-area-inset-top, 0px) + 120px) var(--g) 48px; }
.contact .big { align-self: center; }
.cgrid { display: grid; grid-template-columns: 1.5fr 1.5fr 1fr 1fr; gap: var(--g); border-top: 1px solid var(--on-ink-line); padding-top: 22px; }
.cgrid > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.email { font-family: var(--f-display); font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.1; overflow-wrap: anywhere; }
.copy { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; justify-self: start; border-bottom: 1px solid currentColor; }
.copy:hover { opacity: 1; color: var(--red); }
@media (max-width: 900px) { .cgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cgrid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ftr { padding: clamp(56px, 8vw, 120px) var(--g) calc(env(safe-area-inset-bottom, 0px) + 36px); display: grid; gap: clamp(40px, 6vw, 80px); background: var(--ink); color: var(--ivory); border-top: 1px solid var(--on-ink-line); }
.ftr-word { font-family: var(--f-logo); font-weight: 500; font-size: clamp(2.6rem, 12.4vw, 14rem); letter-spacing: .02em; line-height: .85; text-transform: uppercase; white-space: nowrap; }
.ftr-word i { font-style: italic; font-weight: 400; text-transform: lowercase; color: var(--red); }
.ftr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); }
.ftr-grid a:hover { color: var(--red); }
.ftr-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
@media (max-width: 760px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ivory); mix-blend-mode: difference; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s; display: grid; place-items: center; }
.cursor span { font-family: var(--f-sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.is-big { width: 88px; height: 88px; margin: -44px 0 0 -44px; mix-blend-mode: normal; background: var(--red); }
.cursor.is-big span { opacity: 1; color: var(--ivory); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* page leave */
body.leaving main, body.leaving .ftr { opacity: 0; transform: translateY(-12px); transition: opacity .45s ease, transform .45s ease; }

/* utilities */
.mt-s { margin-top: 16px; } .mt-m { margin-top: clamp(28px, 4vw, 56px); } .mt-l { margin-top: clamp(56px, 8vw, 120px); }
.row { display: flex; gap: 16px 32px; flex-wrap: wrap; align-items: baseline; justify-content: space-between; }
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 18px 26px; border: 1px solid currentColor; font-size: var(--t-micro); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s; }
.btn:hover { background: var(--red); border-color: var(--red); color: var(--ivory); }
.fpage > *, .house > *, .statement > *, .spread > *, .tfeat > *, .arch > *, .gallery > *, .phead > *, .prof-hero > * { min-width: 0; }
.display { overflow-wrap: break-word; }


/* =========================================================
   HEADLINE SYSTEM — Darker Grotesque.
   Black weight carries the voice; light weight is the second
   voice inside a headline (the <em>). Tall face, tight leading.
   ========================================================= */
.display, .founder h3, .tname, .arch-item h3, .fc .value, .svc .num, .svc h3,
.marquee .track > span, .rcard h3, .criteria b, .pull, .worlds, .slist .n, .slist h2, .props b {
  font-family: var(--f-display); font-weight: 900; font-style: normal; letter-spacing: -.02em;
}
.display { line-height: .78; }
.mega { line-height: .74; }
.l { line-height: .82; } .m { line-height: .95; }
.display em, .founder h3 em, .arch-item h3 em, .slist h2 em, .fc .value em, .pull em, .tname .last {
  font-style: normal; font-weight: 300; letter-spacing: -.01em;
}
.tname { line-height: .74; }
.founder h3, .arch-item h3, .rcard h3, .slist h2, .svc h3 { line-height: .82; }
.svc .num { -webkit-text-stroke-width: 1.2px; }
.marquee .track > span { font-weight: 800; }
.pull { font-weight: 300; line-height: .88; }
.worlds { font-weight: 800; }
.worlds li:nth-child(odd) { font-style: normal; font-weight: 300; }
.arch-item .provo, .bilingual .es, .tbc { font-family: var(--f-sans); font-style: italic; font-weight: 400; }
.arch-item .provo { font-size: 1.1rem; line-height: 1.45; }
.bilingual .es { font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
.email { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: 1; letter-spacing: -.01em; }

/* =========================================================
   LOGO — the door and two dots (from the brand dossier).
   Bodoni wordmark, widely tracked. One dot is the talent (red),
   the other is the house.
   ========================================================= */
.hdr { mix-blend-mode: normal; transition: background .5s var(--ease), padding .5s var(--ease); }
.hdr.is-scrolled { background: rgba(20, 24, 42, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding-block: 12px; }
.h2-logo { font-family: var(--f-logo); font-weight: 400; text-transform: uppercase; color: inherit; display: inline-flex; line-height: 1; }
.h2-mark { display: block; width: auto; flex: none; }
.h2-logo--inline { align-items: center; gap: 12px; }
.h2-logo--inline .h2-mark { height: 26px; }
.h2-logo--inline .h2-word { font-size: .8rem; letter-spacing: .34em; padding-top: 2px; }
.h2-logo--stack { flex-direction: column; align-items: flex-start; gap: 0; }
.h2-logo--stack .h2-word { display: flex; flex-direction: column; }
.h2-logo--stack .l1 { letter-spacing: .44em; }
.h2-logo--stack .l2 { letter-spacing: .3em; line-height: .9; }
.h2-logo--stack .l3 { font-family: var(--f-sans); font-size: 10px; letter-spacing: .42em; opacity: .55; margin-top: 18px; }
.hero-logo { margin-bottom: clamp(22px, 3.4vw, 44px); }
.hero-logo .h2-mark { height: clamp(44px, 5vw, 64px); margin-bottom: 18px; }
.hero-logo .l1 { font-size: clamp(.9rem, 1.5vw, 1.3rem); margin-bottom: 4px; }
.hero-logo .l2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.hero-es { font-family: var(--f-sans); font-style: italic; font-weight: 300; font-size: clamp(1rem, 1.6vw, 1.35rem); margin: clamp(14px, 2vw, 24px) 0 0; opacity: .85; }
.ftr-logo .h2-mark { height: clamp(56px, 7vw, 96px); margin-bottom: 22px; }
.ftr-logo .l1 { font-size: clamp(1rem, 2.4vw, 2rem); margin-bottom: 6px; }
.ftr-logo .l2 { font-size: clamp(3.6rem, 13vw, 11rem); }
/* the name, told big */
.name-story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: center; }
.name-story .lock { grid-column: 1 / span 5; justify-self: center; }
.name-story .lock .h2-mark { height: clamp(90px, 12vw, 170px); margin: 0 auto 26px; }
.name-story .lock { align-items: center; text-align: center; }
.name-story .lock .h2-word { align-items: center; }
.name-story .lock .l1 { font-size: clamp(1.1rem, 2.2vw, 2rem); }
.name-story .lock .l2 { font-size: clamp(3.6rem, 9vw, 8.4rem); letter-spacing: .26em; margin-right: -.26em; }
.name-story .lock .l3 { margin-top: 22px; }
.name-story .nm-copy { grid-column: 7 / span 6; display: grid; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { border: 1px solid currentColor; border-radius: 999px; padding: 7px 16px; font-size: var(--t-small); }
@media (max-width: 900px) { .name-story .lock, .name-story .nm-copy { grid-column: 1 / -1; } }
/* three groups, thread-red rules */
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.groups > div { border-top: 1px solid var(--red); padding-top: 18px; min-width: 0; }
@media (max-width: 760px) { .groups { grid-template-columns: 1fr; } }
/* roadmap */
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.road > div { border-top: 1px solid var(--on-ink-line); padding-top: 18px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.road b { font-family: var(--f-display); font-weight: 900; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: .85; letter-spacing: -.02em; }
@media (max-width: 760px) { .road { grid-template-columns: 1fr; } }
.ph--photo::after { opacity: .35; }
/* cover photo of the founders: keep the headline below their faces */
.hero .mega { font-size: clamp(3rem, 7.6vw, 8.4rem); }
.hero::before { background: linear-gradient(180deg, rgba(20,24,42,.35) 0%, rgba(20,24,42,0) 30%, rgba(20,24,42,.25) 55%, rgba(20,24,42,.85) 100%); }
@media (min-width: 761px) { .hero-logo .h2-mark { height: 40px; } .hero-logo .l2 { font-size: clamp(2rem, 3.4vw, 3.2rem); } }
@media (min-width: 761px) { .hero-foot { padding-block: 28px 84px; } }
/* language switch */
.hdr-right { display: flex; align-items: baseline; gap: 18px; }
.lang { font-size: var(--t-micro); letter-spacing: .2em; font-weight: 600; padding: 3px 7px; border: 1px solid rgba(244,239,231,.45); line-height: 1; }
.lang:hover { background: var(--ivory); color: var(--ink); }
@media (max-width: 760px) { .lang { font-size: 10px; } }
.props b { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) { .props b { font-size: clamp(1.7rem, 8vw, 2.4rem); } }
.cgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(28px, 4vw, 48px); }
@media (max-width: 900px) { .cgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cgrid { grid-template-columns: 1fr; } }
