/* Chazlytics public site. Tokens first; dark mode redefines them. */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f7f6;
  --surface: #ffffff;
  --ink: #0f1f24;
  --ink-2: #334148;
  --muted: #5d6b72;
  --line: #e2e8e7;
  --teal: #0f766e;
  --teal-2: #0e7490;
  --teal-soft: #e6f4f1;
  --gold: #f59e0b;
  --gold-soft: #fef3c7;
  --red: #dc2626;
  --ok: #059669;
  --shadow: 0 1px 2px rgba(15, 31, 36, .05), 0 8px 24px rgba(15, 31, 36, .06);
  --shadow-lg: 0 2px 6px rgba(15, 31, 36, .06), 0 24px 48px rgba(15, 31, 36, .12);
  /* the hero and proof bands stay dark in both themes */
  --deep: #062a2b;
  --deep-2: #0b3b3c;
  --deep-ink: #eaf6f4;
  --deep-muted: #9fc3be;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1417;
    --bg-alt: #0f1b1f;
    --surface: #132327;
    --ink: #e8f0ef;
    --ink-2: #c3d0cf;
    --muted: #93a5a6;
    --line: #22363a;
    --teal: #2dd4bf;
    --teal-2: #38bdf8;
    --teal-soft: #123a38;
    --gold-soft: #3a2e10;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 48px rgba(0, 0, 0, .4);
    --deep: #051a1c;
    --deep-2: #082a2c;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1417; --bg-alt: #0f1b1f; --surface: #132327; --ink: #e8f0ef;
  --ink-2: #c3d0cf; --muted: #93a5a6; --line: #22363a; --teal: #2dd4bf;
  --teal-2: #38bdf8; --teal-soft: #123a38; --gold-soft: #3a2e10;
  --deep: #051a1c; --deep-2: #082a2c;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--teal-2); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: 1.15rem; color: var(--muted); }
.accent { color: var(--teal); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: 10px;
  padding: 13px 22px; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fbbf24; color: #062a2b; box-shadow: 0 6px 18px rgba(15, 118, 110, .28); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(15, 118, 110, .35); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-light { background: #fff; color: #0b3b3c; }
.btn-outline-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(6, 42, 43, .72);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08); transition: background .2s;
}
.site-header.scrolled { background: rgba(6, 42, 43, .94); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; }
.wordmark svg { width: 32px; height: 32px; flex: none; }
.wordmark .accent { color: #5eead4; }
.nav { display: none; gap: 28px; }
.nav a { color: rgba(234, 246, 244, .8); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 10px 2px; }
.nav a:hover { color: #fff; }
@media (min-width: 920px) { .nav { display: flex; } }
.site-header .btn-primary { background: #fbbf24; box-shadow: none; }

section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 76px 0; } }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 32px; }

