/* ============================================================
   TEAM THAI — v3
   Modern premium corporate site.
   ============================================================
   Direction: Clean, contemporary, photography-driven.
   Brand color: Deep indigo (#2D2A6F) — Team Thai's actual mark.
   No journal/newspaper metadata. No bone paper.
   Inter Tight (sans) + Instrument Serif (used sparingly).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,200..900;1,200..900&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap');

/* ────────────────────────── TOKENS ────────────────────── */
:root {
  /* Surfaces */
  --bg:           #FAFAF8;
  --bg-2:         #F3F3F0;
  --surface:      #FFFFFF;
  --surface-2:    #F7F7F4;

  /* Dark surfaces */
  --dark:         #0F1115;
  --dark-2:       #181A20;
  --dark-3:       #232631;

  /* Brand — Team Thai's actual indigo */
  --brand:        #2D2A6F;
  --brand-hover:  #3D3A8F;
  --brand-soft:   #6B6FA3;
  --brand-tint:   #EEEDF6;

  /* Text */
  --ink:          #0F1115;
  --ink-2:        #2B2E36;
  --ink-3:        #5A5F70;
  --ink-4:        #8B91A3;
  --ink-5:        #B5B9C5;

  /* On-dark */
  --paper:        #FAFAF8;
  --paper-2:      #D9DBE3;
  --paper-3:      #9C9FAA;

  /* Borders */
  --line:         #E5E7EB;
  --line-2:       #D2D5DD;
  --line-dark:    #2B2E3A;

  /* Type */
  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Fluid scale */
  --t-xs: clamp(11px, 0.5vw + 9px, 13px);
  --t-sm: clamp(13px, 0.6vw + 11px, 14px);
  --t-base: clamp(15px, 0.55vw + 13px, 17px);
  --t-md: clamp(17px, 0.7vw + 14px, 20px);
  --t-lg: clamp(20px, 1vw + 16px, 26px);
  --t-xl: clamp(28px, 2vw + 18px, 40px);
  --t-2xl: clamp(40px, 3.5vw + 18px, 62px);
  --t-3xl: clamp(56px, 5vw + 20px, 96px);
  --t-mega: clamp(64px, 7vw + 20px, 132px);

  /* Spacing (8pt grid) */
  --s-1: 4px; --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 160px;

  /* Radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-2xl: 32px; --r-full: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(15,17,21,0.04), 0 1px 1px rgba(15,17,21,0.03);
  --sh-2: 0 4px 12px -2px rgba(15,17,21,0.06), 0 2px 6px -1px rgba(15,17,21,0.04);
  --sh-3: 0 16px 40px -12px rgba(15,17,21,0.14), 0 6px 16px -4px rgba(15,17,21,0.08);
  --sh-4: 0 32px 80px -16px rgba(15,17,21,0.22), 0 12px 28px -6px rgba(15,17,21,0.10);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Layout */
  --page: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 88px;
}

[data-theme="dark"] {
  --bg:        #0F1115;
  --bg-2:      #181A20;
  --surface:   #181A20;
  --surface-2: #232631;
  --ink:       #FAFAF8;
  --ink-2:     #D9DBE3;
  --ink-3:     #9C9FAA;
  --ink-4:     #6B6E7A;
  --line:      #2B2E3A;
  --line-2:    #3A3E4C;
  --brand:     #9D9BD2;
  --brand-tint: #1E1E3F;
}

/* ────────────────────────── RESET ────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background .5s var(--ease), color .5s var(--ease);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img { object-fit: cover; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--brand); color: var(--paper); }

/* ────────────────────────── TYPE ────────────────────── */
.t-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.t-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--brand);
}
.t-eyebrow.no-line::before { display: none; }
.t-eyebrow.on-dark { color: var(--paper-2); }
.t-eyebrow.on-dark::before { background: var(--brand-soft); }

