/* ============================================================
   VUVA SYSTEMS — OPERATIONAL CARTOGRAPHY REDESIGN
   Loaded after the existing product/demo styles. This is the public
   homepage redesign layer; existing functionality remains intact.
   ============================================================ */

/* ---------- Public art-direction tokens ---------- */
:root {
  --oc-carbon: #090d0b;
  --oc-carbon-2: #0e1611;
  --oc-graphite: #18231c;
  --oc-paper: #f1f1eb;
  --oc-paper-2: #e5e9df;
  --oc-ink: #132018;
  --oc-muted-ink: #59665d;
  --oc-mint: #b7f4ce;
  --oc-signal: #35e0a1;
  --oc-amber: #c7a66a;
  --oc-rule-dark: rgba(222, 240, 230, .16);
  --oc-rule-dark-soft: rgba(222, 240, 230, .08);
  --oc-rule-light: rgba(19, 32, 24, .17);
  --oc-rule-light-soft: rgba(19, 32, 24, .09);
  --oc-display: var(--display-font);
  --oc-body: var(--body-font);
  --oc-mono: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  --oc-ease: cubic-bezier(.16, 1, .3, 1);
  --oc-ease-snap: cubic-bezier(.22, 1, .36, 1);
  --oc-container: min(1380px, calc(100% - clamp(2.5rem, 6vw, 7rem)));
  --oc-header-offset: 5.5rem;
}

/* Keep the shared product stylesheet's legacy contract intact, but retune the
   public shell to the approved system. */
body {
  max-width: 100vw;
  overflow-x: clip;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}
*, *::before, *::after {
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  overflow-wrap: normal;
}
p, li, dd, blockquote { text-wrap: pretty; }

/* ---------- Navigation ---------- */
.site-header {
  background: rgba(9, 13, 11, .82);
  border-bottom-color: transparent;
}
.site-header.is-scrolled {
  background: rgba(9, 13, 11, .95);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
}
.header-inner {
  width: var(--oc-container);
  padding-block: 1rem;
  gap: clamp(1rem, 3vw, 3rem);
}
.is-scrolled .header-inner { padding-block: .65rem; }
.brand { flex-shrink: 0; gap: .72rem; }
.brand-mark { width: 34px; height: 34px; color: var(--oc-signal); }
.brand-name { font-size: 1.08rem; letter-spacing: -.025em; }
.primary-nav { gap: clamp(.9rem, 1.8vw, 1.8rem); }
.primary-nav a { font-size: .72rem; letter-spacing: .11em; }
.primary-nav .nav-contact {
  padding: .65rem .8rem;
  border: 1px solid var(--oc-signal);
  color: var(--oc-signal);
}
.primary-nav .nav-contact::after { display: none; }
.primary-nav .nav-contact:hover { color: var(--oc-carbon); background: var(--oc-signal); }

/* ---------- Shared chapter language ---------- */
.container { width: var(--oc-container); }
.section-dark,
.section-light,
.section-paper {
  padding-block: clamp(6.5rem, 11vw, 11.5rem);
  position: relative;
}
.section-dark { background: var(--oc-carbon); color: #edf3ef; }
.section-light { background: var(--oc-paper); color: var(--oc-ink); }
.section-paper { background: var(--oc-paper-2); color: var(--oc-ink); }
.section-head {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(2rem, 7vw, 8rem);
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
  align-items: end;
}
.section-head h2,
.h2-display {
  font-size: clamp(3rem, 6.5vw, 7rem);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 500;
  text-transform: none;
}
.kicker {
  color: var(--oc-signal);
  letter-spacing: .16em;
  font-size: .67rem;
  margin-bottom: 1.8rem;
}
.section-light .kicker,
.section-paper .kicker { color: #0d8f63; }
.section-lede { font-size: 1.05rem; line-height: 1.6; max-width: 42ch; opacity: .78; }

/* ---------- Hero: a system field beside the point of view ---------- */
.hero {
  min-height: 100svh;
  padding-top: clamp(7.5rem, 13vh, 9rem);
  padding-bottom: clamp(2.5rem, 5vh, 4rem);
  display: block;
}
.hero-bg { z-index: -1; }
.hero-grid-lines {
  background-image:
    linear-gradient(var(--oc-rule-dark-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--oc-rule-dark-soft) 1px, transparent 1px);
  background-size: clamp(52px, 7vw, 108px) clamp(52px, 7vw, 108px);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.22));
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.22));
}
.hero-glow {
  left: 74%; top: 12%;
  width: min(56vw, 760px);
  background: radial-gradient(circle, rgba(53, 224, 161, .105), transparent 65%);
  filter: blur(0);
}
.hero-beam { display: none; }
.hero-inner {
  width: var(--oc-container);
  min-width: 0;
  margin-inline: auto;
  min-height: calc(100svh - clamp(7.5rem, 13vh, 9rem) - clamp(2.5rem, 5vh, 4rem));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  grid-template-rows: auto 1fr auto auto;
  row-gap: clamp(1.6rem, 3.5vh, 3rem);
  column-gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}
