/* Snapdec 2026 — Page-specific styles */

/* ──────────── NAV ──────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
}
.nav-light { background: rgba(250,250,247,0); color: var(--ink); }
.nav-dark { background: transparent; color: var(--bone); }
.nav-scrolled { background: rgba(250,250,247,.82); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); }
.nav-scrolled.nav-dark { background: rgba(10,10,12,.82); }

.nav-line { height: 1px; background: var(--line); opacity: 0; transition: opacity .25s; }
.nav-scrolled .nav-line { opacity: 1; }
.nav-dark.nav-scrolled .nav-line { background: var(--line-dark); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; }
.nav-wordmark { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; position: relative; }
.nav-wordmark-glyph { display: inline-flex; }
.nav-wordmark-img { height: clamp(36px, 5.5vw, 56px) !important; width: auto !important; max-width: 60vw; max-height: 56px; object-fit: contain; display: block; transition: opacity .2s ease; }
/* Stack all 3 logo variants, crossfade visibility — pre-decoded so swap is instant. */
.nav-wordmark:has([data-active]) .nav-wordmark-img { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; pointer-events: none; }
.nav-wordmark:has([data-active]) .nav-wordmark-img:first-child { position: relative; left: auto; top: auto; transform: none; }
.nav-wordmark .nav-wordmark-img[data-active="true"] { opacity: 1; }
.footer-brand .nav-wordmark-img { height: clamp(40px, 6vw, 60px) !important; max-height: 60px; }

/* WhatsApp floating action button */
.wa-fab { position: fixed; right: 24px; bottom: 24px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; box-shadow: 0 6px 20px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.1); display: grid; place-items: center; z-index: 9000; transition: transform .25s ease, box-shadow .25s ease; }
.wa-fab:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 10px 28px rgba(37,211,102,.4), 0 4px 12px rgba(0,0,0,.15); }
.wa-fab:active { transform: translateY(0) scale(.98); }
@media (max-width: 720px) { .wa-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; } }

/* Back-to-top floating action button — theme follows hero variant via .back-to-top-dark / -light */
.back-to-top {
  position: fixed; right: 32px; bottom: 100px;
  width: 44px; height: 44px; border-radius: 50%;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.1);
  display: grid; place-items: center; cursor: pointer; z-index: 9000;
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.back-to-top[data-visible="true"] { opacity: 1; transform: translateY(0); }
.back-to-top:active { transform: translateY(0); }
.back-to-top:focus { outline: none; }

/* Dark hero → dark glassy pill, matches nav-dark + WhatsApp FAB */
.back-to-top-dark { background: rgba(14,14,16,.78); color: var(--bone); border: 1px solid rgba(255,255,255,.12); }
.back-to-top-dark:hover { background: var(--ink); transform: translateY(-2px); border-color: rgba(255,255,255,.2); }

/* Light hero → bone surface with ink chevron, matches nav-light */
.back-to-top-light { background: rgba(250,250,247,.92); color: var(--ink); border: 1px solid var(--line); }
.back-to-top-light:hover { background: var(--bone); transform: translateY(-2px); border-color: rgba(0,0,0,.16); }

@media (max-width: 720px) { .back-to-top { right: 16px; bottom: 84px; width: 40px; height: 40px; } }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center;
  padding: 10px 14px;
  font-size: 15.5px; font-weight: 500;
  color: inherit; opacity: .9;
  border-radius: 8px;
  transition: opacity .15s, background .15s;
}
.nav-link:hover { opacity: 1; background: rgba(0,0,0,.04); }
.nav-dark .nav-link:hover { background: rgba(255,255,255,.06); }

.nav-item.has-menu .nav-mega { display: none; }
.nav-item.has-menu.menu-open .nav-mega { display: block; }

.nav-mega {
  position: absolute; top: 100%; left: -16px;
  margin-top: 8px;
  background: rgba(250,250,247,.96);
  backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.25);
  min-width: 720px;
  color: var(--ink);
}
/* Invisible 10px bridge over the gap between the trigger and the menu —
   keeps the cursor "inside" the mega's DOM tree so mouseleave on
   [data-nav-links] doesn't fire when you move from "Solutions" down
   into the menu items. */
.nav-mega::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -10px;
  height: 10px;
}

.mega-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.2fr; gap: 32px; }
.mega-col-title { font-size: 11px; font-family: var(--font-mono); letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; text-transform: uppercase; }
.mega-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.mega-col a { font-size: 13.5px; color: var(--ink); opacity: .85; }
.mega-col a:hover { opacity: 1; color: var(--snap); }

.mega-feature { background: var(--ink); color: var(--bone); border-radius: 12px; padding: 20px; }
.mega-feature-title { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.mega-feature-link { color: var(--snap); font-size: 13px; font-weight: 500; }

.mega-products { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; min-width: 720px; }
.mega-prod { padding: 14px 16px; border-radius: 10px; transition: background .15s; }
.mega-prod:hover { background: rgba(0,0,0,.04); }
.mega-prod.is-hl { background: rgba(230,57,70,.06); }
.mega-prod-row { display: flex; align-items: center; justify-content: space-between; }
.mega-prod-name { font-size: 14px; font-weight: 550; }
.mega-prod-tag { font-size: 11px; font-family: var(--font-mono); color: var(--muted); margin-top: 2px; letter-spacing: .04em; }
.mega-prod-badge { font-size: 9.5px; font-family: var(--font-mono); color: var(--snap); background: rgba(230,57,70,.1); padding: 2px 6px; border-radius: 4px; letter-spacing: .08em; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-link-quiet, .nav-link-quiet-dark { font-size: 30px; font-weight: 500; padding: 0 8px; }
.nav-link-quiet { color: var(--ink); opacity: .8; }
.nav-link-quiet-dark { color: var(--bone); opacity: .8; }
.nav-link-quiet:hover, .nav-link-quiet-dark:hover { opacity: 1; }

.nav-burger { display: none; background: transparent; border: 0; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-cta .nav-link-quiet, .nav-cta .nav-link-quiet-dark { display: none; }
}

.nav-mobile { position: fixed; inset: 0; background: var(--bone); z-index: 200; display: flex; flex-direction: column; }
.nav-mobile-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.nav-mobile-x { background: transparent; border: 0; font-size: 28px; line-height: 1; }
.nav-mobile-body { padding: 24px 20px; display: flex; flex-direction: column; gap: 16px; }
.nav-mobile-body a { font-size: 24px; font-weight: 600; }

/* ──────────── HERO A — Editorial ──────────── */
.hero { position: relative; }
.hero-A { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 100px; padding-bottom: 56px; color: var(--bone); overflow: hidden; }
.hero-video { position: absolute; inset: 0; overflow: hidden; }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.55) 0%, rgba(10,10,12,.65) 50%, rgba(10,10,12,.92) 100%); }