h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.h-mega { font-size: var(--t-mega); font-weight: 600; line-height: 0.98; letter-spacing: -0.04em; }
.h-1 { font-size: var(--t-3xl); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; }
.h-2 { font-size: var(--t-2xl); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.h-3 { font-size: var(--t-xl); font-weight: 600; line-height: 1.1; letter-spacing: -0.022em; }
.h-4 { font-size: var(--t-lg); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }

.it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.lede {
  font-size: var(--t-md);
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 60ch;
}
.lede.lg {
  font-size: var(--t-lg);
  line-height: 1.45;
  color: var(--ink-2);
}

/* ────────────────────────── LAYOUT ────────────────────── */
.wrap { max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-tight { max-width: 1080px; margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(64px, 8vw, 120px); position: relative; }
.section-sm { padding-block: clamp(48px, 6vw, 88px); position: relative; }

/* ────────────────────────── BUTTONS ────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--r-full);
  white-space: nowrap;
  transition: all .25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn .arr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  font-size: 11px;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.btn:hover .arr { transform: translateX(2px); }

.btn-primary {
  background: var(--brand);
  color: var(--paper);
  box-shadow: 0 1px 2px rgba(45,42,111,0.2);
}
.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 6px 16px -4px rgba(45,42,111,0.3);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover { background: var(--dark-3); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.btn-ghost.on-dark {
  color: var(--paper);
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost.on-dark:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink-4);
  transition: all .2s var(--ease);
}
.btn-link::after { content: '→'; font-size: 1.1em; transition: transform .2s var(--ease); }
.btn-link:hover { color: var(--brand); border-bottom-color: var(--brand); }
.btn-link:hover::after { transform: translateX(3px); }
.btn-link.on-dark { color: var(--paper); border-bottom-color: rgba(255,255,255,0.3); }
.btn-link.on-dark:hover { color: var(--paper); border-bottom-color: var(--paper); }

/* ────────────────────────── NAV ────────────────────── */
/* Skip link for accessibility */
.skip-link {
  position: absolute; left: 12px; top: -40px;
  background: var(--ink); color: var(--paper);
  padding: 8px 14px; border-radius: 6px;
  z-index: 200; font-size: 14px; font-weight: 500;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Dark veil over hero so the logo + links read on photography */
.nav::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,17,21,0.55) 0%, rgba(15,17,21,0.25) 60%, rgba(15,17,21,0) 100%);
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.nav.scrolled::before, .nav.solid::before { opacity: 0; }

/* Default (over hero): white logo + white links */
.nav .brand-logo { filter: brightness(0) invert(1); }
.nav .nav-links a { color: rgba(255,255,255,0.85); }
.nav .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.10); }
.nav .nav-links a.active { color: #fff; background: rgba(255,255,255,0.14); }
.nav .theme-tog { color: #fff; border-color: rgba(255,255,255,0.35); }
.nav .theme-tog:hover { background: #fff; color: var(--ink); border-color: #fff; }
.nav .btn-primary { background: #fff; color: var(--ink); }

.nav.scrolled,
.nav.solid {
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.scrolled .brand-logo, .nav.solid .brand-logo { filter: none; }
.nav.scrolled .nav-links a, .nav.solid .nav-links a { color: var(--ink-2); }
.nav.scrolled .nav-links a:hover, .nav.solid .nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav.scrolled .nav-links a.active, .nav.solid .nav-links a.active { color: var(--brand); background: var(--brand-tint); }
.nav.scrolled .theme-tog, .nav.solid .theme-tog { color: var(--ink-2); border-color: var(--line); }
.nav.scrolled .theme-tog:hover, .nav.solid .theme-tog:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav.scrolled .btn-primary, .nav.solid .btn-primary { background: var(--brand); color: #fff; }

.nav-row { position: relative; z-index: 1; }
.nav-row {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-5);
  align-items: center;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink);
}
.brand-logo {
  width: auto;
  height: 56px;
  display: block;
  flex-shrink: 0;
  transition: height .3s var(--ease), filter .3s var(--ease);
}
.nav.scrolled .brand-logo, .nav.solid .brand-logo { height: 46px; }
.brand-logo.lg { height: 64px; }
.brand-logo.on-dark {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.brand-name {
  display: none; /* logo SVG already contains the wordmark */
}

.nav-links {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s-2);
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: var(--r-full);
  transition: all .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-links a.active {
  color: var(--brand);
  background: var(--brand-tint);
}

.nav-right { display: flex; align-items: center; gap: var(--s-3); }
.theme-tog {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: 50%;
  transition: all .2s var(--ease);
}
.theme-tog:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.theme-tog .sun { display: none; }
[data-theme="dark"] .theme-tog .moon { display: none; }
[data-theme="dark"] .theme-tog .sun { display: block; }
.theme-tog svg { width: 16px; height: 16px; }

.hamb {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  align-items: center; justify-content: center;
}
.hamb span {
  position: relative;
  width: 14px; height: 1.5px;
  background: var(--ink);
  display: block;
}
.hamb span::before, .hamb span::after {
  content: ''; position: absolute; left: 0;
  width: 100%; height: 1.5px; background: var(--ink);
  transition: transform .25s var(--ease);
}
.hamb span::before { top: -5px; }
.hamb span::after { top: 5px; }
.hamb.open span { background: transparent; }
.hamb.open span::before { transform: translateY(5px) rotate(45deg); }
.hamb.open span::after { transform: translateY(-5px) rotate(-45deg); }

.mob {
  position: fixed; inset: 0; z-index: 50;
  background: var(--bg);
  padding: calc(var(--nav-h) + var(--s-7)) var(--gutter) var(--s-7);
  display: flex; flex-direction: column; gap: var(--s-2);
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
}
.mob.open { transform: translateY(0); }
.mob a {
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mob a .it { color: var(--brand); }

/* ────────────────────────── HERO ────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 24px) var(--gutter) clamp(48px, 6vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-position: center 35%;
  transform: scale(1.05);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(15,17,21,0.55) 0%,
      rgba(15,17,21,0.35) 28%,
      rgba(15,17,21,0.55) 55%,
      rgba(15,17,21,0.88) 100%),
    linear-gradient(90deg,
      rgba(15,17,21,0.55) 0%,
      rgba(15,17,21,0.25) 45%,
      transparent 80%),
    linear-gradient(180deg, rgba(45,42,111,0.18) 0%, transparent 60%);
}
.hero-title, .hero-sub, .hero-eyebrow {
  text-shadow: 0 1px 24px rgba(0,0,0,0.18);
}

.hero-content {
  position: relative;
  max-width: var(--page);
  width: 100%;
  margin-inline: auto;
  color: var(--paper);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--s-6);
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: rgba(255,255,255,0.5);
}
.hero-title {
  font-family: var(--sans);
  font-size: clamp(48px, 7vw + 12px, 116px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--paper);
  margin-bottom: var(--s-6);
  max-width: 18ch;
}
.hero-title .it { color: rgba(255,255,255,0.7); }
.hero-sub {
  font-size: clamp(16px, 1.3vw, 22px);
  line-height: 1.45;
  color: rgba(255,255,255,0.82);
  margin-bottom: var(--s-7);
  max-width: 580px;
}
.hero-actions {
  display: flex; gap: var(--s-3);
  flex-wrap: wrap;
}
.hero .btn-primary {
  background: var(--paper);
  color: var(--ink);
}
.hero .btn-primary:hover { background: var(--paper-2); color: var(--ink); }
.hero .btn-primary .arr { background: var(--ink); color: var(--paper); }
.hero .btn-ghost {
  border-color: rgba(255,255,255,0.2);
  color: var(--paper);
}
.hero .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }

.hero-meta {
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 920px;
}
.hero-meta .item .v {
  font-family: var(--sans);
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-meta .item .v .it { color: rgba(255,255,255,0.6); }
.hero-meta .item .l {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ────────────────────────── STATS BAR ────────────────────── */
.stats-bar {
  background: var(--ink);
  color: var(--paper);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-left: 1px solid var(--line-dark);
}
.stats-grid .stat {
  padding: clamp(28px, 3vw, 48px) clamp(20px, 2vw, 32px);
  border-right: 1px solid var(--line-dark);
}
.stats-grid .stat .v {
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stats-grid .stat .v .sym { font-weight: 400; opacity: 0.5; font-size: 0.7em; vertical-align: super; margin-left: 2px; }
.stats-grid .stat .l {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-3);
}

/* ────────────────────────── STORY (founder split) ────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.story-image {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--brand);
}
.story-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: contrast(1.02) saturate(0.96);
  transition: transform 1.4s var(--ease);
}
.story-image:hover img { transform: scale(1.04); }
.story-image .badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(15,17,21,0.7);
  backdrop-filter: blur(8px);
  color: var(--paper);
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 12px;
  font-weight: 500;
}
.story-image .badge strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.story-content h2 { margin-bottom: var(--s-5); }
.story-content p {
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: var(--s-4);
  max-width: 58ch;
}
.story-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--t-xl);
  line-height: 1.25;
  color: var(--ink);
  padding: var(--s-5) 0 var(--s-5) var(--s-5);
  border-left: 2px solid var(--brand);
  margin: var(--s-5) 0;
  max-width: 30ch;
  letter-spacing: -0.01em;
}
.story-sig {
  display: flex; align-items: center; gap: var(--s-4);
  margin-top: var(--s-6);
}
.story-sig .scribble {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
}
.story-sig .meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.story-sig .meta strong {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
}

/* ────────────────────────── SECTION HEAD ────────────────────── */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: end;
  margin-bottom: var(--s-8);
}
.sec-head h2 { letter-spacing: -0.032em; }
.sec-head .lede { color: var(--ink-3); }

.sec-head.center {
  text-align: center;
  grid-template-columns: 1fr;
  margin-inline: auto;
  max-width: 800px;
}
.sec-head.center .lede { margin-inline: auto; }

/* ────────────────────────── VENTURES GRID ────────────────────── */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.venture-card {
  position: relative;
  padding: clamp(28px, 2.5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all .35s var(--ease);
  overflow: hidden;
  cursor: pointer;
  min-height: 280px;
  display: flex; flex-direction: column;
}
.venture-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
  border-color: var(--line-2);
}
.venture-card .num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--brand);
  opacity: 0.18;
  line-height: 1;
  letter-spacing: -0.04em;
}
.venture-card:hover .num { opacity: 0.4; }
.venture-card .icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-tint);
  color: var(--brand);
  border-radius: 12px;
  margin-bottom: var(--s-5);
}
.venture-card .icon svg { width: 22px; height: 22px; }
.venture-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.venture-card h3 .it { color: var(--brand); }
.venture-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin-bottom: var(--s-4);
  flex: 1;
}
.venture-card .more {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.venture-card:hover .more { color: var(--brand); gap: 10px; }

/* ────────────────────────── LIFE STRIP (big image + text) ────────────────────── */
.life {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.life-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: stretch;
  min-height: 600px;
}
.life-image {
  position: relative;
  overflow: hidden;
}
.life-image img {
  width: 100%; height: 100%;
  filter: brightness(0.92) saturate(0.96);
  transition: transform 1.4s var(--ease);
}
.life-image:hover img { transform: scale(1.03); }
.life-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 50%, rgba(15,17,21,0.6) 100%);
}
.life-content {
  padding: clamp(48px, 6vw, 96px);
  display: flex; flex-direction: column; justify-content: center;
}
.life-content h2 {
  color: var(--paper);
  margin-bottom: var(--s-5);
}
.life-content h2 .it { color: var(--paper-2); }
.life-content p {
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--paper-2);
  margin-bottom: var(--s-4);
  max-width: 50ch;
}
.life-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-5);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-dark);
}
.life-stats .v {
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--paper);
}
.life-stats .l {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-3);
}

