/* ═══════════════════════════════════════════════════════════
   ANEIL RAZVI — PORTFOLIO DESIGN SYSTEM
   site.css · Shared across all pages
   ═══════════════════════════════════════════════════════════ */

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--dark);
  overflow-x: hidden;
}

/* ── Design Tokens ──────────────────────────────────────── */
:root {
  --teal:       #00BCD4;
  --teal-dark:  #0097A7;
  --teal-glow:  rgba(0,188,212,0.35);
  --navy:       #1E3A5F;
  --navy-light: #2A4F7F;
  --dark:       #0F1923;
  --dark-2:     #070C12;
  --gray:       #F4F6F8;
  --text:       #1A1A2E;
  --muted:      #6B7280;
  --white:      #FFFFFF;
  --orange:     #F97316;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.15);
  --transition: 0.2s ease;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.15; }
a { text-decoration: none; }

/* ── Utilities ──────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; }
.container-sm { max-width: 860px; margin: 0 auto; }
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.section-tag {
  display: inline-block;
  color: var(--teal); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px;
}
h2.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400; line-height: 1.15;
  color: var(--text); margin-bottom: 20px;
}
h2.section-title em { font-style: italic; color: var(--teal); }
.section-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 560px; margin-bottom: 48px; }

/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  background: rgba(15,25,35,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}
nav.site-nav.scrolled { background: rgba(15,25,35,0.97); }
.nav-logo img { height: 38px; display: block; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta {
  background: var(--teal); color: var(--dark);
  padding: 9px 22px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 700;
  transition: background var(--transition), transform 0.1s;
}
.nav-cta:hover { background: #26D9EE; transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn-primary {
  background: var(--teal); color: var(--dark);
  padding: 14px 30px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all var(--transition);
}
.btn-primary:hover { background: #26D9EE; transform: translateY(-2px); box-shadow: 0 8px 24px var(--teal-glow); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.35); color: white;
  padding: 14px 30px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-outline {
  border: 1px solid rgba(0,188,212,0.35); color: var(--teal);
  padding: 11px 24px; border-radius: 8px;
  font-size: 0.88rem; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all var(--transition);
}
.btn-outline:hover { background: rgba(0,188,212,0.08); border-color: var(--teal); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
footer.site-footer {
  background: var(--dark-2); padding: 32px 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo img { height: 32px; opacity: 0.7; }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 12px; font-weight: 700;
  transition: all var(--transition); text-decoration: none;
}
.footer-socials a:hover { border-color: var(--teal); color: var(--teal); }

/* ═══════════════════════════════════════════════════════════
   HOME PAGE — HERO
   ═══════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(10,18,28,0.72) 0%, rgba(10,18,28,0.60) 60%, rgba(10,18,28,0.82) 100%),
    url('assets/hero-aiga.jpg') center/cover no-repeat;
  display: flex; align-items: center;
  padding: 120px 5% 80px;
}
.hero-inner { max-width: 720px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,188,212,0.15); border: 1px solid rgba(0,188,212,0.3);
  color: var(--teal); padding: 6px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }
.hero-inner h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  color: white; line-height: 1.08; margin-bottom: 24px; font-weight: 400;
}
.hero-inner h1 em { font-style: italic; color: var(--teal); }
.hero-inner > p {
  color: rgba(255,255,255,0.78); font-size: 1.15rem; line-height: 1.7;
  max-width: 580px; margin-bottom: 40px; font-weight: 300;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 60px; flex-wrap: wrap; }
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--teal); line-height: 1; }
.hero-stat .label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 4px; letter-spacing: 0.03em; }

/* ═══════════════════════════════════════════════════════════
   HOME PAGE — LOGOS MARQUEE
   ═══════════════════════════════════════════════════════════ */
