:root {
  --bg-blue:        #063462;
  --bg-blue-soft:   #0A4378;
  --bg-blue-deep:   #04254A;
  --bg-blue-edge:   #1B4F8A;

  --white:          #FFFFFF;
  --cyan:           #89EBEF;
  --cyan-deep:      #6BD4D8;
  --orange:         #FF6723;
  --orange-soft:    #FF8A4F;
  --gray-light:     #D2D2DB;
  --gray-dark:      #474343;

  --ink:            #FFFFFF;
  --ink-soft:       rgba(255, 255, 255, 0.78);
  --ink-mute:      rgba(255, 255, 255, 0.68);
  --ink-faint:      rgba(255, 255, 255, 0.18);

  --rule:           1px solid rgba(255, 255, 255, 0.10);

  --font-header:    'Rubik', system-ui, -apple-system, sans-serif;
  --font-body:      'Roboto', system-ui, -apple-system, sans-serif;
  --font-condensed: 'Roboto Condensed', 'Roboto', sans-serif;
  --font-mono:      'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-blue);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

a { color: var(--cyan); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--orange); }
::selection { background: var(--orange); color: var(--white); }
img { max-width: 100%; height: auto; display: block; }

/* Skip-to-content link for keyboard / a11y */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--orange);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-family: var(--font-header);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.skip-link:focus { top: 0; color: var(--white); }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 52, 98, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--rule);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 0;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-header);
  font-weight: 600; font-size: 1.02rem;
  color: var(--white);
}
.nav-brand img { width: 34px; height: 34px; object-fit: contain; }
.nav-links {
  display: flex; justify-content: flex-end; align-items: center;
  gap: 1.8rem;
  font-family: var(--font-header);
  font-weight: 500; font-size: 0.92rem;
}
.nav-links a { color: var(--ink-soft); padding: 0.4rem 0; }
.nav-links a:hover { color: var(--white); }
.nav-cta-group {
  display: flex; gap: 0.6rem; align-items: center;
}
.nav-cta {
  font-family: var(--font-header);
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-cta-primary { background: var(--cyan); color: var(--bg-blue); }
.nav-cta-primary:hover { background: var(--white); color: var(--bg-blue); }
.nav-cta-secondary {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.nav-cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

@media (max-width: 880px) {
  .nav-inner { grid-template-columns: auto auto; gap: 0.8rem; }
  .nav-links { display: none; }
  .nav-cta-secondary { display: none; }
}

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  border-bottom: var(--rule);
}
.hero::before {
  content: '';
  position: absolute;
  top: 15%; right: -15%;
  width: 70%; height: 80%;
  background: radial-gradient(circle, rgba(137, 235, 239, 0.16), transparent 60%);
  z-index: 0;
}
.hero-grid {
  position: relative; z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-header);
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange-soft);
  margin-bottom: 1.6rem;
  padding: 0.5rem 0.9rem;
  background: rgba(255, 103, 35, 0.1);
  border: 1px solid rgba(255, 103, 35, 0.25);
  border-radius: 100px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  position: relative; flex-shrink: 0;
}
.hero-eyebrow .dot::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%; background: var(--orange);
  opacity: 0.4;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.8); opacity: 0; }
}

.hero h1 {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.hero h1 .accent { color: var(--orange); }
.hero h1 .cyan { color: var(--cyan); }
.hero h1 .small {
  display: block;
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  margin-top: 0.6rem;
  line-height: 1.2;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  max-width: 38rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.hero-sub strong { color: var(--white); font-weight: 500; }

.hero-actions {
  display: flex; gap: 0.9rem;
  flex-wrap: wrap; align-items: center;
  margin-bottom: 1.8rem;
}
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-header);
  font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 1rem 1.55rem;
  border-radius: 4px;
  transition: background 0.18s ease, color 0.18s ease;
  cursor: pointer; border: 0;
  white-space: nowrap;
}
.btn-cyan { background: var(--cyan); color: var(--bg-blue); }
.btn-cyan:hover { background: var(--white); color: var(--bg-blue); }
.btn-orange { background: var(--orange); color: var(--bg-blue-deep); }
.btn-orange:hover { background: var(--white); color: var(--bg-blue); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--ink-faint);
}
.btn-ghost:hover { background: rgba(137,235,239,0.08); border-color: var(--cyan); color: var(--cyan); }
.btn .arrow { transition: transform 0.18s ease; font-size: 1.1em; line-height: 1; }
.btn:hover .arrow { transform: translateX(4px); }