/* ────────────────────────── BRANDS MARQUEE / SHOWCASE ────────────────────── */
.brands-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-3);
}
.brand-tile {
  position: relative;
  padding: var(--s-5) var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all .2s var(--ease);
  text-align: center;
}
.brand-tile:hover {
  border-color: var(--brand);
  background: var(--brand-tint);
  transform: translateY(-2px);
}
.brand-tile .name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}
.brand-tile .cat {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.brand-tile.feature {
  background: var(--brand);
  border-color: var(--brand);
  grid-column: span 2;
  text-align: left;
  padding: var(--s-5);
}
.brand-tile.feature .name { color: var(--paper); font-size: 22px; }
.brand-tile.feature .cat { color: rgba(255,255,255,0.7); }
.brand-tile.feature:hover { background: var(--brand-hover); }

/* ────────────────────────── GLOBAL / OFFICES ────────────────────── */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.office {
  padding: clamp(28px, 2.5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  transition: all .25s var(--ease);
}
.office:hover {
  border-color: var(--line-2);
  box-shadow: var(--sh-2);
}
.office .cat {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.office .city {
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--ink);
}
.office .country {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-3);
  margin-bottom: var(--s-5);
}
.office .rows { display: flex; flex-direction: column; gap: var(--s-3); }
.office .row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: var(--s-3);
  padding: var(--s-2) 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.office .row .lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding-top: 4px;
}
.office .row a { border-bottom: 1px solid var(--line-2); }
.office .row a:hover { color: var(--brand); border-color: var(--brand); }

