/* ==========================================================================
   RIDOWN — Global design system
   Monochrome brand (ink / bone) with a single brass hairline accent.
   ========================================================================== */

:root {
  --ink: #0a0a0b;
  --ink-2: #111113;
  --ink-3: #18181b;
  --bone: #f3f0ea;
  --bone-2: #e8e3da;
  --white: #ffffff;
  --mute: #8b8a87;
  --mute-2: #5c5b59;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(10, 10, 11, 0.14);
  --brass: #b9a27a;
  --brass-hi: #e3d3ae;

  --serif: "DM Serif Display", "Times New Roman", serif;
  --sans: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1680px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

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

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--brass); color: var(--ink); }

/* Film grain over everything */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 9000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(96px, 14vw, 220px) 0; }
.section--tight { padding: clamp(64px, 8vw, 120px) 0; }
.light { background: var(--bone); color: var(--ink); }
.light .eyebrow { color: var(--mute-2); }
.light .rule { background: var(--line-dark); }

.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brass); }
.eyebrow--plain::before { display: none; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
}
.d-xxl { font-size: clamp(64px, 14.5vw, 270px); }
.d-xl { font-size: clamp(52px, 9vw, 168px); }
.d-l { font-size: clamp(42px, 6.2vw, 112px); line-height: 0.98; }
.d-m { font-size: clamp(34px, 4.2vw, 72px); line-height: 1.02; }
.d-s { font-size: clamp(26px, 2.6vw, 44px); line-height: 1.1; }
.italic { font-style: italic; }
.brass { color: var(--brass); }
.outline { color: transparent; -webkit-text-stroke: 1px currentColor; }
.outline-bone { color: transparent; -webkit-text-stroke: 1px rgba(243, 240, 234, 0.55); }

.lede { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.55; color: rgba(243, 240, 234, 0.78); max-width: 46ch; }
.light .lede { color: rgba(10, 10, 11, 0.72); }
.body-l { font-size: clamp(16px, 1.15vw, 19px); line-height: 1.7; color: rgba(243, 240, 234, 0.72); }
.light .body-l { color: rgba(10, 10, 11, 0.72); }

.rule { height: 1px; background: var(--line); width: 100%; transform-origin: left; }

/* Split text helpers (line masks) */
.line-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line-mask > .line-inner { display: block; will-change: transform; }
.char { display: inline-block; will-change: transform; }
.word { display: inline-block; white-space: nowrap; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--ink);
  display: grid; place-items: center;
}
.preloader__crest { width: clamp(70px, 9vw, 120px); }
.preloader__crest path { fill: transparent; stroke: var(--bone); stroke-width: 0.6; }
.preloader__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 4vw, 48px);
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute);
}
.preloader__count { font-family: var(--serif); font-size: clamp(56px, 10vw, 160px); color: var(--bone); letter-spacing: -0.02em; line-height: 0.8; }
.preloader__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; }
.preloader__curtain { position: absolute; inset: 0; background: var(--bone); transform: translateY(100%); }

