/* =========================================================
   AVIRA DIGITAL — AGENTIC AI WEBSITE
   Aesthetic: editorial × engineering. Dark teal canvas,
   serif-italic accents, orange marks used like ink stamps.
   ========================================================= */

:root {
  /* Ink (background layers) */
  --ink-deep: #051820;
  --ink-base: #0a2530;
  --ink-soft: #133742;
  --ink-line: #1f4e5b;

  /* Avira brand */
  --teal: #3FA9B0;
  --teal-bright: #5DC3CA;
  --teal-deep: #1B5F6A;
  --teal-mist: #A8D8DC;
  --teal-veil: rgba(63, 169, 176, 0.10);

  /* Stamp / accent (use sparingly) */
  --ember: #ED8B3E;
  --ember-soft: #F4A968;

  /* Paper */
  --cream: #F4EFE3;
  --cream-soft: #E5DDC9;
  --cream-muted: #C9C0AE;
  --paper: #FBF7EE;

  /* Text */
  --text-bright: #F2F7F8;
  --text: #D8E2E5;
  --text-muted: #8FA8AE;
  --text-dim: #5E7A82;

  /* Spacing rhythm */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 36px;
  --space-5: 56px;
  --space-6: 84px;
  --space-7: 120px;
  --space-8: 160px;

  /* Type scale */
  --t-display: clamp(48px, 7.5vw, 112px);
  --t-h1: clamp(40px, 5.5vw, 76px);
  --t-h2: clamp(28px, 3.5vw, 48px);
  --t-h3: clamp(22px, 2vw, 28px);
  --t-lede: clamp(18px, 1.6vw, 22px);
  --t-body: 16.5px;
  --t-small: 14px;
  --t-eyebrow: 11px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  background: var(--ink-base);
  color: var(--text);
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--teal); color: var(--ink-deep); }

a { color: inherit; text-decoration: none; }

/* Subtle grain overlay (global atmosphere) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
  opacity: 0.025;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 100;
}

/* ====================== TYPOGRAPHY ====================== */

.display, h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 400; letter-spacing: -0.015em; }
.display { font-size: var(--t-display); line-height: 0.98; }
h1 { font-size: var(--t-h1); line-height: 1.02; }
h2 { font-size: var(--t-h2); line-height: 1.08; }
h3 { font-size: var(--t-h3); line-height: 1.2; font-weight: 500; }

.it { font-style: italic; }
.it-display { font-family: 'Fraunces', serif; font-style: italic; font-weight: 300; }

.mono { font-family: 'JetBrains Mono', monospace; }

.eyebrow {
  font-family: 'Geist', sans-serif;
  font-size: var(--t-eyebrow);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-bright);
  font-weight: 500;
}

.eyebrow-cream { color: var(--cream-muted); }
.eyebrow-ember { color: var(--ember); }

.lede {
  font-size: var(--t-lede);
  line-height: 1.5;
  color: var(--text);
  max-width: 60ch;
}

.muted { color: var(--text-muted); }
.bright { color: var(--text-bright); }
.teal { color: var(--teal-bright); }
.ember { color: var(--ember); }
.cream-text { color: var(--cream); }

/* ====================== LAYOUT ====================== */

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

.container-tight {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

section {
  padding: var(--space-7) 0;
  position: relative;
}

.section-cream { background: var(--paper); color: var(--ink-base); }
.section-cream .muted, .section-cream .lede { color: #4a5e63; }
.section-cream .lede { color: #3b4f54; }
.section-cream .display, .section-cream h1, .section-cream h2, .section-cream h3 { color: var(--ink-base); }
.section-cream .eyebrow { color: var(--teal-deep); }
.section-cream p { color: #4a5e63; }

.section-deep { background: var(--ink-deep); }

/* Section header pattern */
.sec-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  max-width: 920px;
}

.sec-head .lede { margin-top: var(--space-2); }

/* ====================== NAV ====================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px clamp(24px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 37, 48, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(168, 216, 220, 0.08);
  transition: background 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
  background: rgba(5, 24, 32, 0.85);
  padding: 12px clamp(24px, 5vw, 64px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text-bright);
}

.nav-brand-mark {
  width: 32px;
  height: 32px;
  position: relative;
}

.nav-brand-mark svg { width: 100%; height: 100%; }

.nav-brand-name {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.nav-brand-name .a { color: var(--teal-bright); }
.nav-brand-name .vira { color: var(--text-bright); }
.nav-brand-name .digital {
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--ember);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a:hover { color: var(--text-bright); }

.nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--teal-bright);
  transition: all 0.25s ease;
}

.nav-cta:hover {
  background: var(--teal);
  color: var(--ink-deep);
}

@media (max-width: 920px) {
  .nav-links { display: none; }
}

/* ====================== HERO ====================== */

.hero {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: var(--space-7);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 35%, rgba(63, 169, 176, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(237, 139, 62, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink-base) 0%, var(--ink-deep) 100%);
}

/* Hero background pattern: connected dots */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(168, 216, 220, 0.15) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--text-bright);
  margin: 24px 0 32px;
}

.hero h1 .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--teal-bright);
}

.hero h1 .ember-stamp {
  color: var(--ember);
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.5;
  color: var(--text);
  max-width: 720px;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--ink-line);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta-num {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--teal-bright);
  letter-spacing: -0.02em;
}

.hero-meta-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-divider { width: 1px; height: 40px; background: var(--ink-line); }

@media (max-width: 720px) {
  .hero-divider { display: none; }
  .hero-meta { gap: 28px; }
  .hero-meta-item { flex-basis: calc(50% - 16px); }
}

.hero-scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-scroll-cue::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--teal), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ====================== RAIL (sticky section indicator) ====================== */

.rail-label {
  position: relative;
  padding-left: 28px;
  margin-bottom: var(--space-2);
}

.rail-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 1px;
  background: var(--teal-bright);
}

/* ====================== REVEAL ANIMATIONS ====================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ====================== CAPABILITY GRID ====================== */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}

