/* Lunavo — Site styles */

:root {
  --navy: #002D3E;
  --navy-900: #001a24;
  --navy-700: #064256;
  --orange: #FF4C28;
  --orange-600: #e83d1c;
  --cream: #FBF9EE;
  --cream-200: #f4f0d8;
  --cornflower: #9ABDFF;
  --sky: #6185F5;
  --neon: #E7FE68;
  --white: #FFFFFF;
  --ink: #002D3E;
  --ink-70: rgba(0,45,62,.70);
  --ink-55: rgba(0,45,62,.55);
  --ink-25: rgba(0,45,62,.22);
  --ink-12: rgba(0,45,62,.12);
  --ink-06: rgba(0,45,62,.06);
  --cream-on-navy-70: rgba(251,249,238,.70);
  --cream-on-navy-55: rgba(251,249,238,.55);
  --cream-on-navy-22: rgba(251,249,238,.22);
  --cream-on-navy-12: rgba(251,249,238,.12);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 36px;

  --ff-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
}

/* ——— Typography system ——— */
.display {
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.display-xl { font-size: clamp(56px, 9vw, 148px); }
.display-lg { font-size: clamp(44px, 6vw, 96px); }
.display-md { font-size: clamp(32px, 4.4vw, 64px); }
.display-sm { font-size: clamp(24px, 2.6vw, 40px); }

.eyebrow {
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 500;
}
.body-lg { font-size: 19px; line-height: 1.55; }
.body   { font-size: 16px; line-height: 1.6; }
.small  { font-size: 13px; line-height: 1.5; }

/* ——— Layout ——— */
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .wrap { padding: 0 22px; } }

section { position: relative; }
.section-pad { padding: 140px 0; }
.section-pad-sm { padding: 88px 0; }
@media (max-width: 720px) {
  .section-pad { padding: 80px 0; }
  .section-pad-sm { padding: 56px 0; }
}

/* ——— Theme surfaces ——— */
.on-cream { background: var(--cream); color: var(--ink); }
.on-navy  { background: var(--navy); color: var(--cream); }
.on-navy .ink-70 { color: var(--cream-on-navy-70); }
.on-navy .ink-55 { color: var(--cream-on-navy-55); }
.on-navy .border-ink-12 { border-color: var(--cream-on-navy-12) !important; }
.on-white { background: var(--white); color: var(--ink); }

.ink-70 { color: var(--ink-70); }
.ink-55 { color: var(--ink-55); }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 24px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--orange);
  color: var(--cream);
}
.btn-primary:hover { background: var(--orange-600); }
.btn-ghost {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}
.btn-ghost:hover { background: currentColor; color: var(--navy); }
.on-navy .btn-ghost:hover { color: var(--navy); }

.btn .arrow-circle {
  width: 22px; height: 22px; border-radius: 50%;
  background: currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.btn-primary .arrow-circle { background: var(--cream); color: var(--orange); }
.btn-primary .arrow-circle svg { stroke: var(--orange); }

/* ——— Navbar ——— */
.nav {
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
  background: rgba(0, 45, 62, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(251,249,238,.12);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  color: var(--cream);
  max-width: calc(100% - 40px);
}
.nav-logo { display: flex; align-items: center; gap: 10px; margin-right: 16px; }
.nav-logo img { height: 22px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  color: var(--cream-on-navy-70);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--cream); background: rgba(251,249,238,.08); }
.nav .btn { padding: 10px 18px 10px 20px; font-size: 14px; }

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

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  background: var(--navy);
}
.hero-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,45,62,.55) 0%, rgba(0,45,62,.25) 30%, rgba(0,45,62,.85) 100%),
    linear-gradient(90deg, rgba(0,45,62,.55) 0%, rgba(0,45,62,0) 60%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 140px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr;
  gap: 64px;
  align-items: end;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
}
.hero h1 {
  margin: 0 0 8px;
}
.hero h1 .accent { color: var(--orange); }
.hero-sub { max-width: 52ch; color: var(--cream-on-navy-70); margin-bottom: 32px; }

.hero-meta {
  display: flex; flex-direction: column; gap: 20px;
  align-items: flex-start;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgba(251,249,238,.08);
  border: 1px solid rgba(251,249,238,.15);
  font-size: 13px;
  color: var(--cream-on-navy-70);
}
.hero-chip .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cream);
  font-size: 10px;
  font-weight: 600;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