#logos { background: var(--dark); padding: 28px 0; overflow: hidden; }
.logos-label {
  text-align: center; color: rgba(255,255,255,0.35);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 20px;
}
.marquee-wrap { overflow: hidden; }
.marquee-track {
  display: flex; gap: 60px; align-items: center;
  white-space: nowrap; animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track img { height: 28px; opacity: 0.45; filter: brightness(0) invert(1); flex-shrink: 0; }
.marquee-track img:hover { opacity: 0.85; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════
   HOME PAGE — SECTIONS
   ═══════════════════════════════════════════════════════════ */
section { padding: 96px 5%; }

/* About */
#about { background: var(--gray); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.timeline { display: flex; flex-direction: column; }
.tl-item { display: flex; gap: 24px; padding-bottom: 36px; position: relative; }
.tl-item:not(:last-child)::after {
  content: ''; position: absolute; left: 14px; top: 30px; bottom: 0;
  width: 1px; background: rgba(0,188,212,0.2);
}
.tl-dot {
  width: 29px; height: 29px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
}
.tl-dot svg { width: 13px; height: 13px; fill: var(--dark); }
.tl-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 6px; }
.tl-text { font-size: 0.97rem; color: var(--muted); line-height: 1.7; }
.about-intro { font-size: 1.12rem; line-height: 1.75; color: var(--text); margin-bottom: 32px; }
.about-intro strong { color: var(--navy); }
.competencies { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.competency-tag {
  background: white; border: 1px solid rgba(0,188,212,0.2);
  color: var(--navy); padding: 7px 16px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600;
}
.about-creds { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cred-card { background: white; border-radius: 12px; padding: 18px; border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow); }
.cred-card .cred-title { font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.cred-card .cred-sub { font-size: 0.78rem; color: var(--muted); }

/* What I Do */
#what { background: white; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: var(--gray); border-radius: var(--radius); padding: 36px 28px; border: 1px solid rgba(0,0,0,0.04); transition: transform var(--transition), box-shadow var(--transition); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon { width: 52px; height: 52px; background: var(--navy); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 1.8; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* Work */
#work { background: var(--dark); }
#work .section-tag { color: var(--teal); }
#work h2.section-title { color: white; }
#work .section-sub { color: rgba(255,255,255,0.5); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 36px; overflow: hidden; position: relative;
  transition: border-color var(--transition), background var(--transition);
}
.work-card:hover { border-color: rgba(0,188,212,0.35); background: rgba(0,188,212,0.04); }
.work-card .work-co { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 10px; }
.work-card h3 { font-size: 1.22rem; font-weight: 700; color: white; margin-bottom: 14px; line-height: 1.3; }
.work-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 24px; }
.work-results { display: flex; flex-wrap: wrap; gap: 10px; }
.work-result { background: rgba(0,188,212,0.12); border: 1px solid rgba(0,188,212,0.2); color: var(--teal); padding: 5px 13px; border-radius: 100px; font-size: 0.78rem; font-weight: 600; }
.work-card .work-num { position: absolute; top: 28px; right: 28px; font-size: 3.5rem; font-weight: 900; color: rgba(255,255,255,0.03); line-height: 1; font-family: 'DM Serif Display', serif; pointer-events: none; }
.work-card.featured { border-color: rgba(0,188,212,0.25); background: rgba(0,188,212,0.06); grid-column: 1 / -1; }
.work-card.featured h3 { font-size: 1.45rem; }
.work-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); text-decoration: none; border-bottom: 1px solid rgba(0,188,212,0.3); padding-bottom: 2px; transition: border-color var(--transition); }
.work-cta:hover { border-color: var(--teal); }
.work-cta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Speaking */
#speaking { background: var(--gray); }
.speaking-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.speaking-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: url('https://cdn.prod.website-files.com/59d1c13afec7fc0001d79316/5e37500412126727cac5f2f5_aneil%20outlook%20talk.jpg') center/cover; }
.speaking-topics { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.speaking-topic { display: flex; gap: 16px; align-items: flex-start; background: white; border-radius: 12px; padding: 20px; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.topic-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.topic-icon svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2; }
.speaking-topic h4 { font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.speaking-topic p { font-size: 0.83rem; color: var(--muted); line-height: 1.5; }

/* Community */
#community { background: white; }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.community-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.community-copy p { font-size: 1.02rem; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }

/* Tools */
#tools { background: var(--navy); padding: 64px 5%; }
#tools .section-tag { color: var(--teal); }
#tools h2.section-title { color: white; font-size: 1.6rem; margin-bottom: 36px; }
.tools-grid { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.tool-badge { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 10px 20px; display: flex; align-items: center; gap: 10px; transition: background var(--transition); }
.tool-badge:hover { background: rgba(0,188,212,0.12); }
.tool-badge img { height: 20px; filter: brightness(0) invert(1); opacity: 0.7; }
.tool-badge span { color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 500; }

/* Contact */
#contact { background: var(--dark); text-align: center; padding: 100px 5%; }
#contact h2.section-title { color: white; max-width: 600px; margin: 0 auto 20px; }
#contact .section-sub { max-width: 500px; margin: 0 auto 48px; text-align: center; color: rgba(255,255,255,0.5); }
.contact-options { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 60px; }
.contact-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 28px 36px; min-width: 200px; text-decoration: none; transition: all var(--transition); }
.contact-card:hover { border-color: var(--teal); background: rgba(0,188,212,0.08); transform: translateY(-3px); }
.contact-card .cc-icon { font-size: 1.6rem; margin-bottom: 10px; }
.contact-card .cc-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); font-weight: 600; margin-bottom: 6px; }
.contact-card .cc-value { color: white; font-size: 0.92rem; font-weight: 500; }

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO LISTING PAGE
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  padding: 140px 5% 80px;
  background: var(--dark);
  text-align: center;
}
.page-hero .section-tag { color: var(--teal); }
.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: white; font-weight: 400; line-height: 1.1; margin-bottom: 20px;
}
.page-hero h1 em { font-style: italic; color: var(--teal); }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.1rem; line-height: 1.7; max-width: 600px; margin: 0 auto; }