.hero-A-content { position: relative; padding-bottom: 40px; }
.hero-A-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: rgba(250,250,247,.7); margin-bottom: 32px; }
.hero-A-eyebrow .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 10px; vertical-align: middle; transform: translateY(-1px); }

.hero-A-title { font-size: clamp(44px, 7.4vw, 110px); line-height: 0.96; letter-spacing: -0.04em; font-weight: 600; max-width: 1100px; }
.hero-A-title em { font-style: normal; color: #FAFAF7; opacity: .55; font-weight: 400; }

.hero-A-lead { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.5; color: rgba(250,250,247,.7); max-width: 560px; margin-top: 32px; }
.hero-A-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.hero-A-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-A-meta > div { display: flex; flex-direction: column; gap: 6px; }
.hero-A-meta .mono-tag { color: var(--bone); font-size: 28px; letter-spacing: -0.02em; font-family: var(--font-display); font-weight: 500; }
.hero-A-meta-l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: rgba(255,255,255,.55); text-transform: uppercase; }

.hero-A-corner { position: absolute; top: 24px; right: 32px; color: rgba(255,255,255,.55); }

@media (max-width: 720px) {
  .hero-A-meta { grid-template-columns: repeat(2, 1fr); }
}

/* ──────────── HERO B — Dashboard ──────────── */
.hero-B { padding: 140px 0 80px; background: linear-gradient(180deg, #FAFAF7 0%, #F1EFEA 100%); }
.hero-B-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-B-left { display: flex; flex-direction: column; gap: 24px; }
.hero-B-title { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 600; }
.hero-B-lead { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 480px; }
.hero-B-trust { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-B-trust-row { display: flex; gap: 24px; margin-top: 12px; flex-wrap: wrap; }
.hero-B-trust-row span { font-size: 16px; font-weight: 500; opacity: .7; }
@media (max-width: 960px) { .hero-B-grid { grid-template-columns: 1fr; } }

/* Mock dashboard */
.mock {
  border: 1px solid var(--line-dark);
  background: #0E0E10;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px -32px rgba(0,0,0,.35), 0 8px 24px -12px rgba(0,0,0,.18);
  font-family: var(--font-display);
  color: var(--bone);
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line-dark); background: #14141a; }
.mock-dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-url { font-family: var(--font-mono); font-size: 11px; color: var(--muted-dark); margin-left: 12px; }
.mock-body { display: grid; grid-template-columns: 160px 1fr; min-height: 480px; }
.mock-side { background: #0a0a0c; border-right: 1px solid var(--line-dark); padding: 14px 0; display: flex; flex-direction: column; gap: 2px; }
.mock-side-logo { padding: 0 14px 14px; border-bottom: 1px solid var(--line-dark); margin-bottom: 8px; }
.mock-side-item { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 12.5px; color: rgba(255,255,255,.6); cursor: default; }
.mock-side-item.active { color: var(--bone); background: rgba(255,255,255,.04); }
.mock-side-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.25); }
.mock-side-item.active .mock-side-dot { background: var(--snap); }

.mock-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.mock-main-head { display: flex; justify-content: space-between; align-items: end; }
.mock-h1 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; margin-top: 4px; }
.mock-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(40,200,64,.12); color: #5fd674; font-size: 11px; padding: 5px 10px; border-radius: 999px; font-family: var(--font-mono); }
.mock-pulse { width: 6px; height: 6px; background: #28C840; border-radius: 50%; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.4;} }

.mock-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat { background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); border-radius: 8px; padding: 12px; }
.stat-value { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin-top: 4px; }
.stat-delta { font-family: var(--font-mono); font-size: 11px; color: #5fd674; margin-top: 2px; }
.stat-delta.warn { color: #ffb168; }

.mock-chart { background: rgba(255,255,255,.02); border: 1px solid var(--line-dark); border-radius: 8px; padding: 12px; }
.mock-rows { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line-dark); border-radius: 8px; overflow: hidden; }
.mock-row { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr .8fr; gap: 12px; padding: 10px 12px; font-size: 12px; align-items: center; border-bottom: 1px solid var(--line-dark); }
.mock-row:last-child { border-bottom: 0; }
.mock-row-id { font-family: var(--font-mono); color: rgba(255,255,255,.55); }
.mock-row-cust { font-weight: 500; }
.mock-row-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; padding: 3px 8px; border-radius: 999px; width: fit-content; font-family: var(--font-mono); }
.s-picking { background: rgba(255,178,58,.15); color: #ffb168; }
.s-packed { background: rgba(95,134,255,.15); color: #8aa6ff; }
.s-dispatched { background: rgba(95,214,116,.15); color: #5fd674; }
.mock-row-time { font-family: var(--font-mono); color: rgba(255,255,255,.5); }

/* ──────────── HERO C — Kinetic ──────────── */
.hero-C { min-height: 100vh; padding-top: 100px; padding-bottom: 64px; color: var(--bone); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.hero-C-bg { position: absolute; inset: 0; }
.hero-C-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-C-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.4) 0%, rgba(10,10,12,.7) 100%); }
.hero-C-grid { position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-C-content { position: relative; padding-top: 80px; padding-bottom: 40px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.hero-C-marquee { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: rgba(255,255,255,.55); overflow: hidden; white-space: nowrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 64px; }
.hero-C-marquee-track { display: inline-flex; animation: marquee 40s linear infinite; }
.hero-C-marquee-track > span { padding-right: 0; }

.hero-C-title { font-size: clamp(56px, 9vw, 144px); line-height: .9; letter-spacing: -.045em; font-weight: 600; }
.hero-C-emph { color: var(--a); }
.hero-C-emph2 { font-style: italic; font-weight: 400; opacity: .7; }
.hero-C-bottom { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-top: 80px; }
.hero-C-lead { font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.7); max-width: 480px; }

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

/* ──────────── POSITIONING STRIP — under hero ──────────── */
.position-strip { background: var(--ink); color: var(--bone); padding: 24px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.position-strip .container { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.position-strip-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: rgba(255,255,255,.5); }
.position-strip-marquee { flex: 1; overflow: hidden; }
.position-strip-track { display: inline-flex; animation: marquee 60s linear infinite; gap: 48px; white-space: nowrap; }
.position-strip-item { font-size: 13px; font-family: var(--font-mono); color: rgba(255,255,255,.7); letter-spacing: .04em; }

/* ──────────── TOTAL SOLUTIONS BLOCK ──────────── */
.sec-total { background: var(--bone); padding: 120px 0 60px; }
.total-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.total-head h2 { font-size: clamp(36px, 4.4vw, 64px); }
.total-head h2 em { font-style: normal; color: var(--snap); }
.total-lead { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 520px; }
@media (max-width: 960px) { .total-head { grid-template-columns: 1fr; gap: 24px; align-items: start; } }

.total-three {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.total-card {
  background: var(--ink); color: var(--bone);
  border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative; overflow: hidden;
  min-height: 460px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.total-card:hover { transform: translateY(-4px); }
.total-card.is-hero {
  grid-column: span 1;
  background: var(--snap);
  background: linear-gradient(135deg, var(--snap-deep) 0%, var(--snap) 50%, var(--ember) 100%);
}
.total-card-head { display: flex; justify-content: space-between; align-items: start; }
.total-card-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
  color: rgba(255,255,255,.85); background: rgba(255,255,255,.1);
  padding: 5px 10px; border-radius: 999px;
}
.total-card.is-core .total-card-badge { color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }
.total-card-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.4); }
.total-card-name { font-size: 32px; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.total-card-desc { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.78); }
.total-card-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: rgba(255,255,255,.55); padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); margin-top: auto; }
.total-card-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--bone); margin-top: 8px; }
.total-card-illu { position: absolute; right: -40px; bottom: -40px; opacity: .15; pointer-events: none; }
.total-card.is-hero .total-card-illu { opacity: .22; }