.cap-card {
  background: var(--ink-base);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
  position: relative;
  transition: background 0.4s ease;
  cursor: default;
}

.cap-card:hover {
  background: var(--ink-soft);
}

.cap-card:hover .cap-icon { color: var(--teal-bright); transform: scale(1.05); }

.cap-card .num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--text-dim);
}

.cap-icon {
  width: 44px;
  height: 44px;
  color: var(--teal);
  transition: color 0.3s ease, transform 0.3s ease;
}

.cap-icon svg { width: 100%; height: 100%; }

.cap-card h3 { color: var(--text-bright); font-size: 22px; line-height: 1.2; }

.cap-card p { color: var(--text-muted); font-size: 14.5px; }

.cap-card .cap-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cap-tag {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--teal-mist);
  padding: 4px 10px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
}

@media (max-width: 920px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }

/* ====================== APPROACH (B-D-O) ====================== */

.approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: var(--space-4);
}

.approach-step {
  padding: var(--space-4) var(--space-3);
  position: relative;
}

.approach-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1px; top: 24px; bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--ink-line), transparent);
}

.approach-letter {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 96px;
  line-height: 1;
  color: var(--teal-bright);
  opacity: 0.85;
  margin-bottom: 24px;
}

.approach-step h3 {
  font-size: 28px;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.approach-step ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.approach-step li {
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--text);
  position: relative;
  line-height: 1.5;
}

.approach-step li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 1px;
  background: var(--teal);
}

@media (max-width: 920px) {
  .approach { grid-template-columns: 1fr; }
  .approach-step:not(:last-child)::after { display: none; }
  .approach-step { border-bottom: 1px solid var(--ink-line); }
}

/* ====================== RECIPES ====================== */

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.recipe-card {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  min-height: 320px;
}

.recipe-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}

.recipe-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--teal-veil), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.recipe-card:hover::before { opacity: 1; }

.recipe-visual {
  width: 56px;
  height: 56px;
  color: var(--teal-bright);
  margin-bottom: 20px;
}

.recipe-visual svg { width: 100%; height: 100%; }

.recipe-card .tag {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 8px;
}

.recipe-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--text-bright);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.recipe-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  flex: 1;
}

.recipe-card .metric {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--ink-line);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.recipe-card .metric-val {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--teal-bright);
}

.recipe-card .metric-lbl {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 920px) { .recipes-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .recipes-grid { grid-template-columns: 1fr; } }

/* ====================== ATHENA / WORKBENCH ====================== */

.workbench {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-6);
  align-items: center;
  margin-top: var(--space-5);
}

@media (max-width: 920px) { .workbench { grid-template-columns: 1fr; gap: var(--space-5); } }

.workbench-copy h2 { color: var(--text-bright); margin-bottom: 24px; }

.workbench-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 32px;
}

.pill {
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border: 1px solid var(--teal-deep);
  border-radius: 999px;
  color: var(--teal-mist);
  background: rgba(63, 169, 176, 0.06);
}

.is-is-not {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  overflow: hidden;
}

.is-is-not > div {
  padding: 22px 20px;
  background: var(--ink-base);
}

.is-is-not .is { background: rgba(63, 169, 176, 0.04); }
.is-is-not .is-not { background: rgba(237, 139, 62, 0.03); }

.is-is-not h4 {
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
}

.is-is-not .is h4 { color: var(--teal-bright); }
.is-is-not .is-not h4 { color: var(--ember); }

.is-is-not ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.is-is-not li {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.45;
  padding-left: 14px;
  position: relative;
}
.is-is-not li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
}
.is-is-not .is li::before { background: var(--teal-bright); }
.is-is-not .is-not li::before { background: var(--ember); }

@media (max-width: 600px) { .is-is-not { grid-template-columns: 1fr; } }

/* ====================== SECOND BRAIN DIAGRAM ====================== */

.brain-stage {
  position: relative;
  aspect-ratio: 1 / 0.95;
  background: radial-gradient(ellipse at center, rgba(63, 169, 176, 0.10), transparent 70%);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.brain-label-top {
  display: flex;
  justify-content: space-around;
  margin-bottom: 28px;
}

.brain-actor {
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brain-actor .dot {
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ember);
  margin: 0 auto 8px;
  box-shadow: 0 0 12px var(--ember);
}

.brain-actor .descend {
  display: block;
  width: 1px; height: 22px;
  margin: 8px auto 0;
  background: linear-gradient(180deg, var(--ember-soft), transparent);
}

.boundary-ring {
  flex: 1;
  border: 1px solid rgba(63, 169, 176, 0.4);
  border-radius: 22px;
  padding: 24px;
  background:
    radial-gradient(ellipse at center, rgba(63, 169, 176, 0.06), transparent 75%),
    rgba(255, 255, 255, 0.005);
  box-shadow:
    0 0 60px rgba(63, 169, 176, 0.08),
    inset 0 0 80px rgba(63, 169, 176, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  animation: boundaryPulse 8s ease-in-out infinite;
}

@keyframes boundaryPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(63, 169, 176, 0.08), inset 0 0 80px rgba(63, 169, 176, 0.04); }
  50% { box-shadow: 0 0 95px rgba(63, 169, 176, 0.14), inset 0 0 110px rgba(63, 169, 176, 0.07); }
}

.boundary-ring::before, .boundary-ring::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--teal-bright);
}
.boundary-ring::before {
  top: -1px; left: -1px;
  border-right: none; border-bottom: none;
  border-top-left-radius: 22px;
}
.boundary-ring::after {
  bottom: -1px; right: -1px;
  border-left: none; border-top: none;
  border-bottom-right-radius: 22px;
}

.brain-title {
  text-align: center;
  margin-bottom: 18px;
}
.brain-title .label {
  font-family: 'Geist', sans-serif;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal-bright);
}
.brain-title .name {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--text-bright);
  margin-top: 4px;
}
.brain-title .name .it { color: var(--teal-bright); }