/* ────────────────────────── CTA BAND ────────────────────── */
.cta-band {
  background: var(--brand);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(48px, 5vw, 80px) clamp(32px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  color: var(--paper);
  font-size: clamp(32px, 3.5vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: var(--s-3);
}
.cta-band h2 .it { color: rgba(255,255,255,0.6); }
.cta-band p {
  font-size: var(--t-md);
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  max-width: 48ch;
}
.cta-band .actions {
  display: flex; gap: var(--s-3);
  flex-wrap: wrap;
  position: relative;
  justify-content: flex-end;
}
.cta-band .btn-primary {
  background: var(--paper);
  color: var(--brand);
}
.cta-band .btn-primary:hover {
  background: var(--ink);
  color: var(--paper);
}
.cta-band .btn-ghost {
  border-color: rgba(255,255,255,0.3);
  color: var(--paper);
}
.cta-band .btn-ghost:hover {
  background: var(--paper);
  color: var(--brand);
  border-color: var(--paper);
}

/* ────────────────────────── FOOTER ────────────────────── */
.footer {
  background: var(--dark);
  color: var(--paper-2);
  padding: clamp(64px, 7vw, 96px) var(--gutter) var(--s-5);
  margin-top: 0;
}
.footer-grid {
  max-width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: var(--s-7);
  margin-bottom: var(--s-5);
  border-bottom: 1px solid var(--line-dark);
}
.footer .brand-name { color: var(--paper); }
.footer .brand-mark { background: var(--paper); color: var(--brand); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: var(--s-4);
}
.footer-col ul li {
  padding: 6px 0;
  font-size: 14px;
}
.footer-col ul li a {
  color: var(--paper-3);
  transition: color .15s var(--ease);
}
.footer-col ul li a:hover { color: var(--paper); }

.footer-intro {
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper-3);
  margin: var(--s-5) 0 var(--s-5);
  max-width: 38ch;
}
.footer-social {
  display: flex; gap: 8px;
}
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  color: var(--paper-2);
  transition: all .2s var(--ease);
}
.footer-social a:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  max-width: var(--page);
  margin-inline: auto;
  display: flex; justify-content: space-between; gap: var(--s-4);
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--paper-3);
}
.footer-bottom a {
  color: var(--paper-2);
  border-bottom: 1px solid var(--line-dark);
  transition: all .2s var(--ease);
}
.footer-bottom a:hover { color: var(--paper); border-color: var(--paper); }