.hero-receipt-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
  font-family: var(--font-condensed);
  font-size: 0.84rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  padding-top: 1.2rem;
  border-top: var(--rule);
}
.hero-receipt-strip strong {
  color: var(--white);
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 0.1rem;
  letter-spacing: -0.005em;
}
.hero-receipt-strip .receipt-num {
  color: var(--orange);
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.05rem;
  display: block;
  letter-spacing: -0.01em;
}

.hero-figure {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-figure-wrap {
  position: relative;
  width: 100%; max-width: 420px;
  aspect-ratio: 1;
}
.hero-figure img {
  position: absolute;
  inset: 12%;
  width: 76%; height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 22px 50px rgba(0, 0, 0, 0.45));
  animation: hover 7s ease-in-out infinite;
  z-index: 3;
}
@keyframes hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-figure-wrap::before,
.hero-figure-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(137, 235, 239, 0.25);
  z-index: 1;
}
.hero-figure-wrap::after {
  inset: 8%;
  border: 1px dashed rgba(137, 235, 239, 0.35);
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-figure-wrap .stripe {
  position: absolute;
  width: 36px; height: 18px;
  z-index: 2;
  background: repeating-linear-gradient(-45deg, var(--white) 0 4px, transparent 4px 8px);
  opacity: 0.55;
}
.hero-figure-wrap .stripe.top-right { top: -4px; right: -4px; }
.hero-figure-wrap .stripe.bottom-left { bottom: -4px; left: -4px; transform: rotate(180deg); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 240px; margin: 0 auto 1rem; }
}

/* ============== TRUST BAND ============== */
.trust-band {
  padding: 1.4rem 0;
  background: var(--bg-blue-deep);
  border-bottom: var(--rule);
  position: relative;
  z-index: 4;
}
.trust-band-inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-around;
  gap: 1rem 2rem;
  font-family: var(--font-condensed);
  font-size: 0.82rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-align: center;
}
.trust-band-inner .item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}
.trust-band-inner .item .num {
  color: var(--cyan);
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
}
.trust-band-inner .item .label {
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

/* ============== SECTIONS ============== */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  border-bottom: var(--rule);
}
.section.alt { background: var(--bg-blue-deep); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  align-items: end;
}
.section-eyebrow {
  font-family: var(--font-header);
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan);
}
.section-eyebrow::before {
  content: '— '; color: var(--orange); margin-right: 0.4rem;
}
.section h2 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
  text-transform: uppercase;
}
.section h2 .accent { color: var(--orange); }
.section h2 .cyan { color: var(--cyan); }

@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
}

/* ============== CASE STUDY ============== */
.case-study {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-blue);
  border-bottom: var(--rule);
  position: relative;
}
.case-study-intro {
  max-width: 1320px;
  margin: 0 auto;
}
.case-customer-name {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.case-customer-name::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
}
.case-customer-meta {
  font-family: var(--font-condensed);
  font-size: 0.82rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.case-headline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 3rem;
}
@media (max-width: 800px) {
  .case-headline-grid { grid-template-columns: 1fr; }
}
.case-stat {
  background: linear-gradient(180deg, rgba(255,103,35,0.08), rgba(255,103,35,0.02));
  border: 1px solid rgba(255,103,35,0.25);
  border-radius: 8px;
  padding: 1.6rem 1.4rem;
  position: relative;
  overflow: hidden;
}
.case-stat::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 4px; height: 100%;
  background: var(--orange);
  opacity: 0.6;
}
.case-stat .label {
  font-family: var(--font-condensed);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.5rem;
}
.case-stat .big {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  color: var(--orange);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.case-stat .delta {
  font-family: var(--font-condensed);
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.case-stat .delta strong { color: var(--white); font-weight: 600; }

.case-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 900px) {
  .case-tables { grid-template-columns: 1fr; }
}
.case-table {
  background: var(--bg-blue-deep);
  border: 1px solid var(--ink-faint);
  border-radius: 8px;
  overflow: hidden;
}
.case-table h3 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--ink-faint);
  background: rgba(137,235,239,0.04);
}
.case-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-condensed);
  font-size: 0.92rem;
}
.case-table th, .case-table td {
  padding: 0.7rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--ink-faint);
}
.case-table th {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.case-table td.num { text-align: right; font-family: var(--font-header); font-weight: 600; color: var(--white); }
.case-table tr:last-child td { border-bottom: 0; }
.case-table tr.lift { background: rgba(255,103,35,0.06); }
.case-table tr.lift td { color: var(--orange); font-weight: 700; }
.case-table tr.lift td.num { color: var(--orange); }

.case-narrative {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56rem;
}
.case-narrative p { margin-bottom: 1rem; }
.case-narrative p strong { color: var(--white); font-weight: 500; }
.case-narrative .quote {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--orange);
  background: rgba(255,103,35,0.05);
  font-family: var(--font-header);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.45;
}
.case-narrative .quote .who {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-family: var(--font-condensed);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-transform: uppercase;
}

