/* ═══════════════════════════════════════════════════════════
   TELEO CAPITAL — Shared Design System
   Cormorant Garamond + DM Sans · Navy + Brushed Brass
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  /* Navy scale */
  --ink:       #081627;
  --navy-900:  #0B1F38;
  --navy-800:  #102A4C;
  --navy-700:  #1A3A60;
  --navy-600:  #274C77;

  /* Brass accent (muted, restrained) */
  --brass:        #B08D4F;
  --brass-bright: #C9A461;
  --brass-pale:   #DECCA2;

  /* Light surfaces */
  --paper:  #F7F5F0;
  --mist:   #EAEEF3;
  --cloud:  #FFFFFF;

  /* Text on light */
  --tx-900: #0C1A2B;
  --tx-700: #3A4A5C;
  --tx-500: #6B7A8A;
  --tx-400: #93A0AD;

  /* Lines */
  --line-dark:  rgba(11,31,56,0.10);
  --line-brass: rgba(176,141,79,0.32);
  --line-light: rgba(255,255,255,0.12);

  /* Shadow */
  --sh-sm: 0 2px 10px rgba(8,22,39,0.06);
  --sh-md: 0 10px 34px rgba(8,22,39,0.10);
  --sh-lg: 0 24px 60px rgba(8,22,39,0.16);

  /* System */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;
  --max:   1240px;
  --nav-h: 76px;
  --r:     4px;
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--tx-900);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brass); color: var(--ink); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--brass); }

/* ── Type primitives ───────────────────────────── */
.u-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
}
.u-eyebrow--mark { display: inline-flex; align-items: center; gap: 0.7rem; }
.u-eyebrow--mark::before {
  content: ''; width: 28px; height: 1px; background: var(--brass); opacity: 0.7;
}

.u-display {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--tx-900);
}
.u-display em { font-style: italic; font-weight: 500; }

.h-xl { font-size: clamp(2.7rem, 6vw, 5.4rem); }
.h-l  { font-size: clamp(2rem, 4vw, 3.3rem); }
.h-m  { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.h-s  { font-size: clamp(1.3rem, 2vw, 1.7rem); }

.u-lead {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--tx-700);
}
.u-body { font-size: 0.98rem; font-weight: 300; line-height: 1.8; color: var(--tx-700); }
.u-rule { width: 44px; height: 2px; background: var(--brass); border: none; }
.u-rule--center { margin-left: auto; margin-right: auto; }

.on-dark { color: var(--cloud); }
.on-dark .u-display { color: var(--cloud); }
.on-dark .u-lead { color: rgba(255,255,255,0.66); }
.on-dark .u-body { color: rgba(255,255,255,0.6); }

/* ── Layout ────────────────────────────────────── */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.bg-paper { background: var(--paper); }
.bg-mist  { background: var(--mist); }
.bg-cloud { background: var(--cloud); }
.bg-ink   { background: var(--ink); }
.bg-navy  { background: var(--navy-800); }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head .u-eyebrow { margin-bottom: 1rem; }
.section-head .u-rule { margin-top: 1.5rem; }

/* ═══════════════════════════════════════════════
   SIGNATURE: lexeme (dictionary motif)
═══════════════════════════════════════════════ */
.lexeme { display: inline-flex; flex-direction: column; gap: 0.3rem; }
.lexeme-top { display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; }
.lexeme-word {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 1.5rem; color: var(--brass-pale); line-height: 1;
}
.lexeme-pos {
  font-family: var(--sans); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.lexeme-def {
  font-family: var(--serif); font-size: 1.05rem; font-style: italic;
  color: rgba(255,255,255,0.72); line-height: 1.4;
}
.lexeme--ink .lexeme-word { color: var(--brass); }
.lexeme--ink .lexeme-pos  { color: var(--tx-400); }
.lexeme--ink .lexeme-def  { color: var(--tx-700); }

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.92rem 1.9rem; border-radius: var(--r);
  border: 1px solid transparent; transition: all 0.3s var(--ease);
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-bright); }