.brain-facets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.facet {
  padding: 10px 6px 8px;
  border-top: 1px solid rgba(168, 216, 220, 0.18);
  text-align: center;
}

.facet .lbl {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-bright);
  font-weight: 500;
  margin-bottom: 4px;
}

.facet .dsc {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 11px;
  color: var(--text-muted);
}

.brain-twins {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 16px 0 12px;
  border-top: 1px solid rgba(168, 216, 220, 0.1);
  flex: 1;
  align-content: center;
}

.twin {
  text-align: center;
}

.twin-node {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal-bright);
  margin: 0 auto 10px;
  box-shadow: 0 0 14px var(--teal), 0 0 28px rgba(63, 169, 176, 0.4);
  animation: twinPulse 3.6s ease-in-out infinite;
}

.twin:nth-child(2) .twin-node { animation-delay: 0.4s; }
.twin:nth-child(3) .twin-node { animation-delay: 0.8s; }
.twin:nth-child(4) .twin-node { animation-delay: 1.2s; }

@keyframes twinPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 14px var(--teal), 0 0 28px rgba(63, 169, 176, 0.4); }
  50% { transform: scale(1.25); box-shadow: 0 0 22px var(--teal-bright), 0 0 44px rgba(93, 195, 202, 0.55); }
}

.twin-name {
  font-size: 11.5px;
  color: var(--text-bright);
  font-weight: 500;
  margin-bottom: 2px;
}

.twin-role {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 10.5px;
  color: var(--text-muted);
}

.brain-quote {
  text-align: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(168, 216, 220, 0.1);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--text);
}

/* ====================== PRINCIPLES ====================== */

.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: var(--space-5);
}

.principle {
  background: var(--paper);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
}

.principle-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 64px;
  color: var(--teal);
  line-height: 0.9;
  margin-bottom: 28px;
}

.principle h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--ink-base);
  margin-bottom: 14px;
  line-height: 1.1;
}

.principle h3 em { color: var(--teal-deep); }

.principle p {
  color: #4a5e63;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .principles-grid { grid-template-columns: 1fr; }
}

/* ====================== CASE STUDIES ====================== */

.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.case {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.case:hover { transform: translateY(-3px); border-color: var(--teal); }

.case-header {
  padding: 28px 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.case-vertical {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 500;
}

.case-mark {
  width: 36px; height: 36px;
  color: var(--teal-bright);
  opacity: 0.7;
}
.case-mark svg { width: 100%; height: 100%; }

.case-body { padding: 18px 32px 28px; }

.case h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--text-bright);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.case h3 em { color: var(--teal-bright); }

.case-pitch {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 22px;
}

.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding: 20px 32px;
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid var(--ink-line);
}

.case-stat {
  display: flex;
  flex-direction: column;
}

.case-stat .v {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  color: var(--teal-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}

.case-stat .l {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.3;
}

@media (max-width: 920px) { .cases-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .case-stats { grid-template-columns: 1fr; } }

/* ====================== INDUSTRIES ====================== */

.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-line);
  margin-top: var(--space-4);
}

.industry {
  background: var(--ink-base);
  padding: var(--space-4);
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: background 0.4s ease;
  cursor: default;
  overflow: hidden;
}

.industry:hover { background: var(--ink-soft); }

.industry::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry:hover::before { transform: scaleX(1); }

.industry-status {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.industry-status .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-right: 8px;
  background: var(--text-dim);
}

.industry-status.mature .dot { background: var(--teal-bright); }
.industry-status.mature { color: var(--teal-bright); }
.industry-status.emerging .dot { background: var(--ember); }
.industry-status.emerging { color: var(--ember); }

.industry h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 36px;
  color: var(--text-bright);
  line-height: 1.05;
  margin-bottom: 18px;
}

.industry p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 24px;
}

.industry-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.industry-tag {
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(168, 216, 220, 0.06);
  color: var(--teal-mist);
  border: 1px solid rgba(168, 216, 220, 0.12);
}

@media (max-width: 920px) { .industries { grid-template-columns: 1fr; } }

/* ====================== WHY AVIRA ====================== */

.why-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin: var(--space-5) 0 var(--space-5);
}

.why-stat {
  border-left: 1px solid var(--ink-line);
  padding-left: 22px;
}

.why-stat .v {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 64px;
  color: var(--teal-bright);
  letter-spacing: -0.03em;
  line-height: 1;
}

.why-stat .v sup {
  font-size: 24px;
  color: var(--ember);
  vertical-align: top;
  margin-left: 4px;
  font-style: italic;
}

.why-stat .l {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.4;
  max-width: 22ch;
}

@media (max-width: 920px) { .why-numbers { grid-template-columns: 1fr 1fr; } }

.clients-strip {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--ink-line);
}

.clients-strip .eyebrow { margin-bottom: 24px; }

.clients-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-5);
  align-items: center;
}

.client {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.client:hover { color: var(--text-bright); }

.client em { font-style: italic; color: var(--teal-mist); }

/* ====================== INSIGHT QUOTE BLOCK ====================== */

.insight-block {
  margin: var(--space-7) auto 0;
  max-width: 980px;
  padding: var(--space-5);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  text-align: center;
}

.insight-block .quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.18;
  color: var(--text-bright);
  letter-spacing: -0.015em;
}

.insight-block .attr {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ====================== CTA / FOOTER ====================== */

.cta-section {
  background: var(--ink-deep);
  padding: var(--space-7) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(63, 169, 176, 0.12), transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-inner h2 {
  color: var(--text-bright);
  font-size: clamp(40px, 5.5vw, 76px);
  margin-bottom: 28px;
  line-height: 1;
}

.cta-inner h2 em { color: var(--teal-bright); font-weight: 300; }

.cta-inner p { color: var(--text-muted); font-size: 18px; max-width: 600px; margin: 0 auto 36px; }

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ink-deep);
}

.btn-primary:hover {
  background: var(--teal-bright);
  border-color: var(--teal-bright);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--ink-line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--teal-bright);
  color: var(--teal-bright);
}

footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--ink-line);
  padding: var(--space-5) 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.footer-col h4 {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--text-bright); }

.footer-brand-text {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 32ch;
  line-height: 1.4;
}

.footer-meta {
  padding-top: 28px;
  border-top: 1px solid var(--ink-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
}

.footer-meta a { color: var(--text-dim); }
.footer-meta a:hover { color: var(--text); }

@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ====================== UTILITIES ====================== */

.divider-fade {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-line), transparent);
  margin: var(--space-5) 0;
}

/* ====================== PAGE-SPECIFIC ADDITIONS ====================== */

/* Compact page hero (subpages) */
.page-hero {
  min-height: 60vh;
  padding-top: 140px;
  padding-bottom: var(--space-6);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 35%, rgba(63, 169, 176, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 80% 80%, rgba(237, 139, 62, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink-base) 0%, var(--ink-deep) 100%);
}

.page-hero h1 {
  font-size: clamp(44px, 6.5vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.022em;
  color: var(--text-bright);
  margin: 22px 0 28px;
  max-width: 17ch;
}

.page-hero h1 .accent { font-style: italic; font-weight: 300; color: var(--teal-bright); }
.page-hero h1 .ember-stamp { color: var(--ember); font-style: italic; font-weight: 300; }

/* Active nav state */
.nav-links a.active {
  color: var(--teal-bright);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--teal-bright);
}

/* Deep capability detail blocks */
.cap-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--ink-line);
  align-items: start;
}

.cap-detail:last-child { border-bottom: 1px solid var(--ink-line); }

@media (max-width: 920px) { .cap-detail { grid-template-columns: 1fr; gap: var(--space-3); } }

.cap-detail-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--ember);
  letter-spacing: 0.18em;
}

.cap-detail h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text-bright);
  margin: 8px 0 16px;
}

.cap-detail h3 em { color: var(--teal-bright); font-weight: 300; }

.cap-detail .lede { font-size: 17px; color: var(--text); margin-bottom: 24px; }

.cap-detail-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.cap-detail-list li {
  padding-left: 16px;
  font-size: 14.5px;
  color: var(--text);
  position: relative;
  line-height: 1.5;
}

.cap-detail-list li strong {
  display: block;
  font-weight: 500;
  color: var(--text-bright);
  margin-bottom: 4px;
  font-size: 14.5px;
}

.cap-detail-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 1px;
  background: var(--teal);
}

@media (max-width: 720px) { .cap-detail-list { grid-template-columns: 1fr; } }

.cap-detail-side {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  padding: 24px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.cap-detail-side h4 {
  font-family: 'Geist', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 14px;
  font-weight: 500;
}

.cap-detail-side ul { list-style: none; }
.cap-detail-side li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(168, 216, 220, 0.08);
}
.cap-detail-side li:last-child { border-bottom: none; }

.cap-detail-side a {
  color: var(--teal-mist);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s;
}

.cap-detail-side a:hover { color: var(--teal-bright); }

/* Industry feature blocks */
.industry-feature {
  padding: var(--space-7) 0;
  border-top: 1px solid var(--ink-line);
}

.industry-feature:first-of-type { border-top: none; }

.industry-feature-head {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: var(--space-5);
  align-items: start;
  margin-bottom: var(--space-5);
}

@media (max-width: 920px) { .industry-feature-head { grid-template-columns: 1fr; gap: var(--space-3); } }

.industry-feature-tag {
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 16px;
}

.industry-feature-tag.emerging { color: var(--ember); }

.industry-feature h2 {
  font-size: clamp(40px, 5vw, 64px);
  color: var(--text-bright);
  line-height: 1;
  letter-spacing: -0.02em;
}

.industry-feature h2 em { color: var(--teal-bright); font-weight: 300; }

.industry-feature .pitch {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
}

.industry-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  margin-top: var(--space-4);
}

@media (max-width: 720px) { .industry-feature-grid { grid-template-columns: 1fr; } }

.industry-sub {
  background: var(--ink-base);
  padding: 28px 24px;
}

.industry-sub h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--text-bright);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}

.industry-sub h4 em { color: var(--teal-bright); }

.industry-sub p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* Insight / case study layouts */
.featured-case {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: var(--space-5);
  margin-top: var(--space-5);
  margin-bottom: var(--space-7);
  align-items: center;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--ink-line);
}

@media (max-width: 920px) { .featured-case { grid-template-columns: 1fr; } }

.featured-case-tag {
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 18px;
}

.featured-case h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  color: var(--text-bright);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.featured-case h2 em { color: var(--teal-bright); font-weight: 300; }

.featured-case .lede { color: var(--text); font-size: 17px; line-height: 1.55; margin-bottom: 28px; }

.featured-case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-line);
}

.featured-case-stat .v {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  color: var(--teal-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}

.featured-case-stat .l {
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.4;
}

.featured-case-visual {
  background:
    radial-gradient(ellipse at center, rgba(63, 169, 176, 0.12), transparent 70%),
    var(--ink-soft);
  border-radius: 18px;
  border: 1px solid var(--ink-line);
  padding: 40px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-case-visual svg { width: 100%; max-width: 380px; height: auto; color: var(--teal-bright); }

/* Recipe detail (labs page) */
.recipe-detail {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  padding: 36px;
  margin-bottom: var(--space-3);
  display: grid;
  grid-template-columns: 0.4fr 1.6fr 0.6fr;
  gap: var(--space-4);
  align-items: start;
  transition: border-color 0.3s ease;
}

.recipe-detail:hover { border-color: var(--teal); }

@media (max-width: 920px) { .recipe-detail { grid-template-columns: 1fr; } }

.recipe-detail-visual {
  width: 80px;
  height: 80px;
  color: var(--teal-bright);
}

.recipe-detail-visual svg { width: 100%; height: 100%; }

.recipe-detail h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--text-bright);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 6px;
}

.recipe-detail h3 em { color: var(--teal-bright); }

.recipe-detail .tag {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 14px;
}