/* ────────────────────────── SUB-PAGE HERO ────────────────────── */
.subhero {
  padding: calc(var(--nav-h) + var(--s-9)) var(--gutter) var(--s-9);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.subhero-content {
  max-width: var(--page);
  margin-inline: auto;
}
.subhero .crumb {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: var(--s-5);
  display: flex; gap: 8px; align-items: center;
}
.subhero .crumb a { color: var(--ink-2); transition: color .15s var(--ease); }
.subhero .crumb a:hover { color: var(--brand); }
.subhero .crumb .sep { color: var(--ink-4); }
.subhero h1 {
  font-size: clamp(40px, 5vw + 12px, 88px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: var(--s-5);
  max-width: 20ch;
}
.subhero h1 .it { color: var(--brand); }
.subhero .deck {
  font-size: var(--t-md);
  color: var(--ink-3);
  max-width: 56ch;
  line-height: 1.55;
}

/* ────────────────────────── PROSE (long form pages) ────────────────────── */
.prose {
  max-width: 720px;
  margin-inline: auto;
}
.prose p {
  font-size: var(--t-md);
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: var(--s-5);
}
.prose h2 {
  font-size: var(--t-2xl);
  margin: var(--s-8) 0 var(--s-5);
}
.prose blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--t-xl);
  line-height: 1.3;
  color: var(--ink);
  padding-left: var(--s-5);
  border-left: 3px solid var(--brand);
  margin: var(--s-7) 0;
  letter-spacing: -0.01em;
}