.btn--ink { background: var(--ink); color: var(--cloud); }
.btn--ink:hover { background: var(--navy-800); }

.btn--ghost-light { background: transparent; color: var(--cloud); border-color: rgba(255,255,255,0.3); }
.btn--ghost-light:hover { border-color: var(--brass); color: var(--brass-pale); }

.btn--ghost-ink { background: transparent; color: var(--navy-800); border-color: var(--line-dark); }
.btn--ghost-ink:hover { border-color: var(--navy-800); }

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brass); transition: gap 0.25s var(--ease);
}
.link-arrow::after { content: '→'; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
/* transparent over hero */
.nav--transparent { background: transparent; }
/* solid after scroll OR on interior pages */
.nav--solid, .nav.is-scrolled {
  background: rgba(8,22,39,0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-brass);
  box-shadow: 0 4px 30px rgba(0,0,0,0.32);
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-logo { height: 30px; width: auto; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name {
  font-family: var(--serif); font-weight: 700; font-size: 1.2rem;
  letter-spacing: 0.08em; color: var(--cloud); line-height: 1;
}
.brand-sub {
  font-size: 0.56rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass); line-height: 1;
}

.nav-menu { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-menu a {
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.66); padding-block: 0.4rem;
  border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s;
}
.nav-menu a:hover, .nav-menu a.is-active { color: var(--brass-pale); border-bottom-color: var(--brass); }
.nav-sep { width: 1px; height: 16px; background: var(--line-brass); }

.nav-cta {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--brass); border: 1px solid var(--brass); padding: 0.5rem 1.15rem; border-radius: var(--r);
  transition: background 0.25s, color 0.25s; white-space: nowrap;
}
.nav-cta:hover { background: var(--brass); color: var(--ink); }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 5px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--cloud); transition: 0.3s var(--ease); }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: var(--ink); border-bottom: 1px solid var(--line-brass);
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem) 2rem;
  display: flex; flex-direction: column;
  transform: translateY(-130%); transition: transform 0.4s var(--ease);
}
.drawer.is-open { transform: translateY(0); }
.drawer a {
  padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.drawer a:hover { color: var(--brass-pale); }
.drawer .drawer-cta { margin-top: 1.25rem; border: none; }

/* ═══════════════════════════════════════════════
   HERO (home — cinematic)
═══════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  padding: var(--nav-h) 0 clamp(4rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroDrift 22s ease-in-out infinite alternate;
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,22,39,0.55) 0%, rgba(8,22,39,0.2) 35%, rgba(8,22,39,0.65) 80%, rgba(8,22,39,0.92) 100%),
    linear-gradient(90deg, rgba(8,22,39,0.7) 0%, rgba(8,22,39,0.15) 55%, transparent 100%);
}
.hero-topline { position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--brass) 38%, var(--brass-pale) 62%, transparent); }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-eyebrow { margin-bottom: 1.6rem; color: var(--brass-pale); }
.hero-title { color: var(--cloud); max-width: 16ch; margin-bottom: 1.6rem; }
.hero-sub { max-width: 52ch; margin-bottom: 2.4rem; }
.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap;
}
.hero-scroll { display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.hero-scroll span { font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.hero-scroll i { width: 1px; height: 42px; background: linear-gradient(var(--brass), transparent); animation: scrollPulse 2.2s ease-in-out infinite; }

@keyframes heroDrift { from { transform: scale(1.05) translate(0,0); } to { transform: scale(1.14) translate(-1.5%, -1.5%); } }
@keyframes scrollPulse { 0%,100% { opacity: 0.5; transform: scaleY(0.8); } 50% { opacity: 1; transform: scaleY(1.1); } }

/* interior page hero (shorter) */
.subhero {
  position: relative; min-height: 60vh; display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 3rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden;
}
.subhero-media { position: absolute; inset: 0; z-index: 0; }
.subhero-media img { width: 100%; height: 100%; object-fit: cover; }
.subhero-media::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,22,39,0.6), rgba(8,22,39,0.35) 50%, rgba(8,22,39,0.85)); }
.subhero--solid { min-height: auto; background: var(--ink); }
.subhero-inner { position: relative; z-index: 2; width: 100%; }
.subhero-eyebrow { color: var(--brass-pale); margin-bottom: 1.1rem; }
.subhero-title { color: var(--cloud); max-width: 18ch; }
.subhero-sub { max-width: 56ch; margin-top: 1.4rem; }