/* ── SNAPWAREHOUSE+ (third / is-core) CARD COLOR VARIANTS ── */
.total-card.is-core[data-warehousestyle="bone"] { background: var(--bone); color: var(--ink); border: 1px solid var(--line); }
.total-card.is-core[data-warehousestyle="bone"] .total-card-badge { color: var(--ink); background: rgba(14,14,16,.06); }
.total-card.is-core[data-warehousestyle="bone"] .total-card-num { color: var(--muted); }
.total-card.is-core[data-warehousestyle="bone"] .total-card-desc { color: var(--muted); }
.total-card.is-core[data-warehousestyle="bone"] .total-card-cta { color: var(--ink); }
.total-card.is-core[data-warehousestyle="bone"] .total-card-meta { color: var(--muted); border-top-color: var(--line); }

.total-card.is-core[data-warehousestyle="ember-soft"] {
  background: linear-gradient(150deg, #FFF1E8 0%, #FFE0CF 100%);
  color: var(--ink); border: 1px solid rgba(230,57,70,.18);
}
.total-card.is-core[data-warehousestyle="ember-soft"] .total-card-badge { color: var(--snap-deep); background: rgba(230,57,70,.1); }
.total-card.is-core[data-warehousestyle="ember-soft"] .total-card-num,
.total-card.is-core[data-warehousestyle="ember-soft"] .total-card-desc,
.total-card.is-core[data-warehousestyle="ember-soft"] .total-card-meta { color: rgba(14,14,16,.6); }
.total-card.is-core[data-warehousestyle="ember-soft"] .total-card-cta { color: var(--snap-deep); }
.total-card.is-core[data-warehousestyle="ember-soft"] .total-card-meta { border-top-color: rgba(230,57,70,.18); }

.total-card.is-core[data-warehousestyle="snap-tint"] {
  background: linear-gradient(160deg, #FBE4E5 0%, #F2C8CB 100%);
  color: var(--ink); border: 1px solid rgba(199,42,55,.2);
}
.total-card.is-core[data-warehousestyle="snap-tint"] .total-card-badge { color: var(--snap-deep); background: rgba(199,42,55,.12); }
.total-card.is-core[data-warehousestyle="snap-tint"] .total-card-num,
.total-card.is-core[data-warehousestyle="snap-tint"] .total-card-desc,
.total-card.is-core[data-warehousestyle="snap-tint"] .total-card-meta { color: rgba(14,14,16,.62); }
.total-card.is-core[data-warehousestyle="snap-tint"] .total-card-cta { color: var(--snap-deep); }
.total-card.is-core[data-warehousestyle="snap-tint"] .total-card-meta { border-top-color: rgba(199,42,55,.2); }

.total-card.is-core[data-warehousestyle="gold-paper"] {
  background: linear-gradient(160deg, #FAF3E0 0%, #F2E6C8 100%);
  color: var(--ink); border: 1px solid rgba(212,162,76,.3);
}
.total-card.is-core[data-warehousestyle="gold-paper"] .total-card-badge { color: #8A6418; background: rgba(212,162,76,.18); }
.total-card.is-core[data-warehousestyle="gold-paper"] .total-card-num,
.total-card.is-core[data-warehousestyle="gold-paper"] .total-card-desc,
.total-card.is-core[data-warehousestyle="gold-paper"] .total-card-meta { color: rgba(14,14,16,.62); }
.total-card.is-core[data-warehousestyle="gold-paper"] .total-card-cta { color: #8A6418; }
.total-card.is-core[data-warehousestyle="gold-paper"] .total-card-meta { border-top-color: rgba(212,162,76,.3); }

.total-card.is-core[data-warehousestyle="ink-outline"] {
  background: var(--bone); color: var(--ink);
  border: 2px solid var(--ink);
}
.total-card.is-core[data-warehousestyle="ink-outline"] .total-card-badge { color: var(--bone); background: var(--ink); }
.total-card.is-core[data-warehousestyle="ink-outline"] .total-card-num,
.total-card.is-core[data-warehousestyle="ink-outline"] .total-card-desc,
.total-card.is-core[data-warehousestyle="ink-outline"] .total-card-meta { color: rgba(14,14,16,.65); }
.total-card.is-core[data-warehousestyle="ink-outline"] .total-card-cta { color: var(--ink); }
.total-card.is-core[data-warehousestyle="ink-outline"] .total-card-meta { border-top-color: rgba(14,14,16,.15); }

.total-card.is-core[data-warehousestyle="ember-glow-light"] {
  background:
    radial-gradient(circle at 80% 110%, rgba(255,107,53,.28), transparent 55%),
    radial-gradient(circle at 0% 0%, rgba(230,57,70,.12), transparent 50%),
    var(--bone);
  color: var(--ink); border: 1px solid rgba(230,57,70,.2);
}
.total-card.is-core[data-warehousestyle="ember-glow-light"] .total-card-badge { color: var(--snap-deep); background: rgba(230,57,70,.1); }
.total-card.is-core[data-warehousestyle="ember-glow-light"] .total-card-num,
.total-card.is-core[data-warehousestyle="ember-glow-light"] .total-card-desc,
.total-card.is-core[data-warehousestyle="ember-glow-light"] .total-card-meta { color: rgba(14,14,16,.62); }
.total-card.is-core[data-warehousestyle="ember-glow-light"] .total-card-cta { color: var(--snap-deep); }
.total-card.is-core[data-warehousestyle="ember-glow-light"] .total-card-meta { border-top-color: rgba(230,57,70,.18); }

/* ── New darker / harmonized warehouse-card options ── */
.total-card.is-core[data-warehousestyle="terracotta"] {
  background: linear-gradient(160deg, #E8B79C 0%, #D89876 100%);
  color: var(--ink); border: 1px solid rgba(120,60,30,.2);
}
.total-card.is-core[data-warehousestyle="terracotta"] .total-card-badge { color: #5A2818; background: rgba(90,40,24,.14); }
.total-card.is-core[data-warehousestyle="terracotta"] .total-card-num,
.total-card.is-core[data-warehousestyle="terracotta"] .total-card-desc,
.total-card.is-core[data-warehousestyle="terracotta"] .total-card-meta { color: rgba(40,20,10,.7); }
.total-card.is-core[data-warehousestyle="terracotta"] .total-card-cta { color: #5A2818; }
.total-card.is-core[data-warehousestyle="terracotta"] .total-card-meta { border-top-color: rgba(90,40,24,.22); }

.total-card.is-core[data-warehousestyle="dusty-rose"] {
  background: linear-gradient(160deg, #D9A89A 0%, #C68875 100%);
  color: var(--ink); border: 1px solid rgba(140,60,50,.22);
}
.total-card.is-core[data-warehousestyle="dusty-rose"] .total-card-badge { color: #5C2218; background: rgba(92,34,24,.14); }
.total-card.is-core[data-warehousestyle="dusty-rose"] .total-card-num,
.total-card.is-core[data-warehousestyle="dusty-rose"] .total-card-desc,
.total-card.is-core[data-warehousestyle="dusty-rose"] .total-card-meta { color: rgba(40,18,12,.7); }
.total-card.is-core[data-warehousestyle="dusty-rose"] .total-card-cta { color: #5C2218; }
.total-card.is-core[data-warehousestyle="dusty-rose"] .total-card-meta { border-top-color: rgba(92,34,24,.22); }

.total-card.is-core[data-warehousestyle="warm-clay"] {
  background: linear-gradient(160deg, #C99580 0%, #A87560 100%);
  color: var(--bone); border: 1px solid rgba(60,28,16,.3);
}
.total-card.is-core[data-warehousestyle="warm-clay"] .total-card-badge { color: var(--bone); background: rgba(255,255,255,.16); }
.total-card.is-core[data-warehousestyle="warm-clay"] .total-card-num,
.total-card.is-core[data-warehousestyle="warm-clay"] .total-card-desc,
.total-card.is-core[data-warehousestyle="warm-clay"] .total-card-meta { color: rgba(255,250,240,.78); }
.total-card.is-core[data-warehousestyle="warm-clay"] .total-card-cta { color: var(--bone); }
.total-card.is-core[data-warehousestyle="warm-clay"] .total-card-meta { border-top-color: rgba(255,255,255,.18); }

/* ── DARK HERO CARD VARIANTS (data-darkstyle on .total-card) ── */
.total-card[data-darkstyle="ink"] { background: #0E0E10; }
.total-card[data-darkstyle="ink-deep"] { background: #06070A; }
.total-card[data-darkstyle="midnight"] { background: linear-gradient(180deg, #0B1020 0%, #060814 100%); }
.total-card[data-darkstyle="charcoal"] { background: linear-gradient(160deg, #1F1F22 0%, #111114 60%, #0A0A0C 100%); }
.total-card[data-darkstyle="ink-grid"] {
  background:
    linear-gradient(rgba(230,57,70,.04) 1px, transparent 1px) 0 0/24px 24px,
    linear-gradient(90deg, rgba(230,57,70,.04) 1px, transparent 1px) 0 0/24px 24px,
    radial-gradient(circle at 20% 0%, rgba(230,57,70,.18), transparent 55%),
    #0A0A0C;
}
.total-card[data-darkstyle="ember-glow"] {
  background:
    radial-gradient(circle at 80% 110%, rgba(255,107,53,.42), transparent 55%),
    radial-gradient(circle at 0% 0%, rgba(230,57,70,.22), transparent 50%),
    #0A0A0C;
}
.total-card[data-darkstyle="emboss"] {
  background:
    linear-gradient(135deg, rgba(255,255,255,.04), transparent 40%),
    #0E0E10;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 60px -30px rgba(0,0,0,.7);
}
.total-card[data-darkstyle="paper-inverted"] {
  background: var(--bone); color: var(--ink);
  border: 1px solid var(--line);
}
.total-card[data-darkstyle="paper-inverted"] .total-card-badge { color: var(--ink); background: rgba(14,14,16,.06); }
.total-card[data-darkstyle="paper-inverted"] .total-card-num { color: var(--muted); }
.total-card[data-darkstyle="paper-inverted"] .total-card-desc { color: var(--muted); }
.total-card[data-darkstyle="paper-inverted"] .total-card-cta { color: var(--ink); }
.total-card[data-darkstyle="paper-inverted"] .total-card-meta { color: var(--muted); border-top-color: var(--line); }

@media (max-width: 960px) { .total-three { grid-template-columns: 1fr; } }

.total-audience { margin-top: 64px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.total-audience-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.total-audience-row > span:nth-child(even) { color: var(--muted); opacity: .5; }

/* ──────────── INDUSTRIES ──────────── */
.sec-industries { background: var(--bone); }
.ind-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.ind-list { display: flex; flex-direction: column; gap: 4px; }
.ind-item { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 18px 16px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; text-align: left; transition: background .15s; }
.ind-item:hover { background: var(--bone-2); }
.ind-item.is-active { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.ind-item.is-active .ind-num, .ind-item.is-active .ind-count { color: rgba(255,255,255,.55); }
.ind-num { font-size: 11px; }
.ind-name { font-size: 16px; font-weight: 500; }
.ind-count { font-size: 10.5px; }
.ind-arrow { opacity: 0; transition: opacity .15s, transform .15s; }
.ind-item.is-active .ind-arrow { opacity: 1; transform: translateX(2px); }

.ind-detail { background: var(--ink); color: var(--bone); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 24px; min-height: 480px; }

/* ── INDUSTRY DETAIL PANEL VARIANTS ── */
.ind-detail[data-panelstyle="ink-deep"] { background: #06070A; }
.ind-detail[data-panelstyle="midnight"] { background: linear-gradient(180deg, #0B1020 0%, #060814 100%); }
.ind-detail[data-panelstyle="charcoal"] { background: linear-gradient(160deg, #1F1F22 0%, #111114 60%, #0A0A0C 100%); }
.ind-detail[data-panelstyle="ember-glow"] {
  background:
    radial-gradient(circle at 80% 110%, rgba(255,107,53,.42), transparent 55%),
    radial-gradient(circle at 0% 0%, rgba(230,57,70,.22), transparent 50%),
    #0A0A0C;
}
.ind-detail[data-panelstyle="ink-grid"] {
  background:
    linear-gradient(rgba(230,57,70,.04) 1px, transparent 1px) 0 0/24px 24px,
    linear-gradient(90deg, rgba(230,57,70,.04) 1px, transparent 1px) 0 0/24px 24px,
    radial-gradient(circle at 20% 0%, rgba(230,57,70,.18), transparent 55%),
    #0A0A0C;
}
.ind-detail[data-panelstyle="snap"] {
  background: linear-gradient(135deg, var(--snap-deep) 0%, var(--snap) 50%, var(--ember) 100%);
}
.ind-detail[data-panelstyle="bone"] {
  background: var(--bone); color: var(--ink); border: 1px solid var(--line);
}
.ind-detail[data-panelstyle="bone"] .ind-detail-body { color: rgba(14,14,16,.68); }
.ind-detail[data-panelstyle="bone"] .ind-checks li { color: rgba(14,14,16,.78); }
.ind-detail[data-panelstyle="ember-soft"] {
  background: linear-gradient(150deg, #FFF1E8 0%, #FFE0CF 100%);
  color: var(--ink); border: 1px solid rgba(230,57,70,.18);
}
.ind-detail[data-panelstyle="ember-soft"] .ind-detail-body { color: rgba(14,14,16,.68); }
.ind-detail[data-panelstyle="ember-soft"] .ind-checks li { color: rgba(14,14,16,.78); }
.ind-detail-pane:not([hidden]) { display: flex; flex-direction: column; gap: 24px; flex: 1; }
.ind-detail-body { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.78); }
.ind-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ind-checks li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: rgba(255,255,255,.85); }
.ind-check { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid; display: grid; place-items: center; flex-shrink: 0; }
.ind-check span { width: 8px; height: 8px; border-radius: 50%; }
.ind-products { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.ind-products-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ind-prod-chip { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--bone); font-weight: 450; }

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

/* ──────────── PRODUCTS BENTO ──────────── */
.sec-products { background: var(--bone-2); }
.prod-filters { display: flex; gap: 8px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.prod-filter { background: transparent; border: 1px solid var(--line); height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 450; }
.prod-filter:hover { border-color: var(--ink); }
.prod-filter.is-active { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.prod-count { margin-left: auto; }

.prod-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.prod-card { background: var(--bone); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; min-height: 320px; transition: transform .25s, box-shadow .25s; color: var(--ink); }
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -16px rgba(0,0,0,.12); }
.prod-card.is-hl { background: var(--ink); color: var(--bone); border-color: var(--ink); grid-column: span 1; }
.prod-card.is-hl .prod-card-aud { color: rgba(255,255,255,.55); }
.prod-card.is-hl .prod-card-plan { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.prod-card.is-hl .prod-card-cta { color: var(--bone); }

/* ── Harmonized highlight treatments (Tweak: productHL) ── */
/* 02 · Bone tint — keeps bone family, softer accent border, no inversion */
.prod-bento[data-hl="bone-tint"] .prod-card.is-hl {
  background: var(--bone); color: var(--ink); border-color: var(--accent, #E63946);
  box-shadow: inset 0 0 0 1px var(--accent, #E63946);
}
.prod-bento[data-hl="bone-tint"] .prod-card.is-hl .prod-card-aud { color: var(--muted); }
.prod-bento[data-hl="bone-tint"] .prod-card.is-hl .prod-card-plan { background: var(--bone-2); color: var(--muted); }
.prod-bento[data-hl="bone-tint"] .prod-card.is-hl .prod-card-cta { color: var(--ink); }

/* 03 · Cream — warm tinted bone, no inversion */
.prod-bento[data-hl="cream"] .prod-card.is-hl {
  background: #F5EFE3; color: var(--ink); border-color: #E8DEC8;
}
.prod-bento[data-hl="cream"] .prod-card.is-hl .prod-card-plan { background: rgba(14,14,16,.07); color: rgba(14,14,16,.72); }
.prod-bento[data-hl="cream"] .prod-card.is-hl .prod-card-desc { color: rgba(14,14,16,.78); opacity: 1; }
.prod-bento[data-hl="cream"] .prod-card.is-hl .prod-card-aud { color: rgba(14,14,16,.68); }
.prod-bento[data-hl="cream"] .prod-card.is-hl .prod-card-cta { color: var(--snap-deep); font-weight: 600; }

/* 04 · Ember wash — subtle red blush */
.prod-bento[data-hl="ember"] .prod-card.is-hl {
  background: #FBEEEE; color: var(--ink); border-color: #F2D6D6;
}
.prod-bento[data-hl="ember"] .prod-card.is-hl .prod-card-plan { background: rgba(230,57,70,.08); color: #8B2A33; }

/* 05 · Outline — same bg as others, accent outline only */
.prod-bento[data-hl="outline"] .prod-card.is-hl {
  background: var(--bone); color: var(--ink); border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.prod-bento[data-hl="outline"] .prod-card.is-hl .prod-card-plan { background: var(--bone-2); color: var(--muted); }
.prod-bento[data-hl="outline"] .prod-card.is-hl .prod-card-cta { color: var(--ink); }

/* 06 · All ink — flip ALL cards dark for a uniform editorial feel */
.prod-bento[data-hl="all-ink"] .prod-card { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.prod-bento[data-hl="all-ink"] .prod-card:not(.is-hl) { background: #2A2C30; border-color: #2A2C30; }
.prod-bento[data-hl="all-ink"] .prod-card .prod-card-aud { color: rgba(255,255,255,.55); }
.prod-bento[data-hl="all-ink"] .prod-card .prod-card-plan { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.prod-bento[data-hl="all-ink"] .prod-card .prod-card-cta { color: var(--bone); }

.prod-card-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.prod-card-tag { display: flex; flex-direction: column; gap: 6px; }
.prod-card-new { display: inline-block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; padding: 3px 8px; border-radius: 4px; color: #fff; background: var(--snap-deep); width: fit-content; }
/* Card icon mark — line-art SVG in top-right */
.prod-card-mark { color: var(--ink); opacity: .85; flex-shrink: 0; display: inline-flex; transition: transform .25s ease, color .25s ease; }
.prod-card:hover .prod-card-mark { transform: translateY(-2px); }
.prod-card.is-hl .prod-card-mark { color: var(--snap-deep); opacity: 1; }
.prod-card-name { font-size: 22px; line-height: 1.1; }
.prod-card-desc { font-size: 14px; line-height: 1.5; opacity: .75; }
.prod-card-foot { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.prod-card-aud { font-size: 10.5px; color: var(--muted); }
.prod-card-plans { display: flex; gap: 6px; flex-wrap: wrap; }
.prod-card-plan { font-size: 11px; font-family: var(--font-mono); padding: 3px 8px; background: var(--bone-2); border-radius: 4px; color: var(--muted); letter-spacing: .03em; }
.prod-card-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink); }

@media (max-width: 960px) { .prod-bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .prod-bento { grid-template-columns: 1fr; } }

/* ──────────── WHY ──────────── */
.sec-why { background: var(--bone); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why-cell { padding: 32px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-height: 260px; position: relative; overflow: hidden; transition: background-color .35s ease, transform .35s ease; }
.why-cell:hover { background: #fff; transform: translateY(-2px); }
.why-cell::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--why-accent, var(--ink)); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.why-cell:hover::before { width: 100%; }
.why-cell-head { display: flex; justify-content: space-between; align-items: flex-start; }
.why-icon { color: var(--ink); opacity: .35; transition: color .35s ease, opacity .35s ease, transform .35s ease; }
.why-cell:hover .why-icon { color: var(--why-accent, var(--ink)); opacity: 1; transform: rotate(-4deg) scale(1.05); }
.why-num { color: var(--muted); }
.why-title { font-size: 22px; line-height: 1.15; }
.why-body { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.why-line { position: absolute; left: 32px; bottom: 32px; width: 28px; height: 1.5px; background: var(--line); transition: width .35s ease; }
.why-cell:hover .why-line { width: 56px; background: var(--why-accent, var(--ink)); }
.why-glow { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.why-cell:hover .why-glow { opacity: 1; }

.why-foot { margin-top: 48px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--bone-2); }
.why-modules { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.why-mod { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); background: var(--bone); border-radius: 999px; white-space: nowrap; flex: 0 0 auto; }
/* Single-row infinite marquee carousel */
.why-modules-marquee { margin-top: 16px; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); }
.why-modules-track { display: inline-flex; gap: 8px; white-space: nowrap; animation: why-mod-scroll 38s linear infinite; will-change: transform; }
.why-modules-marquee:hover .why-modules-track { animation-play-state: paused; }
@keyframes why-mod-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .why-modules-track { animation: none; } }
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; } }

/* ──────────── CUSTOMERS ──────────── */
.sec-customers { background: var(--bone-2); }
.cust-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.cust-quote { background: var(--ink); color: var(--bone); padding: 48px; border-radius: 20px; display: flex; flex-direction: column; gap: 24px; min-height: 420px; }
.cust-quote-text { font-size: 22px; line-height: 1.4; letter-spacing: -.005em; font-weight: 400; }
.cust-attr { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.cust-attr-name { font-size: 16px; font-weight: 600; }
.cust-attr-title { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 2px; }

.cust-list { display: flex; flex-direction: column; gap: 4px; }
.cust-item { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.cust-item:hover { background: var(--bone); }
.cust-item.is-active { background: var(--bone); }
.cust-item-num { color: var(--muted); }
.cust-item-name { font-size: 14.5px; font-weight: 500; }
.cust-item-title { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cust-item-prod { color: var(--snap); font-size: 10.5px; }

.cust-marquee { margin-top: 48px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.cust-marquee-track { display: inline-flex; gap: 64px; animation: marquee 30s linear infinite; white-space: nowrap; }
.cust-marquee-item { font-size: 24px; font-weight: 500; opacity: .35; letter-spacing: -.01em; }

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

/* ──────────── AWARDS ──────────── */
.sec-awards { background: var(--bone); padding: 56px 0; }
.sec-awards .section-head { margin-bottom: 28px; }
@media (max-width: 720px) { .sec-awards { padding: 40px 0; } }
.award-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.award-card { background: var(--bone-2); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.award-medal { width: 128px; height: 128px; border: 1.5px solid; border-radius: 50%; display: grid; place-items: center; }
.award-medal:has(img) { border: none; border-radius: 8px; width: auto; min-width: 128px; height: 128px; padding: 4px; align-items: start; padding-top: 0; }
.award-medal:has(img) img { width: auto; height: 100%; max-width: 240px; object-fit: contain; object-position: center top; }
.award-year { color: var(--muted); }
.award-body { font-size: 14px; line-height: 1.4; font-weight: 500; }

.award-stats { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.award-stat-v { font-size: 56px; font-weight: 600; letter-spacing: -.025em; line-height: 1; }
@media (max-width: 960px) { .award-grid { grid-template-columns: repeat(2, 1fr); } .award-stats { grid-template-columns: repeat(2, 1fr); } }

/* ──────────── CONTACT ──────────── */
.sec-contact { background: var(--paper); color: var(--bone); padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-title { margin-top: 16px; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; }
.contact-lead { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.65); margin-top: 20px; max-width: 460px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.contact-info-row { display: grid; grid-template-columns: 100px 1fr; gap: 16px; }
.contact-info-row p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.85); }

.contact-form { background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-label { display: flex; flex-direction: column; gap: 8px; }
.contact-label > .mono-tag { color: rgba(255,255,255,.6); }
.contact-label input, .contact-label textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--bone);
  caret-color: var(--snap);
  font: inherit;
  font-size: 16px;
  padding: 8px 0;
  outline: none;
  resize: vertical;
  transition: border-color .2s, color .2s;
}
.contact-label input::placeholder, .contact-label textarea::placeholder { color: rgba(255,255,255,.35); }
/* Filled-but-unfocused: brighter underline so users see which fields they've completed */
.contact-label input:not(:placeholder-shown):not(:focus),
.contact-label textarea:not(:placeholder-shown):not(:focus) {
  border-bottom-color: rgba(255,255,255,.35);
}
/* Active focus: snap accent underline with a tiny glow */
.contact-label input:focus, .contact-label textarea:focus {
  border-bottom-width: 2px;
  border-color: var(--snap);
  box-shadow: 0 1px 0 0 var(--snap);
  margin-bottom: -1px; /* compensate for the extra border so layout doesn't shift */
}
/* Kill Chrome's autofill yellow/blue tint — keep the input visually flush
   with the form's surface. The form is rgba(255,255,255,.03) over var(--paper)
   (#0A0A0C); blended that's ~#111113. Using var(--paper) directly would make
   the autofilled input darker than its surroundings and visibly "box" it. */
.contact-label input:-webkit-autofill,
.contact-label input:-webkit-autofill:hover,
.contact-label input:-webkit-autofill:focus,
.contact-label input:-webkit-autofill:active,
.contact-label textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #111113 inset !important;
  -webkit-text-fill-color: var(--bone) !important;
  caret-color: var(--snap);
  /* extra-long transition delays the autofill bg from re-painting on tab switch */
  transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s;
}
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-radio { display: flex; gap: 8px; flex-wrap: wrap; }
.contact-radio-pill { background: transparent; border: 1px solid var(--line-dark); color: rgba(255,255,255,.7); height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.contact-radio-pill:hover { border-color: rgba(255,255,255,.4); color: var(--bone); }
.contact-radio-pill:focus { outline: none; }
.contact-radio-pill.is-active { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.contact-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.contact-chip { background: transparent; border: 1px solid var(--line-dark); color: rgba(255,255,255,.7); height: 32px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.contact-chip:hover { border-color: rgba(255,255,255,.4); color: var(--bone); }
.contact-chip:focus { outline: none; }
.contact-chip.is-active { background: var(--snap); border-color: var(--snap); color: var(--bone); }
.contact-submit { align-self: start; margin-top: 12px; }
.contact-fineprint { color: rgba(255,255,255,.4); margin-top: 8px; }

.contact-thanks { display: flex; flex-direction: column; gap: 16px; align-items: start; padding: 24px 0; }
.contact-check { width: 56px; height: 56px; border: 1.5px solid; border-radius: 50%; display: grid; place-items: center; }
.contact-thanks h3 { font-size: 28px; }
.contact-thanks p { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.55; }

@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-row { grid-template-columns: 1fr; } }

/* ──────────── FOOTER ──────────── */
.footer { background: #08080a; color: var(--bone); padding: 80px 0 32px; border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: 1.2fr 3fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-pitch { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.6); margin-top: 16px; max-width: 320px; }
.footer-cta { margin-top: 24px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--bone); }

.footer-bot { padding-top: 32px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-bot-row { display: flex; gap: 20px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.footer-bot-row a:hover { color: var(--bone); }

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


/* ──────────── HERO D — Manifesto (paper) ──────────── */
.hero-D { background: var(--bone); color: var(--ink); padding: 140px 0 64px; min-height: 100vh; display: flex; align-items: center; }
.hero-D-content { display: flex; flex-direction: column; gap: 48px; width: 100%; }
.hero-D-top { display: flex; justify-content: space-between; align-items: center; }
.hero-D-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; }
.hero-D-eyebrow .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 10px; vertical-align: middle; transform: translateY(-1px); }
.hero-D-meta-r { display: flex; gap: 16px; }
.hero-D-meta-r .mono-tag { color: var(--muted); }
.hero-D-title { font-size: clamp(48px, 8.4vw, 140px); line-height: .92; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
.hero-D-title em { font-style: italic; font-weight: 500; }
.hero-D-uline { background-image: linear-gradient(transparent 78%, currentColor 78%, currentColor 86%, transparent 86%); }
.hero-D-bottom { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.hero-D-lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--muted); max-width: 560px; }
.hero-D-lead strong { color: var(--ink); font-weight: 600; }
.hero-D-rule { height: 1px; background: var(--line); }
.hero-D-footnote { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); line-height: 1.5; }
@media (max-width: 720px) { .hero-D-bottom { grid-template-columns: 1fr; } .hero-D-footnote { grid-template-columns: 1fr; } }

/* ──────────── HERO E — Stat Wall ──────────── */
.hero-E { background: #0A0A0C; color: var(--bone); padding: 140px 0 0; min-height: 100vh; display: flex; flex-direction: column; }
.hero-E-head { display: flex; flex-direction: column; gap: 24px; padding-bottom: 64px; }
.hero-E-title { font-size: clamp(40px, 6vw, 96px); line-height: .96; letter-spacing: -.038em; font-weight: 600; }
.hero-E-title em { font-style: normal; }
.hero-E-cta { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.hero-E-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.12); flex: 1; }
.hero-E-cell { padding: 40px 32px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 10px; min-height: 220px; transition: background .25s; }
.hero-E-cell:nth-child(3n) { border-right: 0; }
.hero-E-cell:hover { background: rgba(255,255,255,.025); }
.hero-E-num { font-size: clamp(48px, 6vw, 88px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.hero-E-num small { font-size: .42em; opacity: .55; margin-left: 6px; font-weight: 500; }
.hero-E-label { font-size: 16px; line-height: 1.2; color: rgba(255,255,255,.85); display: flex; flex-direction: column; }
.hero-E-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-top: auto; text-transform: uppercase; }
@media (max-width: 960px) { .hero-E-grid { grid-template-columns: repeat(2, 1fr); } .hero-E-cell:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.12); } .hero-E-cell:nth-child(2n) { border-right: 0; } }
@media (max-width: 600px) { .hero-E-grid { grid-template-columns: 1fr; } .hero-E-cell { border-right: 0 !important; } }

/* ──────────── HERO F — Terminal ──────────── */
.hero-F { background: #060606; color: var(--bone); padding: 140px 0 80px; min-height: 100vh; display: flex; align-items: center; overflow: hidden; position: relative; }
.hero-F::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 30%, rgba(95,214,116,.08) 0%, transparent 55%); pointer-events: none; }
.hero-F-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; position: relative; }
.hero-F-left { display: flex; flex-direction: column; gap: 22px; }
.hero-F-title { font-size: clamp(38px, 5.4vw, 80px); line-height: .98; letter-spacing: -.035em; font-weight: 600; }
.hero-F-title em { font-style: italic; color: #5fd674; font-weight: 500; }
.hero-F-lead { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.7); max-width: 480px; }
.hero-F-term { background: #0a120c; border: 1px solid rgba(95,214,116,.18); border-radius: 10px; overflow: hidden; box-shadow: 0 32px 80px -32px rgba(0,0,0,.7), 0 0 0 1px rgba(95,214,116,.04), inset 0 0 80px rgba(95,214,116,.05); font-family: var(--font-mono); }
.hero-F-term-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(95,214,116,.06); border-bottom: 1px solid rgba(95,214,116,.15); }
.hero-F-term-bar > span:not(.hero-F-term-title) { width: 11px; height: 11px; border-radius: 50%; background: rgba(95,214,116,.3); }
.hero-F-term-bar > span:first-child { background: #FF5F57; }
.hero-F-term-bar > span:nth-child(2) { background: #FEBC2E; }
.hero-F-term-bar > span:nth-child(3) { background: #28C840; }
.hero-F-term-title { font-size: 11px; color: rgba(95,214,116,.6); margin-left: 12px; letter-spacing: .04em; }
.hero-F-term-body { padding: 22px 24px; min-height: 420px; font-size: 13px; line-height: 1.7; color: #b8eecb; position: relative; overflow: hidden; }
.hero-F-line { display: flex; gap: 12px; opacity: 0; animation: termIn .35s ease-out forwards; }
@keyframes termIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.hero-F-prompt { font-size: 11px; padding: 1px 6px; border-radius: 3px; flex-shrink: 0; align-self: flex-start; margin-top: 3px; letter-spacing: .04em; text-transform: lowercase; }
.hero-F-prompt.agent { background: rgba(95,214,116,.15); color: #5fd674; }
.hero-F-prompt.ok    { background: rgba(95,214,116,.2);  color: #7fea96; }
.hero-F-prompt.warn  { background: rgba(255,178,58,.18); color: #ffb168; }
.hero-F-prompt.sys   { background: rgba(255,255,255,.08); color: rgba(255,255,255,.55); }
.hero-F-line.t-cmd .hero-F-prompt { background: transparent; color: #7fea96; padding: 0; }
.hero-F-code { color: #b8eecb; }
.hero-F-line.t-cmd .hero-F-code { color: #fff; }
.hero-F-line.t-warn .hero-F-code { color: #ffd9ad; }
.hero-F-scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(95,214,116,.04) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
@media (max-width: 960px) { .hero-F-grid { grid-template-columns: 1fr; } .hero-F-term-body { min-height: 320px; } }