.recipe-detail .desc {
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.recipe-detail .ships-with {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.recipe-detail .ships-with span {
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(168, 216, 220, 0.06);
  color: var(--teal-mist);
  border: 1px solid rgba(168, 216, 220, 0.12);
}

.recipe-detail-metric {
  text-align: right;
  padding-left: 24px;
  border-left: 1px solid var(--ink-line);
}

@media (max-width: 920px) {
  .recipe-detail-metric {
    text-align: left;
    padding-left: 0;
    padding-top: 20px;
    border-left: none;
    border-top: 1px solid var(--ink-line);
  }
}

.recipe-detail-metric .v {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  color: var(--teal-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}

.recipe-detail-metric .l {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Timeline (about page) */
.timeline {
  margin: var(--space-5) 0;
  border-left: 1px solid var(--ink-line);
  padding-left: 40px;
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-5);
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -47px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--ink-deep);
  border: 2px solid var(--teal);
  border-radius: 50%;
}

.timeline-item .year {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--teal-bright);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.timeline-item h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--text-bright);
  margin-bottom: 10px;
}

.timeline-item p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 64ch;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-6);
  margin-top: var(--space-5);
}

@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: var(--space-4); } }

.contact-info h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--text-bright);
  margin-bottom: 18px;
}

.contact-info p {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.contact-info ul {
  list-style: none;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-line);
}

.contact-info li {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
}

.contact-info li .lbl {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 4px;
}

.contact-info li .val {
  color: var(--text);
  font-size: 15px;
}

.contact-info li a { color: var(--text-bright); }
.contact-info li a:hover { color: var(--teal-bright); }

.contact-form {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 16px;
  padding: 36px;
}

.contact-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--ink-deep);
  border: 1px solid var(--ink-line);
  border-radius: 8px;
  color: var(--text-bright);
  font-family: inherit;
  font-size: 14.5px;
  margin-bottom: 20px;
  transition: border-color 0.25s;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.contact-form textarea { min-height: 120px; resize: vertical; font-family: inherit; }

.contact-form button {
  background: var(--teal);
  color: var(--ink-deep);
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  font-family: inherit;
}

.contact-form button:hover {
  background: var(--teal-bright);
  transform: translateY(-2px);
}

/* Process / pipeline visual */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  overflow: hidden;
  margin-top: var(--space-4);
}

@media (max-width: 720px) { .process-flow { grid-template-columns: 1fr 1fr; } }

.process-step {
  background: var(--ink-base);
  padding: 26px 22px;
  position: relative;
}

.process-step .step-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 36px;
  color: var(--teal-bright);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.process-step h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.process-step .meta {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
}

.process-step p { color: var(--text-muted); font-size: 13.5px; line-height: 1.5; }

/* Highlight bar in cream sections */
.section-cream .highlight {
  border-left: 2px solid var(--teal);
  padding-left: 24px;
}

.section-cream .highlight h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  color: var(--ink-base);
  line-height: 1.3;
}


/* ====================== HOME PAGE (REDESIGN) ====================== */

/* Manifesto block — "what we stand for" */
.manifesto {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: var(--space-5);
  margin-top: var(--space-4);
  align-items: start;
}

@media (max-width: 920px) { .manifesto { grid-template-columns: 1fr; gap: var(--space-3); } }

.manifesto-stack { display: flex; flex-direction: column; gap: var(--space-3); }

.manifesto-line {
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.manifesto-line:last-child { border-bottom: none; padding-bottom: 0; }

.manifesto-line .label {
  font-family: 'Geist', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: 10px;
}
.manifesto-line .label.against { color: var(--ember); }

.manifesto-line h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.2;
  color: var(--ink-base);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.manifesto-line p {
  color: #4a5e63;
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 62ch;
}

/* Offer rows — "what we offer" */
.offer-rows {
  margin-top: var(--space-4);
  border-top: 1px solid var(--ink-line);
}

.offer-row {
  display: grid;
  grid-template-columns: 0.3fr 1.7fr 0.5fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--ink-line);
  align-items: center;
  transition: padding 0.4s ease, background 0.4s ease;
  position: relative;
}

.offer-row::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 1px;
  background: var(--teal-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.offer-row:hover::before { transform: scaleX(1); }
.offer-row:hover { padding-left: 12px; padding-right: 12px; }

.offer-row a { display: contents; color: inherit; text-decoration: none; }

.offer-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 56px;
  color: var(--teal-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}

.offer-content h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--text-bright);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.offer-content h3 em { color: var(--teal-bright); font-weight: 300; }

.offer-content p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 64ch;
}

.offer-arrow {
  text-align: right;
  font-size: 13px;
  color: var(--teal-mist);
  letter-spacing: 0.05em;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.offer-row:hover .offer-arrow { color: var(--teal-bright); transform: translateX(6px); }

@media (max-width: 720px) {
  .offer-row { grid-template-columns: 1fr; gap: 12px; padding: var(--space-3) 0; }
  .offer-arrow { text-align: left; justify-self: start; }
  .offer-num { font-size: 36px; }
}

/* Proof — featured outcomes on home */
.proof-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

@media (max-width: 920px) { .proof-pair { grid-template-columns: 1fr; } }

.proof-card {
  background: linear-gradient(180deg, var(--ink-soft) 0%, var(--ink-base) 100%);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.proof-card:hover { border-color: var(--teal); transform: translateY(-2px); }

.proof-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(63, 169, 176, 0.10), transparent 70%);
  pointer-events: none;
}

.proof-card .meta {
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 24px;
}

.proof-card .headline-stat {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(56px, 7vw, 96px);
  color: var(--teal-bright);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 18px;
}

.proof-card .headline-stat sub {
  font-style: italic;
  font-size: 20px;
  color: var(--ember);
  vertical-align: baseline;
  margin-left: 10px;
}

.proof-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--text-bright);
  line-height: 1.25;
  margin-bottom: 12px;
}

.proof-card h3 em { color: var(--teal-bright); }