/* floating data strip */
.hero-strip {
  border-top: 1px solid rgba(251,249,238,.12);
  border-bottom: 1px solid rgba(251,249,238,.12);
  padding: 18px 0;
  display: flex; gap: 48px;
  overflow: hidden; white-space: nowrap;
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--cream-on-navy-55);
  position: relative; z-index: 2;
}
.hero-strip-track {
  display: inline-flex; gap: 48px; padding-right: 48px;
  animation: marquee 60s linear infinite;
}
.hero-strip-track span { display: inline-flex; align-items: center; gap: 10px; }
.hero-strip-track span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ——— Section header ——— */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; }
.sec-head h2 { margin: 0; max-width: 16ch; }
.sec-head .sec-sub { max-width: 44ch; }
@media (max-width: 760px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
}

/* ——— Problem section ——— */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-12);
}
.on-navy .problem-grid { border-color: var(--cream-on-navy-12); }
.problem-cell {
  border-bottom: 1px solid var(--ink-12);
  border-right: 1px solid var(--ink-12);
  padding: 40px 28px 32px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 260px;
  position: relative;
}
.on-navy .problem-cell { border-color: var(--cream-on-navy-12); }
.problem-cell:nth-child(4n) { border-right: none; }
.problem-cell .num {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em;
  color: var(--ink-55);
}
.on-navy .problem-cell .num { color: var(--cream-on-navy-55); }
.problem-cell h3 { margin: 0; font-family: var(--ff-display); font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
.problem-cell p { margin: 0; color: var(--ink-70); font-size: 15px; }
.on-navy .problem-cell p { color: var(--cream-on-navy-70); }
.problem-cell .big-num {
  font-family: var(--ff-display);
  font-size: 56px;
  letter-spacing: -0.03em;
  color: var(--orange);
  line-height: 1;
  margin-top: auto;
}
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-cell { min-height: 200px; padding: 28px 20px; }
  .problem-cell:nth-child(4n) { border-right: 1px solid var(--ink-12); }
  .problem-cell:nth-child(2n) { border-right: none; }
}
@media (max-width: 540px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-cell { border-right: none !important; }
}

/* ——— Agents section ——— */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.agent-card {
  grid-column: span 4;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 280px;
  border: 1px solid var(--ink-06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.agent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -30px rgba(0,45,62,.35);
}
.agent-card.wide { grid-column: span 6; }
.agent-card.tall { grid-column: span 4; min-height: 320px; }
.agent-card.feature {
  grid-column: span 8;
  background: var(--navy);
  color: var(--cream);
  min-height: 340px;
  overflow: hidden;
  position: relative;
}
.agent-card.feature-accent {
  background: var(--orange);
  color: var(--cream);
}
@media (max-width: 900px) {
  .agent-card, .agent-card.wide, .agent-card.tall, .agent-card.feature { grid-column: span 12; }
}

.agent-card .agent-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.agent-card .tag {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-55);
}
.agent-card.feature .tag, .agent-card.feature-accent .tag { color: rgba(251,249,238,.7); }
.agent-card h3 {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 500;
}
.agent-card p { margin: 0; color: var(--ink-70); font-size: 15px; }
.agent-card.feature p, .agent-card.feature-accent p { color: rgba(251,249,238,.75); }
.agent-card .agent-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.agent-card .pill {
  display: inline-flex; gap: 6px; align-items: center;
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--ink-55);
  text-transform: uppercase; letter-spacing: .08em;
}
.agent-card.feature .pill { color: rgba(251,249,238,.55); }

/* Agent icon square */
.agent-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--cream-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-family: var(--ff-mono); font-weight: 600;
}
.agent-card.feature .agent-icon {
  background: rgba(251,249,238,.14);
  color: var(--cream);
}
.agent-card.feature-accent .agent-icon {
  background: rgba(0,45,62,.25);
  color: var(--cream);
}

/* ——— Product mock (Inbox / agent) ——— */
.product {
  background: var(--navy);
  color: var(--cream);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(251,249,238,.1);
}
.product-top {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(251,249,238,.08);
}
.product-dots { display: flex; gap: 6px; }
.product-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(251,249,238,.2);
}
.product-title { font-family: var(--ff-mono); font-size: 12px; color: rgba(251,249,238,.55); }
.product-body {
  display: grid;
  grid-template-columns: 240px 1fr 320px;
  min-height: 560px;
}
@media (max-width: 980px) {
  .product-body { grid-template-columns: 1fr; min-height: 0; }
}