/* Filter tabs */
.portfolio-filters { display: flex; justify-content: center; gap: 10px; padding: 32px 5% 0; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 20px; border-radius: 100px; border: 1px solid rgba(0,0,0,0.12);
  font-size: 0.82rem; font-weight: 600; cursor: pointer; background: white;
  color: var(--muted); transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover { background: var(--teal); color: var(--dark); border-color: var(--teal); }

/* Portfolio grid */
.portfolio-section { padding: 48px 5% 96px; background: var(--gray); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pf-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none; color: inherit; display: block;
}
.pf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pf-thumb {
  aspect-ratio: 16/9; position: relative; overflow: hidden;
  background: var(--dark);
}
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.pf-card:hover .pf-thumb img { transform: scale(1.04); }
.pf-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.6));
}
.pf-thumb-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.85); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
}
.pf-body { padding: 22px 24px 26px; }
.pf-category { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.pf-title { font-size: 1.12rem; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.3; }
.pf-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.pf-role { font-size: 0.78rem; font-weight: 600; color: var(--navy); }
.pf-arrow { float: right; color: var(--teal); font-size: 1.1rem; margin-top: -4px; }

/* Featured card */
.pf-card.pf-featured { grid-column: 1 / -1; }
.pf-card.pf-featured .pf-thumb { aspect-ratio: 21/7; }
.pf-card.pf-featured .pf-title { font-size: 1.4rem; }

/* ═══════════════════════════════════════════════════════════
   CASE STUDY PAGES
   ═══════════════════════════════════════════════════════════ */

/* Hero */
.cs-hero {
  padding: 130px 5% 80px;
  background: linear-gradient(rgba(0,0,0,0.80), rgba(0,0,0,0.80)),
    var(--dark);
  background-size: cover; background-position: center;
  text-align: center; position: relative;
}
.cs-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,188,212,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,188,212,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.cs-hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.cs-category { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 20px; }
.cs-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: white; font-weight: 400; line-height: 1.1; margin-bottom: 24px;
}
.cs-hero h1 em { font-style: italic; color: var(--teal); }
.cs-role { font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.cs-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.8); line-height: 1.75; max-width: 680px; margin: 0 auto 48px; }
.cs-stats {
  display: flex; justify-content: center; gap: 0; flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius);
  overflow: hidden; max-width: 700px; margin: 0 auto;
}
.cs-stat {
  flex: 1; min-width: 140px; padding: 24px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}
.cs-stat:last-child { border-right: none; }
.cs-stat .s-num { display: block; font-size: 1.8rem; font-weight: 800; color: var(--teal); font-family: 'DM Serif Display', serif; line-height: 1; margin-bottom: 6px; }
.cs-stat .s-label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

/* Back nav */
.cs-breadcrumb {
  padding: 18px 5%; background: var(--dark-2);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cs-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.5); font-size: 0.82rem; font-weight: 500;
  text-decoration: none; transition: color var(--transition);
}
.cs-back:hover { color: var(--teal); }
.cs-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.cs-nav-arrows { display: flex; gap: 16px; }
.cs-nav-arrows a { color: rgba(255,255,255,0.4); font-size: 0.8rem; font-weight: 500; text-decoration: none; transition: color var(--transition); display: flex; align-items: center; gap: 4px; }
.cs-nav-arrows a:hover { color: var(--teal); }

/* Content sections */
.cs-section { padding: 72px 5%; }
.cs-section .cs-inner { max-width: 960px; margin: 0 auto; }
.cs-section-alt { background: var(--gray); }
.cs-section-dark { background: var(--dark); }
.cs-section-dark h2, .cs-section-dark h3 { color: white; }
.cs-section-dark p, .cs-section-dark li { color: rgba(255,255,255,0.75); }
.cs-section-dark .cs-eyebrow { color: var(--teal); }
.cs-section-navy { background: var(--navy); }
.cs-section-navy h2, .cs-section-navy h3 { color: white; }
.cs-section-navy p, .cs-section-navy li { color: rgba(255,255,255,0.75); }
.cs-section-navy .cs-eyebrow { color: var(--teal); }

.cs-eyebrow { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.cs-h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; color: var(--text); margin-bottom: 24px; line-height: 1.2; }
.cs-h2 em { font-style: italic; color: var(--teal); }
.cs-h3 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); margin: 28px 0 12px; }
.cs-section-dark .cs-h3, .cs-section-navy .cs-h3 { color: rgba(255,255,255,0.9); }
.cs-p { font-size: 1rem; line-height: 1.82; color: var(--muted); margin-bottom: 18px; }
.cs-section-dark .cs-p { color: rgba(255,255,255,0.7); }