.proof-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 24px;
}

.proof-card .link {
  margin-top: auto;
  font-size: 13px;
  color: var(--teal-bright);
  letter-spacing: 0.05em;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.proof-card:hover .link { gap: 14px; }

/* Anchor — a single editorial paragraph for "the gap" framing */
.anchor-statement {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-3) 0;
}

.anchor-statement .eyebrow { margin-bottom: 20px; }

.anchor-statement h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--text-bright);
  margin-bottom: 28px;
}

.anchor-statement h2 .it { color: var(--teal-bright); }
.anchor-statement h2 .ember { color: var(--ember); }

.anchor-statement p {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--text);
  max-width: 68ch;
  margin: 0 auto;
}


/* ====================== ABOUT PAGE (REDESIGN) ====================== */

/* Founding thesis - editorial centered */
.thesis {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-4) 0;
}

.thesis-eyebrow {
  text-align: center;
  margin-bottom: 28px;
}

.thesis h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--text-bright);
  text-align: center;
  margin-bottom: var(--space-4);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.thesis h2 .it { color: var(--teal-bright); font-weight: 300; }
.thesis h2 .ember { color: var(--ember); font-weight: 300; font-style: italic; }

.thesis-body {
  max-width: 64ch;
  margin: 0 auto;
}

.thesis-body p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 24px;
}

.thesis-body p:first-letter {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 56px;
  font-weight: 400;
  color: var(--teal-bright);
  float: left;
  line-height: 0.9;
  margin: 6px 12px 0 0;
}

.thesis-sig {
  text-align: center;
  margin-top: var(--space-4);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text-muted);
}

.thesis-sig::before, .thesis-sig::after {
  content: '⬦';
  margin: 0 12px;
  color: var(--teal);
}

/* Leadership feature */
.leader-feature {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: var(--space-5);
  align-items: center;
  margin-top: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--ink-line);
}

@media (max-width: 920px) {
  .leader-feature { grid-template-columns: 1fr; gap: var(--space-4); }
}

.leader-portrait {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 30% 30%, rgba(63, 169, 176, 0.20), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(237, 139, 62, 0.06), transparent 60%),
    var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.leader-portrait::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(63, 169, 176, 0.15);
  border-radius: 12px;
}

.leader-monogram {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(80px, 12vw, 160px);
  color: var(--teal-bright);
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0.95;
}

.leader-portrait .corner-mark {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.leader-info .role {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 14px;
  font-weight: 500;
}

.leader-info h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 56px);
  color: var(--text-bright);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 22px;
}

.leader-info h3 em { color: var(--teal-bright); font-weight: 300; }

.leader-bio {
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 56ch;
}

.leader-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.4;
  color: var(--teal-bright);
  border-left: 2px solid var(--teal);
  padding-left: 22px;
  max-width: 52ch;
}

.leader-quote-attr {
  font-family: 'Geist', sans-serif;
  font-style: normal;
  display: block;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* The team aggregate description */
.team-block {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: var(--space-5);
  padding-top: var(--space-5);
}

@media (max-width: 920px) { .team-block { grid-template-columns: 1fr; gap: var(--space-3); } }

.team-block h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--text-bright);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.team-block h4 em { color: var(--teal-bright); }

.team-block p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 58ch;
}

/* Journey timeline (improved) - more narrative, less listy */
.journey {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.journey-row {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--ink-line);
  align-items: start;
}

.journey-row:last-child { border-bottom: 1px solid var(--ink-line); }

@media (max-width: 920px) { .journey-row { grid-template-columns: 1fr; gap: var(--space-2); padding: var(--space-4) 0; } }

.journey-marker {
  position: relative;
  padding-right: 24px;
}

.journey-period {
  font-family: 'Geist', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 8px;
  font-weight: 500;
}

.journey-era {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--teal-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}

.journey-content h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--text-bright);
  letter-spacing: -0.012em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.journey-content h4 em { color: var(--teal-bright); font-weight: 300; }

.journey-content p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 62ch;
}

.journey-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.journey-tag {
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(168, 216, 220, 0.06);
  color: var(--teal-mist);
  border: 1px solid rgba(168, 216, 220, 0.12);
}

/* Recognition / awards strip */
.recognition {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  overflow: hidden;
  margin-top: var(--space-4);
}

@media (max-width: 720px) { .recognition { grid-template-columns: 1fr; } }

.recognition-item {
  background: var(--ink-base);
  padding: 28px 24px;
}

.recognition-item .year {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--ember);
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.recognition-item h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--text-bright);
  margin-bottom: 10px;
  line-height: 1.2;
}

.recognition-item h4 em { color: var(--teal-bright); }

.recognition-item p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Where we show up — more editorial than cards */
.presence {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

@media (max-width: 920px) { .presence { grid-template-columns: 1fr; } }

.presence-block {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--ink-line);
}

.presence-block .label {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 14px;
  font-weight: 500;
}

.presence-block h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--text-bright);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.presence-block h4 em { color: var(--teal-bright); }

.presence-block p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.presence-list {
  list-style: none;
  margin-top: 14px;
}

.presence-list li {
  font-size: 13.5px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid rgba(168, 216, 220, 0.08);
}

.presence-list li:last-child { border-bottom: none; }

.presence-list li em {
  font-style: italic;
  color: var(--teal-mist);
  margin-right: 8px;
}

/* Vision statement - full-bleed editorial */
.vision {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-6) 0;
}

.vision .eyebrow {
  margin-bottom: 32px;
}

.vision h2 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--text-bright);
  margin-bottom: 32px;
}

.vision h2 .it { color: var(--teal-bright); font-weight: 300; }
.vision h2 .ember { color: var(--ember); font-weight: 300; font-style: italic; }

.vision-body {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text);
  max-width: 60ch;
  margin: 0 auto;
}

/* Clients/partners tier system */
.client-tier {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--ink-line);
}

.client-tier:first-child { border-top: none; margin-top: 0; padding-top: 0; }