/* Page transition curtain */
.curtain { position: fixed; inset: 0; z-index: 9500; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.curtain span { background: var(--ink-3); transform: scaleY(0); transform-origin: bottom; border-right: 1px solid var(--line); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: transform 0.6s var(--ease), background 0.4s, padding 0.4s;
  mix-blend-mode: difference;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { width: 150px; display: block; }
.nav__logo svg { width: 100%; height: auto; display: block; }
.nav__links { display: flex; gap: clamp(20px, 2.6vw, 44px); align-items: center; }
.nav__link {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  position: relative; padding: 6px 0; color: #fff; overflow: hidden; display: inline-block;
}
.nav__link span { display: block; transition: transform 0.6s var(--ease); }
.nav__link span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; padding-top: 6px; }
.nav__link:hover span { transform: translateY(calc(-100% - 6px)); }
.nav__link.is-active::before { content: ""; position: absolute; left: -12px; top: 50%; width: 5px; height: 5px; background: #fff; border-radius: 50%; transform: translateY(-50%); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; color: #fff; }
.nav__burger i { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.nav__burger i:nth-child(1) { top: 18px; } .nav__burger i:nth-child(2) { top: 26px; }
.menu-open .nav__burger i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .nav__burger i:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 790; background: var(--ink-2);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--ease-io);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 100px var(--gutter) 40px;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.mobile-menu a { font-family: var(--serif); font-size: clamp(44px, 12vw, 80px); line-height: 1.05; display: block; border-top: 1px solid var(--line); padding: 10px 0; }
.mobile-menu .eyebrow { margin-top: 28px; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__logo { width: 124px; }
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9800; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease);
  display: grid; place-items: center;
}
.cursor__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity 0.3s; white-space: nowrap; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.is-label { width: 104px; height: 104px; margin: -52px 0 0 -52px; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 18px;
  padding: 20px 30px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  isolation: isolate; transition: color 0.6s var(--ease), border-color 0.6s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone);
  transform: translateY(101%); border-radius: 50% 50% 0 0; transition: transform 0.7s var(--ease), border-radius 0.7s var(--ease);
}
.btn:hover { color: var(--ink); border-color: var(--bone); }
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn__arrow { width: 14px; height: 14px; transition: transform 0.6s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px) rotate(-45deg); }
.light .btn { border-color: var(--line-dark); }
.light .btn::before { background: var(--ink); }
.light .btn:hover { color: var(--bone); border-color: var(--ink); }
.btn--solid { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--solid::before { background: var(--brass); }

.link-u { position: relative; display: inline-block; }
.link-u::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }
.hero__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, transparent 0%, rgba(10,10,11,0.25) 55%, var(--ink) 95%), linear-gradient(90deg, rgba(10,10,11,0.6) 0%, transparent 45%); pointer-events: none; }
.hero__content { position: relative; padding-bottom: clamp(32px, 5vw, 72px); }
.hero__title { margin-bottom: clamp(28px, 4vw, 56px); }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.hero__lede { max-width: 44ch; font-size: clamp(15px, 1.15vw, 18px); color: rgba(243, 240, 234, 0.7); margin: 0; }
.hero__scroll { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.hero__scroll i { width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden; display: block; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--bone); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }
.hero__coords { position: absolute; top: 110px; right: var(--gutter); text-align: right; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--mute); text-transform: uppercase; line-height: 2; }
.hero__coords b { color: var(--bone); font-weight: 400; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.marquee__track { display: flex; width: max-content; gap: 0; will-change: transform; }
.marquee__item { display: flex; align-items: center; padding: 0 clamp(36px, 5vw, 80px); height: 60px; }
.marquee__item img { max-width: none; object-fit: contain; opacity: 0.92; transition: opacity 0.4s, transform 0.6s var(--ease); }
.marquee__item:hover img { opacity: 1; transform: scale(1.06); }
.marquee__item--text { font-family: var(--serif); font-size: 34px; color: rgba(243,240,234,0.55); white-space: nowrap; }

/* Big text marquee */
.bigmarq { overflow: hidden; white-space: nowrap; padding: 3vw 0; }
.bigmarq__track { display: inline-flex; gap: 4vw; will-change: transform; }
.bigmarq__track span { font-family: var(--serif); font-size: clamp(80px, 13vw, 240px); line-height: 1; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 4vw; }
.bigmarq__track span svg { width: 0.5em; height: 0.5em; }

/* ---------- Statement ---------- */
.statement__text { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 84px); line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
.statement__text .w { opacity: 0.14; transition: none; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 28px 44px 0; border-right: 1px solid var(--line); position: relative; }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--serif); font-size: clamp(56px, 7vw, 124px); line-height: 0.9; letter-spacing: -0.03em; display: flex; align-items: baseline; }
.stat__num small { font-size: 0.42em; margin-left: 4px; color: var(--brass); }
.stat__num .pre { font-size: 0.55em; color: var(--brass); margin-right: 4px; }
.stat__label { margin-top: 20px; font-size: 14px; color: var(--mute); max-width: 26ch; }
.stat__src { font-family: var(--mono); font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mute-2); margin-top: 12px; display: block; }
.light .stats, .light .stat { border-color: var(--line-dark); }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 16px 36px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
}

/* ---------- Approach (horizontal pinned) ---------- */
.hscroll { position: relative; overflow: hidden; }
.hscroll__track { display: flex; height: 100svh; align-items: stretch; width: max-content; }
.hpanel { width: min(88vw, 1100px); flex-shrink: 0; padding: clamp(100px, 12vh, 140px) clamp(32px, 4vw, 72px) clamp(40px, 6vh, 72px); border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.hpanel--intro { width: min(92vw, 820px); }
.hpanel__num { font-family: var(--serif); font-size: clamp(140px, 22vw, 380px); line-height: 0.75; letter-spacing: -0.04em; }
.hpanel__title { font-family: var(--serif); font-size: clamp(48px, 6vw, 110px); line-height: 0.95; margin: 0 0 24px; }
.hpanel__body { max-width: 44ch; color: rgba(243, 240, 234, 0.7); font-size: clamp(15px, 1.1vw, 18px); }
.hpanel__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; color: var(--mute); }
.light .tag { border-color: var(--line-dark); color: var(--mute-2); }
.hscroll__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; height: 1px; background: var(--line); }
.hscroll__progress i { position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: left; }
@media (max-width: 900px) {
  .hscroll__track { flex-direction: column; height: auto; width: 100%; }
  .hpanel, .hpanel--intro { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; padding: 72px var(--gutter); gap: 40px; }
  .hscroll__progress { display: none; }
}