/* ═══════════════════════════════════════════════
   STAT STRIP ("At a Glance")
═══════════════════════════════════════════════ */
.stats { border-block: 1px solid var(--line-brass); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(2rem,4vw,3.2rem) 1.5rem; text-align: center; border-left: 1px solid var(--line-brass); }
.stat:first-child { border-left: none; }
.stat-num { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--brass-pale); line-height: 1; }
.stat-label { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 0.7rem; }
.stats-note { font-size: 0.66rem; color: rgba(255,255,255,0.3); text-align: center; padding: 0 1.5rem 1.5rem; }

/* ═══════════════════════════════════════════════
   TICKER (scrolling portfolio logos)
═══════════════════════════════════════════════ */
.ticker { overflow: hidden; padding-block: clamp(2.5rem, 4vw, 3.5rem); position: relative; }
.ticker::before, .ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 2; pointer-events: none;
}
.ticker-head { text-align: center; margin-bottom: 2.5rem; }
.ticker-track { display: flex; width: max-content; align-items: center; animation: tickerScroll 75s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { flex: 0 0 auto; width: 340px; height: 170px; display: flex; align-items: center; justify-content: center; }
.ticker-item img { max-height: 108px; max-width: 250px; width: auto; height: auto; object-fit: contain; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* light ticker — uniform, greyed, white logo boxes removed via multiply */
.ticker.on-light::before { background: linear-gradient(90deg, var(--cloud), transparent); left: 0; }
.ticker.on-light::after  { background: linear-gradient(270deg, var(--cloud), transparent); right: 0; }
.ticker.on-light { background: var(--cloud); }
.ticker.on-light .ticker-item img { filter: grayscale(1); opacity: 0.55; }
/* dark ticker — colored band, inverted light logos, no boxes */
.ticker.on-dark-bg { background: var(--navy-900); }
.ticker.on-dark-bg .ticker-head h2 { color: var(--cloud); }
.ticker.on-dark-bg::before { background: linear-gradient(90deg, var(--navy-900), transparent); left: 0; }
.ticker.on-dark-bg::after  { background: linear-gradient(270deg, var(--navy-900), transparent); right: 0; }
.ticker.on-dark-bg .ticker-item { background: var(--navy-900); }
.ticker.on-dark-bg .ticker-item img { filter: grayscale(1) invert(1) brightness(1.8); mix-blend-mode: screen; opacity: 1; }

/* ═══════════════════════════════════════════════
   SPLIT (image + text editorial band)
═══════════════════════════════════════════════ */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.5rem, 5vw, 5rem); }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; height: clamp(360px, 48vw, 560px); object-fit: cover; border-radius: var(--r); }
.split-media::after { content: ''; position: absolute; inset: 0; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-brass); }
.split-media--tall img { height: clamp(420px, 60vw, 680px); }

/* full-bleed image band */
.band { position: relative; min-height: 52vh; display: flex; align-items: center; overflow: hidden; }
.band-media { position: absolute; inset: 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,22,39,0.88) 0%, rgba(8,22,39,0.55) 50%, rgba(8,22,39,0.2) 100%); }
.band-inner { position: relative; z-index: 2; max-width: 620px; }