.case-source-note {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  color: var(--ink-mute);
  font-style: italic;
  margin-top: 1.5rem;
}

/* ============== INTERACTIVE PIPELINE DEMO ============== */
.pipeline-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-blue-deep);
  border-bottom: var(--rule);
  position: relative;
  overflow: hidden;
}

.pipeline-stage {
  position: relative;
  background: linear-gradient(180deg, #03203D 0%, #04254A 100%);
  border: 1px solid var(--ink-faint);
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  max-width: 1200px;
  margin: 0 auto;
}
.pipeline-stage::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(circle, rgba(137, 235, 239, 0.05), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.pipeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink-faint);
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.pipeline-head .label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
}
.pipeline-head .live-indicator {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
  position: relative;
}
.pipeline-head .live-indicator::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.5;
  animation: pulse 1.6s ease-in-out infinite;
}
.pipeline-head .meta {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

.pipeline-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  z-index: 1;
}
#pipeline-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.pipeline-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.channel-chips {
  position: absolute;
  top: 0.8rem; left: 0.8rem; right: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  pointer-events: auto;
}
.channel-chip {
  font-family: var(--font-condensed);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--ink-faint);
  border-radius: 100px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
}
.channel-chip:hover {
  border-color: var(--cyan);
  color: var(--white);
}
.channel-chip.active {
  background: var(--cyan);
  color: var(--bg-blue);
  border-color: var(--cyan);
  font-weight: 700;
}
.channel-chip .chip-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink-mute);
}
.channel-chip.active .chip-dot { background: var(--bg-blue); }

.stage-labels {
  position: absolute;
  bottom: 0.8rem; left: 0; right: 0;
  display: flex;
  justify-content: space-around;
  padding: 0 1rem;
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.stage-labels .stg {
  text-align: center;
  flex: 1;
  transition: color 0.3s ease;
  max-width: 16%;
}
.stage-labels .stg.active { color: var(--cyan); }
.stage-labels .stg .stg-name {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 700;
}
.stage-labels .stg .stg-detail {
  display: block;
  font-size: 0.62rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 400;
}

.pipeline-outcome {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 700px) {
  .pipeline-outcome { grid-template-columns: repeat(2, 1fr); }
}
.outcome-cell {
  background: rgba(137, 235, 239, 0.06);
  border: 1px solid rgba(137, 235, 239, 0.18);
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  text-align: left;
}
.outcome-cell .key {
  font-family: var(--font-condensed);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.3rem;
}
.outcome-cell .val {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cyan);
  letter-spacing: -0.01em;
}
.outcome-cell .val.orange { color: var(--orange); }