/* ────────────────────────── BRAND CATALOG (brands.html) ────────────────────── */
.cat-section {
  padding-block: clamp(40px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
}
.cat-section:last-child { border-bottom: none; }
.cat-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  align-items: end;
  margin-bottom: var(--s-7);
}
.cat-head .cat-no {
  font-family: var(--serif);
  font-style: italic;
  color: var(--brand);
  font-size: 18px;
  margin-bottom: 4px;
}
.cat-head h2 {
  font-size: var(--t-2xl);
  letter-spacing: -0.03em;
}
.cat-head .count {
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  transition: all .25s var(--ease);
  min-height: 140px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cat-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}
.cat-card .cat-logo {
  height: 64px;
  display: flex; align-items: center; justify-content: flex-start;
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.cat-card .cat-logo img {
  max-height: 58px; max-width: 160px;
  width: auto; object-fit: contain;
}
.cat-card.flagship {
  background: linear-gradient(180deg, var(--brand-tint) 0%, var(--surface) 60%);
  border-color: var(--brand);
}
.logo-chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: var(--r-md);
  padding: 14px 18px; margin-bottom: var(--s-3);
  align-self: flex-start;
  box-shadow: 0 6px 18px -10px rgba(0,0,0,0.4);
}
.logo-chip img { max-height: 46px; max-width: 150px; width: auto; object-fit: contain; display: block; }

/* ── Operations gallery (real photos) ── */
.op-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: var(--s-3);
}
.op-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.op-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.op-tile:hover img { transform: scale(1.06); }
.op-tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 18px 14px;
  background: linear-gradient(to top, rgba(15,17,21,0.85), transparent);
  color: #fff;
  font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
}
.op-tile .cap small { display:block; font-size: 11px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.op-tile.wide { grid-column: span 3; }
.op-tile.tall { grid-row: span 2; grid-column: span 2; }
.op-tile.std { grid-column: span 2; }
@media (max-width: 760px) {
  .op-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .op-tile.wide, .op-tile.tall, .op-tile.std { grid-column: span 1; grid-row: span 1; }
}

/* ── Leadership avatars ── */
.leader-ph, .leader-mono {
  width: 76px; height: 76px; border-radius: 50%;
  margin-bottom: var(--s-3); flex-shrink: 0;
}
.leader-ph { overflow: hidden; border: 2px solid var(--brand); }
.leader-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.leader-mono {
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand);
  font-weight: 600; font-size: 24px; letter-spacing: 0.02em;
  border: 2px solid var(--brand-tint);
}
.cat-card .name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 4px;
}
.cat-card .name.flag::before {
  content: '★';
  color: var(--brand);
  margin-right: 6px;
  font-size: 0.85em;
}
.cat-card .desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-top: var(--s-2);
}
.cat-card .badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-top: var(--s-3);
}