/* ---------- Portfolio list (home + page) ---------- */
.pf-list { border-top: 1px solid var(--line-dark); }
.pf-row {
  display: grid; grid-template-columns: 70px 1.3fr 1fr 1fr 40px; align-items: center; gap: 24px;
  padding: 30px 0; border-bottom: 1px solid var(--line-dark); position: relative; isolation: isolate;
  transition: padding 0.6s var(--ease), color 0.5s;
}
.pf-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tile, var(--ink)); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.pf-row:hover { color: var(--bone); padding-left: 24px; padding-right: 24px; }
.pf-row:hover::before { transform: scaleY(1); }
.pf-row__idx { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; color: var(--mute); }
.pf-row__logo { position: absolute; right: 90px; top: 50%; height: 30px; width: auto; max-width: 150px; object-fit: contain; transform: translateY(-50%) translateX(20px); opacity: 0; transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); pointer-events: none; }
.pf-row:hover .pf-row__logo { opacity: 1; transform: translateY(-50%); }
.pf-row:hover .pf-row__sector, .pf-row:hover .pf-row__desc { opacity: 0; }
.pf-row__sector, .pf-row__desc { transition: opacity 0.4s; }
.pf-row__name { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 60px); line-height: 1; min-width: 0; }
.pf-row__sector { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.pf-row__desc { font-size: 14px; color: var(--mute-2); }
.pf-row:hover .pf-row__desc { color: rgba(243, 240, 234, 0.6); }
.pf-row__arrow { width: 22px; justify-self: end; transition: transform 0.6s var(--ease); }
.pf-row:hover .pf-row__arrow { transform: rotate(-45deg); }
@media (max-width: 900px) {
  .pf-row { grid-template-columns: 36px 1fr 24px; }
  .pf-row__desc, .pf-row__sector { display: none; }
  .pf-row__name { font-size: 25px; }
}
.pf-preview {
  position: fixed; top: 0; left: 0; z-index: 700; width: 340px; aspect-ratio: 4 / 3; pointer-events: none;
  overflow: hidden; border-radius: 4px; opacity: 0; transform: scale(0.6);
  background: var(--ink-3);
}
.pf-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .pf-preview { display: none; } }

/* ---------- Founders split ---------- */
.founders-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.founder-card { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); display: block; }
.founder-card__img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; object-position: center top; filter: grayscale(1) contrast(1.08) brightness(0.86); transition: filter 1.2s var(--ease), transform 1.4s var(--ease); }
.founder-card:hover .founder-card__img { filter: grayscale(0.2) contrast(1.05) brightness(0.95); transform: scale(1.04); }
.founder-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,10,11,0.92) 100%); }
.founder-card__meta { position: absolute; left: clamp(20px, 3vw, 48px); right: clamp(20px, 3vw, 48px); bottom: clamp(20px, 3vw, 48px); z-index: 2; }
.founder-card__name { font-family: var(--serif); font-size: clamp(40px, 5vw, 96px); line-height: 0.9; margin: 14px 0 12px; }
.founder-card__role { font-size: 14px; color: rgba(243,240,234,0.7); }
@media (max-width: 760px) { .founders-split { grid-template-columns: 1fr; } }

/* ---------- News cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.news-card { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; min-height: 340px; position: relative; }
.news-card + .news-card { padding-left: 32px; border-left: 1px solid var(--line); }
.news-card:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.news-card__top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.news-card__cat { color: var(--brass); }
.news-card__title { font-family: var(--serif); font-size: clamp(24px, 2vw, 34px); line-height: 1.12; margin: 0; transition: color 0.4s; }
.news-card__sum { font-size: 14px; color: var(--mute); margin: 0; flex: 1; }
.news-card__src { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone); display: flex; align-items: center; gap: 10px; }
.news-card__src svg { width: 12px; transition: transform 0.5s var(--ease); }
.news-card:hover .news-card__src svg { transform: rotate(-45deg); }
.news-card:hover .news-card__title { color: var(--brass-hi); }
.news-card__fig { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--bone); }
@media (max-width: 1000px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card:nth-child(3n+1) { padding-left: 32px; border-left: 1px solid var(--line); }
  .news-card:nth-child(2n+1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card, .news-card + .news-card { padding-left: 0; border-left: 0; min-height: 0; padding-right: 0; }
}

/* ---------- Page hero (interior) ---------- */
.phero { position: relative; min-height: 88svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 160px; padding-bottom: clamp(40px, 6vw, 88px); overflow: hidden; }
.phero__meta { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; margin-top: clamp(32px, 4vw, 64px); align-items: flex-end; }
.phero__bgword { position: absolute; top: 18%; left: -2vw; font-family: var(--serif); font-size: 34vw; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(243,240,234,0.06); white-space: nowrap; pointer-events: none; user-select: none; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: clamp(120px, 16vw, 260px) 0; position: relative; overflow: hidden; }
.cta__title { margin: 28px auto 48px; max-width: 14ch; }
.cta__ring { position: absolute; left: 50%; top: 50%; width: 120vw; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(72px, 9vw, 140px); overflow: hidden; position: relative; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 80px; }
.footer__h { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); margin: 0 0 22px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer__list a { color: rgba(243,240,234,0.8); }
.footer__list a:hover { color: var(--bone); }
.footer__news { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 44px); line-height: 1.1; margin: 0 0 28px; max-width: 16ch; }
.footer__word { width: 100%; padding: 0 var(--gutter); }
.footer__word svg { width: 100%; height: auto; display: block; }
.footer__word path { fill: var(--ink-3); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 26px 0 32px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mute-2); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > :first-child { grid-column: 1 / -1; } }