/* Two-col */
.cs-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cs-three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* Bullet list */
.cs-bullets { list-style: none; padding: 0; margin: 0 0 24px; }
.cs-bullets li {
  padding: 10px 0 10px 24px; position: relative;
  font-size: 0.97rem; line-height: 1.7; color: var(--muted);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cs-bullets li::before { content: ''; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.cs-section-dark .cs-bullets li { color: rgba(255,255,255,0.7); border-bottom-color: rgba(255,255,255,0.08); }
.cs-section-navy .cs-bullets li { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.1); }

/* Pull quote */
.cs-quote { border-left: 3px solid var(--teal); padding: 20px 28px; margin: 36px 0; background: rgba(0,188,212,0.06); border-radius: 0 12px 12px 0; }
.cs-quote p { font-size: 1.1rem; font-style: italic; font-weight: 500; color: var(--navy); margin: 0; line-height: 1.7; }
.cs-section-dark .cs-quote { background: rgba(0,188,212,0.1); }
.cs-section-dark .cs-quote p { color: rgba(255,255,255,0.9); }

/* Initiative cards */
.cs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 32px; }
.cs-card { background: white; border-radius: var(--radius); border: 1px solid rgba(0,0,0,0.08); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.cs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cs-card-thumb { height: 120px; display: flex; align-items: center; justify-content: center; }
.cs-card-body { padding: 18px 20px 22px; }
.cs-card-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.cs-card-title { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
.cs-card-desc { font-size: 0.85rem; line-height: 1.65; color: var(--muted); }
.cs-section-dark .cs-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.cs-section-dark .cs-card-title { color: white; }
.cs-section-dark .cs-card-desc { color: rgba(255,255,255,0.6); }

/* Skills/tags */
.cs-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cs-tag { background: rgba(0,188,212,0.1); border: 1px solid rgba(0,188,212,0.2); color: var(--navy); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; padding: 6px 14px; border-radius: 100px; }
.cs-section-dark .cs-tag { background: rgba(0,188,212,0.15); color: rgba(255,255,255,0.85); border-color: rgba(0,188,212,0.3); }

/* Result callout */
.cs-result-row { display: flex; gap: 20px; flex-wrap: wrap; margin: 32px 0; }
.cs-result { flex: 1; min-width: 160px; background: var(--gray); border-radius: 12px; padding: 20px; text-align: center; border: 1px solid rgba(0,0,0,0.06); }
.cs-result .r-num { display: block; font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--teal); line-height: 1; margin-bottom: 6px; }
.cs-result .r-label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.cs-section-dark .cs-result { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.cs-section-dark .cs-result .r-label { color: rgba(255,255,255,0.5); }

/* Divider */
.cs-divider { height: 1px; background: rgba(0,0,0,0.08); margin: 40px 0; }
.cs-section-dark .cs-divider { background: rgba(255,255,255,0.1); }

/* ═══════════════════════════════════════════════════════════
   SPEAKING PAGE
   ═══════════════════════════════════════════════════════════ */
.speaking-page-hero {
  padding: 140px 5% 80px;
  background: linear-gradient(rgba(10,18,28,0.85), rgba(10,18,28,0.85)),
    url('https://cdn.prod.website-files.com/59d1c13afec7fc0001d79316/5e37500412126727cac5f2f5_aneil%20outlook%20talk.jpg') center/cover;
  text-align: center;
}
.talks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 64px 5%; background: var(--gray); }
.talk-card { background: white; border-radius: var(--radius); padding: 32px; border: 1px solid rgba(0,0,0,0.06); box-shadow: var(--shadow); }
.talk-event { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal); margin-bottom: 8px; }
.talk-title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.3; }
.talk-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.talk-meta { font-size: 0.8rem; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.talk-meta span { display: flex; align-items: center; gap: 4px; }

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════ */
.contact-hero { padding: 140px 5% 80px; background: var(--dark); text-align: center; }
.contact-form-section { padding: 64px 5%; background: var(--gray); }
.contact-form-inner { max-width: 680px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-input {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.14); font-family: 'Inter', sans-serif;
  font-size: 0.95rem; color: var(--text); background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,188,212,0.15); }