.hero-eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--oc-muted-dark, #96a39c);
}
.eyebrow-dot { animation: none; width: 6px; height: 6px; }
.hero-loc { margin-left: auto; color: #aab8af; }
.hero-title {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  font-size: clamp(3rem, 4.55vw, 4.7rem);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 500;
  text-transform: none;
  margin: 0;
}
.ht-line { padding-block: .08em; }
.hero-title em { color: var(--oc-mint); }
.hero-title em:last-child { -webkit-text-stroke: 0; color: var(--oc-signal); }
.hero-foot {
  grid-column: 1;
  grid-row: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: start;
  padding-bottom: clamp(1.6rem, 4vh, 3rem);
}
.hero-lede { font-size: clamp(1rem, 1.2vw, 1.15rem); max-width: 37ch; line-height: 1.52; color: #a9b6ae; }
.hero-cta-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-meta {
  grid-column: 1 / -1;
  grid-row: 4;
  margin: 0;
  padding-top: 1.2rem;
  font-size: .62rem;
  color: #829088;
}
.scroll-cue i::after { animation: none; }
.scroll-cue i::after { content: ""; background: var(--oc-signal); transform: none; }

/* A restrained, factual system field. It uses the existing Vuva platform
   artwork as its visual source rather than inventing metrics or data. */
.hero-system {
  grid-column: 2;
  grid-row: 2 / span 2;
  min-width: 0;
  align-self: center;
  position: relative;
  padding: 1rem;
  border: 1px solid var(--oc-rule-dark);
  background: linear-gradient(145deg, rgba(18, 30, 23, .74), rgba(9, 13, 11, .52));
}
.hero-system::before {
  content: "VUVA / SYSTEM FIELD";
  position: absolute;
  top: -1.55rem;
  left: 1rem;
  font: 500 .61rem/1 var(--oc-mono);
  letter-spacing: .15em;
  color: var(--oc-signal);
}
.hero-system img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
}
.hero-system-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--oc-rule-dark-soft);
  font: 500 .6rem/1.4 var(--oc-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #829088;
}
.hero-system-note strong { color: var(--oc-mint); font-weight: 500; }

/* ---------- Buttons ---------- */
.button {
  border-radius: 4px;
  padding: .95rem 1.2rem;
  font-size: .86rem;
  letter-spacing: .01em;
  transition: transform .25s var(--oc-ease), background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  will-change: auto;
}
.button-accent { background: var(--oc-signal); color: var(--oc-carbon); }
.button-accent:hover { box-shadow: 0 0 0 4px rgba(53, 224, 161, .14); transform: translateY(-2px); }
.button-ghost { border-color: var(--oc-rule-dark); }
.button-ghost:hover { border-color: var(--oc-signal); color: var(--oc-signal); transform: translateY(-2px); }