.product-side {
  border-right: 1px solid rgba(251,249,238,.08);
  padding: 20px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.product-side h4 {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(251,249,238,.45);
  margin: 14px 10px 8px;
}
.side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: rgba(251,249,238,.75);
  cursor: default;
}
.side-item:hover { background: rgba(251,249,238,.06); color: var(--cream); }
.side-item.active { background: rgba(255,76,40,.14); color: var(--cream); }
.side-item .count {
  margin-left: auto;
  font-family: var(--ff-mono); font-size: 11px;
  background: rgba(251,249,238,.08);
  padding: 2px 8px; border-radius: 999px;
}
.side-item.active .count { background: var(--orange); color: var(--cream); }
.side-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.side-dot.navy { background: var(--cornflower); }
.side-dot.or   { background: var(--orange); }
.side-dot.gr   { background: var(--neon); }
.side-dot.sk   { background: var(--sky); }

.product-list {
  border-right: 1px solid rgba(251,249,238,.08);
  overflow: hidden;
}
.thread {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(251,249,238,.06);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  cursor: default;
  transition: background .15s;
}
.thread:hover { background: rgba(251,249,238,.04); }
.thread.active { background: rgba(255,76,40,.06); border-left: 2px solid var(--orange); padding-left: 18px; }
.thread-from { font-weight: 600; font-size: 14px; }
.thread-time { font-family: var(--ff-mono); font-size: 11px; color: rgba(251,249,238,.45); }
.thread-subj { grid-column: 1 / -1; font-size: 13px; color: rgba(251,249,238,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-badges { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 6px; }
.badge {
  font-family: var(--ff-mono);
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
}
.badge.resolved { background: rgba(231,254,104,.18); color: var(--neon); }
.badge.auto { background: rgba(154,189,255,.18); color: var(--cornflower); }
.badge.review { background: rgba(255,76,40,.18); color: var(--orange); }

/* Detail pane */
.product-detail {
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.detail-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.detail-head h5 {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.detail-meta { font-family: var(--ff-mono); font-size: 11px; color: rgba(251,249,238,.55); }
.detail-agent {
  border: 1px solid rgba(251,249,238,.14);
  border-radius: 14px;
  padding: 14px;
  background: rgba(251,249,238,.04);
  display: flex; flex-direction: column; gap: 10px;
}
.detail-agent-head { display: flex; align-items: center; gap: 10px; }
.agent-avatar {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
}
.agent-avatar img { width: 18px; height: 18px; }
.detail-agent p { margin: 0; font-size: 13px; color: rgba(251,249,238,.8); line-height: 1.5; }
.step {
  display: flex; gap: 10px; align-items: flex-start;
  font-family: var(--ff-mono); font-size: 12px;
  color: rgba(251,249,238,.7);
  padding: 8px 0;
  border-top: 1px dashed rgba(251,249,238,.1);
}
.step:first-of-type { border-top: none; }
.step .t { color: rgba(251,249,238,.4); width: 40px; flex: none; }
.step .ok { color: var(--neon); }

/* ——— Quote / big type ——— */
.quote {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 82px);
  letter-spacing: -0.03em;
  line-height: 1;
  font-weight: 500;
  max-width: 20ch;
}
.quote .accent { color: var(--orange); }

/* ——— Metrics ——— */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--cream-on-navy-12);
  border-bottom: 1px solid var(--cream-on-navy-12);
}
.metric {
  padding: 40px 24px 32px;
  border-right: 1px solid var(--cream-on-navy-12);
  display: flex; flex-direction: column; gap: 8px;
}
.metric:last-child { border-right: none; }
.metric-num {
  font-family: var(--ff-display);
  font-size: clamp(44px, 5.5vw, 88px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--cream);
}
.metric-num .u { color: var(--orange); }
.metric-lbl { color: var(--cream-on-navy-70); font-size: 15px; max-width: 26ch; }
@media (max-width: 820px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
}
@media (max-width: 520px) {
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--cream-on-navy-12); }
  .metric:last-child { border-bottom: none; }
}