/* ═══════════════════════════════════════════════
   FEATURE CARDS (approach etc.)
═══════════════════════════════════════════════ */
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.cards-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.fcard {
  background: var(--cloud); border: 1px solid var(--line-dark); border-radius: var(--r);
  padding: clamp(1.8rem, 3vw, 2.6rem); position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.fcard::before { content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.fcard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.fcard:hover::before { transform: scaleX(1); }
.fcard-icon { width: 30px; height: 30px; color: var(--brass); margin-bottom: 1.4rem; }
.fcard-icon svg { width: 100%; height: 100%; }
.fcard-title { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--navy-800); margin-bottom: 0.7rem; }
.fcard-body { font-size: 0.9rem; font-weight: 300; color: var(--tx-500); line-height: 1.75; margin-bottom: 1.3rem; }
.fcard-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.fcard-list li { display: flex; gap: 0.6rem; font-size: 0.85rem; color: var(--tx-700); }
.fcard-list li::before { content: ''; flex: 0 0 auto; width: 5px; height: 5px; margin-top: 0.55rem; background: var(--brass); border-radius: 50%; }

/* dark variant */
.fcard--dark { background: rgba(255,255,255,0.035); border-color: var(--line-light); }
.fcard--dark .fcard-title { color: var(--cloud); }
.fcard--dark .fcard-body { color: rgba(255,255,255,0.6); }
.fcard--dark .fcard-list li { color: rgba(255,255,255,0.78); }
.fcard--dark:hover { background: rgba(255,255,255,0.06); }

/* ═══════════════════════════════════════════════
   PORTFOLIO — hover-reveal cards
═══════════════════════════════════════════════ */
.pf-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.pf-card {
  position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3;
  background: linear-gradient(155deg, var(--navy-700) 0%, var(--navy-900) 100%);
  border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center;
}
.pf-card::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(176,141,79,0); transition: box-shadow 0.4s var(--ease); pointer-events: none; }
.pf-card:hover::after { box-shadow: inset 0 0 0 1px var(--line-brass); }
.pf-card-logo {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.pf-card-logo img { max-height: 52px; max-width: 66%; filter: grayscale(1) invert(1) brightness(1.85); mix-blend-mode: screen; opacity: 0.95; }
.pf-card-reveal {
  position: absolute; inset: 0; padding: 1.7rem; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(8,22,39,0.2), rgba(8,22,39,0.92));
  transform: translateY(10px); opacity: 0; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.pf-card-name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--cloud); }
.pf-card-sector { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-pale); margin-bottom: 0.4rem; }
.pf-card-desc { font-size: 0.82rem; font-weight: 300; color: rgba(255,255,255,0.78); line-height: 1.55; margin-top: 0.5rem; }
.pf-card:hover .pf-card-logo { opacity: 0; transform: translateY(-14px); }
.pf-card:hover .pf-card-reveal { opacity: 1; transform: translateY(0); }
.pf-card-status { position: absolute; top: 1rem; right: 1rem; z-index: 3; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 20px; }
.pf-status-active { background: rgba(176,141,79,0.9); color: var(--ink); }
.pf-status-realized { background: rgba(255,255,255,0.18); color: var(--cloud); }

/* ═══════════════════════════════════════════════
   CASE STUDY cards
═══════════════════════════════════════════════ */
.cs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.cs-card {
  display: flex; flex-direction: column; background: var(--cloud);
  border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cs-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.cs-card-media { aspect-ratio: 16/11; overflow: hidden; background: var(--mist); }
.cs-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cs-card-media--logo { display: flex; align-items: center; justify-content: center; background: var(--paper); border-bottom: 1px solid var(--line-dark); padding: 1.8rem; }
.cs-card-logo { padding: 0 0 1.5rem; display: flex; align-items: center; min-height: 54px; }
.cs-card-logo img { max-height: 82px; max-width: 88%; width: auto; height: auto; object-fit: contain; }
.cs-card-media--logo img { width: auto; height: auto; max-height: 64px; max-width: 70%; object-fit: contain; }
.cs-card:hover .cs-card-media--logo img { transform: none; }
.cs-card:hover .cs-card-media img { transform: scale(1.05); }
.cs-card-body { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.cs-card-tag { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.7rem; }
.cs-card-title { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--navy-800); line-height: 1.2; margin-bottom: 0.7rem; }
.cs-card-text { font-size: 0.86rem; font-weight: 300; color: var(--tx-500); line-height: 1.7; flex: 1; margin-bottom: 1.3rem; }

/* ═══════════════════════════════════════════════
   QUICK-REFERENCE chips / criteria
═══════════════════════════════════════════════ */
.chips { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; }
.chip { background: var(--cloud); padding: 1.7rem 1.6rem; }
.chip-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tx-400); margin-bottom: 0.45rem; }
.chip-val { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--navy-800); line-height: 1.2; }
.chip-val--sm { font-size: 1.02rem; }