.client-tier-label {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 18px;
  font-weight: 500;
}


/* Athena reference styling — italic teal accent inside body copy */
.anchor-statement p em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal-bright);
  background: linear-gradient(180deg, transparent 60%, rgba(63, 169, 176, 0.10) 60%, rgba(63, 169, 176, 0.10) 88%, transparent 88%);
  padding: 0 2px;
}

.offer-content p em.athena {
  font-style: italic;
  color: var(--teal-bright);
  font-weight: 400;
}

.proof-card .meta .athena-tag {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 10px;
  border: 1px solid rgba(63, 169, 176, 0.3);
  border-radius: 999px;
  color: var(--teal-bright);
  font-size: 9.5px;
  letter-spacing: 0.18em;
}

/* "Decision systems" - subtle positioning emphasis in anchor paragraph */
.anchor-statement p strong {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: -0.005em;
  position: relative;
  padding: 0 1px;
}

.anchor-statement p strong::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--teal-bright);
  opacity: 0.5;
}

/* ====================== IMAGE TREATMENT ====================== */

/* Hero background image — atmospheric, heavily treated */
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.95) contrast(1.1) brightness(0.35);
  opacity: 0.85;
}

.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 35%, rgba(63, 169, 176, 0.22) 0%, transparent 55%),
    linear-gradient(135deg, rgba(63, 169, 176, 0.15), rgba(10, 37, 48, 0.5)),
    linear-gradient(180deg, rgba(10, 37, 48, 0.55) 0%, rgba(5, 24, 32, 0.9) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Industry hero image — wide cinematic banner */
.industry-hero-img {
  width: 100%;
  aspect-ratio: 21 / 8;
  margin-bottom: var(--space-4);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  position: relative;
  background: var(--ink-soft);
}

.industry-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.1) brightness(0.6) saturate(0.5);
  display: block;
}

.industry-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(63, 169, 176, 0.30) 0%, transparent 50%, rgba(10, 37, 48, 0.55) 100%),
    radial-gradient(ellipse at top right, rgba(63, 169, 176, 0.15), transparent 60%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.industry-hero-img.emerging::after {
  background:
    linear-gradient(135deg, rgba(237, 139, 62, 0.22) 0%, transparent 50%, rgba(10, 37, 48, 0.55) 100%),
    radial-gradient(ellipse at top right, rgba(237, 139, 62, 0.12), transparent 60%);
}

/* Industry hero text-overlay on the image */
.industry-hero-label {
  position: absolute;
  bottom: 22px;
  left: 28px;
  z-index: 2;
  font-family: 'Geist', sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-bright);
  font-weight: 500;
  opacity: 0.9;
}

.industry-hero-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--teal-bright);
  vertical-align: middle;
  margin-right: 14px;
  transform: translateY(-2px);
}

.industry-hero-img.emerging .industry-hero-label::before {
  background: var(--ember);
}


/* SVG inline illustrations - render same as img children */
.hero-bg-image svg,
.industry-hero-img svg {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}

/* When using SVG, the duotone filter doesn't apply — but the ::after overlay still adds the brand wash */
.industry-hero-img:has(svg)::after {
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(10, 37, 48, 0.55) 100%),
    linear-gradient(180deg, transparent 60%, rgba(5, 24, 32, 0.6) 100%);
}

.industry-hero-img.emerging:has(svg)::after {
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(10, 37, 48, 0.55) 100%),
    linear-gradient(180deg, transparent 60%, rgba(5, 24, 32, 0.6) 100%);
}


/* Brand-aligned local images — already toned, minimal filter */
.hero-bg-image img {
  filter: brightness(0.85) contrast(1.05);
  opacity: 1;
}

.industry-hero-img img {
  filter: brightness(0.95) contrast(1.05);
}

/* ====================== MANIFESTO IMAGE ====================== */
.manifesto-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.manifesto-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 30px 60px -25px rgba(10, 37, 48, 0.30);
}

.manifesto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) contrast(1.05) brightness(0.95);
}

.manifesto-left .eyebrow {
  margin-top: 4px;
}


/* Override earlier filter rules — appropriate treatment for real Unsplash photos.
   Partial desaturation + darkening lets brand teal/ember overlay come through
   without making photos look fake or oversaturated. */
.hero-bg-image img {
  filter: grayscale(0.5) contrast(1.05) brightness(0.50) saturate(0.85) !important;
  opacity: 0.9 !important;
}

.industry-hero-img img {
  filter: grayscale(0.45) contrast(1.08) brightness(0.65) saturate(0.85) !important;
}


/* ====================== LEADERSHIP GRID ====================== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 80px;
}

.leader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 22px 32px;
  border-radius: 14px;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  position: relative;
}

.leader-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  background: rgba(63, 169, 176, 0.04);
}

.leader-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(93, 195, 202, 0.7) 0%, transparent 60%),
    linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 60%, var(--teal-bright) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  box-shadow:
    inset 0 0 0 1px rgba(168, 216, 220, 0.25),
    0 14px 28px -10px rgba(0, 0, 0, 0.45);
  position: relative;
}

.leader-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(63, 169, 176, 0.18);
}

.leader-avatar span {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  color: var(--text-bright);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.leader-card-meta {
  width: 100%;
}

.leader-card .leader-role {
  font-family: 'Geist', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 12px;
}

.leader-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-bright);
  margin: 0 0 18px;
}

.leader-card h3 em {
  font-style: italic;
  color: var(--teal-bright);
}

.leader-linkedin {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-line);
  width: 100%;
  justify-content: center;
  transition: color 0.3s ease;
}

.leader-linkedin .arr {
  font-size: 11px;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.leader-card:hover .leader-linkedin {
  color: var(--teal-bright);
}

.leader-card:hover .leader-linkedin .arr {
  transform: translate(2px, -2px);
}

/* ============= CEO PROMISE quote feature ============= */
.ceo-promise {
  max-width: 920px;
  margin: 0 auto 60px;
  padding: 56px 64px 48px;
  background:
    linear-gradient(135deg, rgba(63, 169, 176, 0.05) 0%, transparent 60%),
    var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  position: relative;
  text-align: center;
}

