:root {
  --ink: #0A0A0B;
  --steel: #151517;
  --steel-800: #1C1C1F;
  --steel-700: #2A2A2E;
  --steel-500: #71717A;
  --brand: #E3141B;
  --brand-400: #FF4747;
  --brand-deep: #9A0A0A;
  --chrome: #D4D4D8;
  --line: rgba(212, 212, 216, .11);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Saira", Impact, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { min-height: 100vh; overflow-x: hidden; }
::selection { background: var(--brand); color: #fff; }
[hidden] { display: none !important; }

.font-display { font-stretch: 112%; }
.font-800 { font-weight: 800; }
.font-900 { font-weight: 900; }
.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--brand); color: #fff; padding: .6rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; }

/* Brushed chrome lettering with a red edge, echoing the badge */
.chrome-text {
  background: linear-gradient(180deg, #ffffff 0%, #e4e4e7 38%, #8e8e96 52%, #d9d9de 64%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(154,10,10,.85)) drop-shadow(0 10px 18px rgba(0,0,0,.55));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: .95rem;
  padding: .8rem 1.25rem; border-radius: var(--radius);
  border: 1px solid transparent; transition: transform .15s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
  cursor: pointer; white-space: nowrap; user-select: none;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { padding: .5rem .85rem; font-size: .85rem; }
.btn-lg { padding: 1rem 1.5rem; font-size: 1.02rem; }
.btn-brand { background: linear-gradient(180deg, #F0262C, var(--brand) 55%, #C40F15); color: #fff; box-shadow: 0 10px 26px -10px rgba(227,20,27,.85), inset 0 1px 0 rgba(255,255,255,.22), inset 0 -2px 0 rgba(0,0,0,.25); }
.btn-brand:hover { background: linear-gradient(180deg, #FF3B40, #EE1C22 55%, #CF1219); }
.btn-alarm { background: var(--brand); color: #fff; box-shadow: 0 0 0 0 rgba(227,20,27,.55), inset 0 -2px 0 rgba(0,0,0,.25); animation: alarm 2.4s infinite; }
.btn-alarm:hover { background: #FF2A30; }
@keyframes alarm { 70% { box-shadow: 0 0 0 10px rgba(227,20,27,0), inset 0 -2px 0 rgba(0,0,0,.25); } 100% { box-shadow: 0 0 0 0 rgba(227,20,27,0), inset 0 -2px 0 rgba(0,0,0,.25); } }
.btn-chrome { background: linear-gradient(180deg, #fafafa, #d4d4d8 48%, #a1a1aa 52%, #e4e4e7); color: #0A0A0B; border-color: rgba(255,255,255,.5); box-shadow: 0 8px 22px -12px rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.18); }
.btn-chrome:hover { background: linear-gradient(180deg, #fff, #e4e4e7 48%, #b4b4bb 52%, #f4f4f5); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.2); color: #f4f4f5; }
.btn-ghost:hover { border-color: var(--brand-400); color: #fff; background: rgba(227,20,27,.12); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f4f4f5; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.icon-btn { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: var(--radius); color: #e4e4e7; transition: background .2s, color .2s; }
.icon-btn:hover { background: rgba(255,255,255,.08); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--brand-400); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .2s, gap .2s; }
.link-arrow:hover { border-color: var(--brand-400); gap: .7rem; }

/* ---------- Nav ---------- */
.nav-link { position: relative; padding: .6rem .9rem; font-weight: 500; font-size: .93rem; color: #d4d4d8; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover { color: #fff; }
.nav-link[aria-current="page"] { color: #fff; }
.nav-link[aria-current="page"]::after, .nav-link:hover::after { transform: scaleX(1); }

.mobile-nav { border-top: 1px solid rgba(255,255,255,.06); background: #000; }
.mnav-link { display: flex; align-items: center; justify-content: space-between; padding: 1rem .5rem; border-bottom: 1px solid rgba(255,255,255,.06); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; }
.mnav-link[aria-current="page"] { color: var(--brand-400); }

.status-dot { width: .5rem; height: .5rem; border-radius: 99px; background: var(--steel-500); flex-shrink: 0; }
.status-dot.is-open { background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: ping 2s infinite; }
.status-dot.is-closed { background: #f87171; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ---------- Typography helpers ---------- */
.eyebrow { display: flex; align-items: center; gap: .75rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-400); }
.eyebrow-bar { width: 2rem; height: 2px; background: var(--brand); flex-shrink: 0; }
.section-title { font-family: var(--display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4.8vw, 3.6rem); line-height: .95; letter-spacing: -.005em; color: #fafafa; }

/* ---------- Hero ---------- */
.hero { min-height: calc(100svh - 4rem); display: flex; flex-direction: column; justify-content: flex-end; }
@media (min-width: 768px) { .hero { min-height: min(54rem, calc(100vh - 7.25rem)); justify-content: center; } }
.hero-img, .page-head-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img { animation: slowzoom 22s ease-out forwards; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 78% 45%, rgba(227,20,27,.22), transparent 55%),
  linear-gradient(180deg, rgba(10,10,11,.7) 0%, rgba(10,10,11,.5) 30%, rgba(10,10,11,.92) 80%, #0A0A0B 100%),
  linear-gradient(90deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.45) 60%, rgba(10,10,11,.7) 100%); }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.badge-stage { position: relative; width: min(17rem, 70vw); }
@media (min-width: 640px) { .badge-stage { width: 22rem; } }
@media (min-width: 1024px) { .badge-stage { width: 100%; max-width: 34rem; } }
.badge-stage::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(227,20,27,.45), rgba(227,20,27,0) 68%); filter: blur(30px); animation: breathe 6s ease-in-out infinite; }
.badge-cab { display: none; }
.badge-hero { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.7)); animation: floaty 9s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .6; transform: scale(.94); } }
@keyframes floaty { 50% { transform: translateY(-8px); } }

.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats > div { padding: 1rem .6rem 0 0; }
.hero-stats > div + div { padding-left: .8rem; border-left: 1px solid rgba(255,255,255,.1); }
.hero-stats dt { font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #a1a1aa; }
.hero-stats dd { font-family: var(--display); font-stretch: 108%; font-weight: 900; font-size: clamp(1.25rem, 3.6vw, 2.1rem); line-height: 1.1; margin-top: .2rem; }

.load-in { opacity: 0; transform: translateY(18px); animation: loadin .8s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes loadin { to { opacity: 1; transform: none; } }

.hazard { background: repeating-linear-gradient(-45deg, var(--brand) 0 14px, #0A0A0B 14px 28px); }

/* ---------- Plates / cards ---------- */
.plate {
  position: relative; background: linear-gradient(180deg, #1A1A1D, #131315);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05);
}
.plate::before, .plate::after { content: ""; position: absolute; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e4e4e7, #52525b); box-shadow: 0 1px 0 rgba(0,0,0,.6); }
.plate::before { left: 10px; }
.plate::after { right: 10px; }
.plate-inner { background: rgba(10,10,11,.6); border: 1px solid var(--line); border-radius: var(--radius); }
.plate-tag { display: inline-block; font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: #a1a1aa; border: 1px solid var(--line); padding: .28rem .55rem; border-radius: 2px; }

.badge-seal { display: flex; align-items: center; gap: .85rem; padding: .9rem 1.1rem; border: 1px solid rgba(227,20,27,.45); background: rgba(227,20,27,.07); border-radius: var(--radius); min-width: 11rem; }

.vtnz-steps { display: grid; gap: .75rem; counter-reset: s; }
@media (min-width: 768px) { .vtnz-steps { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.vtnz-steps li { counter-increment: s; position: relative; padding: 1rem 1rem 1rem 3.1rem; background: rgba(10,10,11,.55); border: 1px solid var(--line); border-radius: var(--radius); font-size: .88rem; color: #d4d4d8; }
.vtnz-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 1rem; top: 1rem; font-family: var(--mono); font-weight: 600; color: var(--brand-400); }

.feature-card { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 22rem; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); isolation: isolate; }
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.feature-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,0) 42%, rgba(10,10,11,.88) 100%); }
.feature-card:hover img { transform: scale(1.06); }
.feature-card .fc-body { display: flex; flex-direction: column; justify-content: flex-end; padding: 1.4rem; }
.feature-card .fc-val { display: flex; align-items: flex-end; font-family: var(--display); font-stretch: 108%; font-weight: 900; font-size: clamp(1.7rem, 2.2vw, 2.35rem); line-height: .95; color: var(--brand-400); }
.feature-card .fc-unit { margin-top: .35rem; }
.feature-card .fc-label { margin-top: .85rem; }
.feature-card .fc-detail { margin-top: .55rem; }
@media (min-width: 640px) {
  .feature-card .fc-val { height: 2.5em; }
  .feature-card .fc-label { height: 2.15em; }
  .feature-card .fc-detail { height: 5.6em; }
}

.svc-card { display: flex; flex-direction: column; background: var(--steel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; text-align: left; }
.svc-card:hover { transform: translateY(-4px); border-color: rgba(227,20,27,.6); box-shadow: 0 24px 40px -24px rgba(227,20,27,.5); }
.svc-card .svc-img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.svc-card .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.05); }
.svc-card .svc-cat { position: absolute; left: .75rem; top: .75rem; background: rgba(10,10,11,.85); backdrop-filter: blur(4px); }
.svc-card .svc-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: 1.4rem; line-height: 1.05; text-transform: uppercase; }
.svc-card .svc-actions { margin-top: auto; padding-top: 1.1rem; display: flex; gap: .5rem; }

.quote-card { padding: 1.5rem; background: rgba(10,10,11,.55); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); display: flex; flex-direction: column; }
.quote-card blockquote { font-size: 1rem; line-height: 1.55; color: #e4e4e7; }
.quote-card blockquote::before { content: "“"; display: block; font-family: "Fraunces", serif; font-weight: 700; font-size: 3.5rem; line-height: .6; color: var(--brand); margin-bottom: .6rem; }
.quote-card figcaption { margin-top: auto; padding-top: 1rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #a1a1aa; }
.quote-card .qc-stars { display: flex; gap: 2px; color: var(--brand); margin-bottom: .8rem; }

.callout-band { background: linear-gradient(100deg, #6E0707, var(--brand-deep) 35%, #C8101A 75%, var(--brand)); position: relative; }

/* Home section joins. A short fade instead of a hard colour step or rule. */
[data-page="home"] .hero > .hazard { display: none; }
[data-page="home"] .bg-steel,
[data-page="home"] .blueprint { border-color: transparent; }
[data-page="home"] .bg-steel {
  background: linear-gradient(180deg, #0A0A0B 0, #151517 2.75rem, #151517 calc(100% - 2.75rem), #0A0A0B 100%);
}
[data-page="home"] .blueprint {
  background:
    radial-gradient(ellipse 80% 42% at 50% 46%, rgba(227,20,27,.09), transparent 70%),
    linear-gradient(180deg, #0A0A0B 0, #121214 14rem, #121214 calc(100% - 6rem), #0A0A0B 100%);
}
.siren { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: rgba(255,255,255,.14); animation: siren 1.6s infinite; flex-shrink: 0; }
@keyframes siren { 50% { background: rgba(255,255,255,.3); box-shadow: 0 0 0 10px rgba(255,255,255,0); } }

/* ---------- Page headers ---------- */
.page-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head .page-head-img { filter: none; }
.page-head .hero-shade { background: radial-gradient(ellipse at 90% 30%, rgba(227,20,27,.18), transparent 60%), linear-gradient(90deg, rgba(10,10,11,.97) 0%, rgba(10,10,11,.78) 55%, rgba(10,10,11,.5) 100%); }

.cof-card { position: relative; padding: 2rem; background: var(--steel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cof-card-num { position: absolute; right: 1rem; top: -.5rem; font-family: var(--display); font-weight: 900; font-size: 8rem; line-height: 1; color: rgba(227,20,27,.1); pointer-events: none; }

/* ---------- Tabs / chips ---------- */
.tabs { display: flex; gap: .25rem; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; padding: .85rem 1.1rem; font-weight: 600; font-size: .92rem; color: #a1a1aa; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { color: #fff; border-color: var(--brand); }
.tab .tab-count { font-family: var(--mono); font-size: .7rem; color: var(--steel-500); margin-left: .35rem; }

.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; font-size: .85rem; font-weight: 500; border: 1px solid rgba(255,255,255,.14); border-radius: 99px; color: #d4d4d8; background: rgba(10,10,11,.5); transition: all .2s; }
.chip:hover { border-color: var(--brand-400); color: #fff; }
.chip[aria-selected="true"], .chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip .chip-num { font-family: var(--mono); font-size: .7rem; opacity: .75; }

/* ---------- Blueprint / Schematic ---------- */
.blueprint { background:
  radial-gradient(ellipse at 20% 0%, rgba(227,20,27,.09), transparent 55%),
  linear-gradient(180deg, #0E0E10, #0A0A0B); }
.schematic-wrap { position: relative; background: #0C0C0E; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem .75rem .75rem; overflow: hidden; }
.schematic-hud { position: absolute; top: .7rem; left: 1rem; right: 1rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .64rem; letter-spacing: .16em; color: #71717a; }
.schematic-hud #schematic-readout { color: var(--brand-400); }
.schematic { width: 100%; height: auto; display: block; }
.schematic .ground { stroke: #3f3f46; stroke-width: 2; stroke-dasharray: 10 6; }
.schematic .dim-lines path { stroke: #52525b; stroke-width: 1; fill: none; }
.schematic .dim-lines text { fill: #71717a; font-size: 11px; letter-spacing: .15em; }
.schematic .base > * { fill: #19191C; stroke: #71717A; stroke-width: 2; }
.schematic .base .rib { fill: none; stroke: #2E2E33; stroke-width: 1.5; }
.schematic .base .rib-rect { fill: none; stroke: #3f3f46; }
.schematic .base .glass { fill: #26262B; stroke: #8f8f98; }
.schematic .stencil { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 64px; letter-spacing: .2em; fill: rgba(212,212,216,.08); }
.schematic .tyre { fill: #0C0C0E; stroke: #71717A; stroke-width: 7; }
.schematic .rim { fill: #1C1C1F; stroke: #a1a1aa; stroke-width: 2; }
.schematic .part { transition: opacity .35s; }
.schematic .part .solid { fill: #2A2A2E; stroke: #a1a1aa; stroke-width: 1.8; transition: fill .3s, stroke .3s; }
.schematic .part .line { fill: none; stroke: #a1a1aa; stroke-width: 3; transition: stroke .3s; }
.schematic .part .thin { stroke-width: 1.6; stroke-dasharray: 4 4; }
.schematic .part .xray { fill: rgba(212,212,216,.05); stroke: #8f8f98; stroke-width: 1.8; stroke-dasharray: 6 4; transition: fill .3s, stroke .3s; }
.schematic .part .xray-line { fill: none; stroke: #52525b; stroke-width: 1.4; }
.schematic.has-active .part:not(.is-lit), .schematic.has-active .base, .schematic.has-active .wheels { opacity: .35; }
.schematic .part.is-lit .solid, .schematic .part.is-lit .xray { fill: rgba(255,71,71,.3); stroke: #FF4747; stroke-dasharray: none; }
.schematic .part.is-lit .line, .schematic .part.is-lit .xray-line { stroke: #FF4747; }
.schematic .part.is-lit { filter: drop-shadow(0 0 8px rgba(255,71,71,.65)); }

.hotspot { cursor: pointer; outline: none; }
.hotspot .dot { fill: var(--brand); stroke: #0C0C0E; stroke-width: 3; transition: transform .2s var(--ease), fill .2s; }
.hotspot text { fill: #fff; font-family: var(--mono); font-weight: 600; font-size: 13px; pointer-events: none; transition: fill .2s; }
.hotspot .pulse { transform-box: fill-box; transform-origin: center; animation: hs 2.2s ease-out infinite; }
.hotspot:hover .dot, .hotspot:focus-visible .dot, .hotspot.is-active .dot { fill: #fff; transform: scale(1.25); }
.hotspot:hover text, .hotspot:focus-visible text, .hotspot.is-active text { fill: #0A0A0B; }
.hotspot:focus-visible .dot { stroke: var(--brand-400); }
@keyframes hs { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

.system-empty { display: flex; align-items: center; gap: 1.1rem; }
.modal .vtnz-steps { grid-template-columns: 1fr; }
.sys-anim { animation: fadeup .4s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fault-row { display: grid; grid-template-columns: 1fr; gap: .15rem; padding: .7rem 0; border-top: 1px dashed var(--line); font-size: .88rem; }
.fault-row b { color: #fff; font-weight: 600; }
.fault-row span { color: #a1a1aa; }

.check-list li { position: relative; padding-left: 1.6rem; margin-top: .5rem; color: #d4d4d8; font-size: .93rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1rem; height: 1rem; border-radius: 2px; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat; }

/* ---------- Specs ---------- */
.spec-card { position: relative; background: var(--steel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.spec-card .spec-img { height: 9rem; overflow: hidden; }
.spec-card .spec-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.spec-card:hover .spec-img img { transform: scale(1.05); }
.spec-card .spec-body { padding: 1.2rem; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1.15em auto; gap: .25rem 1rem; align-items: end; }
.spec-card .spec-val { font-family: var(--display); font-stretch: 105%; font-weight: 900; font-size: 2.1rem; line-height: .9; color: var(--brand-400); grid-row: 1; white-space: nowrap; align-self: end; }
.spec-card .spec-unit { font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: #a1a1aa; grid-row: 1; align-self: end; }
.spec-card .spec-label { font-weight: 600; line-height: 1.2; grid-column: 1 / -1; min-height: 2.4em; }
.spec-card .spec-detail { padding: 0 1.2rem 1.3rem; font-size: .86rem; color: #a1a1aa; }
.spec-row { display: contents; }

.gallery { columns: 2; column-gap: .75rem; }
@media (min-width: 768px) { .gallery { columns: 3; } }
@media (min-width: 1280px) { .gallery { columns: 4; } }
.gallery button { display: block; width: 100%; margin-bottom: .75rem; break-inside: avoid; position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.gallery img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery .g-tag { position: absolute; left: .5rem; bottom: .5rem; font-family: var(--mono); font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; background: rgba(10,10,11,.85); padding: .25rem .45rem; border-radius: 2px; opacity: 0; transition: opacity .3s; }
.gallery button:hover .g-tag, .gallery button:focus-visible .g-tag { opacity: 1; }

/* ---------- Our Story ---------- */
.story-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.story-hero-img { filter: none; }
.story-hero-shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 85% 20%, rgba(227,20,27,.25), transparent 55%),
  linear-gradient(180deg, rgba(10,10,11,.55), rgba(10,10,11,.8) 60%, #0A0A0B),
  linear-gradient(90deg, rgba(10,10,11,.9), rgba(10,10,11,.3)); }

.lineage { display: grid; gap: 1rem; position: relative; }
@media (min-width: 900px) {
  .lineage { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
  .lineage::before { content: ""; position: absolute; left: 16%; right: 16%; top: 6.2rem; height: 2px; background: linear-gradient(90deg, rgba(227,20,27,.1), var(--brand), rgba(227,20,27,.1)); }
}
.gen-card { position: relative; text-align: center; padding: 2rem 1.5rem; background: linear-gradient(180deg, #151517, #0F0F11); border: 1px solid var(--line); border-radius: var(--radius); }
.gen-numeral { position: relative; z-index: 1; display: grid; place-items: center; width: 8.4rem; height: 8.4rem; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #26262b, #0A0A0B 70%); border: 2px solid var(--brand); box-shadow: 0 0 0 6px #0A0A0B, 0 0 40px -6px rgba(227,20,27,.6); overflow: hidden; }
.gen-numeral span { font-family: "Fraunces", serif; font-weight: 600; font-size: 3.4rem; color: #fafafa; }
.gen-numeral img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.gen-role { display: block; margin-top: 1.4rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-400); }
.gen-name { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 1.9rem; text-transform: uppercase; line-height: 1; margin-top: .5rem; }
.gen-years { font-family: "Fraunces", serif; font-style: italic; color: #a1a1aa; margin-top: .4rem; }
.gen-bio { color: #d4d4d8; font-size: .95rem; line-height: 1.6; margin-top: 1rem; }

.chapter { display: grid; gap: 1.5rem 3rem; padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.chapter:first-child { padding-top: 0; }
.chapter:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 1024px) {
  .chapter { grid-template-columns: 11rem minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; padding: 5rem 0; }
  .chapter-flip .chapter-figure { order: -1; grid-column: 3; grid-row: 1; }
  .chapter-flip .chapter-meta { grid-column: 1; grid-row: 1; }
  .chapter-flip .chapter-body { grid-column: 2; grid-row: 1; }
  .chapter-meta { position: sticky; top: 7rem; }
}
.chapter-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; }
@media (min-width: 1024px) { .chapter-meta { flex-direction: column; gap: .35rem; } }
.chapter-num { font-family: var(--mono); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-400); }
.chapter-year { font-family: var(--display); font-stretch: 110%; font-weight: 900; font-size: 2.6rem; line-height: 1; color: #fafafa; }
@media (min-width: 1024px) { .chapter-year { font-size: 3.2rem; } }
.chapter-place { font-family: "Fraunces", serif; font-style: italic; color: #a1a1aa; font-size: .98rem; }
.chapter-title { font-family: "Fraunces", serif; font-weight: 600; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.12; color: #fafafa; letter-spacing: -.01em; }
.chapter-body > p { font-size: 1.06rem; line-height: 1.8; color: #d4d4d8; margin-top: 1.1rem; }
.chapter-body strong { color: #fff; font-weight: 600; }
.chapter-body em { color: #fff; }
.chapter-figure { margin: 0; }
.chapter-figure button { display: block; width: 100%; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.chapter-figure button::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 -60px 60px -40px rgba(0,0,0,.6); pointer-events: none; }
.chapter-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .8s var(--ease); }
.chapter-figure button:hover img { transform: scale(1.03); }
.chapter-figure figcaption { margin-top: .75rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: #71717a; }

.story-quote { position: relative; margin-top: 1.6rem; padding: .3rem 0 .3rem 1.5rem; border-left: 3px solid var(--brand); font-family: "Fraunces", serif; font-style: italic; font-size: 1.3rem; line-height: 1.45; color: #fafafa; }
.story-quote cite { display: block; margin-top: .6rem; font-family: var(--mono); font-style: normal; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #a1a1aa; }
.letter-quotes .story-quote { font-size: 1.12rem; }
.story-bigline { font-family: "Fraunces", serif !important; font-style: italic; font-weight: 600; font-size: clamp(2rem, 5vw, 3.4rem) !important; line-height: 1.05 !important; color: var(--brand-400) !important; margin-top: 1.4rem !important; }

.value-card { position: relative; padding: 2rem; background: rgba(10,10,11,.6); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value-card h3 { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 1.7rem; text-transform: uppercase; line-height: 1; margin-top: 1.4rem; }
.value-card p { color: #d4d4d8; margin-top: .9rem; line-height: 1.6; }
.value-num { font-family: var(--mono); font-size: .75rem; letter-spacing: .2em; color: var(--brand-400); }
.value-card .value-quote { font-family: "Fraunces", serif; font-style: italic; font-size: .95rem; color: #a1a1aa; padding-top: .9rem; border-top: 1px dashed var(--line); margin-top: 1.2rem; }

.archive { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; }
@media (min-width: 768px) { .archive { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1280px) { .archive { grid-template-columns: repeat(6, minmax(0,1fr)); } }
.archive button { position: relative; display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #111; text-align: left; }
.archive img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .7s var(--ease); }
.archive button:hover img { transform: scale(1.04); }
.archive span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .7rem .6rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #fafafa; background: linear-gradient(transparent, rgba(0,0,0,.9)); }

.manifesto { position: relative; background: radial-gradient(ellipse at 50% 100%, rgba(227,20,27,.28), transparent 60%), #070708; border-top: 1px solid var(--line); overflow: hidden; }

/* ---------- Contact / call hub ---------- */
.phone-hero { display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 1.6rem; border-radius: 8px; background: #fff; color: var(--ink); font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1; letter-spacing: .02em; box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); transition: transform .2s var(--ease), box-shadow .2s; }
.phone-hero svg { color: var(--brand); }
.phone-hero:hover { transform: translateY(-2px); box-shadow: 0 26px 60px -20px rgba(0,0,0,.8); }
.call-card { position: relative; display: flex; flex-direction: column; padding: 1.75rem; background: var(--steel); border: 1px solid var(--line); border-radius: var(--radius); }
.call-card > :last-child { margin-top: auto; }
.call-card > p.text-sm { margin-bottom: 1.5rem; }
.call-card-alarm { border-color: rgba(227,20,27,.5); background: linear-gradient(180deg, rgba(227,20,27,.12), var(--steel) 60%); }
.ready-list { display: grid; gap: .9rem; }
@media (min-width: 768px) { .ready-list { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.ready-list li { display: flex; gap: .75rem; align-items: flex-start; color: #a1a1aa; font-size: .88rem; }
.ready-list svg { color: var(--brand-400); margin-top: .15rem; }
.ready-list b { display: block; color: #fff; font-weight: 600; font-size: .95rem; }

/* ---------- Forms (breakdown modal) ---------- */
.field-label { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #a1a1aa; }
.field { width: 100%; background: #0C0C0E; border: 1px solid rgba(212,212,216,.2); border-radius: var(--radius); padding: .78rem .9rem; color: #fafafa; font-size: 1rem; transition: border-color .2s, box-shadow .2s; color-scheme: dark; }
.field::placeholder { color: #52525b; }
.field:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(227,20,27,.22); }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem; padding-right: 2.5rem; }
.check { width: 1.15rem; height: 1.15rem; accent-color: var(--brand); flex-shrink: 0; }
.progress { height: .5rem; background: #27272a; border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(-45deg, var(--brand) 0 8px, var(--brand-400) 8px 16px); transition: width .5s var(--ease); }

.hours-table td { padding: .5rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.hours-table td:last-child { text-align: right; font-family: var(--mono); font-size: .85rem; }
.hours-table tr.is-today td { color: var(--brand-400); font-weight: 600; }
.hours-table tr.is-today td:first-child::after { content: " · Today"; font-family: var(--mono); font-size: .7rem; }

.map-frame { position: relative; min-height: 26rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0C0C0E; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-cta { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; }

.footer-h { font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #71717a; margin-bottom: .9rem; }

/* ---------- Mobile bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(0,0,0,.95); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.08); padding-bottom: env(safe-area-inset-bottom); }
.mb-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; padding: .7rem .25rem; font-size: .74rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #e4e4e7; }
.mb-item + .mb-item { border-left: 1px solid rgba(255,255,255,.06); }
.mb-alarm { background: var(--brand); color: #fff; }
.mb-chrome { background: linear-gradient(180deg, #fafafa, #d4d4d8 48%, #a1a1aa 52%, #e4e4e7); color: #0A0A0B; }

/* ---------- Chat ---------- */
.chat-fab { position: fixed; right: 1rem; bottom: calc(5.2rem + env(safe-area-inset-bottom)); z-index: 46; display: inline-flex; align-items: center; gap: .6rem; height: 3.5rem; padding: 0 1.1rem; border-radius: 99px; background: var(--brand); color: #fff; font-weight: 700; box-shadow: 0 16px 40px -12px rgba(227,20,27,.9), 0 0 0 4px rgba(227,20,27,.2); transition: transform .2s var(--ease), padding .3s; }
.chat-fab:hover { transform: translateY(-2px); }
@media (min-width: 1024px) { .chat-fab { bottom: 1.5rem; right: 1.5rem; } }
.chat-fab .chat-fab-close { display: none; }
.chat-fab[aria-expanded="true"] { padding: 0 1.1rem; }
.chat-fab[aria-expanded="true"] .chat-fab-open, .chat-fab[aria-expanded="true"] .chat-fab-label { display: none; }
.chat-fab[aria-expanded="true"] .chat-fab-close { display: block; }
@media (max-width: 480px) { .chat-fab-label { display: none; } .chat-fab { width: 3.5rem; padding: 0; justify-content: center; } }

.chat-drawer { position: fixed; z-index: 47; right: 1rem; bottom: calc(9.4rem + env(safe-area-inset-bottom)); width: min(25rem, calc(100vw - 2rem)); height: min(38rem, calc(100svh - 12rem)); display: flex; flex-direction: column; background: #0F0F11; border: 1px solid rgba(212,212,216,.16); border-radius: 10px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.9); overflow: hidden; animation: drawer .3s var(--ease); }
@media (min-width: 1024px) { .chat-drawer { right: 1.5rem; bottom: 6rem; height: min(40rem, calc(100vh - 8rem)); } }
@media (max-width: 480px) { .chat-drawer { left: .5rem; right: .5rem; width: auto; bottom: calc(9.2rem + env(safe-area-inset-bottom)); height: calc(100svh - 11rem); } }
@keyframes drawer { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: .7rem .8rem .7rem .9rem; background: linear-gradient(180deg, #1C1C1F, #141416); border-bottom: 2px solid var(--brand); }
.chat-avatar { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 8px; background: #000; border: 1px solid rgba(227,20,27,.5); overflow: hidden; }
.chat-avatar img { width: 2.5rem; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .75rem; scroll-behavior: smooth; }
.msg { max-width: 88%; padding: .7rem .9rem; border-radius: 10px; font-size: .9rem; line-height: 1.5; font-family: "IBM Plex Sans", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; animation: fadeup .3s var(--ease); }
.msg-bot { align-self: flex-start; background: #1C1C1F; border: 1px solid var(--line); border-bottom-left-radius: 2px; }
.msg-user { align-self: flex-end; background: var(--brand); color: #fff; font-weight: 500; border-bottom-right-radius: 2px; }
.msg-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.msg-actions button, .msg-actions a { font-size: .78rem; font-weight: 600; padding: .4rem .7rem; border-radius: 99px; border: 1px solid rgba(255,71,71,.5); color: var(--brand-400); transition: all .2s; }
.msg-actions button:hover, .msg-actions a:hover { background: var(--brand); color: #fff; }
.msg-src { display: block; margin-top: .5rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; color: #71717a; }
.typing { display: inline-flex; gap: .3rem; padding: .85rem 1rem; }
.typing i { width: .4rem; height: .4rem; border-radius: 50%; background: #a1a1aa; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; gap: .4rem; overflow-x: auto; padding: .6rem 1rem; border-top: 1px solid var(--line); scrollbar-width: none; }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips button { flex-shrink: 0; font-size: .78rem; padding: .45rem .75rem; border-radius: 99px; background: #1C1C1F; border: 1px solid rgba(212,212,216,.18); color: #d4d4d8; transition: all .2s; }
.chat-chips button:hover { border-color: var(--brand-400); color: #fff; }
.chat-input { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); background: #0A0A0B; }
.chat-input input { flex: 1; min-width: 0; background: #161618; border: 1px solid rgba(212,212,216,.18); border-radius: 8px; padding: .7rem .85rem; color: #fff; font-size: 16px !important; }
.chat-input input:focus { outline: none; border-color: var(--brand-400); }
.chat-send { display: grid; place-items: center; width: 2.9rem; border-radius: 8px; background: var(--brand); color: #fff; }
.chat-send:hover { background: #FF2A30; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 1rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); backdrop-filter: blur(6px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.modal-panel { position: relative; width: min(34rem, 100%); max-height: calc(100svh - 2rem); overflow-y: auto; background: #121214; border: 1px solid rgba(212,212,216,.16); border-radius: 8px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.95); animation: modalin .35s var(--ease); }
.modal-lg { width: min(62rem, 100%); }
@keyframes modalin { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal-x { position: absolute; top: .75rem; right: .75rem; z-index: 3; background: rgba(10,10,11,.8); }
.safety-list { counter-reset: s; display: grid; gap: .6rem; }
.safety-list li { counter-increment: s; position: relative; padding-left: 2.2rem; font-size: .92rem; color: #d4d4d8; }
.safety-list li::before { content: counter(s); position: absolute; left: 0; top: -.05rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgba(227,20,27,.2); color: #fca5a5; font-family: var(--mono); font-size: .75rem; font-weight: 600; }
.safety-list strong { color: #fff; }

.cl-group h3 { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; color: var(--brand-400); }
.cl-item { display: flex; gap: .7rem; align-items: flex-start; padding: .45rem 0; font-size: .9rem; color: #d4d4d8; cursor: pointer; border-bottom: 1px dashed rgba(212,212,216,.1); }
.cl-item input:checked + span { color: #71717a; text-decoration: line-through; }

.lightbox .lightbox-figure { position: relative; margin: 0; max-width: min(90vw, 80rem); animation: modalin .3s var(--ease); }
.lightbox img { max-height: 82svh; max-width: 100%; margin: 0 auto; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.8); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(10,10,11,.75); width: 3rem; height: 3rem; }
.lb-prev { left: .75rem; }
.lb-next { right: .75rem; }

.toast { position: fixed; left: 50%; bottom: calc(6rem + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 70; padding: .8rem 1.2rem; background: #fafafa; color: var(--ink); font-weight: 600; font-size: .9rem; border-radius: 6px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); animation: fadeup .3s var(--ease); max-width: calc(100vw - 2rem); text-align: center; }
@media (min-width: 1024px) { .toast { bottom: 2rem; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

body.modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .load-in { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* No red glow on buttons, and no red wash down the right edge. */
.btn-alarm { animation: none; box-shadow: inset 0 -2px 0 rgba(0,0,0,.25); }
.btn-brand { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -2px 0 rgba(0,0,0,.25); }
.chat-fab { box-shadow: none; }
.badge-stage::before { display: none; }
.hero-shade { background:
  linear-gradient(180deg, rgba(10,10,11,.35) 0%, rgba(10,10,11,.15) 40%, rgba(10,10,11,.72) 86%, #0A0A0B 100%),
  linear-gradient(90deg, rgba(10,10,11,.62) 0%, rgba(10,10,11,.12) 58%, rgba(10,10,11,.28) 100%); }
.page-head .hero-shade { background: linear-gradient(90deg, rgba(10,10,11,.78) 0%, rgba(10,10,11,.4) 52%, rgba(10,10,11,.18) 100%); }
.story-hero-shade { background:
  linear-gradient(180deg, rgba(10,10,11,.18) 0%, rgba(10,10,11,.08) 42%, rgba(10,10,11,.5) 84%, #0A0A0B 100%),
  linear-gradient(90deg, rgba(10,10,11,.5) 0%, rgba(10,10,11,.12) 48%, rgba(10,10,11,0) 100%); }

@media print {
  body * { visibility: hidden; }
  body.print-checklist .printable, body.print-checklist .printable * { visibility: visible; color: #000 !important; }
  body.print-checklist .printable { position: absolute; left: 0; top: 0; width: 100%; }
  body.print-checklist .no-print { display: none !important; }
  body.print-checklist .modal-panel { box-shadow: none; border: 0; background: #fff; max-height: none; }
}

/* ---------- Breakdown panel ---------- */
.share-toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; }
.switch { appearance: none; position: relative; width: 3.1rem; height: 1.75rem; border-radius: 99px; background: #3f3f46; flex-shrink: 0; cursor: pointer; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .2s var(--ease); }
.switch:checked { background: #16a34a; }
.switch:checked::after { transform: translateX(1.35rem); }
.switch:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; }
.geo-status { display: flex; align-items: flex-start; gap: .5rem; font-size: .88rem; color: #d4d4d8; }
.geo-status .dot-live { width: .55rem; height: .55rem; border-radius: 50%; margin-top: .35rem; flex-shrink: 0; background: #71717a; }
.geo-status .dot-live.is-busy { background: #f59e0b; animation: ping 1.2s infinite; }
.geo-status .dot-live.is-ok { background: #22c55e; }
.geo-status .dot-live.is-bad { background: #f87171; }
.bd-call { padding-top: 1.05rem; padding-bottom: 1.05rem; }
.bd-details summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: #e4e4e7; list-style: none; }
.bd-details summary::-webkit-details-marker { display: none; }
.bd-details summary::before { content: "+"; display: inline-block; width: 1.1rem; color: var(--brand-400); font-family: var(--mono); }
.bd-details[open] summary::before { content: "–"; }
.bd-result-ok { color: #86efac; }
.bd-result-warn { color: #fca5a5; }

/* Phone only. Desktop rules above are unchanged. */
@media (max-width: 1023px) {
  body { min-height: 100svh; display: flex; flex-direction: column; }
  #main { flex: 1 0 auto; }

  .util-bar { display: none !important; }
  #site-header > div { height: auto; flex-wrap: wrap; row-gap: .35rem; padding-top: .5rem; padding-bottom: .5rem; }
  #site-header .brand-name { display: block !important; }
  #site-header .brand-name span:first-child { font-size: 1.05rem; }
  #site-header nav[aria-label="Primary"] { display: flex !important; order: 3; width: 100%; justify-content: space-between; }
  #site-header .nav-link { font-size: .78rem; padding: .4rem .2rem; }
  #site-header .nav-link::after { left: .2rem; right: .2rem; }
  #site-header .btn-sm { display: inline-flex !important; font-size: .72rem; padding: .4rem .55rem; }
  #menu-toggle { display: none !important; }

  .hero { min-height: 0; justify-content: flex-start; }
  .hero-img { animation: none; }
  .hero > .relative { display: grid !important; grid-template-columns: 1.15fr .85fr; align-items: center; row-gap: 0 !important; column-gap: 1.5rem !important; padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
  .hero .hero-rest p { font-size: .92rem !important; margin-top: 4.5rem !important; }
  .hero-copy { display: contents; }
  .hero-kicker { grid-column: 1 / -1; grid-row: 1; width: 100%; }
  .hero-lead { grid-column: 1; grid-row: 2; align-self: start; }
  .hero-badge { grid-column: 2; grid-row: 2; align-self: start; margin-top: 1.5rem; }
  .hero-rest { display: contents; }
  .hero-rest > p { grid-column: 1 / -1; grid-row: 3; }
  .hero-stats { grid-column: 1 / -1; grid-row: 4; width: 100%; margin-top: 1.2rem !important; }
  .hero-stats > div { display: flex; flex-direction: column; justify-content: flex-start; }
  .hero-stats dt { height: 2.5em; display: flex; align-items: flex-start; line-height: 1.15; }
  .hero-stats dd { margin-top: .2rem; line-height: 1; min-height: 1.1em; }
  .hero-rest > .flex { grid-column: 1 / -1; grid-row: 5; margin-top: .9rem !important; }
  .hero-rest .flex { display: grid !important; grid-template-columns: 1fr 1fr; }
  .hero-rest .flex .btn { width: 100%; justify-content: center; }
  .hero h1 { font-size: 1.45rem !important; margin-top: .65rem !important; }
  .hero .badge-stage { width: 100% !important; }

  .bg-steel .flex.flex-wrap.gap-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .badge-seal { min-width: 0; padding: .7rem .5rem; gap: .4rem; }

  #home-highlights, #home-services, #services-grid {
    display: flex !important; flex-wrap: nowrap; overflow-x: auto; gap: .75rem;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  #home-highlights > *, #home-services > *, #services-grid > * {
    flex: 0 0 calc(50% - .4rem); scroll-snap-align: start; min-width: 0;
  }
  .svc-card .svc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
  .svc-card .svc-actions .btn { width: 100%; justify-content: center; padding-left: .3rem; padding-right: .3rem; font-size: .75rem; }

  .blueprint .grid { display: flex !important; flex-direction: column; align-items: stretch; }
  #system-chips { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: .5rem; }
  #system-chips .chip { justify-content: center; width: 100%; border-radius: 8px; padding: .7rem .4rem; }

  #spec-grid { display: flex !important; flex-direction: column; gap: 1rem; }
  .spec-row {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - .4rem);
    overflow-x: auto; gap: .75rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .spec-row .spec-card { scroll-snap-align: start; }

  .contact-split { display: block !important; }
  .contact-split .map-frame { display: none; }
  .contact-split .plate { padding: 1.1rem !important; }
  .contact-split h2 { font-size: 1.45rem !important; }
  .contact-split address, .contact-split .hours-table, .contact-split .text-sm { font-size: 1rem; }

  .eyebrow { flex-wrap: nowrap; white-space: nowrap; width: 100%; font-size: .62rem; letter-spacing: .08em; }
  .eyebrow:not(.justify-center)::after { content: ""; width: 2rem; height: 2px; background: var(--brand); flex-shrink: 0; margin-left: .75rem; }

  .rep-row { display: flex !important; flex-wrap: nowrap; overflow-x: auto; gap: .75rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; align-items: stretch; }
  #reviews { display: contents; }
  #reviews > * { flex: 0 0 86%; scroll-snap-align: start; min-width: 0; }
  .rep-score { order: 2; flex: 0 0 86%; scroll-snap-align: start; }

  .reveal { opacity: 1; transform: none; transition: none; }

  .page.story .story-hero,
  .page.story .chapter { border-bottom: none; }
  .page.story .border-t,
  .page.story .border-y { border-color: transparent; }
  .page.story .hazard { display: none; }

  .mobile-bar { display: none !important; }
  footer { padding-bottom: 0 !important; }

  .chat-fab { top: .45rem; right: .7rem; bottom: auto; }
  .chat-drawer { top: 9rem; right: .7rem; bottom: auto; left: .7rem; width: auto; height: calc(100svh - 11rem); }
  html.chat-lock, html.chat-lock body { overflow: hidden; height: 100%; }
  html.chat-lock { scroll-behavior: auto; }
}