/* criteria columns (4-up bulleted) */
.crit { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.crit-col { background: rgba(255,255,255,0.035); border: 1px solid var(--line-light); border-radius: var(--r); padding: 2rem 1.7rem; transition: 0.3s; }
.crit-col:hover { background: rgba(255,255,255,0.07); border-color: var(--line-brass); }
.crit-col-label { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.2rem; }
.crit-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.crit-list li { display: flex; gap: 0.6rem; font-size: 0.88rem; color: rgba(255,255,255,0.8); line-height: 1.5; }
.crit-list li::before { content: ''; flex: 0 0 auto; width: 4px; height: 4px; margin-top: 0.5rem; border-radius: 50%; background: var(--brass); }

/* ═══════════════════════════════════════════════
   PLAYBOOK (numbered steps — genuine sequence)
═══════════════════════════════════════════════ */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.step { background: rgba(255,255,255,0.035); border: 1px solid var(--line-light); border-radius: var(--r); padding: 2rem 1.8rem; transition: 0.3s; }
.step:hover { background: rgba(255,255,255,0.06); border-color: var(--line-brass); }
.step-num { font-family: var(--serif); font-weight: 600; font-size: 2.4rem; color: rgba(222,204,162,0.28); line-height: 1; margin-bottom: 0.9rem; }
.step-title { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--cloud); margin-bottom: 0.6rem; }
.step-body { font-size: 0.85rem; font-weight: 300; color: rgba(255,255,255,0.58); line-height: 1.7; }

/* ═══════════════════════════════════════════════
   MANDATE / badge cards
═══════════════════════════════════════════════ */
.mandate { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.mcard { border: 1px solid var(--line-light); border-radius: var(--r); padding: 2.3rem 2rem; transition: 0.3s; }
.mcard:hover { background: rgba(255,255,255,0.04); border-color: var(--line-brass); }
.mbadge { display: inline-block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.24rem 0.7rem; border-radius: 20px; margin-bottom: 1rem; }
.mbadge--core { background: rgba(176,141,79,0.18); color: var(--brass-pale); }
.mbadge--primary { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.65); }
.mbadge--diff { background: rgba(120,140,200,0.18); color: #aab6e0; }
.mcard-title { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--cloud); margin-bottom: 0.7rem; }
.mcard-body { font-size: 0.86rem; font-weight: 300; color: rgba(255,255,255,0.58); line-height: 1.7; }

/* ═══════════════════════════════════════════════
   CHECKLIST
═══════════════════════════════════════════════ */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; }
.check-item { background: var(--cloud); padding: 1.4rem 1.6rem; display: flex; gap: 0.9rem; align-items: flex-start; transition: background 0.25s; }
.check-item:hover { background: var(--paper); }
.check-mark { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--brass); display: flex; align-items: center; justify-content: center; margin-top: 1px; color: var(--brass); }
.check-text { font-size: 0.92rem; font-weight: 400; color: var(--tx-700); line-height: 1.5; }

/* ═══════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════ */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.quote { background: var(--cloud); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 2rem 1.9rem; display: flex; flex-direction: column; }
.quote-mark { font-family: var(--serif); font-size: 3.4rem; line-height: 0.7; color: var(--brass-pale); margin-bottom: 0.8rem; }
.quote-text { font-family: var(--serif); font-size: 1.12rem; font-style: italic; color: var(--tx-900); line-height: 1.6; flex: 1; margin-bottom: 1.2rem; }
.quote-source { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-400); }