.pipeline-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}
@media (max-width: 900px) {
  .pipeline-grid { grid-template-columns: 1fr; }
}
.pipeline-narrative h3 {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.pipeline-narrative h3 .cyan { color: var(--cyan); }
.pipeline-narrative p {
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.pipeline-narrative p strong { color: var(--white); font-weight: 500; }
.pipeline-narrative .pipeline-fact {
  font-family: var(--font-condensed);
  font-size: 0.84rem;
  color: var(--cyan);
  letter-spacing: 0.04em;
  margin-top: 1.4rem;
  padding: 0.8rem 1rem;
  background: rgba(137,235,239,0.06);
  border-left: 2px solid var(--cyan);
  border-radius: 0 4px 4px 0;
}
.pipeline-narrative .pipeline-fact strong { color: var(--white); font-weight: 700; }

/* ============== ARCHITECTURE ============== */
.architecture {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-blue);
  border-bottom: var(--rule);
}
.arch-diagram {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  background: var(--bg-blue-deep);
  border: 1px solid var(--ink-faint);
  border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.arch-svg-wrap {
  width: 100%;
  min-width: 680px;
}
.arch-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

.arch-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.arch-stack-card {
  background: var(--bg-blue-deep);
  border: 1px solid var(--ink-faint);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
}
.arch-stack-card h3 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.7rem;
}
.arch-stack-card ul {
  list-style: none;
  font-family: var(--font-condensed);
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.arch-stack-card ul li {
  padding: 0.25rem 0;
  border-bottom: 1px dotted var(--ink-faint);
}
.arch-stack-card ul li:last-child { border-bottom: 0; }
.arch-stack-card ul li strong { color: var(--white); font-weight: 500; }

/* ============== PRODUCTS ============== */
.products-list {
  display: flex; flex-direction: column;
  gap: clamp(3rem, 6vw, 5rem);
}
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.product.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.product.reverse .product-text { order: 2; }
.product.reverse .product-demo { order: 1; }
@media (max-width: 900px) {
  .product, .product.reverse { grid-template-columns: 1fr; }
  .product.reverse .product-text { order: 0; }
  .product.reverse .product-demo { order: 1; }
}
.product-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-header);
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange-soft);
  background: rgba(255, 103, 35, 0.1);
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255, 103, 35, 0.25);
  border-radius: 100px;
  margin-bottom: 1.4rem;
}
.product-tag .dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
}
.product h3 {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.product h3 .cyan { color: var(--cyan); }
.product-desc {
  font-size: 1.02rem; line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.product-desc strong { color: var(--white); font-weight: 500; }
.product-benefits { list-style: none; margin-bottom: 1.8rem; }
.product-benefits li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.product-benefits li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.1em;
}
.product-benefits li strong { color: var(--white); font-weight: 600; }

.product-demo { position: relative; }
.demo-card {
  background: var(--bg-blue-deep);
  border: 1px solid var(--ink-faint);
  border-radius: 12px;
  padding: 1.4rem;
  font-family: var(--font-body);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  position: relative;
}
.demo-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--ink-faint);
  margin-bottom: 1.2rem;
}
.demo-head .label {
  font-family: var(--font-header);
  font-weight: 500; font-size: 0.85rem;
  color: var(--white);
  display: flex; align-items: center; gap: 0.5rem;
}
.demo-head .label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}
.demo-head .meta {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.demo-msg { margin-bottom: 0.6rem; display: flex; }
.demo-msg .bubble {
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem;
  max-width: 80%;
  line-height: 1.4;
}
.demo-msg.in .bubble {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-soft);
}
.demo-msg.out { justify-content: flex-end; }
.demo-msg.out .bubble {
  background: rgba(137, 235, 239, 0.15);
  color: var(--white);
}
.demo-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px dotted var(--ink-faint);
  font-size: 0.88rem;
}
.demo-row:last-child { border-bottom: 0; }
.demo-row .key {
  font-family: var(--font-condensed);
  font-weight: 500; font-size: 0.74rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute);
}
.demo-row .val { color: var(--white); font-weight: 500; }
.demo-row .val.cyan { color: var(--cyan); }
.demo-row .val.orange { color: var(--orange); }

/* ============== OTHER WORK ============== */
.other-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.work-card {
  background: var(--bg-blue-deep);
  border: 1px solid var(--ink-faint);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.work-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.work-card .work-tag {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-soft);
  margin-bottom: 0.6rem;
}
.work-card h3, .work-card h4 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}
.work-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}
.work-card .work-meta {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.04em;
}
.work-card .work-meta a { color: var(--cyan); }
.work-card .work-meta a:hover { color: var(--orange); }

/* ============== FOUNDER ============== */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: 1100px;
}
@media (max-width: 700px) {
  .founder-grid { grid-template-columns: 1fr; }
}
.founder-photo-wrap {
  position: relative;
  aspect-ratio: 1;
  max-width: 280px;
}
.founder-photo {
  width: 100%; aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-deep), var(--bg-blue-edge));
  display: flex;
  align-items: center; justify-content: center;
  font-family: var(--font-header);
  font-weight: 800; font-size: 4.5rem;
  color: var(--bg-blue);
  border: 4px solid var(--cyan);
  letter-spacing: -0.02em;
}
.founder-photo-wrap::after {
  content: '';
  position: absolute; inset: -10px;
  border: 1px dashed rgba(137, 235, 239, 0.4);
  border-radius: 50%;
  animation: spin 80s linear infinite;
}
.founder-text h3 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.founder-role {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.4rem;
}
.founder-bio {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1.02rem;
  margin-bottom: 1rem;
}
.founder-bio strong { color: var(--white); font-weight: 500; }
.founder-quote {
  margin-top: 1.8rem;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--orange);
  background: rgba(255, 103, 35, 0.05);
  border-radius: 0 6px 6px 0;
  font-family: var(--font-header);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.5;
}