/* ────────────────────────── REVEAL ────────────────────── */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal-s > * { opacity: 0; transform: translateY(16px); }

/* ────────────────────────── RESPONSIVE ────────────────────── */
@media (max-width: 1080px) {
  .ventures-grid { grid-template-columns: repeat(2, 1fr); }
  .offices-grid { grid-template-columns: 1fr; }
  .brands-strip { grid-template-columns: repeat(3, 1fr); }
  .brand-tile.feature { grid-column: span 3; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hamb { display: inline-flex; }
  .ventures-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .story-image { max-width: 480px; }
  .life-grid { grid-template-columns: 1fr; }
  .life-image { aspect-ratio: 16/10; min-height: 0; }
  .sec-head { grid-template-columns: 1fr; gap: var(--s-3); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .brands-strip { grid-template-columns: repeat(2, 1fr); }
  .brand-tile.feature { grid-column: span 2; }
  .cat-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--s-2); align-items: flex-start; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-s > * { opacity: 1; transform: none; }
  .marquee-track { animation: none !important; }
}

/* ══════════════════════════ v7 PREMIUM ADDITIONS ══════════════════════════ */

/* ── Real brand-logo wall ── */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-3);
}
.logo-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: clamp(16px, 2vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.logo-cell img {
  max-width: 100%;
  max-height: 64px;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.62;
  transition: filter .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}
.logo-cell:hover {
  border-color: var(--brand);
  box-shadow: 0 12px 30px -14px rgba(45,42,111,0.35);
  transform: translateY(-3px);
}
.logo-cell:hover img { filter: grayscale(0%); opacity: 1; transform: scale(1.04); }

/* ── Infinite logo marquee ── */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  animation: marquee-scroll 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 38px; width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.marquee-track img:hover { filter: grayscale(0%); opacity: 1; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Authentic manifesto band (real HQ wall) ── */
.manifesto {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.manifesto-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.22;
}
.manifesto-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15,17,21,0.95) 0%, rgba(15,17,21,0.72) 50%, rgba(45,42,111,0.55) 100%);
}
.manifesto-inner {
  position: relative;
  max-width: var(--page);
  margin-inline: auto;
  padding: clamp(72px, 10vw, 140px) var(--gutter);
}
.manifesto .eyebrow {
  font-family: var(--mono, monospace);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--paper-3); margin-bottom: var(--s-4);
}
.manifesto-lines {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 46px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  max-width: 18ch;
  font-weight: 400;
}
.manifesto-lines .full { display: block; font-size: clamp(20px, 2.4vw, 30px); max-width: none; }
.manifesto-body {
  margin-top: var(--s-5);
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px 40px;
  max-width: 760px;
}
.manifesto-body p {
  font-family: var(--sans);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  padding-left: 20px;
  position: relative;
}
.manifesto-body p::before {
  content: "—"; position: absolute; left: 0; color: var(--paper-3);
}
.manifesto-sign {
  margin-top: var(--s-6);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.6vw, 30px);
  color: #fff;
}
.manifesto-sign .grow { color: var(--paper-2, #b9b6e8); }

/* ── Founder portrait framing on story ── */
.story-image.portrait { aspect-ratio: 4 / 5; max-width: 440px; }
.story-image.portrait img { object-position: center 18%; }

/* ── Venture card media (real photos) ── */
.venture-card .v-media {
  display: block;
  margin: calc(-1 * var(--s-5)) calc(-1 * var(--s-5)) var(--s-4);
  border-radius: var(--r-md) var(--r-md) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.venture-card .v-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.venture-card:hover .v-media img { transform: scale(1.05); }

@media (max-width: 1080px) {
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .manifesto-body { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .marquee-track img { height: 30px; }
  .manifesto-lines { font-size: clamp(22px, 6vw, 30px); max-width: none; }
}
@media (max-width: 480px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
}