/* ---------- Reveal utility ---------- */
.reveal-img { overflow: hidden; position: relative; }
.reveal-img > img { transform-origin: center; }
[data-fade] { opacity: 0; transform: translateY(40px); }
.no-js [data-fade] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-fade] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Brand tiles (crisp vector logos on brand colour) ---------- */
.brand-tile { position: absolute; inset: 0; background: var(--tile, #111); display: grid; place-items: center; overflow: hidden; }
.brand-tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 40%, rgba(255,255,255,0.07), transparent 70%); pointer-events: none; }
.brand-tile img { position: relative; width: auto; height: auto; max-width: 58%; max-height: 26%; object-fit: contain; transition: transform 1.2s var(--ease); z-index: 1; }
.brand-tile.is-static { position: relative; aspect-ratio: 4 / 3; }

/* ---------- Group at a glance ---------- */
.glance { position: relative; padding: clamp(40px, 6vw, 96px) 0 clamp(96px, 12vw, 180px); overflow: hidden; }
.glance__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.glance__hero { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 72px); align-items: end; padding: clamp(24px, 3vw, 48px) 0 clamp(40px, 5vw, 72px); }
.glance__big { font-family: var(--serif); font-size: clamp(130px, 27vw, 520px); line-height: 0.78; letter-spacing: -0.055em; display: flex; align-items: flex-start; background: linear-gradient(180deg, var(--bone) 30%, rgba(243,240,234,0.35)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glance__pre { font-size: 0.42em; color: var(--brass); -webkit-text-fill-color: var(--brass); margin: 0.12em 0.04em 0 0; }
.glance__suf { font-size: 0.42em; align-self: flex-end; color: var(--brass); -webkit-text-fill-color: var(--brass); margin-bottom: 0.06em; }
.glance__cap { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 38px); line-height: 1.2; max-width: 18ch; margin: 0 0 0.6em; }
.glance__grid { grid-template-columns: repeat(4, 1fr); }
.glance__grid .stat { border-bottom: 1px solid var(--line); }
.glance__grid .stat:nth-child(4n) { border-right: 0; }
.glance__grid .stat:nth-child(4n+1) { padding-left: 0; }
.glance__grid .stat__num { font-size: clamp(48px, 5.4vw, 96px); }
@media (max-width: 900px) {
  .glance__hero { grid-template-columns: 1fr; }
  .glance__grid { grid-template-columns: 1fr 1fr; }
  .glance__grid .stat:nth-child(2n) { border-right: 0; }
  .glance__grid .stat:nth-child(2n+1) { padding-left: 0; border-right: 1px solid var(--line); }
  .glance__grid .stat:nth-child(2n) { padding-left: 16px; }
}

/* ---------- Platforms ---------- */
.platforms__list { border-top: 1px solid var(--line); }
.platform { display: grid; grid-template-columns: 70px 1.1fr 1.4fr 80px; gap: 32px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); position: relative; isolation: isolate; transition: padding 0.7s var(--ease); }
.platform::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(185,162,122,0.12), transparent 70%); opacity: 0; transition: opacity 0.6s var(--ease); }
.platform:hover { padding-left: 24px; }
.platform:hover::before { opacity: 1; }
.platform__n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--mute); }
.platform__t { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 58px); line-height: 1; margin: 0 0 12px; }
.platform__b { margin: 0; color: var(--mute); font-size: 15px; max-width: 46ch; }
.platform__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.platform__logos img { opacity: 0.6; filter: saturate(0.4); transition: opacity 0.5s, filter 0.5s; }
.platform:hover .platform__logos img { opacity: 1; filter: none; }
.platform__count { font-family: var(--serif); font-size: clamp(48px, 5vw, 84px); line-height: 1; justify-self: end; color: transparent; -webkit-text-stroke: 1px rgba(243,240,234,0.5); }
@media (max-width: 900px) { .platform { grid-template-columns: 1fr; gap: 18px; } .platform__count, .platform__n { display: none; } }