/* ============== ENGAGEMENT (split CTA) ============== */
.engagement {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--bg-blue-deep);
  position: relative;
  overflow: hidden;
  border-bottom: var(--rule);
}
.engagement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}
@media (max-width: 800px) {
  .engagement-grid { grid-template-columns: 1fr; }
}
.engagement-card {
  background: rgba(137, 235, 239, 0.04);
  border: 1px solid var(--ink-faint);
  border-radius: 12px;
  padding: clamp(1.8rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.engagement-card.hire {
  border-color: rgba(255, 103, 35, 0.3);
  background: linear-gradient(180deg, rgba(255,103,35,0.06), rgba(255,103,35,0.02));
}
.engagement-card .tag {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.engagement-card.hire .tag { color: var(--orange); }
.engagement-card h3 {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.engagement-card p {
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 0.98rem;
  margin-bottom: 1.4rem;
}
.engagement-card p strong { color: var(--white); font-weight: 500; }
.engagement-card .links {
  font-family: var(--font-condensed);
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.engagement-card .links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cyan);
  margin-right: 1rem;
}
.engagement-card .links a:hover { color: var(--orange); }
.engagement-card.hire .links a { color: var(--orange); }
.engagement-card.hire .links a:hover { color: var(--white); }

/* ============== FOOTER ============== */
.footer {
  background: var(--bg-blue-deep);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.8rem;
  position: relative;
  z-index: 10;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 2.5rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1rem;
  font-family: var(--font-header);
  font-weight: 600; font-size: 1.08rem;
  color: var(--white);
}
.footer-brand img { width: 32px; height: 32px; }
.footer-desc {
  color: var(--ink-mute);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(137, 235, 239, 0.08);
  color: var(--ink-soft);
  border: 1px solid var(--ink-faint);
}
.footer-social a:hover {
  background: var(--cyan);
  color: var(--bg-blue);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a { color: var(--ink-mute); font-size: 0.94rem; }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-contact {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.footer-contact strong {
  display: block;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.footer-contact a { color: var(--ink-mute); }
.footer-bottom {
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.6rem;
  border-top: 1px solid var(--ink-faint);
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  gap: 1rem;
}
.footer-bottom .legal { text-transform: uppercase; }
.footer-bottom .links { display: flex; gap: 1.5rem; }
.footer-bottom .links a { color: var(--ink-mute); }

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.fade-up.d1 { animation-delay: 0.08s; }
.fade-up.d2 { animation-delay: 0.2s; }
.fade-up.d3 { animation-delay: 0.34s; }
.fade-up.d4 { animation-delay: 0.48s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   MOBILE FIXES
   ============================================================ */
@media (max-width: 980px) {
  .nav-inner { padding: 0.7rem 0; }
  .nav-brand { font-size: 0.95rem; gap: 0.5rem; }
  .nav-brand img { width: 30px; height: 30px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .hero { padding: 2.5rem 0 3rem; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 0.95; }
  .hero h1 br { display: block; }
  .hero h1 .small { font-size: 1rem; line-height: 1.35; margin-top: 0.8rem; }
  .hero-sub { font-size: 0.98rem; }
  .hero-actions { gap: 0.7rem; }
  .hero-actions .btn { padding: 0.85rem 1.2rem; font-size: 0.82rem; flex: 1; min-width: 0; }
  .hero-actions .btn .arrow { display: none; }
  .hero-receipt-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: 0.78rem;
  }
  .hero-receipt-strip > div { line-height: 1.3; }
  .hero-receipt-strip .receipt-num { font-size: 1.05rem; }

  .trust-band-inner { gap: 0.8rem 1.4rem; }
  .trust-band-inner .item .num { font-size: 0.95rem; }
  .trust-band-inner .item .label { font-size: 0.66rem; letter-spacing: 0.08em; }

  .section-head { gap: 0.6rem; margin-bottom: 2rem; }
  .section h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .section-eyebrow { font-size: 0.74rem; }

  .case-headline-grid { grid-template-columns: 1fr; gap: 0.8rem; margin-bottom: 2rem; }
  .case-stat { padding: 1.2rem 1rem; }
  .case-stat .big { font-size: 2.2rem; }
  .case-stat .delta { font-size: 0.78rem; line-height: 1.5; }

  .case-tables { gap: 1rem; margin-bottom: 1.5rem; }
  .case-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .case-table table { min-width: 380px; font-size: 0.84rem; }
  .case-table th, .case-table td { padding: 0.55rem 0.8rem; }
  .case-table h3 { padding: 0.8rem 1rem; font-size: 0.74rem; }

  .case-narrative .quote { font-size: 1rem; padding: 1rem 1.1rem; margin: 1.6rem 0; }

  .pipeline-stage { padding: 1rem 0.8rem; border-radius: 10px; }
  .pipeline-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    padding-bottom: 0.7rem;
  }
  .pipeline-head .label { font-size: 0.84rem; }
  .pipeline-head .meta { font-size: 0.7rem; }
  .pipeline-canvas-wrap { aspect-ratio: 4 / 5; min-height: 360px; }
  .channel-chips {
    position: static !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    padding: 0.7rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 6px;
    margin-bottom: 0.6rem;
  }
  .channel-chip {
    font-size: 0.68rem;
    padding: 0.5rem 0.6rem;
    justify-content: center;
    letter-spacing: 0.05em;
    width: 100%;
  }
  .stage-labels {
    bottom: 0.4rem;
    padding: 0 0.4rem;
    font-size: 0.55rem;
    letter-spacing: 0.04em;
  }
  .stage-labels .stg .stg-detail { display: none; }
  .stage-labels .stg .stg-name { font-size: 0.6rem; }
  .pipeline-outcome { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .outcome-cell { padding: 0.6rem 0.7rem; }
  .outcome-cell .val { font-size: 1rem; }
  .outcome-cell .key { font-size: 0.62rem; letter-spacing: 0.08em; }

  .arch-diagram { padding: 1rem; margin-bottom: 1.5rem; }
  .arch-svg-wrap { min-width: 680px; }
  .arch-stack-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .arch-stack-card { padding: 0.9rem 1rem; }
  .arch-stack-card h3 { font-size: 0.72rem; }
  .arch-stack-card ul { font-size: 0.78rem; }

  .product { gap: 1.5rem; }
  .product h3 { font-size: 1.6rem; line-height: 1.05; }
  .product-desc { font-size: 0.96rem; }
  .product-tag { font-size: 0.7rem; padding: 0.4rem 0.7rem; }
  .product-benefits li { font-size: 0.92rem; padding-left: 1.4rem; }
  .demo-card { padding: 1rem; }
  .demo-msg .bubble { font-size: 0.82rem; }

  .other-work-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .work-card { padding: 1.2rem; }

  .founder-grid { gap: 1.5rem; }
  .founder-photo-wrap { max-width: 180px; margin: 0 auto; }
  .founder-photo { font-size: 3.2rem; }
  .founder-text h3 { font-size: 1.6rem; }
  .founder-bio { font-size: 0.96rem; }
  .founder-quote { font-size: 0.96rem; padding: 1rem 1.1rem; }

  .engagement-card { padding: 1.5rem 1.3rem; }
  .engagement-card h3 { font-size: 1.4rem; }
  .engagement-card p { font-size: 0.94rem; }
  .engagement-card .links { font-size: 0.82rem; line-height: 2; }
  .engagement-card .links a {
    display: inline-block;
    margin-right: 0.8rem;
    margin-bottom: 0.3rem;
  }

  .footer-grid { gap: 1.5rem; }
  .footer-bottom { font-size: 0.72rem; flex-direction: column; align-items: flex-start; gap: 0.7rem; }
  .footer-bottom .links { gap: 1.2rem; }
}

@media (max-width: 480px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .nav-cta { padding: 0.55rem 0.8rem; font-size: 0.72rem; letter-spacing: 0.04em; }
  .nav-brand span { display: none; }
  .hero h1 { font-size: clamp(2rem, 11vw, 2.8rem); }
  .hero-eyebrow { font-size: 0.68rem; padding: 0.4rem 0.7rem; }
  .hero-eyebrow span:not(.dot) { font-size: 0.68rem; }
  .hero-sub { font-size: 0.95rem; line-height: 1.55; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-receipt-strip { font-size: 0.74rem; gap: 0.8rem; }
  .hero-receipt-strip .receipt-num { font-size: 0.95rem; }
  .trust-band { padding: 1rem 0; }
  .trust-band-inner { gap: 0.6rem 1rem; }
  .trust-band-inner .item .num { font-size: 0.88rem; }
  .trust-band-inner .item .label { font-size: 0.6rem; }
  .trust-band-inner .item:nth-child(n+5) { display: none; }
  .section-head { margin-bottom: 1.6rem; }
  .section h2 { font-size: 1.7rem; }
  .pipeline-canvas-wrap { min-height: 320px; aspect-ratio: 1 / 1; }
  .pipeline-outcome { grid-template-columns: 1fr 1fr; }
  .case-stat .big { font-size: 1.9rem; }
  .case-stat { padding: 1rem 0.9rem; }
  .product h3 { font-size: 1.4rem; }
  .demo-card { padding: 0.85rem; }
  .demo-row { font-size: 0.82rem; padding: 0.45rem 0; }
  .demo-row .key { font-size: 0.66rem; }
  .work-card h3, .work-card h4 { font-size: 1.1rem; }
  .work-card p { font-size: 0.9rem; }
  .arch-stack-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: clamp(1.7rem, 11vw, 2.4rem); }
  .case-stat .big { font-size: 1.7rem; }
}

/* ============== SERVICES MENU ============== */
.menu-roi {
  max-width: 56rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--orange);
  background: rgba(255, 103, 35, 0.06);
  border-radius: 0 6px 6px 0;
  color: var(--ink-soft);
  line-height: 1.6;
}
.menu-roi strong { color: var(--white); font-weight: 600; }

.menu-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) { .menu-groups { grid-template-columns: 1fr; } }

.menu-group-title {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: var(--rule);
}
.menu-items { display: flex; flex-direction: column; gap: 0.9rem; }
.menu-item {
  background: var(--bg-blue-deep);
  border: 1px solid var(--ink-faint);
  border-radius: 8px;
  padding: 1.2rem 1.3rem;
  transition: border-color 0.2s ease;
}
.menu-item:hover { border-color: var(--cyan); }
.menu-item.featured {
  border-color: rgba(255, 103, 35, 0.4);
  background: linear-gradient(180deg, rgba(255,103,35,0.08), rgba(255,103,35,0.02));
}
.menu-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.menu-item h4 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.menu-price {
  font-family: var(--font-condensed);
  font-size: 0.82rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.menu-price .price-num {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--orange);
  letter-spacing: -0.01em;
}
.menu-item.featured .menu-price .price-num { font-size: 1.3rem; }
.menu-item p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-soft);
}
.menu-cta:hover { color: var(--white); }
.menu-terms {
  font-family: var(--font-condensed);
  font-size: 0.84rem;
  color: var(--ink-mute);
  font-style: italic;
  max-width: 56rem;
}

.explore-cta {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ============== FORMS ============== */
.site-form { margin-top: 1.2rem; }
.form-row { margin-bottom: 0.9rem; }
.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
@media (max-width: 560px) { .form-row.two { grid-template-columns: 1fr; } }
.site-form label {
  display: block;
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.site-form label .opt { text-transform: none; letter-spacing: 0.02em; }
.site-form input,
.site-form select,
.site-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.85rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--ink-faint);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.18s ease;
}
.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
.site-form select { appearance: auto; }
.site-form select option { color: var(--bg-blue); background: var(--white); }
.site-form textarea { resize: vertical; }
.site-form button[type="submit"] { margin-top: 0.4rem; }
.site-form .hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}
.form-status { margin-top: 0.8rem; font-size: 0.9rem; color: var(--ink-mute); min-height: 1.2em; }
.form-status.ok { color: var(--cyan); }
.form-status.error { color: var(--orange); }

/* ============== SUBPAGES (projects / research / hire / legal) ============== */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: var(--rule);
}
.page-hero .section-eyebrow { margin-bottom: 0.8rem; }
.page-hero h1 {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-hero h1 .accent { color: var(--orange); }
.page-hero h1 .cyan { color: var(--cyan); }
.page-hero .lede {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46rem;
}
.page-hero .lede strong { color: var(--white); font-weight: 500; }

/* Filter chips */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.8rem 0 0;
}
.filter-chip {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--ink-faint);
  border-radius: 100px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.18s ease;
}
.filter-chip:hover { border-color: var(--cyan); color: var(--white); }
.filter-chip.active {
  background: var(--cyan);
  color: var(--bg-blue);
  border-color: var(--cyan);
  font-weight: 700;
}