/* ═══════════════════════════════════════════════
   TEAM
═══════════════════════════════════════════════ */
.team-cat { margin-bottom: 3.5rem; }
.team-cat-label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); padding-bottom: 0.85rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line-brass); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.1rem; }
.tcard { background: var(--cloud); border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; cursor: pointer; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.tcard-photo { aspect-ratio: 1/1.05; overflow: hidden; background: var(--mist); }
.tcard-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(0.25); transition: filter 0.4s; }
.tcard:hover .tcard-photo img { filter: none; }
.tcard-body { padding: 1rem 1.05rem 1.2rem; }
.tcard-name { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; color: var(--navy-800); line-height: 1.2; }
.tcard-role { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--brass); margin-top: 0.25rem; }
.tcard-more { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-400); margin-top: 0.7rem; transition: color 0.25s; }
.tcard:hover .tcard-more { color: var(--brass); }

/* bio modal */
.modal-veil { position: fixed; inset: 0; z-index: 500; background: rgba(8,22,39,0.84); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-veil.is-open { opacity: 1; pointer-events: auto; }
.modal { background: var(--navy-800); border: 1px solid var(--line-brass); border-radius: var(--r); max-width: 640px; width: 100%; max-height: 86vh; overflow-y: auto; padding: clamp(1.8rem, 3vw, 2.6rem); transform: translateY(20px); transition: transform 0.35s var(--ease); }
.modal-veil.is-open .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 1.2rem; right: 1.2rem; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); border: none; color: rgba(255,255,255,0.65); font-size: 1.05rem; display: flex; align-items: center; justify-content: center; transition: 0.25s; }
.modal-close:hover { background: rgba(255,255,255,0.16); color: var(--cloud); }
.modal-head { display: flex; gap: 1.4rem; align-items: center; margin-bottom: 1.4rem; }
.modal-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--brass); flex: 0 0 auto; }
.modal-name { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--cloud); line-height: 1.15; }
.modal-role { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); margin-top: 0.3rem; }
.modal-rule { height: 1px; background: var(--line-brass); margin-bottom: 1.4rem; }
.modal-bio { font-size: 0.92rem; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,0.74); }
.modal-bio p + p { margin-top: 0.9rem; }

/* ═══════════════════════════════════════════════
   FAQ accordion
═══════════════════════════════════════════════ */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--navy-800); }
.faq-icon { flex: 0 0 auto; width: 26px; height: 26px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--brass); transition: transform 0.3s var(--ease); }
.faq-icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after  { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.faq-item.is-open .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 0 1.6rem; font-size: 0.96rem; font-weight: 300; line-height: 1.8; color: var(--tx-700); max-width: 64ch; }

/* ═══════════════════════════════════════════════
   NEWS
═══════════════════════════════════════════════ */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.ncard { display: flex; flex-direction: column; background: var(--cloud); border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.ncard:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.ncard-media { height: 170px; background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 1.4rem; border-bottom: 1px solid var(--line-dark); }
.ncard-media img { max-height: 100%; max-width: 100%; object-fit: contain; }
.ncard-body { padding: 1.4rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.ncard-date { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-400); margin-bottom: 0.6rem; }
.ncard-title { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--navy-800); line-height: 1.35; flex: 1; margin-bottom: 1.1rem; }

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.cdetail { display: flex; gap: 0.9rem; margin-bottom: 1.3rem; }
.cdetail-icon { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(176,141,79,0.12); display: flex; align-items: center; justify-content: center; color: var(--brass); }
.cdetail-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-400); margin-bottom: 0.2rem; }
.cdetail-val { font-size: 0.88rem; color: var(--tx-700); line-height: 1.55; }
.cdetail-val a:hover { color: var(--brass); }
.csocials { display: flex; gap: 0.7rem; margin-top: 1.8rem; }
.csocial { width: 38px; height: 38px; border-radius: 50%; background: rgba(11,31,56,0.07); display: flex; align-items: center; justify-content: center; color: var(--navy-700); transition: 0.25s; }
.csocial:hover { background: var(--navy-800); color: var(--cloud); }