/* Hero */
.hero {
  position: relative; color: var(--deep-ink); overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(45, 212, 191, .18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(14, 116, 144, .25), transparent 60%),
    linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
  margin-top: -68px; padding: 136px 0 68px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero .eyebrow { color: #5eead4; }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 24px; }
.hero h1 .accent {
  background: linear-gradient(90deg, #5eead4, #fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { color: #cfe6e2; font-size: 1.22rem; max-width: 36em; }
.hero .sub { color: var(--deep-muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Reconciliation panel (illustrative UI) */
.recon {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: .95rem;
}
.recon-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.recon-title { font-weight: 700; color: #fff; }
.recon-title small { display: block; font-weight: 500; color: var(--deep-muted); font-size: .8rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.chip-warn { background: rgba(245, 158, 11, .16); color: #fbbf24; }
.chip-ok { background: rgba(16, 185, 129, .16); color: #34d399; }
.recon-row {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center;
  padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); margin-bottom: 8px;
}
.recon-row .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(94, 234, 212, .12); color: #5eead4; }
.recon-row .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.recon-row b { display: block; color: #fff; font-weight: 600; font-size: .93rem; }
.recon-row span.v { color: var(--deep-muted); font-size: .85rem; }
.recon-row .status { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.recon-row .status svg { width: 14px; height: 14px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.status.ok { background: rgba(16, 185, 129, .18); } .status.ok svg { stroke: #34d399; }
.status.warn { background: rgba(245, 158, 11, .2); } .status.warn svg { stroke: #fbbf24; }
.recon-row.flag { background: rgba(245, 158, 11, .08); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .3); }
.recon-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: .78rem; color: var(--deep-muted); }
.meter { height: 6px; background: rgba(255, 255, 255, .1); border-radius: 6px; overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #14b8a6, #fbbf24); border-radius: 6px; transition: width 1.4s cubic-bezier(.2, .8, .2, 1) .4s; }

/* Source strip under the hero */
.sources { background: var(--deep-2); color: var(--deep-muted); padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.sources .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; justify-content: center; font-size: .9rem; }
.sources .lbl { color: #5eead4; font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.sources span.s { display: inline-flex; align-items: center; gap: 8px; color: #d6ebe7; font-weight: 500; }
.sources svg { width: 18px; height: 18px; fill: none; stroke: #5eead4; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Problem */
.two-col { display: grid; gap: 48px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 72px; } }
.leaks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.leaks li {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow);
}
.leaks .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-soft); color: #b45309; }
.leaks .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .leaks .ico { color: #fbbf24; } }
.leaks-title { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 16px; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: #0f766e; color: #fff; font-weight: 800; font-size: 1.2rem;
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Platform cards */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--teal) 35%, var(--line)); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card.feature {
  background: linear-gradient(160deg, var(--teal) 0%, #0b5f63 100%); color: #fff; border-color: transparent;
}
.card.feature p { color: rgba(255, 255, 255, .85); }
.card.feature .tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(251, 191, 36, .22); color: #fde68a; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card.feature { background: linear-gradient(160deg, #0f766e 0%, #0b4a4a 100%); } }

/* Proof (dark band) */
.proof { background: linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%); color: var(--deep-ink); position: relative; overflow: hidden; }
.proof::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 400px at 100% 0%, rgba(45, 212, 191, .14), transparent 60%);
}
.proof .wrap { position: relative; }
.proof .eyebrow { color: #5eead4; }
.proof .lede { color: var(--deep-muted); }
.stats { display: grid; gap: 16px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .stats { grid-template-columns: repeat(6, 1fr); } .stat { grid-column: span 2; } .stat.wide { grid-column: span 3; } }
.stat {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 26px;
}
.stat .big { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; margin-bottom: 14px; }
.stat .big small { font-size: .45em; font-weight: 700; color: #5eead4; letter-spacing: 0; margin-left: 4px; }
.stat h3 { color: #fff; font-size: 1.02rem; margin-bottom: 6px; }
.stat p { color: var(--deep-muted); margin: 0; font-size: .93rem; }
.caveat {
  margin: 32px 0 0; padding: 20px 24px; border-radius: 14px; background: rgba(255, 255, 255, .04);
  border-left: 3px solid #fbbf24; color: #cfe6e2; max-width: 880px; font-size: .98rem;
}

/* Approach */
.principles { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px 40px; }

.principles li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; color: var(--ink-2); }
.principles li::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%; margin-top: 1px;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat;
}
.principles strong { color: var(--ink); }
/* About */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; } }
.about-grid h3 { margin-top: 28px; }
.fact-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); align-self: start; }
.fact-box dl { margin: 0; }
.fact-box dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-top: 18px; }
.fact-box dt:first-child { margin-top: 0; }
.fact-box dd { margin: 4px 0 0; color: var(--ink-2); }
/* Contact */
.contact {
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(251, 191, 36, .14), transparent 60%),
    linear-gradient(135deg, #0f766e 0%, #0b4a4a 100%);
  color: #fff;
}
.contact-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr 1fr; } }
.contact h2 { color: #fff; }
.contact .lede { color: rgba(255, 255, 255, .85); }
.contact-card { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; padding: 28px; }
.contact-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-card .label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #99f6e4; }
.contact-card a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }

.site-footer { background: #041617; color: #8fb3ae; padding: 36px 0; font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
.site-footer p { margin: 0; }
.site-footer .tag { color: #fff; font-weight: 700; }
.site-footer a { color: #5eead4; }

/* Mobile menu */
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: #fff; cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-btn path { transition: transform .2s, opacity .2s; transform-origin: 12px 12px; }
.menu-open .menu-btn .l1 { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn .l2 { opacity: 0; }
.menu-open .menu-btn .l3 { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu {
  display: grid; gap: 4px; padding: 8px 16px 20px; background: rgba(6, 42, 43, .98);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  color: #eaf6f4; text-decoration: none; font-weight: 600; font-size: 1.05rem;
  padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.mobile-menu .btn { margin-top: 12px; }
.menu-open { background: rgba(6, 42, 43, .98); }
@media (min-width: 920px) { .menu-btn, .mobile-menu { display: none !important; } }
@media (max-width: 479px) { .header-cta { display: none; } }
/* keep in-page anchors clear of the sticky header */
section[id], .sources { scroll-margin-top: 72px; }

/* Phone refinements */
@media (max-width: 599px) {
  section { padding: 48px 0; }
  .section-head { margin-bottom: 32px; }
  .hero { padding: 108px 0 40px; }
  .hero-grid { gap: 40px; }
  .recon { padding: 16px; }
  .recon-row { padding: 10px; gap: 10px; }
  .card, .stat, .fact-box { padding: 20px; }

}
@media (min-width: 700px) and (max-width: 1019px) {
  .stats > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Operations map */
.opsmap-wrap {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(12px, 1.6vw, 20px); box-shadow: var(--shadow);
}
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chipbtn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink-2);
  font: 600 .88rem "Inter", system-ui, sans-serif; cursor: pointer; transition: border-color .15s, background .15s;
}
.chipbtn[style]::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.chipbtn:hover { border-color: var(--teal); }
.chipbtn.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.opsmap { display: block; width: 100%; height: auto; }
.opsmap .om-frame { fill: color-mix(in srgb, var(--teal) 5%, transparent); stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 6 6; }
.opsmap .om-frame-label { fill: var(--muted); font: 700 12px "Inter", system-ui, sans-serif; letter-spacing: .14em; }
.opsmap .om-flows path { fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; marker-end: url(#om-arrow); }
.opsmap .om-flows path.dash { stroke-dasharray: 7 7; }
.opsmap .om-note { fill: var(--muted); font: 500 13px "Inter", system-ui, sans-serif; }
.opsmap .om-data path { fill: none; stroke: var(--teal-2); stroke-width: 1.5; stroke-dasharray: 3 5; opacity: .7; }
.opsmap .om-bus { fill: var(--teal); opacity: .9; }
.opsmap .om-bus-label { fill: var(--teal); font: 700 12px "Inter", system-ui, sans-serif; letter-spacing: .06em; }
.opsmap .om-hubline { stroke: var(--teal); stroke-width: 3; }
.opsmap .om-node rect:first-child { fill: var(--bg); stroke: color-mix(in srgb, var(--c) 45%, var(--line)); stroke-width: 1.5; }
.opsmap .om-node .bar { fill: var(--c); }
.opsmap .om-node .t { fill: var(--ink); font: 700 15px "Inter", system-ui, sans-serif; }
.opsmap .om-node .s { fill: var(--muted); font: 500 13px "Inter", system-ui, sans-serif; }
.opsmap .om-hub .h1 { fill: #fff; font: 800 24px "Inter", system-ui, sans-serif; letter-spacing: -.02em; }
.opsmap .om-hub .h2 { fill: #ccfbf1; font: 500 13px "Inter", system-ui, sans-serif; }
.opsmap .om-motion circle { fill: var(--c); }
.opsmap .om-motion circle.dp { fill: var(--teal-2); }
.opsmap [data-arm] { transition: opacity .25s; }
.opsmap[data-focus] [data-arm] { opacity: .12; }
.opsmap[data-focus] .om-data, .opsmap[data-focus] .om-motion .dp { opacity: .25; }
.opsmap[data-focus="intake"] [data-arm="intake"],
.opsmap[data-focus="stores"] [data-arm="stores"],
.opsmap[data-focus="processing"] [data-arm="processing"],
.opsmap[data-focus="quality"] [data-arm="quality"],
.opsmap[data-focus="packing"] [data-arm="packing"],
.opsmap[data-focus="transport"] [data-arm="transport"],
.opsmap[data-focus="sales"] [data-arm="sales"],
.opsmap[data-focus="admin"] [data-arm="admin"] { opacity: 1; }

/* phone and tablet: the same flow as a readable list */
.flow-list, .flow-hub { display: none; }
@media (max-width: 1099px) {
  .opsmap, .legend { display: none; }
  .flow-list { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: flow; }
  .flow-list li {
    position: relative; display: grid; gap: 2px; padding: 12px 0 12px 44px; counter-increment: flow;
  }
  .flow-list li::before {
    content: counter(flow); position: absolute; left: 0; top: 12px; width: 30px; height: 30px; border-radius: 50%;
    background: #062a2b; color: #fff; border: 2px solid var(--c); display: grid; place-items: center; font-weight: 800; font-size: .9rem;
  }
  .flow-list li:not(:last-child)::after {
    content: ""; position: absolute; left: 14px; top: 46px; bottom: -10px; width: 2px;
    background: color-mix(in srgb, var(--c) 45%, var(--line));
  }
  .flow-list b { color: var(--ink); font-size: 1rem; }
  .flow-list span { color: var(--muted); font-size: .95rem; line-height: 1.5; }
  .flow-hub {
    display: grid; gap: 6px; margin-top: 16px; padding: 18px 20px; border-radius: 16px;
    background: linear-gradient(135deg, #0f766e, #0b4a4a); color: #ccfbf1;
  }
  .flow-hub b { color: #fff; font-size: 1.05rem; }
  .flow-hub span { font-size: .92rem; line-height: 1.6; }
}

/* steps in a row under the map */
.steps-row { margin-top: 28px; }
@media (min-width: 900px) { .steps-row { grid-template-columns: repeat(3, 1fr); } }


/* V4: a shorter route from problem to proof to enquiry. */
:focus-visible { outline: 3px solid #d97706; outline-offset: 4px; }
.hero :focus-visible, .proof :focus-visible, .site-header :focus-visible, .contact :focus-visible { outline-color: #fbbf24; }
.btn, .chipbtn { min-height: 44px; }
.nav { gap: 18px; }
.eyebrow::before { flex: none; }
section[id], #industries { scroll-margin-top: 84px; }
.sources { padding: 16px 0; }
.sources .wrap { gap: 8px 22px; font-size: .85rem; }
.proof-context { color: var(--deep-muted); font-size: .85rem; margin-bottom: 16px; }
.cta-note { color: var(--deep-muted); align-self: center; font-size: .95rem; }
.stat { padding: 22px; }
.stat .big { margin-bottom: 12px; color: #fbbf24; }
.caveat { margin-top: 24px; }
.steps-row { margin-top: 0; }
.operation-detail { margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.operation-detail summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--teal); }
.operation-detail summary span { display: inline-block; color: var(--muted); font-size: .9rem; font-weight: 400; margin-left: 16px; }
.operation-detail[open] summary { border-bottom: 1px solid var(--line); }
.operation-detail .opsmap-wrap { border: 0; box-shadow: none; }
.use-cases { display: grid; gap: 16px; }
.card-label { display: block; color: var(--teal); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.card h3 { font-size: 1.25rem; }
.card .sector-fit { padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; line-height: 1.6; }
.card.feature .sector-fit { border-color: rgba(255,255,255,.25); }
.shared-layer { color: var(--muted); margin: 24px 0 0; max-width: 64em; }
.shared-layer strong { color: var(--ink); }
.approach-sequence { color: var(--teal); font-weight: 700; margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; font-weight: 600; text-underline-offset: 4px; }
.contact-hint { font-size: .88rem; color: #d0e9e4; max-width: 40em; margin: 14px 0 0; }
.contact-card a { display: inline-block; padding: 8px 0; overflow-wrap: anywhere; }
.recon-title small { margin-top: 4px; }
.meter i { width: var(--w); }
@media (min-width: 680px) { .use-cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) {
  .hero h1 { font-size: 2.8rem; }
  .hero .lede { font-size: 1.06rem; }
  .hero .sub { font-size: .95rem; }
  .hero-grid { gap: 28px; }
  .hero .cta-row { margin-top: 20px; }
  .cta-row .btn { flex: 1 1 auto; }
  .recon-row { grid-template-columns: 30px 1fr 24px; }
  .recon-row .ico { width: 30px; height: 30px; }
  .recon-head { align-items: start; }
  .recon-foot { gap: 8px; }
  .two-col { gap: 24px; }
  .leaks { gap: 8px; }
  .leaks li { padding: 12px; font-size: .95rem; }
  .stats { gap: 12px; }
  .stat { display: grid; grid-template-columns: 100px 1fr; gap: 0 16px; padding: 18px; }
  .stat .big { grid-row: span 2; font-size: 2.1rem; line-height: 1.1; margin: 0; }
  .stat .big small { display: block; margin: 6px 0 0; font-size: .48em; }
  .stat h3 { font-size: 1rem; line-height: 1.35; }
  .stat p { font-size: .88rem; }
  .caveat { padding: 16px; font-size: .93rem; }
  .section-head { margin-bottom: 24px; }
  .steps li { grid-template-columns: 34px 1fr; padding: 16px; gap: 12px; }
  .steps li::before { width: 34px; height: 34px; border-radius: 9px; font-size: 1rem; }
  .operation-detail summary { padding: 16px; }
  .operation-detail summary span { display: block; margin: 4px 0 0 20px; }
  .contact-grid { gap: 24px; }
  .contact-card { padding: 20px; }
}
/* Navigation and content remain usable when scripting is unavailable. */
html:not(.js) .menu-btn { display: none; }
@media (max-width: 919px) {
  html:not(.js) .site-header { position: relative; }
  html:not(.js) .mobile-menu[hidden] { display: grid; }
  html:not(.js) .hero { margin-top: 0; padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Connected product overview and the seven system explanations. */
.hero-operation { padding: 24px; border: 1px solid #ffffff24; border-radius: 20px; background: #ffffff09; box-shadow: 0 24px 56px #0003; }
.hero-orbit { font-size: 2.4rem; color: #fbbf24; line-height: 1; }
.hero-route { display: block; margin-top: 12px; padding: 16px 18px; border: 1px solid #ffffff13; border-left: 3px solid var(--c); border-radius: 10px; background: #ffffff06; color: #fff; text-decoration: none; }
.hero-route:hover { background: #ffffff10; }
.hero-route .route-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #cfe6e2; margin-bottom: 4px; }
.hero-route b { display: block; font-size: .97rem; }
.hero-route small { display: block; color: #a9cbc6; margin-top: 4px; font-size: .85rem; }
.hero-route b span { color: var(--c); margin: 0 3px; }
.hero-insight { display: flex; gap: 12px; padding: 20px 0 0; color: #a9cbc6; font-size: .88rem; }
.hero-insight > span { color: #fbbf24; font-size: 2rem; }
.hero-insight p { margin: 0; }
.hero-insight b { color: #eaf6f4; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.check-grid article { padding: 24px; border: 1px solid #ffffff22; border-radius: 14px; background: #ffffff06; }
.check-pair { display: block; color: #fbbf24; font-size: .9rem; font-weight: 600; margin-bottom: 20px; }
.check-grid h3 { font-size: 1.3rem; }
.check-grid p { color: var(--deep-muted); margin-bottom: 0; }
.light-link { color: #5eead4; margin-top: 20px; }
#how .wrap { max-width: 1280px; }
#how .section-head { max-width: 850px; }
.map-caption { color: var(--muted); font-size: .88rem; margin: 20px 0 0; max-width: 64em; }
.map-link { cursor: pointer; }
.map-link:hover .om-node rect:first-child { stroke: var(--c); stroke-width: 3; }
.map-link:focus-visible { outline: none; }
.map-link:focus-visible .om-node rect:first-child { stroke: var(--ink); stroke-width: 4; }
.opsmap[data-focus="power"] [data-arm="power"], .opsmap[data-focus="people"] [data-arm="people"], .opsmap[data-focus="intelligence"] [data-arm="intelligence"] { opacity: 1; }
.opsmap .om-node .t { font-size: 16px; }
.opsmap .om-node .s { font-size: 14px; }
.opsmap .om-note, .opsmap .om-frame-label, .opsmap .om-bus-label { font-size: 14px; }
.opsmap .om-frame-label { letter-spacing: .06em; }
.opsmap .om-hub .h2 { font-size: 15px; }
.system-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.system-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--c); padding: 24px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.system-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.system-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.section-no { font-size: .85rem; font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.system-dot { height: 12px; width: 12px; background: var(--c); border-radius: 50%; }
.system-card h3 { font-size: 1.3rem; }
.system-card p { font-size: .96rem; color: var(--muted); }
.link-label { display: block; color: var(--teal); font-size: .9rem; font-weight: 700; margin-top: auto; padding-top: 12px; }
.system-card:last-child { grid-column: span 3; display: grid; grid-template-columns: 72px 1fr 1.3fr auto; gap: 24px; align-items: center; }
.system-card:last-child .system-card-top, .system-card:last-child h3, .system-card:last-child p { margin: 0; }
.system-card:last-child .link-label { margin: 0; padding: 0; }
.bridge-strip { margin-top: 24px; padding: 24px; display: flex; flex-wrap: wrap; gap: 12px 28px; border: 1px dashed var(--line); border-radius: 14px; color: var(--ink-2); font-size: .9rem; }
.journey-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 40px; }
.journey { border-top: 2px solid var(--line); padding: 24px 0 0; }
.journey h3 { font-size: 1.45rem; }
.journey-flow { color: var(--teal); font-weight: 600; font-size: .9rem; line-height: 1.8; }
.journey > p:not(.journey-flow) { color: var(--muted); }
.journey .text-link { font-size: .95rem; }
.detail-hero { background: radial-gradient(ellipse at 90% 20%, #0f766e44, transparent 65%), var(--deep); color: var(--deep-ink); padding: 36px 0 64px; }
.detail-hero .wrap { max-width: 1160px; }
.back-link { display: inline-flex; min-height: 44px; align-items: center; font-size: .9rem; text-decoration: none; color: var(--deep-muted); margin-bottom: 32px; }
.detail-hero .eyebrow { display: flex; color: #cfe6e2; }
.detail-hero .eyebrow::before { background: var(--c); width: 26px; height: 4px; }
.detail-hero h1 { max-width: 900px; font-size: clamp(2.3rem, 1.3rem + 3.5vw, 4rem); }
.detail-hero .lede { color: #b8d8d2; max-width: 820px; margin-top: 24px; }
.system-nav { background: var(--surface); border-bottom: 1px solid var(--line); }
.system-nav .wrap { display: flex; flex-wrap: wrap; gap: 4px 10px; padding-top: 10px; padding-bottom: 10px; }
.system-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; color: var(--ink-2); text-decoration: none; font-size: .9rem; border-bottom: 3px solid transparent; }
.system-nav a::before { content: ''; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--c); }
.system-nav a[aria-current] { font-weight: 700; border-bottom-color: var(--c); background: var(--bg-alt); }
.system-figure { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.diagram-key { display: flex; gap: 24px; color: var(--muted); font-size: .8rem; }
.diagram-key span { display: flex; gap: 8px; align-items: center; }
.diagram-key span::before { content: ''; width: 18px; height: 3px; background: var(--c); }
.diagram-key span + span::before { height: 12px; border: 1px dashed var(--c); background: none; }
.system-diagram { display: block; width: 100%; height: auto; }
.dg-lines { stroke: var(--c); stroke-width: 2; fill: none; }
.dg-node rect { fill: var(--bg-alt); stroke: var(--line); stroke-width: 1.5; }
.dg-bar { stroke: var(--c); stroke-width: 4; }
.dg-title { fill: var(--ink); font: 700 18px system-ui,sans-serif; }
.dg-sub { fill: var(--muted); font: 400 16px system-ui,sans-serif; }
.dg-label { fill: var(--ink-2); font: 600 17px system-ui,sans-serif; }
.dg-witness rect { fill: none; stroke: var(--c); stroke-width: 1; stroke-dasharray: 4 4; }
.dg-witness text { fill: var(--ink-2); font: 500 16px system-ui,sans-serif; }
.system-figure figcaption { color: var(--muted); font-size: .95rem; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 16px; }
.diagram-mobile { display: none; }
.outcome-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; margin-top: 40px; }
.outcome-grid h3 { font-size: 1.25rem; margin: 14px 0; }
.outcome-grid p { color: var(--muted); font-size: .98rem; }
.connection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.connection-card { display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.connection-card:hover { border-color: var(--teal); }
.connection-card h3 { font-size: 1.15rem; }
.connection-card p { font-size: .95rem; color: var(--muted); }
.connections .text-link { margin-top: 24px; }
.case-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.capture-example { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid #22c55e; border-radius: 14px; }
.capture-steps { list-style: none; padding: 0; margin: 24px 0; }
.capture-steps li { padding: 16px 0; border-top: 1px solid var(--line); }
.capture-steps strong, .capture-steps span { display: block; }
.capture-steps span { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.demo-note, .case-scope { color: var(--muted); font-size: .85rem; }
.case-story h3 { margin-top: 28px; }
.case-story h3:first-child { margin-top: 0; }
.case-story p { color: var(--ink-2); }
.case-story .case-scope { color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line); }
.question-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.question-list li { padding: 20px 24px; border-left: 3px solid var(--c); background: var(--surface); border-radius: 0 12px 12px 0; color: var(--ink-2); }
@media (min-width: 1100px) { .map-link .om-node { transition: opacity .25s; } }
@media (max-width: 1099px) {
  .system-diagram { display: none; }
  .diagram-key { display: none; }
  .diagram-mobile { display: block; }
  .system-flow { list-style: none; padding: 0; margin: 0; counter-reset: system-step; }
  .system-flow li { position: relative; padding: 12px 0 22px 50px; counter-increment: system-step; }
  .system-flow li::before { content: counter(system-step); position: absolute; left: 0; top: 10px; width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid var(--c); background: var(--deep); color: #fff; border-radius: 50%; font-size: .9rem; font-weight: 700; }
  .system-flow li:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 45px; bottom: 0; width: 2px; background: var(--line); }
  .system-flow b, .system-flow span { display: block; }
  .system-flow span { color: var(--muted); font-size: .95rem; margin-top: 3px; }
  .witness-group { background: var(--bg-alt); padding: 18px; border: 1px dashed var(--c); border-radius: 12px; margin-top: 8px; }
  .witness-group strong { display: block; margin-bottom: 12px; font-size: .95rem; }
  .witness-group > div { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .9rem; }
  .system-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .system-card:last-child { grid-column: span 2; display: flex; gap: 0; }
  .system-card:last-child .system-card-top { margin-bottom: 22px; }
  .system-card:last-child h3 { margin-bottom: .5em; }
  .system-card:last-child p { margin-bottom: 1em; }
  .system-card:last-child .link-label { padding-top: 12px; }
}
@media (max-width: 919px) {
  .check-grid, .outcome-grid, .connection-grid { grid-template-columns: 1fr; gap: 20px; }
  .case-layout { grid-template-columns: 1fr; }
  .outcome-grid article { border-top: 1px solid var(--line); padding-top: 20px; }
  .outcome-grid { margin-top: 28px; }
}
@media (max-width: 679px) {
  .system-cards, .journey-grid { grid-template-columns: 1fr; }
  .system-card:last-child { grid-column: auto; }
  .system-card { padding: 22px; }
  .hero-operation { padding: 18px; }
  .hero-route { padding: 14px; }
  .hero-route b { font-size: .88rem; }
  .hero-route b span { margin: 0; }
  .check-grid article { padding: 20px; }
  .detail-hero { padding: 20px 0 40px; }
  .back-link { margin-bottom: 24px; }
  .system-nav .wrap { gap: 2px 8px; }
  .system-nav a { padding: 8px; font-size: .85rem; }
  .system-figure { padding: 18px; }
  .system-figure figcaption { font-size: .9rem; }
  .journey { padding-top: 20px; }
  .bridge-strip { padding: 20px; gap: 14px; }
}
.flow-name { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.flow-name:hover { text-decoration: underline; text-underline-offset: 4px; }
html:not(.js) .legend { display: none; }
@media (max-width: 1099px) {
  .fork-flow { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .fork-flow li { grid-column: 1 / -1; padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
  .fork-flow li:nth-child(2), .fork-flow li:nth-child(3) { grid-column: auto; border-top: 3px solid var(--c); }
  .fork-flow li::before, .fork-flow li::after { display: none; }
  .fork-flow li:nth-child(2) b::before, .fork-flow li:nth-child(3) b::before { content: '↳ '; color: var(--teal); }
}
/* Let enlarged text reflow inside grid tracks, including narrow phone views. */
.hero-grid > *, .two-col > *, .contact-grid > *, .about-grid > *, .case-layout > * { min-width: 0; }
h1, h2, h3, .hero-route b, .btn, .eyebrow { overflow-wrap: anywhere; }

/* Parallel manufacturing streams keep the same meaning on desktop and phone. */
.manufacture-frame { fill: color-mix(in srgb, #a855f7 4%, var(--surface)); stroke: var(--line); }
.manufacturing-diagram .dg-lines { stroke-width: 2.5; }
.manufacturing-diagram .dg-lines path { stroke: var(--c); }
.opsmap[data-focus="manufacture"] [data-arm="manufacture"] { opacity: 1; }
.manufacturing-mobile .manufacturing-stream { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-alt); }
.manufacturing-stream h3 { font-size: 1.05rem; margin: 0 0 16px; }
.manufacturing-stream ol { margin: 0; padding: 0; list-style: none; }
.manufacturing-stream .stream-destination { border-top: 1px solid var(--line); margin: 16px 0 0; padding-top: 12px; color: var(--teal); font-size: .92rem; }
@media (max-width: 1099px) {
  .manufacturing-mobile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .manufacturing-mobile .manufacturing-stream:last-child { grid-column: 1 / -1; }
  .manufacturing-mobile li { min-width: 0; counter-increment: none; }
  .manufacturing-mobile li::before { content: '↓'; font-size: 16px; line-height: 1; }
  .manufacturing-mobile li:first-child::before { content: '•'; }
  .manufacturing-mobile li b, .manufacturing-mobile li span { overflow-wrap: anywhere; }
  .manufacturing-mobile li a { display: block; min-height: 44px; }
}
@media (max-width: 599px) {
  .manufacturing-mobile { grid-template-columns: minmax(0, 1fr); }
  .manufacturing-mobile .manufacturing-stream { padding: 16px; }
}

/* A shared visual language, from animated overview to inspectable process. */
.process-story { margin: 0; padding: clamp(12px, 2vw, 24px); border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(ellipse at 50% 35%, color-mix(in srgb, var(--teal) 6%, transparent), transparent 70%), var(--surface); box-shadow: var(--shadow); }
.story-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.story-key { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: .85rem; color: var(--muted); }
.story-key span { display: inline-flex; align-items: center; gap: 8px; }
.story-key span::before { content: ''; width: 24px; height: 0; border-top: 3px solid var(--teal); }
.story-key .data-key::before { border-top-style: dotted; }
.motion-toggle { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font: 600 .85rem system-ui, sans-serif; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:disabled { cursor: default; color: var(--muted); }
.story-svg { width: 100%; height: auto; display: block; }
.story-phone { display: none; max-width: 440px; margin: 0 auto; }
.story-path { fill: none; stroke: var(--path); stroke-width: 3; }
.story-path.data { stroke-width: 2; stroke-dasharray: 3 7; }
.story-node rect { fill: var(--bg); stroke: color-mix(in srgb, var(--node) 60%, var(--line)); stroke-width: 1.5; }
.story-node text { fill: var(--ink); font: 700 20px system-ui, sans-serif; }
.story-bar { stroke: var(--node); stroke-width: 4; }
.story-hub rect { fill: #0b4a4a; stroke: #14b8a6; }
.story-hub text { fill: #fff; }
.story-link:hover rect, .story-link:focus-visible rect { stroke: var(--node); stroke-width: 4; }
.story-motion { visibility: hidden; pointer-events: none; }
.motion-enabled .story-motion { visibility: visible; }
.story-dot { stroke: var(--surface); stroke-width: 1.5; }
.story-context { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.story-context span { color: var(--muted); font-size: .85rem; }
.story-context a { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; font-weight: 600; }
.process-story figcaption { color: var(--muted); max-width: 74em; margin-top: 20px; }
.story-reading { font-size: 1rem; }
.process-story .demo-note { font-size: .85rem; margin-bottom: 4px; }
.process-story .detail-link { margin-top: 10px; }
.process-detail { margin-top: 36px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.process-detail summary { padding: 22px; font-size: 1.05rem; font-weight: 700; color: var(--teal); cursor: pointer; }
.detail-content { padding: 0 20px 20px; }
.detail-content > h3 { padding: 20px 0 8px; }
#detailed-flow, #full-process { scroll-margin-top: 96px; }
#full-operation .wrap { max-width: 1280px; }
@media (max-width: 899px) {
  .story-desktop { display: none; }
  .story-phone { display: block; }
}
@media (max-width: 599px) {
  .detail-content { padding: 0 8px 8px; }
  .process-detail summary { padding: 18px; }
}
html:not(.js) .story-motion { visibility: hidden !important; }
@media (prefers-reduced-motion: reduce) { .story-motion { visibility: hidden !important; } }