textarea.form-input { min-height: 140px; resize: vertical; }
.form-submit { width: 100%; padding: 15px; background: var(--teal); color: var(--dark); font-size: 1rem; font-weight: 700; border: none; border-radius: 10px; cursor: pointer; transition: all var(--transition); }
.form-submit:hover { background: #26D9EE; transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-three-col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about-grid, .speaking-grid, .community-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card.featured { grid-column: 1; }
  .talks-grid { grid-template-columns: 1fr; }
  .cs-two-col { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .portfolio-grid, .cs-three-col { grid-template-columns: 1fr; }
  .pf-card.pf-featured { grid-column: 1; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .cs-stats { flex-direction: row; }
  .cs-stat { min-width: 100px; }
  section { padding: 60px 5%; }
}

.nav-brand{font-family:'DM Serif Display',serif;font-size:1.4rem;color:#fff;text-decoration:none;letter-spacing:.01em}
.nav-brand b{color:var(--teal);font-weight:400}

/* ── HOME: work cards with visuals ── */
.hw-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:8px}
.hw-card{display:flex;flex-direction:column;background:#101d2b;border:1px solid rgba(255,255,255,.09);border-radius:14px;overflow:hidden;text-decoration:none;color:#eef3f8;transition:transform .18s,border-color .18s}
.hw-card:hover{transform:translateY(-4px);border-color:rgba(0,188,212,.5)}
.hw-card.feat{grid-column:1 / -1;flex-direction:row}
.hw-thumb{background-size:cover;background-position:center;min-height:210px}
.hw-card.feat .hw-thumb{flex:0 0 46%}
.hw-body{padding:26px 28px 28px}
.hw-co{color:var(--teal);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-bottom:10px}
.hw-card h3{font-family:'DM Serif Display',serif;font-size:1.5rem;color:#fff;margin:0 0 10px;line-height:1.2}
.hw-card p{color:rgba(255,255,255,.66);font-size:.95rem;line-height:1.62;font-weight:300;margin:0}
.hw-pills{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 2px}
.hw-pills span{font-size:.72rem;font-weight:600;color:#bfeaf1;background:rgba(0,188,212,.12);border:1px solid rgba(0,188,212,.3);padding:5px 11px;border-radius:100px}
.hw-cta{display:inline-block;margin-top:14px;color:var(--teal);font-weight:600;font-size:.9rem}
@media(max-width:820px){.hw-grid{grid-template-columns:1fr}.hw-card.feat{flex-direction:column}.hw-card.feat .hw-thumb{flex:none;min-height:210px}}
/* ── HOME: toolkit sectioned ── */
.tk-groups{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:14px}
.tk-group h4{font-family:'DM Serif Display',serif;font-size:1.08rem;color:#fff;margin:0 0 12px}
.tk-pills{display:flex;flex-wrap:wrap;gap:9px}
.tk-pills span{font-size:.8rem;font-weight:500;color:#dfeef2;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);padding:7px 13px;border-radius:8px}
@media(max-width:700px){.tk-groups{grid-template-columns:1fr}}

/* ── CASE STUDY (shared template) ── */
.cs2-hero{background-size:cover;background-position:center;padding:120px 6% 70px;text-align:center;color:#fff}
.cs2-hero-inner{max-width:820px;margin:0 auto}
.cs2-eyebrow{font-size:.74rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--teal);margin-bottom:14px}
.cs2-eyebrow.light{color:#5fe0ee}
.cs2-hero h1{font-family:'DM Serif Display',serif;font-size:clamp(2.2rem,4.6vw,3.6rem);line-height:1.12;margin:0 0 18px;color:#fff}
.cs2-hero h1 em{font-style:italic;color:var(--teal)}
.cs2-role{font-size:.9rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.62);margin-bottom:18px}
.cs2-lead{font-size:1.08rem;line-height:1.75;color:rgba(255,255,255,.84);max-width:700px;margin:0 auto;font-weight:300}
.cs2-stats{display:flex;justify-content:center;gap:44px;flex-wrap:wrap;margin-top:44px;padding-top:34px;border-top:1px solid rgba(255,255,255,.14)}
.cs2-stats .n{display:block;font-family:'DM Serif Display',serif;font-size:1.7rem;color:var(--teal);line-height:1.05}
.cs2-stats .l{display:block;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.55);margin-top:7px}
.cs2-sec{padding:76px 6%;background:var(--dark)}
.cs2-sec.alt{background:#0c1620}.cs2-sec.dark{background:#0a1420}
.cs2-wrap{max-width:920px;margin:0 auto}
.cs2-sec h2{font-family:'DM Serif Display',serif;font-size:clamp(1.8rem,3.2vw,2.5rem);color:#fff;margin:6px 0 24px;line-height:1.18}
.cs2-sec h3{font-family:'DM Serif Display',serif;font-size:1.25rem;color:#fff;margin:0 0 12px}
.cs2-sec p{font-size:1rem;line-height:1.8;color:rgba(255,255,255,.72);font-weight:300;margin:0 0 16px}
.cs2-sec p em{color:#cfeff4;font-style:italic}
.cs2-wide{max-width:760px}
.cs2-two{display:grid;grid-template-columns:1fr 1fr;gap:44px;margin-top:8px}
.cs2-list{list-style:none;padding:0;margin:0}
.cs2-list li{position:relative;padding:9px 0 9px 22px;font-size:.97rem;line-height:1.65;color:rgba(255,255,255,.74);border-bottom:1px solid rgba(255,255,255,.07)}
.cs2-list li::before{content:'';position:absolute;left:0;top:16px;width:7px;height:7px;border-radius:50%;background:var(--teal)}
.cs2-list strong{color:#fff}
.cs2-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.cs2-tags span{font-size:.74rem;font-weight:600;color:#bfeaf1;background:rgba(0,188,212,.12);border:1px solid rgba(0,188,212,.3);padding:6px 13px;border-radius:100px}
.cs2-link{color:var(--teal);text-decoration:underline}
.cs2-cta{padding:70px 6%;background:linear-gradient(135deg,#0d1b2a,#0a2530);text-align:center}
.cs2-cta h2{font-family:'DM Serif Display',serif;font-size:2rem;color:#fff;margin:0 0 24px}
.cs2-cta-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.cs2-btn{background:var(--teal);color:#062028;padding:13px 26px;border-radius:8px;font-weight:700;text-decoration:none}
.cs2-btn.ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.35)}
.cs2-btn.appstore{background:#000;color:#fff;border:1px solid rgba(255,255,255,.25);display:inline-flex;align-items:center;gap:9px}
.cs2-btn.appstore:hover{border-color:rgba(255,255,255,.5)}
.spot-link{display:inline-block;margin-top:18px;color:var(--teal);font-weight:600;font-size:.92rem;text-decoration:none;border-bottom:1px solid rgba(0,188,212,.4);padding-bottom:2px}
.spot-link:hover{border-bottom-color:var(--teal)}
@media(max-width:760px){.cs2-two{grid-template-columns:1fr;gap:24px}.cs2-stats{gap:26px}}

/* ── CASE STUDY: video carousel ── */
.cs2-vid-lead{font-size:1rem;line-height:1.7;color:rgba(255,255,255,.72);font-weight:300;max-width:660px;margin:0 0 26px}
.vidcarousel{position:relative;display:flex;align-items:center;gap:10px}
.vidtrack{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:4px 2px 6px;-ms-overflow-style:none;scrollbar-width:none;flex:1}
.vidtrack::-webkit-scrollbar{display:none}
.vidslide{flex:0 0 100%;max-width:100%;scroll-snap-align:center}
@media(min-width:820px){.vidslide{flex:0 0 calc(66% - 10px)}}
.vidframe{position:relative;aspect-ratio:16/9;background:#06121c;border:1px solid rgba(255,255,255,.1);border-radius:14px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.vidframe iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vidframe.placeholder{color:rgba(255,255,255,.4);font-size:.9rem;text-align:center;padding:20px;border-style:dashed}
.vidframe.placeholder .play{width:52px;height:52px;border-radius:50%;border:2px solid rgba(0,188,212,.5);display:flex;align-items:center;justify-content:center;margin:0 auto 12px;color:var(--teal);font-size:1.1rem}
.vidmeta{display:flex;gap:14px;align-items:flex-start;margin-top:16px}
.vidmeta .vidnum{font-family:'DM Serif Display',serif;color:var(--teal);font-size:1.15rem;line-height:1;margin-top:2px}
.vidmeta h4{color:#fff;font-size:1.02rem;margin:0 0 4px;font-weight:600}
.vidmeta p{color:rgba(255,255,255,.6);font-size:.88rem;margin:0;line-height:1.5}
.vidnav{flex:0 0 auto;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:1.5rem;line-height:1;cursor:pointer;transition:all .18s;display:flex;align-items:center;justify-content:center}
.vidnav:hover{background:var(--teal);color:#062028;border-color:var(--teal)}
.vidnav:active{transform:scale(.94)}
@media(max-width:520px){.vidnav{width:38px;height:38px;font-size:1.25rem}}
.viddots{display:flex;gap:8px;justify-content:center;margin-top:22px}
.viddot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.2);border:none;cursor:pointer;transition:all .18s;padding:0}
.viddot.active{background:var(--teal);width:22px;border-radius:100px}

/* ── CASE STUDY: selected-work gallery ── */
.cs2-gallery{display:grid;grid-template-columns:1fr 1fr;gap:34px;margin-top:10px}
.cs2-gcard img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px;border:1px solid rgba(255,255,255,.1);display:block;background:#06121c}
.cs2-gcard h4{font-family:'DM Serif Display',serif;color:#fff;font-size:1.2rem;margin:16px 0 8px;font-weight:400}
.cs2-gcard p{color:rgba(255,255,255,.7);font-size:.95rem;line-height:1.65;font-weight:300;margin:0}
@media(max-width:760px){.cs2-gallery{grid-template-columns:1fr;gap:26px}}

/* ── CASE STUDY: spotlight showcase (Selected Work) ── */
.cs2-spot{margin-top:14px}
.spot-stage{position:relative}
.spot-panel{display:none;grid-template-columns:1.25fr 1fr;gap:38px;align-items:center}
.spot-panel.active{display:grid}
.spot-figure{border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,.1);background:#06121c}
.spot-figure img{width:100%;display:block;aspect-ratio:16/10;object-fit:cover}
.spot-copy .spot-n{font-family:'DM Serif Display',serif;color:var(--teal);font-size:1.15rem;line-height:1}
.spot-copy .spot-eyebrow{display:block;font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);margin:8px 0 6px}
.spot-copy h3{font-family:'DM Serif Display',serif;color:#fff;font-size:1.5rem;font-weight:400;margin:6px 0 14px;line-height:1.2}
.spot-copy p{color:rgba(255,255,255,.75);font-size:1rem;line-height:1.72;font-weight:300;margin:0}
.spot-thumbs{display:flex;gap:12px;margin-top:28px;overflow-x:auto;padding-bottom:8px;scrollbar-width:none;-ms-overflow-style:none}
.spot-thumbs::-webkit-scrollbar{display:none}
.spot-thumb{flex:0 0 auto;width:138px;text-align:left;background:transparent;border:none;cursor:pointer;padding:0;opacity:.5;transition:opacity .18s}
.spot-thumb.active{opacity:1}
.spot-thumb:hover{opacity:.85}
.spot-thumb img{width:138px;height:86px;object-fit:cover;border-radius:9px;border:2px solid transparent;transition:border-color .18s;display:block}
.spot-thumb.active img{border-color:var(--teal)}
.spot-thumb span{display:block;font-size:.72rem;color:rgba(255,255,255,.7);margin-top:8px;line-height:1.3}
.spot-count{margin-top:16px;font-size:.8rem;color:rgba(255,255,255,.4);letter-spacing:.04em}
@media(max-width:760px){.spot-panel.active{grid-template-columns:1fr;gap:18px}.spot-figure img{aspect-ratio:16/11}}

/* ── spotlight: pills + arrows + single-feature ── */
.spot-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.spot-pills span{font-size:.72rem;font-weight:600;color:#bfeaf1;background:rgba(0,188,212,.12);border:1px solid rgba(0,188,212,.3);padding:5px 11px;border-radius:100px}
.spot-figure{position:relative}
.spot-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;background:rgba(6,18,28,.74);border:1px solid rgba(255,255,255,.28);color:#fff;font-size:1.5rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2;transition:all .18s}
.spot-arrow:hover{background:var(--teal);color:#062028;border-color:var(--teal)}
.spot-arrow:active{transform:translateY(-50%) scale(.94)}
.spot-arrow.prev{left:12px}
.spot-arrow.next{right:12px}
.cs2-spot.single .spot-thumbs{display:none}
@media(max-width:520px){.spot-arrow{width:36px;height:36px;font-size:1.25rem}}

/* ── CASE STUDY: story ("where it started / where it is now") ── */
.story-note{color:rgba(255,255,255,.72);font-size:1rem;line-height:1.7;font-weight:300;max-width:700px;margin:0 0 28px}
.story-steps{display:grid;grid-template-columns:1fr 1fr;gap:36px}
.story-figure{border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,.1);background:#06121c;margin-bottom:18px}
.story-figure img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.story-figure.ph{aspect-ratio:16/10;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px dashed rgba(0,188,212,.4);gap:6px;text-align:center;padding:16px}
.ph-dim{font-family:'DM Serif Display',serif;color:var(--teal);font-size:1.25rem;line-height:1}
.ph-label{font-size:.8rem;letter-spacing:.03em;color:rgba(255,255,255,.5)}
.story-eyebrow{display:block;font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);margin-bottom:6px}
.story-copy h3{font-family:'DM Serif Display',serif;color:#fff;font-size:1.32rem;font-weight:400;margin:0 0 9px;line-height:1.2}
.story-copy p{color:rgba(255,255,255,.72);font-size:.97rem;line-height:1.68;font-weight:300;margin:0}
@media(max-width:760px){.story-steps{grid-template-columns:1fr;gap:28px}}

/* ═══════════════════════════════════════════════════════════
   MOBILE NAV (hamburger dropdown)
   ═══════════════════════════════════════════════════════════ */
.nav-hamburger{background:none;border:none;padding:6px;margin-left:14px}
@media(max-width:860px){
  nav.site-nav{flex-wrap:wrap;height:68px;align-content:center}
  nav.site-nav .nav-links{display:none}
  nav.site-nav .nav-hamburger{display:flex}
  nav.site-nav .nav-cta{margin-left:auto}
  nav.site-nav.open{height:auto;padding-bottom:14px;background:rgba(15,25,35,.98)}
  nav.site-nav.open .nav-links{display:flex;order:5;flex-direction:column;width:100%;gap:1.1rem;padding:1.1rem 0 .2rem;margin-top:.5rem;border-top:1px solid rgba(255,255,255,.08)}
  nav.site-nav.open .nav-links a{font-size:1rem}
  nav.site-nav.open .nav-hamburger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  nav.site-nav.open .nav-hamburger span:nth-child(2){opacity:0}
  nav.site-nav.open .nav-hamburger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .nav-hamburger span{transition:transform .2s,opacity .2s}
}

/* ── CASE STUDY: decision tabs (accessible, all live text) ── */
.dec{margin-top:22px}
.dec-tabs{display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:0;margin-bottom:30px}
.dec-tab{display:flex;align-items:baseline;gap:9px;background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;padding:10px 14px 13px;margin-bottom:-1px;color:rgba(255,255,255,.55);transition:color .18s,border-color .18s;font-family:inherit}
.dec-tab:hover{color:rgba(255,255,255,.85)}
.dec-tab[aria-selected="true"]{color:#fff;border-bottom-color:var(--teal)}
.dec-tab:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:6px}
.dec-tab-n{font-family:'DM Serif Display',serif;font-size:1.02rem;color:var(--teal);line-height:1}
.dec-tab-l{font-size:.86rem;font-weight:600;letter-spacing:.02em;white-space:nowrap}
.dec-panel{display:none}
.dec-panel.active{display:grid;grid-template-columns:1.22fr 1fr;gap:38px;align-items:start}
.dec-panel:focus-visible{outline:2px solid var(--teal);outline-offset:6px;border-radius:12px}
.dec-copy h3{font-family:'DM Serif Display',serif;color:#fff;font-size:1.5rem;font-weight:400;margin:0 0 14px;line-height:1.2}
.dec-copy p{color:rgba(255,255,255,.75);font-size:1rem;line-height:1.72;font-weight:300;margin:0 0 14px}
.dec-cost{border-left:2px solid var(--teal);padding-left:14px;font-size:.94rem!important;color:rgba(255,255,255,.62)!important}
.dec-cost b{color:#bfeaf1;font-weight:600}
.dec-viz{background:#08151f;border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:24px}

/* viz: 2x2 market matrix */
.mx{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.09);border-radius:10px;overflow:hidden}
.mx-cell{background:#0b1a25;padding:16px 15px;min-height:132px}
.mx-cell.gap{background:rgba(0,188,212,.07);box-shadow:inset 0 0 0 2px rgba(0,188,212,.45)}
.mx-h{display:block;font-size:.63rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:rgba(255,255,255,.45);margin-bottom:11px}
.mx-i{display:block;font-size:.87rem;color:rgba(255,255,255,.86);line-height:1.45;margin-bottom:7px;font-weight:300}
.mx-i b{font-weight:600;color:#fff}
.mx-free{color:#F9A55A;font-weight:600;font-size:.76rem}
.mx-gap-l{display:block;font-size:.63rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--teal);margin-bottom:9px}
.mx-ax{display:flex;justify-content:space-between;font-size:.63rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.4);margin-top:11px;padding:0 4px}

/* viz: removed vs ships */
.rv{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.rv-col{background:#0b1a25;border:1px solid rgba(255,255,255,.09);border-radius:10px;padding:17px 16px}
.rv-col.keep{border-color:rgba(0,188,212,.3)}
.rv-tag{display:inline-block;font-size:.63rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:4px 10px;border-radius:100px;margin-bottom:13px}
.rv-tag.kill{background:rgba(249,115,22,.14);color:#F9A55A;border:1px solid rgba(249,115,22,.34)}
.rv-tag.ok{background:rgba(0,188,212,.13);color:#5FE6F5;border:1px solid rgba(0,188,212,.34)}
.rv-h{display:block;font-size:.63rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:rgba(255,255,255,.42);margin:12px 0 7px}
.rv-x{display:block;font-size:.9rem;color:rgba(255,255,255,.42);text-decoration:line-through;text-decoration-color:#F97316;line-height:1.9;font-weight:300}
.rv-x.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.82rem}
.rv-keep{font-size:1.05rem;line-height:1.62;color:#fff;font-weight:400}
.rv-note{font-size:.85rem;color:rgba(255,255,255,.6);line-height:1.6;font-weight:300;margin-top:13px;padding-top:13px;border-top:1px solid rgba(255,255,255,.1)}

/* viz: roles table */
.rt{width:100%;border-collapse:collapse}
.rt th,.rt td{text-align:center;padding:12px 6px;font-size:.87rem}
.rt th:first-child,.rt td:first-child{text-align:left;font-weight:300;color:rgba(255,255,255,.82);width:44%}
.rt thead th{font-size:.82rem;font-weight:700;color:#fff;padding-bottom:14px}
.rt thead th.hi{color:var(--teal)}
.rt td.hi,.rt th.hi{background:rgba(0,188,212,.06)}
.rt tbody tr{border-top:1px solid rgba(255,255,255,.08)}
.rt .yes{color:var(--teal);font-size:1.05rem}
.rt .no{color:rgba(255,255,255,.28);font-size:1.05rem}
.rt .scope td{font-size:.72rem;color:rgba(255,255,255,.5);padding-top:13px}
.rt .scope td:first-child{font-size:.63rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:rgba(255,255,255,.42)}

/* viz: sensory */
.sv-list{margin:0 0 18px;padding:0;list-style:none}
.sv-list li{display:flex;gap:10px;align-items:baseline;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:.88rem;font-weight:300;color:rgba(255,255,255,.84)}
.sv-list li::before{content:"\2717";color:#F97316;font-size:.82rem}
.sv-list li b{font-weight:600;color:#fff;margin-right:5px}
.sv-list li span{color:rgba(255,255,255,.5);font-size:.82rem}
.sv-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}
.sv-w{display:flex;flex-direction:column}
.sv-mode{border:1px solid rgba(255,255,255,.13);border-radius:9px;padding:10px;min-height:96px;display:flex;flex-direction:column;gap:7px}
.sv-card{border-radius:6px;padding:8px;flex:1}
.sv-bar{height:5px;border-radius:3px;margin-bottom:5px}
.sv-chip{display:inline-block;font-size:.55rem;font-weight:700;padding:3px 8px;border-radius:100px;margin-top:5px}
.sv-ramp{display:flex;height:11px;border-radius:4px;overflow:hidden}
.sv-name{font-size:.8rem;font-weight:600;color:#fff;margin-top:8px}
.sv-desc{font-size:.68rem;color:rgba(255,255,255,.5);line-height:1.3}
.sv-gate{margin-top:14px;font-size:.83rem;color:rgba(255,255,255,.68);font-weight:300;line-height:1.6;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);border-radius:9px;padding:12px 14px}
.sv-gate code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#5FE6F5;font-size:.8rem}
.sv-gate b{color:#fff;font-weight:600}

/* bugs */
.bugs{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:8px}
.bug{background:#08151f;border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:20px}
.bug-n{font-size:.68rem;font-weight:700;letter-spacing:.14em;color:rgba(255,255,255,.42);display:block;margin-bottom:11px}
.bug-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem;line-height:1.6;color:#5FE6F5;background:rgba(0,0,0,.34);border:1px solid rgba(0,188,212,.16);border-radius:8px;padding:11px 12px;word-break:break-word}
.bug-l{display:block;font-size:.63rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;margin:14px 0 5px;color:rgba(255,255,255,.42)}
.bug-l.bad{color:#F9A55A}
.bug p{margin:0;font-size:.9rem;line-height:1.55;color:rgba(255,255,255,.78);font-weight:300}
.bug p.did{color:#fff;font-weight:400}
.bug p em{color:#F9A55A;font-style:italic}
.bugs-rule{margin-top:26px;border-left:2px solid var(--teal);padding-left:16px;font-size:1rem;line-height:1.7;color:rgba(255,255,255,.75);font-weight:300}
.bugs-rule b{color:#fff;font-weight:600}

@media(max-width:860px){
  .dec-panel.active{grid-template-columns:1fr;gap:22px}
  .bugs{grid-template-columns:1fr}
  .rv{grid-template-columns:1fr}
  .dec-tab-l{font-size:.8rem}
}
@media(max-width:520px){
  .mx{grid-template-columns:1fr}
  .sv-modes{grid-template-columns:1fr}
  .dec-tabs{gap:2px}
  .dec-tab{padding:9px 10px 12px}
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