.form-card { background: var(--cloud); border: 1px solid var(--line-dark); border-radius: var(--r); padding: clamp(1.8rem, 3vw, 2.8rem); box-shadow: var(--sh-sm); }
.form-card-title { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--navy-800); margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.fg label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-700); }
.fg input, .fg select, .fg textarea { font-family: var(--sans); font-size: 0.9rem; color: var(--tx-900); background: var(--paper); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 0.72rem 0.9rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(176,141,79,0.14); }
.fg textarea { resize: vertical; min-height: 110px; }
.form-btn { width: 100%; margin-top: 0.5rem; justify-content: center; }
.form-note { font-size: 0.7rem; color: var(--tx-400); text-align: center; margin-top: 0.9rem; line-height: 1.6; }
.form-done { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-done.is-on { display: block; }
.form-done-mark { width: 54px; height: 54px; border-radius: 50%; background: rgba(176,141,79,0.14); color: var(--brass); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; }
.form-done-title { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--navy-800); margin-bottom: 0.5rem; }
.form-done-text { font-size: 0.88rem; color: var(--tx-500); line-height: 1.75; max-width: 40ch; margin-inline: auto; }

/* ═══════════════════════════════════════════════
   CTA band
═══════════════════════════════════════════════ */
.cta { text-align: center; }
.cta-title { margin-bottom: 0.9rem; }
.cta-sub { max-width: 54ch; margin: 0 auto 2.4rem; }
.cta-row { justify-content: center; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.foot { background: var(--ink); border-top: 1px solid var(--line-brass); padding: clamp(2.5rem,5vw,3.5rem) 0 2rem; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.foot-brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--cloud); }
.foot-brand-sub { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin: 0.3rem 0 1rem; }
.foot-brand-desc { font-size: 0.82rem; font-weight: 300; color: rgba(255,255,255,0.42); line-height: 1.75; max-width: 250px; }
.foot-col-title { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.foot-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.foot-links a:hover { color: var(--brass-pale); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; }
.foot-copy { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.foot-legal { display: flex; gap: 1.4rem; }
.foot-legal a { font-size: 0.72rem; color: rgba(255,255,255,0.32); transition: color 0.2s; }
.foot-legal a:hover { color: var(--brass-pale); }

/* ═══════════════════════════════════════════════
   REVEAL animation
═══════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* placeholder (filler) tint */
.is-placeholder { background-image: linear-gradient(135deg, var(--mist), #dde4ec); position: relative; }
.is-placeholder::after { content: 'IMAGE'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.62rem; letter-spacing: 0.3em; color: var(--tx-400); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .crit { grid-template-columns: repeat(2,1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .cards-3, .cs-grid, .pf-grid, .steps, .mandate, .quotes, .news-grid { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-brass); }
  .chips { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .checklist, .chips { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .crit { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 2rem; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .pf-card-reveal { opacity: 1; transform: none; }
  .pf-card-logo { opacity: 0; }
  .pf-card-img img { opacity: 0.4; }
}

/* ═══════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero-media img { animation: none; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* visible focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass); outline-offset: 3px;
}

.brand-mark { display:inline-block; width:32px; height:34px; background:url("https://teleocapital.com/images/logo.png") no-repeat; background-size:274px 84px; background-position:-123px -9px; filter:brightness(0) invert(1); }

/* portfolio filter + pairs */
.pf-filter{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:2.2rem}
.pf-filter button{font-family:var(--sans);font-size:.68rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--tx-500);background:transparent;border:1px solid var(--line-dark);border-radius:30px;padding:.55rem 1.2rem;cursor:pointer;transition:.25s var(--ease)}
.pf-filter button:hover{border-color:var(--brass);color:var(--navy-800)}
.pf-filter button.is-active{background:var(--navy-800);color:#fff;border-color:var(--navy-800)}
.pf-pair{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:var(--cloud);border:1px solid var(--line-dark);border-radius:var(--r);padding:1.3rem 1.6rem}
.pf-pair+.pf-pair{margin-top:1rem}
.pf-pair-name{font-family:var(--serif);font-weight:600;font-size:1.2rem;color:var(--navy-800)}
.pf-pair-add{font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--brass);white-space:nowrap}