/* ---------- Marquee ---------- */
.marquee { background: var(--oc-carbon-2); border-color: var(--oc-rule-dark-soft); }
.marquee-track li { color: transparent; -webkit-text-stroke: 1px rgba(222, 240, 230, .26); }
.marquee-track li:nth-child(even) { color: rgba(222, 240, 230, .38); -webkit-text-stroke: 0; }

/* ---------- Who we are ---------- */
.intro { min-height: 70svh; display: grid; align-items: center; }
.intro .container { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: clamp(2rem, 7vw, 8rem); align-items: end; }
.intro-lead { min-width: 0; }
.intro-aside { min-width: 0; padding-bottom: .35rem; }
.intro-statement {
  max-width: 15ch;
  font-size: clamp(3.1rem, 6.6vw, 7.2rem);
  line-height: .93;
  letter-spacing: -.06em;
  font-weight: 500;
  text-transform: none;
}
.intro-statement em { color: var(--oc-mint); }
.intro-sub { grid-column: 2; max-width: 37ch; font-size: 1.05rem; line-height: 1.6; color: #a9b6ae; }
.intro-facts { grid-column: 2; display: flex; flex-direction: column; gap: .8rem; font-size: .68rem; color: #829088; }
.intro-facts li::before { width: 22px; height: 1px; background: var(--oc-signal); }

/* ---------- Capabilities: rows, not cards ---------- */
.services { background: var(--oc-paper); }
.service-rows { border-top: 1px solid var(--oc-rule-light); }
.service-row {
  grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 17rem) 2rem;
  padding-block: clamp(1.8rem, 3vw, 2.8rem);
  border-bottom-color: var(--oc-rule-light-soft);
}
@media (max-width: 1180px) {
  .service-row { grid-template-columns: 3.4rem minmax(0, 1fr) minmax(0, 15rem) 2rem; }
}
@media (max-width: 640px) {
  .service-row { grid-template-columns: 2.6rem minmax(0, 1fr); row-gap: .8rem; }
  .sr-tags { grid-column: 2; }
  .sr-arrow { display: none; }
}
.service-row::after { background: var(--oc-ink); }
.service-row:hover h3 { color: var(--oc-paper); }
.service-row:hover .sr-index,
.service-row:hover .sr-main p,
.service-row:hover .sr-tags li { color: rgba(241, 241, 235, .72); }
.service-row:hover .sr-tags li { border-color: rgba(241, 241, 235, .28); }
.sr-main h3 { font-size: clamp(1.8rem, 3.2vw, 3.5rem); letter-spacing: -.045em; font-weight: 500; text-transform: none; }
.sr-main p { font-size: .98rem; line-height: 1.55; color: var(--oc-muted-ink); max-width: 48ch; }
.sr-tags { padding-top: .4rem; }
.sr-tags li { border-color: var(--oc-rule-light); color: var(--oc-muted-ink); border-radius: 3px; }
.sr-arrow { color: var(--oc-muted-ink); }

/* ---------- Selected work: editorial sequence ---------- */
.work { background: var(--oc-paper); }
.work-list { display: flex; flex-direction: column; gap: clamp(6rem, 11vw, 12rem); }
.work-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.work-panel:nth-child(2) { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); }
.work-panel:nth-child(2) .wp-media { order: 2; }
.work-panel:nth-child(2) .wp-body { order: 1; }
.work-panel:nth-child(3) { grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); }
.work-panel:nth-child(3) .wp-media { order: 1; }
.work-panel:nth-child(3) .wp-body { order: 2; }
.work-panel:nth-child(4) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.work-panel:nth-child(4) .wp-media { order: 2; }
.work-panel:nth-child(4) .wp-body { order: 1; }
.work-panel:nth-child(5) { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.wp-media {
  border-radius: 4px;
  border-color: var(--oc-rule-light);
  background: var(--oc-carbon-2);
  box-shadow: none;
}
.wp-body h3 { font-size: clamp(2.8rem, 5vw, 5.8rem); line-height: .92; letter-spacing: -.06em; font-weight: 500; text-transform: none; }
.wp-body h3 { margin-block: .8rem 1.2rem; }
.wp-lead { font-size: 1.08rem; line-height: 1.5; color: var(--oc-muted-ink); max-width: 40ch; }
.wp-facts { display: grid; gap: 0; margin-top: 2.3rem; }
.wp-facts > div { grid-template-columns: 8rem minmax(0, 1fr); gap: 1.4rem; padding-block: 1rem; border-top-color: var(--oc-rule-light-soft); }
.wp-facts dt { color: #0d8f63; font-size: .6rem; }
.wp-facts dd { font-size: .92rem; line-height: 1.55; color: var(--oc-muted-ink); }
.tag { border-radius: 3px; font-size: .6rem; }
.work-disclosure { border: 0; border-top: 1px solid var(--oc-rule-light); border-radius: 0; padding: 1.1rem 0; color: var(--oc-muted-ink); }

/* ---------- Project Index: catalogue ---------- */
.portfolio { background: var(--oc-paper-2); }
.pf-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); gap: 1.2rem 2rem; align-items: start; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.pf-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.pf-chips .chip,
.pf-search { min-height: 42px; border-radius: 3px; }
.pf-chips .chip { border-color: var(--oc-rule-light); color: var(--oc-muted-ink); }
.pf-chips .chip.is-on,
.pf-chips .chip[aria-pressed="true"] { background: var(--oc-ink); border-color: var(--oc-ink); color: var(--oc-paper); }
.pf-search-wrap { display: flex; }
.pf-search { background: var(--oc-paper); }
.pf-count { grid-column: 1 / -1; font-size: .63rem; color: var(--oc-muted-ink); }
.pf-featured { margin-bottom: clamp(3rem, 6vw, 5rem); }
.pf-grid { grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 1px; background: var(--oc-rule-light); border-block: 1px solid var(--oc-rule-light); }
.pf-grid-featured { grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr)); }
.pf-card { background: var(--oc-paper-2); }
.pf-card-btn { border-radius: 0; border: 0; background: var(--oc-paper-2); transition: background-color .25s ease, color .25s ease; }
.pf-card-btn:hover,
.pf-card-btn:focus-visible { transform: none; box-shadow: none; background: #dfe5da; }
.pf-media { aspect-ratio: 8 / 5; background: var(--oc-carbon-2); border: 0; }
.pf-media::after { width: 0; }
.pf-body { gap: .6rem; padding: 1.2rem 1.3rem 1.3rem; }
.pf-name { font-size: 1.2rem; letter-spacing: -.025em; font-weight: 500; }
.pf-blurb { font-size: .83rem; line-height: 1.5; color: var(--oc-muted-ink); }
.pf-caps i { border-radius: 2px; border-color: var(--oc-rule-light-soft); }
.pf-open-hint { color: #0d8f63; }
.pf-foot { padding-top: .6rem; }
.pf-card-btn[data-industry="healthcare"] .pf-media::after { background: #0d8f63; }
.pf-card-btn[data-industry="logistics"] .pf-media::after { background: #0d8f63; }
.pf-card-btn[data-industry="retail"] .pf-media::after { background: #0d8f63; }
.pf-card-btn[data-industry="hospitality"] .pf-media::after { background: #0d8f63; }
.pf-card-btn[data-industry="realestate"] .pf-media::after { background: #0d8f63; }
.pf-card-btn[data-industry="education"] .pf-media::after { background: #0d8f63; }
.pf-card-btn[data-industry="creative"] .pf-media::after { background: #0d8f63; }
.pf-card-btn[data-industry="fintech"] .pf-media::after { background: #0d8f63; }
.pf-card-btn[data-industry="ai"] .pf-media::after { background: #0d8f63; }

/* Compact index treatment: keep every project, but let the catalogue read as
   a technical index rather than a wall of full cards. */
.creative .pf-grid,
.pf-grid:not(.pf-grid-featured) {
  align-items: stretch;
}
.creative .pf-body,
.pf-grid:not(.pf-grid-featured) .pf-body {
  gap: .45rem;
  padding: .85rem 1rem .9rem;
}
.creative .pf-name,
.pf-grid:not(.pf-grid-featured) .pf-name {
  font-size: 1.02rem;
}
.creative .pf-blurb,
.pf-grid:not(.pf-grid-featured) .pf-blurb {
  font-size: .78rem;
  line-height: 1.4;
}
.pf-grid:not(.pf-grid-featured) .pf-media {
  aspect-ratio: 16 / 8;
}
.pf-grid:not(.pf-grid-featured) .pf-caps i {
  font-size: .55rem;
  padding: .2rem .38rem;
}
.pf-grid:not(.pf-grid-featured) .pf-foot {
  padding-top: .35rem;
}
@media (max-width: 640px) {
  .pf-grid:not(.pf-grid-featured) .pf-body { padding: .8rem .85rem .85rem; }
  .pf-grid:not(.pf-grid-featured) .pf-media { aspect-ratio: 16 / 7; }
}

/* ---------- Creative studio: an annex ---------- */
.creative { background: var(--oc-carbon); }
.creative .section-head h2 { color: #edf3ef; }
.creative .section-lede { color: #a9b6ae; }
.creative .pf-grid { background: var(--oc-rule-dark-soft); border-color: var(--oc-rule-dark-soft); }
.creative .pf-card { background: var(--oc-carbon-2); }
.creative .pf-card-btn { background: var(--oc-carbon-2); color: #edf3ef; border-color: var(--oc-rule-dark-soft); }
.creative .pf-card-btn:hover { background: #131f17; }
.creative .pf-media { background: var(--oc-graphite); }
.creative .pf-blurb { color: #96a39c; }
.creative .pf-caps i { border-color: var(--oc-rule-dark-soft); color: #96a39c; }
.creative .pf-foot .tag.is-concept { color: var(--oc-amber); }
.creative .work-disclosure { border-color: var(--oc-rule-dark-soft); color: #96a39c; }

/* ---------- Demo showroom: laboratory ---------- */
.showroom { background: var(--oc-carbon); }
.showroom .section-head h2 { color: #edf3ef; }
.showroom .section-lede { color: #a9b6ae; }
.stack { display: flex; flex-direction: column; gap: clamp(3.5rem, 7vw, 6rem); }
@media (min-width: 901px) {
  .stack-card { position: sticky; top: clamp(6rem, 13vh, 8.5rem); margin-bottom: clamp(2rem, 5vw, 4.5rem); }
  .stack-card:nth-child(1) { top: 6rem; } .stack-card:nth-child(2) { top: 6.9rem; }
  .stack-card:nth-child(3) { top: 7.8rem; } .stack-card:nth-child(4) { top: 8.7rem; }
  .stack-card:nth-child(5) { top: 9.6rem; } .stack-card:nth-child(6) { top: 10.5rem; }
}
.stack-card { border-radius: 4px; background: #101813; box-shadow: none; }
.sc-body { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 6rem); padding: clamp(1.5rem, 3vw, 3rem); }
.sc-copy h3 { font-size: clamp(2.4rem, 4vw, 4.4rem); line-height: .94; letter-spacing: -.055em; font-weight: 500; }
.sc-copy p { color: #a9b6ae; font-size: 1rem; }
.sc-caps li { border-color: var(--oc-rule-dark-soft); border-radius: 2px; }
.sc-visual { border-radius: 2px; border-color: var(--oc-rule-dark-soft); }
.sc-topbar { font-size: .61rem; background: #0c130f; }

/* ---------- Working examples: evidence bench ---------- */
.systems { background: var(--oc-carbon-2); }
.cap-stage { border-radius: 4px; border-color: var(--oc-rule-dark); background: var(--oc-carbon); }
.cap-tabs { background: #0c130f; }
.cap-tab { border-radius: 0; padding: 1rem 1.1rem; color: #96a39c; }
.cap-tab[aria-selected="true"] { background: rgba(53, 224, 161, .07); box-shadow: inset 0 -2px 0 var(--oc-signal); }
.cap-view { padding: clamp(1.5rem, 3vw, 2.8rem); }
.ui-window { border-radius: 3px; }
.flow-step { border-radius: 2px; }
.wa-phone { border-radius: 4px; }
.arch-panel { border-radius: 3px; }

/* ---------- AI automation ---------- */
.ai-automation { background: var(--oc-carbon); }
.ai-auto-grid { gap: clamp(3rem, 8vw, 9rem); }
.ai-auto-grid h2.h3-size { font-size: clamp(2rem, 3.6vw, 4rem); line-height: 1; letter-spacing: -.05em; font-weight: 500; }
.num-list li { border-color: var(--oc-rule-dark-soft); font-size: .95rem; }
.agent-detail { border-radius: 3px; }
.agent-card { border-radius: 3px; }
.agent-card.is-active { border-color: var(--oc-signal); background: rgba(53, 224, 161, .08); }
.flow-step.is-active { border-color: var(--oc-signal); background: rgba(53, 224, 161, .08); }
.flow-step.is-done .flow-dot { border-color: var(--oc-signal); color: var(--oc-signal); }

/* ---------- Vuva Stack: architecture as the subject ---------- */
.ecosystem { background: var(--oc-paper); }
.sys-flow { gap: 1px; background: var(--oc-rule-light); border: 1px solid var(--oc-rule-light); padding: 1px; }
.sys-node { border-radius: 0; border: 0; background: var(--oc-paper); padding: clamp(1.3rem, 2.3vw, 2.2rem) 1.2rem; }
.sys-node:hover { transform: none; box-shadow: none; border-color: transparent; }
.sys-node.is-lit { border-color: transparent; box-shadow: none; background: #e6ede2; }
.sys-node b { font-size: clamp(.9rem, 1.2vw, 1.2rem); letter-spacing: -.02em; font-weight: 500; }
.sys-node small { font-size: .73rem; }
.arch-panel { border-radius: 3px; border-color: var(--oc-rule-light); background: var(--oc-paper); }
.arch-layer { border-radius: 0; border-color: var(--oc-rule-light-soft); border-left: 0; padding: 1.1rem 0; }
.arch-layer.is-lit { transform: none; border-left: 0; background: transparent; }
.arch-layer.is-lit .al-name { color: #0d8f63; }
.arch-layer.is-lit .al-desc { color: var(--oc-ink); }
.arch-integrations { border-top: 1px solid var(--oc-rule-light-soft); padding-top: 1.2rem; }

/* ---------- Why / process: operating model ---------- */
.why { background: var(--oc-carbon); }
.why-list { border-top-color: var(--oc-rule-dark-soft); }
.why-item { padding-block: clamp(2rem, 4vw, 3.4rem); border-color: var(--oc-rule-dark-soft); }
.wi-statement { font-size: clamp(1.8rem, 4vw, 4.2rem); font-weight: 500; text-transform: none; letter-spacing: -.05em; }
.wi-support { color: #a9b6ae; }
.process { background: var(--oc-paper); }
.process-track { border-radius: 0; border-color: var(--oc-rule-light); background: var(--oc-rule-light); }
.process-track li { background: var(--oc-paper); padding: clamp(1.4rem, 2vw, 2rem) 1rem; }
.process-track .mono { margin-bottom: 1.6rem; color: #0d8f63; }
.process-track h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; }
.process-track p { font-size: .8rem; }

/* ---------- About ---------- */
.about { background: var(--oc-paper-2); }
.about-statement { font-size: clamp(3.2rem, 6.4vw, 7rem); line-height: .92; letter-spacing: -.06em; font-weight: 500; text-transform: none; }
.about-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(3rem, 8vw, 10rem); }
.about-body p { color: #3c463f; font-size: 1.05rem; }
.trust-list { border-color: var(--oc-rule-light); }
.trust-list li { border-color: var(--oc-rule-light-soft); }
.trust-list p { color: var(--oc-muted-ink); }
.founder-card { border-radius: 3px; border-color: var(--oc-rule-light); background: var(--oc-paper); }
.founder-card-body > span { color: #0d8f63; }

/* ---------- Vuva AI / explorer / contact ---------- */
.vuva-ai { background: var(--oc-carbon-2); }
.vuva-ai-side h2 { font-size: clamp(2.5rem, 4.4vw, 5rem); line-height: .95; letter-spacing: -.055em; font-weight: 500; }
.ai-sub { color: #a9b6ae; }
.ai-console { border-radius: 3px; background: var(--oc-carbon); }
.explorer { background: var(--oc-paper-2); }
.explorer-panel { border-radius: 3px; border-color: var(--oc-rule-light); }
.explorer-output { background: var(--oc-paper); }
.contact { background: var(--oc-carbon); }
.cta-title { font-size: clamp(3.5rem, 9vw, 10rem); line-height: .88; letter-spacing: -.07em; font-weight: 500; text-transform: none; }
.cta-actions .button { border-radius: 3px; }
.project-form { border-radius: 3px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea { border-radius: 3px; }
.toggle-item { border-radius: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--oc-carbon); border-color: var(--oc-rule-dark-soft); }
.footer-word { color: transparent; -webkit-text-stroke: 1px rgba(222, 240, 230, .18); font-size: clamp(3rem, 12vw, 12rem); }
.footer-identity, .footer-nav, .footer-contact, .footer-bottom { min-width: 0; }

/* ---------- Motion budget ---------- */
.magnetic { transform: none !important; }
.js .reveal { transition: opacity .65s var(--oc-ease), transform .65s var(--oc-ease); will-change: auto; }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* The capability strip is a reading surface, not ambient decoration: its
   horizontal marquee is part of the hero message and must keep running.
   Only genuinely decorative loops are suppressed here. */
.hero-beam, .eyebrow-dot, .sc-live i, .agent-card.is-active .ag-status { animation: none !important; }
.js .ht-inner { transition: transform .7s var(--oc-ease); }
.ht-line:nth-child(1) .ht-inner { transition-delay: 0ms; }
.ht-line:nth-child(2) .ht-inner { transition-delay: .08s; }
.ht-line:nth-child(3) .ht-inner { transition-delay: .16s; }
.js .hero-eyebrow, .js .hero-foot, .js .hero-meta { transition: opacity .65s var(--oc-ease) .28s, transform .65s var(--oc-ease) .28s; }
.js .hero-system { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-system, .js .hero-system { opacity: 1; transform: none; animation: none; }
  .hero-beam, .eyebrow-dot, .sc-live i, .agent-card.is-active .ag-status { animation: none; }
  /* Reduced motion: stop the travel, but never hide the content. Drop the
     looping clone set and let the real phrases wrap into a readable block. */
  .marquee { overflow: visible; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: .35rem; }
  .marquee-track li[aria-hidden="true"] { display: none; }
}

/* ---------- Mobile composition ---------- */
@media (max-width: 900px) {
  .hero { min-height: 100svh; display: flex; padding-top: clamp(7.5rem, 12vh, 9rem); }
  .hero-inner { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto auto; gap: 2.8rem 0; align-content: center; }
  .hero-title { grid-column: 1; grid-row: auto; max-width: none; font-size: clamp(3.2rem, 9vw, 5.4rem); line-height: .92; align-self: auto; }
  .hero-foot { grid-column: 1; grid-row: auto; padding-bottom: 0; }
  .hero-system { grid-column: 1; grid-row: auto; width: min(100%, 520px); }
  .hero-meta { grid-column: 1; grid-row: auto; }
  .hero-system-note { flex-wrap: wrap; }
  .intro .container { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
  .intro .container > * { grid-column: 1; }
  .intro-lead, .intro-aside { grid-column: 1; }
  .intro-sub, .intro-facts { grid-column: 1; }
  .section-head { grid-template-columns: 1fr; }
  .work-panel, .work-panel:nth-child(n) { grid-template-columns: 1fr; }
  .work-panel:nth-child(n) .wp-media, .work-panel:nth-child(n) .wp-body { order: initial; }
  .work-panel { gap: 1.7rem; }
  .wp-body h3 { font-size: clamp(2.5rem, 8vw, 4.6rem); }
  .pf-controls { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .vuva-ai-shell, .about-grid { grid-template-columns: 1fr; }
  .stack-card { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 2.5rem, var(--oc-container)); }
  .section-dark, .section-light, .section-paper { padding-block: 5.5rem; }
  .section-head h2, .h2-display { font-size: clamp(2.8rem, 13vw, 4.8rem); line-height: .94; }
  .hero { padding-top: 7.2rem; padding-bottom: 4.5rem; }
  .hero-eyebrow { font-size: .58rem; letter-spacing: .13em; line-height: 1.6; }
  .hero-loc { margin-left: 0; flex-basis: 100%; }
  .hero-title { font-size: clamp(3rem, 14vw, 4.5rem); line-height: .91; letter-spacing: -.065em; max-width: 100%; overflow-wrap: normal; }
  .hero-title .ht-line { display: block; }
  .hero-title .ht-inner { white-space: normal; }
  .hero-title em { -webkit-text-stroke: 0; }
  .hero-foot { gap: 1.7rem; }
  .hero-lede { font-size: 1rem; max-width: 34ch; }
  .hero-cta-row { display: grid; grid-template-columns: 1fr; }
  .hero-cta-row .button { width: 100%; justify-content: center; }
  .hero-system { width: 100%; padding: .7rem; }
  .hero-system img { aspect-ratio: 3 / 4; }
  .hero-system::before { top: -1.35rem; }
  .hero-system-note { font-size: .54rem; }
  .intro-statement { font-size: clamp(2.6rem, 11.5vw, 4.2rem); max-width: 13ch; }
  .section-lede { font-size: 1rem; }
  .work-panel { gap: 1.6rem; }
  .wp-body h3 { font-size: clamp(2.3rem, 11vw, 4rem); }
  .wp-lead { font-size: 1rem; }
  .wp-facts > div { grid-template-columns: 1fr; gap: .35rem; }
  .work-disclosure { font-size: .82rem; }
  .pf-controls { grid-template-columns: 1fr; }
  .pf-chips, .pf-search-wrap { min-width: 0; }
  .pf-grid, .pf-grid-featured, .pf-grid-creative { grid-template-columns: 1fr; }
  .pf-body { padding: 1rem 1rem 1.15rem; }
  .pf-search { padding-block: .75rem; }
  .sc-body { grid-template-columns: 1fr; padding: 1.25rem; }
  .sc-copy h3 { font-size: clamp(2.2rem, 10vw, 3.6rem); }
  .cap-tabs { scroll-snap-type: x mandatory; }
  .cap-tab { min-width: 8.2rem; scroll-snap-align: start; }
  .cap-view { padding: 1.1rem; }
  .cap-pane-head { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .cap-pane-head h3 { font-size: 1.25rem; }
  .ai-console { height: min(580px, 75vh); }
  .cta-title { font-size: clamp(3rem, 15vw, 5.5rem); }
  .cta-actions { display: grid; grid-template-columns: 1fr; }
  .cta-actions .button { width: 100%; justify-content:center; }
  .footer-word { white-space: normal; text-wrap: balance; }
}

/* ---------- Tiny mobile width ---------- */
@media (max-width: 360px) {
  .hero-title { font-size: 2.85rem; }
  .hero-eyebrow { font-size: .52rem; }
  .section-head h2 { font-size: 2.65rem; }
  .intro-statement { font-size: 2.45rem; }
  .process-track p { font-size: .76rem; }
}