/* Project cards on explorer */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
}
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-blue-deep);
  border: 1px solid var(--ink-faint);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
  color: inherit;
}
.project-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  color: inherit;
}
.project-card.hidden { display: none; }
.project-card .work-tag { margin-bottom: 0.6rem; }
.project-card h3 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.project-card p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  flex-grow: 1;
}
.project-card .work-meta { margin-top: auto; }
.project-card .card-go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

/* Workbench strip */
.workbench {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: var(--rule);
}
.workbench h2 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}
.workbench .workbench-note {
  font-family: var(--font-condensed);
  font-size: 0.86rem;
  color: var(--ink-mute);
  margin-bottom: 1.2rem;
}
.workbench-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.8rem;
}
.bench-card {
  background: rgba(0, 0, 0, 0.18);
  border: 1px dashed var(--ink-faint);
  border-radius: 8px;
  padding: 1rem 1.1rem;
}
.bench-card h3 {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bench-card .badge {
  font-family: var(--font-condensed);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border: 1px solid rgba(255, 103, 35, 0.4);
  border-radius: 100px;
  color: var(--orange-soft);
}
.bench-card p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ink-mute);
}

/* Project detail pages */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-body p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}
.detail-body p strong { color: var(--white); font-weight: 500; }
.detail-body h2 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 2rem 0 0.8rem;
}
.detail-aside {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.aside-card {
  background: var(--bg-blue-deep);
  border: 1px solid var(--ink-faint);
  border-radius: 8px;
  padding: 1.2rem 1.3rem;
}
.aside-card h3 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.7rem;
}
.aside-card ul {
  list-style: none;
  font-family: var(--font-condensed);
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.aside-card ul li {
  padding: 0.28rem 0;
  border-bottom: 1px dotted var(--ink-faint);
}
.aside-card ul li:last-child { border-bottom: 0; }
.aside-card ul li strong { color: var(--white); font-weight: 500; }
.aside-card .links a { display: block; padding: 0.2rem 0; font-size: 0.92rem; }
.detail-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 0 3rem;
  border-top: var(--rule);
  font-family: var(--font-condensed);
  font-size: 0.9rem;
}