.ceo-promise-mark {
  font-family: 'Fraunces', serif;
  font-size: 84px;
  line-height: 0.6;
  color: var(--teal);
  opacity: 0.45;
  margin-bottom: 8px;
  font-style: italic;
}

.ceo-promise-quote {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text-bright);
  margin: 0 0 32px;
}

.ceo-promise-attr {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  font-family: 'Geist', sans-serif;
}

.ceo-promise-attr .attr-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-bright);
  letter-spacing: 0.02em;
}

.ceo-promise-attr .attr-context {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-bright);
}

/* Responsive */
@media (max-width: 1100px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .ceo-promise {
    padding: 40px 28px 32px;
  }
}


/* ====================== CAPABILITIES TILE GRID ====================== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.cap-tile {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  padding: 36px 30px 32px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.2,.6,.2,1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.cap-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(63, 169, 176, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.cap-tile:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  background: rgba(63, 169, 176, 0.04);
}

.cap-tile:hover::before {
  opacity: 1;
}

.cap-tile:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 2px;
}

.cap-tile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.cap-tile-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 32px;
  color: var(--teal-bright);
  line-height: 1;
}

.cap-tile-icon {
  width: 38px;
  height: 38px;
  color: var(--teal);
  opacity: 0.85;
  flex-shrink: 0;
}

.cap-tile h3 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-bright);
  margin: 0;
}

.cap-tile h3 em {
  font-style: italic;
  color: var(--teal-bright);
}

.cap-tile p {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  flex-grow: 1;
}

.cap-tile-link {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-bright);
  letter-spacing: 0.04em;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cap-tile-link .arr {
  font-size: 13px;
  transition: transform 0.3s ease;
}

.cap-tile:hover .cap-tile-link .arr {
  transform: translateX(4px);
}

/* ====================== CAPABILITY MODAL ====================== */
.cap-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cap-modal[aria-hidden="false"] {
  display: flex;
  animation: capModalFade 0.25s ease;
}

@keyframes capModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cap-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 24, 32, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.cap-modal-panel {
  position: relative;
  background: var(--ink-base);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  width: min(920px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: 56px 56px 48px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  animation: capModalSlide 0.3s cubic-bezier(.2,.7,.2,1);
}

@keyframes capModalSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cap-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--ink-line);
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.cap-modal-close:hover {
  border-color: var(--teal);
  color: var(--teal-bright);
}

.cap-modal-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ink-line);
}

.cap-modal-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  color: var(--teal-bright);
  margin-bottom: 10px;
}

.cap-modal-panel h3 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-bright);
  margin: 0 0 16px;
}

.cap-modal-panel h3 em {
  font-style: italic;
  color: var(--teal-bright);
}

.cap-modal-lede {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0;
  letter-spacing: -0.005em;
}

.cap-modal-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
}

.cap-modal-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cap-modal-items li {
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cap-modal-items li:last-child {
  border-bottom: none;
}

.cap-modal-items strong {
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: -0.005em;
}

.cap-modal-items span {
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.cap-modal-side {
  background: rgba(63, 169, 176, 0.04);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  padding: 24px 24px 24px;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.cap-modal-side h4 {
  font-family: 'Geist', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin: 0 0 16px;
}

.cap-modal-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cap-modal-side li {
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-soft);
  padding: 8px 0;
  padding-left: 16px;
  position: relative;
}

.cap-modal-side li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: var(--teal);
}

body.cap-modal-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cap-modal-body {
    grid-template-columns: 1fr;
  }
  .cap-modal-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }
  .cap-modal-panel {
    padding: 48px 28px 32px;
  }
}


/* ====================== APPROACH ROWS — image+text alternating ====================== */
.approach-rows {
  padding-top: 120px;
  padding-bottom: 120px;
}

.approach-eyebrow {
  text-align: center;
  margin-bottom: 80px;
}

.approach-eyebrow .eyebrow {
  color: var(--text-bright);
  letter-spacing: 0.3em;
}

.approach-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
  margin-bottom: 100px;
}

.approach-row:last-child {
  margin-bottom: 0;
}

.approach-row.reverse .approach-row-image {
  order: 2;
}

.approach-row.reverse .approach-row-text {
  order: 1;
}

.approach-row-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink-soft);
  position: relative;
}

.approach-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Real photography at full brightness — no filters! */
  filter: none !important;
  opacity: 1 !important;
}

.approach-row-text h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text-bright);
  margin: 0 0 24px;
}

.approach-row-text h2 .it-display {
  font-style: italic;
  font-weight: 300;
}

.approach-row-text p {
  font-family: 'Geist', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 36px;
  max-width: 48ch;
}

.approach-row-link {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.approach-row-link .arr {
  font-size: 16px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.approach-row-link:hover {
  color: var(--teal-bright);
}

.approach-row-link:hover .arr {
  transform: translateX(6px);
}

@media (max-width: 900px) {
  .approach-row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
  }
  .approach-row.reverse .approach-row-image,
  .approach-row.reverse .approach-row-text {
    order: unset;
  }
  .approach-rows {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}


/* ====================== INDUSTRIES — image-text rows (QuantumBlack pattern) ====================== */
.industry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 60px;
}

.industry-row.reverse .industry-row-image {
  order: 2;
}

.industry-row.reverse .industry-row-content {
  order: 1;
}

.industry-row-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink-soft);
}

.industry-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Full color, no heavy filter */
  filter: none !important;
  opacity: 1 !important;
}

.industry-row-content h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text-bright);
  margin: 16px 0 24px;
}

.industry-row-content h2 em {
  font-style: italic;
  color: var(--teal-bright);
}

.industry-row-content .pitch {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0 0 24px;
}

@media (max-width: 900px) {
  .industry-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .industry-row.reverse .industry-row-image,
  .industry-row.reverse .industry-row-content {
    order: unset;
  }
}