/* ——— Integrations ——— */
.integrations {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.int-cell {
  aspect-ratio: 1.5 / 1;
  border: 1px solid var(--ink-12);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-70);
  background: var(--white);
  transition: background .15s, color .15s, border-color .15s;
}
.int-cell:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.int-cell .k { font-family: var(--ff-mono); font-size: 12px; color: var(--ink-55); margin-right: 6px; }
.int-cell:hover .k { color: rgba(251,249,238,.55); }
@media (max-width: 820px) { .integrations { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .integrations { grid-template-columns: repeat(2, 1fr); } }

/* ——— Team ——— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.team-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--ink-06);
}
.team-photo {
  aspect-ratio: 4 / 3;
  background: var(--cream-200);
  background-size: cover; background-position: center 30%;
}
.team-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; }
.team-body h4 { margin: 0; font-family: var(--ff-display); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.team-body .role { color: var(--ink-55); font-size: 14px; font-family: var(--ff-mono); text-transform: uppercase; letter-spacing: .06em; }
.team-bio { color: var(--ink-70); font-size: 15px; margin-top: 8px; }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }

/* ——— Big CTA ——— */
.cta-block {
  background: var(--orange);
  color: var(--cream);
  border-radius: 36px;
  padding: 88px 64px;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 48px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.cta-block .cta-bg-icon {
  position: absolute;
  right: -60px; bottom: -80px;
  width: 420px; opacity: .22;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.cta-block h2 { margin: 0; }
.cta-block .btn-ghost { border-color: var(--cream); color: var(--cream); }
.cta-block .btn-ghost:hover { background: var(--cream); color: var(--orange); }
.cta-block .btn-primary { background: var(--navy); color: var(--cream); }
.cta-block .btn-primary:hover { background: var(--navy-900); }
.cta-block .btn-primary .arrow-circle { background: var(--orange); color: var(--cream); }
@media (max-width: 860px) {
  .cta-block { grid-template-columns: 1fr; padding: 56px 28px; }
}

/* ——— Footer ——— */
footer.foot {
  background: var(--navy);
  color: var(--cream-on-navy-70);
  padding: 80px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(251,249,238,.12);
}
.foot h5 {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(251,249,238,.45);
  margin: 0 0 14px;
}
.foot a { color: rgba(251,249,238,.75); text-decoration: none; display: block; padding: 6px 0; font-size: 14px; }
.foot a:hover { color: var(--cream); }
.foot-brand { max-width: 36ch; }
.foot-brand img { height: 30px; margin-bottom: 18px; }
.foot-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-top: 22px;
  font-family: var(--ff-mono); font-size: 12px; color: rgba(251,249,238,.45);
}
.foot-bar .socials { display: flex; gap: 18px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }

/* ——— Divider line with eyebrow ——— */
.topper {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
  color: var(--ink-55);
}
.on-navy .topper { color: var(--cream-on-navy-55); }
.topper .bar { height: 1px; background: currentColor; flex: 1; opacity: .4; }

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.2,.6,.1,1), transform .8s cubic-bezier(.2,.6,.1,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ——— Tweaks panel ——— */
.tweaks {
  position: fixed; right: 24px; bottom: 24px; z-index: 9999;
  background: var(--navy);
  color: var(--cream);
  border-radius: 16px;
  padding: 18px;
  width: 280px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.4);
  border: 1px solid rgba(251,249,238,.12);
  display: none;
  font-family: var(--ff-body);
}
.tweaks.active { display: block; }
.tweaks h6 { margin: 0 0 12px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(251,249,238,.55); }
.tweak-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid rgba(251,249,238,.08); font-size: 13px; }
.tweak-row:first-of-type { border-top: none; }
.tweak-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-chip {
  font-size: 11px; padding: 5px 10px; border-radius: 999px;
  background: rgba(251,249,238,.08); color: rgba(251,249,238,.75);
  cursor: pointer; border: 1px solid transparent;
}
.tweak-chip.active { background: var(--orange); color: var(--cream); border-color: var(--orange); }

/* ——— Language toggle (in nav) ——— */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  margin-right: 8px;
  padding: 0 4px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--cream-on-navy-55);
}
.lang-btn {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: .08em;
  padding: 6px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: color .15s, background .15s;
}
.lang-btn:hover { color: var(--cream); background: rgba(251,249,238,.06); }
.lang-btn.active { color: var(--cream); }
.lang-sep { opacity: .4; user-select: none; }
@media (max-width: 540px) {
  .lang-toggle { font-size: 11px; }
  .lang-btn { padding: 4px 4px; }
}

/* ——— Helper classes replacing inline styles ——— */
.hero-stack {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--cream-on-navy-55);
  line-height: 1.8;
  border-left: 2px solid var(--orange);
  padding-left: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 520px;
}
.split-img {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}
.split-text {
  padding: clamp(40px, 7vw, 96px);
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.split-quote { margin: 0; color: var(--cream); }
.split-body  { color: var(--cream-on-navy-70); margin: 0; max-width: 48ch; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split-img { min-height: 280px; }
}

.foot-tagline {
  color: rgba(251,249,238,.65);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