/* Legal pages */
.legal-body {
  max-width: 46rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.legal-body h2 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 1.8rem 0 0.6rem;
}
.legal-body p, .legal-body ul {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 0.9rem;
  font-size: 0.98rem;
}
.legal-body ul { padding-left: 1.3rem; }
.legal-updated {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  color: var(--ink-mute);
  font-style: italic;
}

/* ============== CALL REPLAY ============== */
.replay {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--ink-faint);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.replay-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding-bottom: 0.6rem;
  border-bottom: 1px dotted var(--ink-faint);
}
.replay-ch {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
}
.replay-time {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-soft);
}
.replay-log {
  min-height: 132px;
  max-height: 150px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.replay-msg {
  max-width: 85%;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
}
.replay-msg.in { background: rgba(255, 255, 255, 0.07); color: var(--ink-soft); align-self: flex-start; }
.replay-msg.out { background: rgba(137, 235, 239, 0.14); color: var(--white); align-self: flex-end; }
.replay-ticket {
  border: 1px solid rgba(137, 235, 239, 0.25);
  border-radius: 8px;
  background: rgba(137, 235, 239, 0.05);
  overflow: hidden;
}
.replay-ticket-head {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  border-bottom: 1px solid rgba(137, 235, 239, 0.15);
}
.replay-ticket-status { color: var(--ink-mute); text-transform: none; letter-spacing: 0.04em; }
.replay-fields { padding: 0.35rem 0.9rem; min-height: 96px; }
.replay-field {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.28rem 0;
  font-size: 0.88rem;
  animation: fadeUp 0.35s ease both;
}
.replay-field .k {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  width: 5.2rem;
  flex-shrink: 0;
}
.replay-field .v { color: var(--white); }
.replay-field .tick { color: var(--cyan); margin-left: auto; font-weight: 700; }
.replay-result {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 0.6rem 0.9rem 0.7rem;
  border-top: 1px solid rgba(137, 235, 239, 0.15);
  animation: fadeUp 0.35s ease both;
}
.replay-stamp {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--bg-blue-deep);
  background: var(--orange);
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
}
.replay-sms {
  font-family: var(--font-condensed);
  font-size: 0.84rem;
  color: var(--cyan);
  letter-spacing: 0.03em;
}
.replay-caption {
  min-height: 1.4em;
  font-family: var(--font-condensed);
  font-size: 0.86rem;
  font-style: italic;
  color: var(--orange-soft);
  letter-spacing: 0.03em;
}
@media (max-width: 700px) {
  .replay { min-height: 460px; padding: 0.8rem; }
  .replay-msg { font-size: 0.84rem; }
  .replay-log { max-height: 170px; }
}

/* Replay scenario chips (user-chosen playback) */
.replay-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.replay-chips .channel-chip { position: static; }
@media (max-width: 768px) {
  .replay-chips {
    display: flex;
    background: none;
    padding: 0;
  }
  .replay-chips .channel-chip { width: auto; }
}

/* Screenshot figures on project detail pages */
.shot { margin: 1.6rem 0 1.8rem; }
.shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--ink-faint);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.shot figcaption {
  margin-top: 0.6rem;
  font-family: var(--font-condensed);
  font-size: 0.86rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* Creed blockquote (Clemente) */
.founder-quote.creed {
  margin: 1.6rem 0;
  padding: 1.3rem 1.6rem;
  border-left: 3px solid var(--orange);
  background: rgba(255, 103, 35, 0.06);
  border-radius: 0 6px 6px 0;
}
.founder-quote.creed p {
  font-family: var(--font-header);
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--white);
  margin: 0;
}
.founder-quote.creed cite {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--font-condensed);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* Founder photo is now a real image, not initials */
img.founder-photo {
  object-fit: cover;
  object-position: center 42%;
  font-size: 0;
}

/* About page portrait */
.about-portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 42%;
  border: 3px solid var(--cyan);
  margin-bottom: 1.1rem;
}
