/* =========================================================
   Three-page additions: home switcher + product detail pages
   ========================================================= */

/* ---------- Home: core pillars ---------- */

.pillars { background: var(--surface); }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.pillar-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.pillar-card .icon-tile { margin-bottom: 14px; }
.pillar-card h3 { font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.pillar-card p { margin-top: 6px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }

/* ---------- Home: product switcher ---------- */

.switcher-sec { background: var(--bg); }
.switcher {
  max-width: 1120px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.switcher-tabs {
  display: flex;
  gap: 6px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.switch-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.switch-tab small { font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--muted-2); }
.switch-tab .tab-name { white-space: nowrap; }
.switch-tab .label-short { display: none; }
.switch-tab:hover { background: var(--bg); }
.switch-tab.is-active { background: var(--navy); color: #fff; }
.switch-tab.is-active small { color: rgba(255, 255, 255, .5); }

.switcher-viewport { overflow: hidden; }
.switcher-track { display: flex; transition: transform .65s var(--ease); will-change: transform; }
.switch-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 500px;
}
.switch-slide[data-accent="blue"] { --accent: var(--blue); --accent-ink: var(--blue); }
.switch-slide[data-accent="green"] { --accent: var(--green); --accent-ink: var(--green-ink); }
.switch-slide[data-accent="orange"] { --accent: var(--orange); --accent-ink: var(--orange-ink); }
.switch-slide[data-accent="cyan"] { --accent: #0B7E91; --accent-ink: #0B7E91; }

.switch-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: var(--navy);
  overflow: hidden;
}
.switch-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, .06), transparent 40%),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  mask-image: radial-gradient(110% 100% at 50% 45%, #000 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(110% 100% at 50% 45%, #000 30%, transparent 82%);
}
.switch-visual > img {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .38);
}
.visual-chip {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: rgba(10, 18, 32, .85);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .78);
}
.combo-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 380px;
}
.combo-visual figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: var(--navy);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .4);
}
.combo-visual figure img { width: 100%; display: block; }
.combo-visual figure:first-child { top: 8px; left: 0; width: 62%; transform: rotate(-2deg); }
.combo-visual figure:nth-of-type(2) { right: 0; bottom: 6px; width: 58%; transform: rotate(2deg); }
.combo-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(255, 90, 31, .16);
}
.combo-arrow .icon { width: 17px; height: 17px; }

.gateway-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 16px;
  display: grid;
  gap: 30px;
}
.gateway-sources, .gateway-targets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.gateway-sources span, .gateway-targets span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  background: rgba(255, 255, 255, .05);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .72);
}
.gateway-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 210px;
  height: 120px;
  margin-inline: auto;
  border: 1px solid rgba(245, 166, 35, .6);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 166, 35, .14), rgba(10, 18, 32, .6) 68%);
  box-shadow: 0 0 44px rgba(245, 166, 35, .14);
  text-align: center;
}
.gateway-core::before, .gateway-core::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 30px;
  background: linear-gradient(var(--gold), transparent);
}
.gateway-core::before { bottom: 100%; }
.gateway-core::after { top: 100%; background: linear-gradient(transparent, var(--gold)); }
.gateway-core i {
  position: absolute;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.gateway-core b { padding-top: 10px; font-size: 16px; letter-spacing: .1em; color: #fff; }
.gateway-core small { margin-top: 5px; font-size: 10px; color: rgba(255, 255, 255, .5); }
.gateway-targets span { border-color: rgba(245, 166, 35, .28); color: rgba(255, 255, 255, .78); }

.label-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 390px;
}
.label-sheet {
  position: absolute;
  margin: 0;
  padding: 8px;
  border-radius: 9px;
  background: var(--surface);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .36);
}
.label-sheet img { display: block; width: 100%; height: auto; border-radius: 4px; }
.label-sheet-a { top: 24px; left: 0; width: 64%; rotate: -3deg; }
.label-sheet-b { top: 10px; right: 0; width: 52%; rotate: 2.5deg; }
.label-sheet-c { right: 4%; bottom: 0; width: 58%; rotate: -1.5deg; }

.switch-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 40px;
}
.slide-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--accent-ink, var(--accent)); }
.switch-copy h3 { margin-top: 8px; font-size: clamp(32px, 2.7vw, 39px); font-weight: 820; letter-spacing: -.035em; line-height: 1.05; }
.slide-tagline { margin-top: 8px; font-size: 20px; font-weight: 720; line-height: 1.35; letter-spacing: -.02em; }
.slide-desc { margin-top: 10px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.slide-checks { margin-top: 16px; display: grid; gap: 7px; }
.slide-checks li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.slide-checks .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--accent); stroke-width: 2; }
.slide-metrics { display: flex; gap: 22px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.slide-metrics span { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.slide-metrics b { display: block; margin-bottom: 2px; font-family: var(--sans); font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.slide-actions { margin-top: 20px; }

.switcher-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.switch-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  transition: color .2s, border-color .2s;
}
.switch-arrow:hover { color: var(--ink); border-color: var(--ink); }
.switch-arrow .icon { width: 16px; height: 16px; }
.switch-dots { display: flex; align-items: center; gap: 3px; }
.switch-dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
}
.switch-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line-strong);
  transform: translate(-50%, -50%);
  transition: width .3s, background .3s;
}
.switch-dot.is-active::before { width: 18px; border-radius: 4px; background: var(--orange); }

/* ---------- Home: industries + quality ---------- */

.home-industries { background: var(--surface); }
.ind-home-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ind-home {
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.ind-home:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.ind-home h3 { margin-top: 14px; font-size: 17px; font-weight: 720; }
.ind-home p { margin-top: 5px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }

.quality { background: var(--bg); }
.quality-band {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 36px;
  align-items: center;
  padding: 44px 46px;
  background:
    radial-gradient(620px 320px at 88% 0%, rgba(255, 90, 31, .14), transparent 62%),
    radial-gradient(560px 360px at 0% 100%, rgba(46, 99, 240, .16), transparent 62%),
    var(--navy);
  color: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.quality-copy h2 { margin-top: 12px; font-size: clamp(30px, 3vw, 40px); font-weight: 820; line-height: 1.2; letter-spacing: -.03em; }
.quality-copy p { margin-top: 12px; font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, .6); }
.quality-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 30px; }
.quality-metrics > div { padding-left: 18px; border-left: 1px solid var(--navy-line); }
.quality-metrics strong { display: block; font-size: clamp(32px, 3.2vw, 44px); font-weight: 850; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.quality-metrics span { display: block; margin-top: 7px; font-size: 12.5px; color: rgba(255, 255, 255, .52); }
.quality-foot { margin-top: 18px; text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: .02em; color: var(--muted); }

/* ---------- Product page shell ---------- */

body.page-studio { --accent: var(--blue); --accent-ink: var(--blue); --accent-glow: rgba(46, 99, 240, .22); }
body.page-motion { --accent: var(--green); --accent-ink: var(--green-ink); --accent-glow: rgba(31, 168, 102, .2); }
body.page-gateway { --accent: #C68A00; --accent-ink: var(--gold-ink); --accent-glow: rgba(245, 166, 35, .16); }
body.page-label { --accent: #7A5AF8; --accent-ink: #6B48F0; --accent-glow: rgba(122, 90, 248, .22); }
body.page-linkbench { --accent: #0B7E91; --accent-ink: #0B7E91; --accent-glow: rgba(24, 175, 201, .2); }
.page-studio .page-hero-copy .eyebrow { color: #7C9BFF; }
.page-label .page-hero-copy .eyebrow { color: #A78BFA; }
.page-label .page-media-chip::before { background: #A78BFA; }
.page-linkbench .page-hero-copy .eyebrow { color: #5BD8EF; }
.page-linkbench .page-media-chip::before { background: #5BD8EF; }
.label-hero-media .label-visual { height: 430px; margin-top: 28px; }
.label-visual-hero .label-sheet-a { top: 32px; width: 68%; }
.label-visual-hero .label-sheet-b { top: 12px; width: 54%; }
.label-visual-hero .label-sheet-c { width: 60%; }

/* DeltaLinkBench: crisp session console */
.link-console {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid rgba(53, 200, 230, .28);
  border-radius: 12px;
  background: linear-gradient(160deg, #0F1E33, #0A1424);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7), 0 0 50px -20px rgba(24, 175, 201, .32);
}
.lc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--navy-line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .8);
}
.lc-dot { width: 6px; height: 6px; border-radius: 50%; background: #35C8E6; box-shadow: 0 0 8px rgba(53, 200, 230, .8); }
.lc-live { margin-left: auto; font-size: 8px; letter-spacing: .08em; color: #5BD8EF; }
.lc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--navy-line);
}
.lc-tabs span {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .45);
  white-space: nowrap;
}
.lc-tabs .is-on { border-color: rgba(53, 200, 230, .42); background: rgba(53, 200, 230, .12); color: #7BE4F5; }
.lc-log { padding: 7px 0; }
.lc-line {
  display: grid;
  grid-template-columns: 92px 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .045);
  font-family: var(--mono);
  font-size: 10.5px;
}
.lc-line:last-child { border-bottom: 0; }
.lc-t { font-size: 9.5px; color: rgba(255, 255, 255, .55); }
.lc-tag { padding: 1px 4px; border: 1px solid; border-radius: 3px; font-size: 8px; letter-spacing: .06em; text-align: center; }
.lc-tx { border-color: rgba(255, 138, 91, .32); color: #FF8A5B; }
.lc-rx { border-color: rgba(55, 214, 122, .32); color: #37D67A; }
.lc-ai { border-color: rgba(91, 216, 239, .36); color: #5BD8EF; }
.lc-msg { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: rgba(255, 255, 255, .78); }
.lc-line b { font-size: 8.5px; font-weight: 400; letter-spacing: .06em; color: rgba(255, 255, 255, .55); }
.lc-line b.lc-ok { color: #6EE7A0; }
.lc-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 11px 14px;
  border-top: 1px solid var(--navy-line);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .58);
}
.lc-foot b { color: #5BD8EF; font-weight: 700; }

/* DeltaLinkBench: compact console for the home switcher */
.linkbench-visual {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid rgba(53, 200, 230, .28);
  border-radius: 12px;
  background: linear-gradient(160deg, #0F1E33, #0A1424);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .45);
}
.lb-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--navy-line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .7);
}
.lb-dot { width: 5px; height: 5px; border-radius: 50%; background: #35C8E6; }
.lb-tag { margin-left: auto; font-size: 7.5px; color: #5BD8EF; }
.lb-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 9px 10px; border-bottom: 1px solid var(--navy-line); }
.lb-tabs span {
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, .45);
}
.lb-tabs .is-on { border-color: rgba(53, 200, 230, .42); background: rgba(53, 200, 230, .12); color: #7BE4F5; }
.lb-body { padding: 5px 0; }
.lb-line {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .045);
  font-family: var(--mono);
  font-size: 9.5px;
  color: rgba(255, 255, 255, .76);
}
.lb-line:last-child { border-bottom: 0; }
.lb-line span:nth-child(2) { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lb-t { font-size: 8px; color: #5BD8EF; }
.lb-line b { font-size: 8px; font-weight: 400; color: rgba(255, 255, 255, .55); }
.lb-foot {
  display: flex;
  gap: 14px;
  padding: 9px 12px;
  border-top: 1px solid var(--navy-line);
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, .58);
}
.lb-foot b { color: #5BD8EF; font-weight: 700; }

@media (max-width: 760px) {
  .lc-line { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; padding: 8px 12px; }
  .lc-t { display: none; }
  .lc-msg { font-size: 9.5px; }
  .lc-foot { font-size: 7.5px; gap: 6px 12px; }
  .link-console { margin-top: 40px; }
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.route-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}
.route-card.is-now { border-color: rgba(122, 90, 248, .34); box-shadow: 0 0 0 3px rgba(122, 90, 248, .06); }
.route-state {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(122, 90, 248, .1);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: #5B3FD1;
}
.route-card.is-now .route-state { background: #7A5AF8; color: #fff; }
.route-card h3 { font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.route-card p { margin-top: 6px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.page-gateway .page-hero-copy .eyebrow { color: #F2B63C; }
.page-gateway .page-media-chip::before { background: #F2B63C; }
.page-gateway .gateway-band .console-head-left > span:nth-child(2) { color: #F2B63C; }
.page-gateway .gateway-band .console-foot b { color: #F2B63C; }

.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 72px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    radial-gradient(620px 420px at 82% 18%, var(--accent-glow, rgba(46, 99, 240, .2)), transparent 62%),
    radial-gradient(500px 360px at 8% 90%, rgba(255, 90, 31, .1), transparent 62%);
  background-size: 72px 72px, 72px 72px, auto, auto;
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: rgba(255, 255, 255, .6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-style: normal; color: rgba(255, 255, 255, .38); }
.breadcrumb .current { color: rgba(255, 255, 255, .78); }

.page-hero-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: 30px;
}
.page-hero-copy { max-width: 580px; min-width: 0; }
.page-hero-copy .eyebrow { color: var(--accent); }
.page-hero-copy h1 {
  margin-top: 14px;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -.04em;
}
.page-lede { max-width: 520px; margin-top: 18px; font-size: 15px; line-height: 1.85; color: rgba(255, 255, 255, .64); text-wrap: pretty; }
.page-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.page-stats > div { padding-right: 10px; }
.page-stats > div + div { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .1); }
.page-stats dt { font-size: clamp(24px, 2vw, 30px); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.page-stats dd { margin-top: 6px; font-family: var(--mono); font-size: 10px; line-height: 1.5; color: rgba(255, 255, 255, .6); }
.page-proof-note { margin-top: 12px; font-family: var(--mono); font-size: 9.5px; line-height: 1.6; letter-spacing: .03em; color: rgba(255, 255, 255, .6); }

.page-hero-media { position: relative; min-width: 0; }
.page-hero-media .main-shot {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .42);
}
.page-hero-media .main-shot img { width: 100%; display: block; }
.page-hero-media .float-shot {
  position: absolute;
  right: -10px;
  bottom: -28px;
  width: 46%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .45);
}
.page-hero-media .float-shot img { width: 100%; display: block; }
.page-media-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: rgba(10, 18, 32, .82);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .74);
}
.page-media-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Product subnav ---------- */

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.subnav-inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  height: 56px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  padding: 17px 0;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.subnav .subnav-cta { margin-left: auto; color: var(--orange-ink); border-bottom: 0; font-weight: 600; }
.subnav .subnav-cta:hover { color: var(--orange-strong-2); }

/* ---------- Product page blocks ---------- */

.snapshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.snapshot-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color .25s, box-shadow .25s;
}
.snapshot-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.snapshot-card .icon-tile { margin-bottom: 14px; }
.snapshot-card h3 { font-size: 18px; font-weight: 720; }
.snapshot-card p { margin-top: 6px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.snapshot-card .snap-metric { margin-top: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .03em; color: var(--accent-ink, var(--accent)); }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.split.reverse .split-copy { order: 2; }
.split.reverse .split-media { order: 1; }
.split-copy, .split-media { min-width: 0; }
.split-copy h2 { margin-top: 12px; font-size: clamp(32px, 3.2vw, 44px); font-weight: 820; line-height: 1.18; letter-spacing: -.035em; }
.split-copy .lede { margin-top: 12px; font-size: 15px; line-height: 1.85; color: var(--muted); }
.split-points { margin-top: 22px; display: grid; gap: 12px; }
.split-points li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
.split-points .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); stroke-width: 2; }
.split-copy .btn { margin-top: 24px; }

.gallery {
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.gallery-main { position: relative; overflow: hidden; border-radius: 12px; background: var(--navy); }
.gallery-main img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; display: block; transition: opacity .25s ease; }
.gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-inline: 4px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery-thumb {
  flex: 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  opacity: .5;
  transition: opacity .2s, border-color .2s;
}
.gallery-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; display: block; }
.gallery-thumb:hover { opacity: .85; }
.gallery-thumb.is-active { opacity: 1; border-color: var(--accent); }

.operator-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.operator-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s, box-shadow .25s; }
.operator-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.operator-card .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
.operator-card h3 { margin-top: 14px; font-size: 17px; font-weight: 720; }
.operator-card p { margin-top: 5px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }

.onnx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.onnx-card { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: border-color .25s; }
.onnx-card:hover { border-color: var(--line-strong); }
.onnx-card span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; color: var(--accent-ink, var(--accent)); }
.onnx-card h3 { margin-top: 5px; font-size: 14.5px; font-weight: 700; }
.onnx-card p { margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--muted); }

.perf-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: start; }
.perf-table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.perf-table caption { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--muted); background: var(--surface-2); }
.perf-table th, .perf-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }
.perf-table th { font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--muted); }
.perf-table td:last-child { text-align: right; font-family: var(--mono); }
.perf-table tr:last-child td { border-bottom: 0; }
.perf-table .ok { color: var(--green-ink); }
.perf-table .ng { color: var(--orange-ink); }
.perf-note { margin-top: 10px; font-size: 11px; line-height: 1.65; color: var(--muted); }
.perf-shot { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--navy); }
.perf-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; display: block; }
.perf-shot figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; border-top: 1px solid var(--navy-line); background: var(--navy); font-family: var(--mono); font-size: 10px; color: rgba(255, 255, 255, .58); }

.record-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.record-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.record-card .icon-tile { width: 38px; height: 38px; border-radius: 10px; }
.record-card h4 { margin-top: 12px; font-size: 14px; font-weight: 700; }
.record-card p { margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--muted); }

.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-row dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; color: var(--muted); }
.spec-row dd { font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
.spec-note { margin-top: 14px; font-size: 11px; color: var(--muted); }
.deploy-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.deploy-chips span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); font-family: var(--mono); font-size: 10px; color: var(--muted); }



.protocol-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.protocol-chips span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); font-family: var(--mono); font-size: 10px; color: var(--muted); }
.gateway-band { background: var(--navy); color: #fff; }
.gateway-band .sec-head h2 { color: #fff; }
.gateway-band .sec-head > p:last-child { color: rgba(255, 255, 255, .6); }
.gateway-band .eyebrow { color: rgba(255, 255, 255, .5); }
.gateway-band .path { padding: 0; background: transparent; }
.gateway-band .path::before { display: none; }
.gateway-band .protocol-chips span { border-color: var(--navy-line); background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .58); }

/* ---------- Brand story / Why Delta ---------- */

.delta-story {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.delta-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 420px at 78% 16%, rgba(255, 90, 31, .14), transparent 64%),
    radial-gradient(600px 420px at 4% 92%, rgba(46, 99, 240, .18), transparent 64%),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  mask-image: radial-gradient(120% 100% at 50% 42%, #000 28%, transparent 86%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 42%, #000 28%, transparent 86%);
  pointer-events: none;
}
.delta-inner { position: relative; z-index: 1; }
.delta-panel {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.delta-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.delta-mark::before {
  content: "";
  position: absolute;
  width: min(86%, 344px);
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: 50%;
}
.delta-mark::after {
  content: "";
  position: absolute;
  width: min(62%, 248px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 90, 31, .24);
  border-radius: 50%;
}
.delta-orbit {
  position: absolute;
  width: min(74%, 296px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  rotate: -24deg;
  border-left-color: rgba(255, 90, 31, .5);
}
.delta-glyph {
  position: relative;
  z-index: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(190px, 22vw, 300px);
  line-height: .78;
  letter-spacing: -.04em;
  color: rgba(255, 255, 255, .12);
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .58);
  filter: drop-shadow(0 20px 46px rgba(0, 0, 0, .35));
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .delta-glyph {
    color: transparent;
    background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .16));
    -webkit-background-clip: text;
    background-clip: text;
  }
}
.delta-meta {
  position: absolute;
  left: 4%;
  bottom: 4%;
  z-index: 2;
  display: grid;
  gap: 5px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
}
.delta-meta b { color: var(--orange); font-weight: 500; }
.delta-meta i { font-style: normal; color: rgba(255, 255, 255, .5); }
.delta-copy h1,
.delta-copy h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 820;
  line-height: 1.12;
  letter-spacing: -.04em;
}
.delta-lede {
  max-width: 640px;
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .68);
}
.delta-points { display: grid; gap: 0; margin-top: 24px; }
.delta-points li {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--navy-line);
}
.delta-points li:last-child { border-bottom: 1px solid var(--navy-line); }
.delta-points b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--orange);
}
.delta-points span { font-size: 13px; line-height: 1.75; color: rgba(255, 255, 255, .66); }
.delta-revolutions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
}
.delta-rev {
  min-height: 108px;
  padding: 20px 20px 18px 0;
  border-right: 1px solid var(--navy-line);
}
.delta-rev:last-child { border-right: 0; padding-right: 0; }
.delta-rev + .delta-rev { padding-left: 20px; }
.delta-rev span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .46);
}
.delta-rev b { display: block; margin-top: 9px; font-size: 16px; font-weight: 700; }
.delta-rev small { display: block; margin-top: 4px; font-size: 12px; color: rgba(255, 255, 255, .52); }
.delta-rev.is-now { background: rgba(255, 255, 255, .045); box-shadow: inset 0 2px 0 var(--orange); }
.delta-rev.is-now span { color: var(--orange); }
.delta-rev.is-now small { color: rgba(255, 255, 255, .72); }
.about-breadcrumb { margin-bottom: 28px; }
@media (max-width: 900px) {
  .delta-story { padding-top: calc(var(--header-h) + 44px); }
}
.delta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.delta-note {
  margin-top: 18px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .58);
}

.home-why { background: var(--surface); }
.home-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.home-why-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}
.why-index {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--orange-ink);
}
.home-why-card h3 { font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.home-why-card p { margin-top: 6px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.home-why-note {
  margin-top: 22px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted-2);
}

/* ---------- Legal pages ---------- */
.legal-updated { margin-top: 18px; font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, .62); }
.legal-copy { max-width: 860px; }
.legal-copy h2 { margin-top: 34px; font-size: 22px; font-weight: 760; letter-spacing: -.02em; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p,
.legal-copy li { margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.legal-copy ul { margin: 10px 0 0; padding-left: 22px; }
.legal-copy a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-copy .card-link { display: inline-flex; margin-top: 6px; text-decoration: none; }

/* ---------- Readability floor for metadata text ---------- */
.switch-tab small,
.slide-kicker,
.breadcrumb,
.page-stats dd,
.snapshot-card .snap-metric,
.gallery-caption,
.perf-table caption,
.perf-table th,
.spec-row dt { font-size: 11px; }

/* ---------- Responsive additions ---------- */

@media (max-width: 1240px) {
  .main-nav { gap: 16px; font-size: 13px; }
  .version-chip { display: none; }
}

@media (max-width: 1100px) {
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quality-band { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-copy { max-width: 720px; }
  .page-hero-media { max-width: 820px; width: 100%; }
  .snapshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-copy, .split.reverse .split-media { order: initial; }
  .operator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .onnx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .perf-grid { grid-template-columns: 1fr; }
  .record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .subnav { top: var(--header-h); }
  .main-nav {
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .switch-slide { grid-template-columns: 1fr; min-height: 0; }
  .switch-visual { min-height: 280px; padding: 22px; }
  .switch-copy { padding: 28px 24px 30px; }
  .switcher-tabs { overflow: visible; }
  .switch-tab { flex: 1 1 0; min-width: 0; align-items: center; text-align: center; }
  .switch-tab small { display: none; }
  .delta-panel { grid-template-columns: 1fr; gap: 24px; }
  .delta-mark { min-height: 270px; order: 1; }
  .delta-copy { order: 2; }
  .quality-band { padding: 32px; }
  .spec-grid { grid-template-columns: 1fr; }
  .gateway-band .path-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .pillar-grid, .ind-home-grid, .snapshot-grid, .operator-grid { grid-template-columns: 1fr; }
  .pillar-grid { gap: 10px; }
  .pillar-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
    padding: 16px 18px;
  }
  .pillar-card .icon-tile {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    margin-bottom: 0;
    border-radius: 11px;
  }
  .pillar-card h3 { align-self: end; margin-top: 2px; font-size: 17px; }
  .pillar-card p { grid-column: 2; margin-top: 2px; font-size: 13px; line-height: 1.62; }
  .onnx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quality-metrics { gap: 18px 20px; }
  .quality-metrics > div { padding-left: 14px; }
  .page-hero { padding-top: calc(var(--header-h) + 44px); padding-bottom: 48px; }
  .page-hero-copy h1 { font-size: clamp(38px, 9.6vw, 50px); }
  .page-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-stats > div { padding: 11px 0; }
  .page-stats > div + div { border-left: 0; padding-left: 0; }
  .page-stats > div:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .1); padding-left: 14px; }
  .page-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .page-hero-media .float-shot { display: none; }
  .page-hero .hero-actions { flex-direction: column; align-items: stretch; }
  .page-hero .hero-actions .btn { width: 100%; }
  .subnav-inner { gap: 18px; }
  .subnav a { font-size: 12px; }
  .switcher { border-radius: 16px; }
  .switcher-tabs { gap: 8px; padding: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .switch-tab { flex: 0 0 auto; min-width: 120px; min-height: 44px; padding: 10px 14px; align-items: flex-start; text-align: left; font-size: 13px; border-radius: 10px; scroll-snap-align: start; }
  .switch-tab small { display: none; }
  .switch-tab .label-full { display: none; }
  .switch-tab .label-short { display: inline; }
  .switch-visual { min-height: 210px; padding: 14px; }
  .combo-visual { height: 210px; }
  .gateway-visual { gap: 18px; padding: 6px; }
  .gateway-core { width: 170px; height: 94px; }
  .gateway-sources span, .gateway-targets span { padding: 5px 8px; font-size: 9px; }
  .label-visual { height: 230px; }
  .label-sheet { padding: 4px; border-radius: 6px; }
  .label-sheet-a { top: 14px; width: 62%; }
  .label-sheet-b { top: 4px; width: 50%; }
  .label-sheet-c { width: 56%; }
  .switch-copy { padding: 22px 20px 24px; }
  .switch-copy h3 { font-size: 29px; }
  .slide-tagline { margin-top: 6px; font-size: 18px; }
  .slide-desc { margin-top: 8px; font-size: 13px; line-height: 1.65; }
  .slide-checks { margin-top: 12px; gap: 6px; }
  .slide-metrics { gap: 16px; margin-top: 14px; padding-top: 11px; }
  .slide-metrics b { font-size: 19px; }
  .slide-actions { margin-top: 16px; }
  .record-grid { grid-template-columns: 1fr; }
  .home-why-grid { grid-template-columns: 1fr; gap: 10px; }
  .home-why-card { padding: 18px; }
  .why-index { margin-bottom: 10px; }
  .home-why-card h3 { font-size: 17px; }
  .home-why-card p { font-size: 13px; }
  .home-why-note { margin-top: 16px; }
  .route-grid { grid-template-columns: 1fr; gap: 10px; }
  .route-card { padding: 18px; }
  .label-hero-media .label-visual { height: 270px; margin-top: 20px; }
  .gallery-caption { font-size: 9.5px; }
  .gallery-thumbs { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .switcher-track { transition: none; }
  .combo-visual figure { transform: none; }
}
/* product pages: account for sticky subnav when jumping to anchors */
body.page-studio main section[id],
body.page-motion main section[id],
body.page-gateway main section[id],
body.page-label main section[id],
body.page-linkbench main section[id] { scroll-margin-top: calc(var(--header-h) + 68px); }

/* DeltaGateway hero: live tag console (simulated data, clearly labelled) */
.tag-console {
  position: relative;
  background: linear-gradient(160deg, #101B2E, #0B1424);
  border: 1px solid rgba(245, 166, 35, .3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7), 0 0 50px -18px rgba(245, 166, 35, .3);
  animation: tagFloat 7s ease-in-out infinite;
}
@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.tag-console-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--navy-line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .8);
}
.tag-console-head .console-dot { background: var(--gold); }
.tag-sim {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 8px;
  letter-spacing: .08em;
  color: var(--gold);
}
.tag-sim i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.tag-rows { list-style: none; padding: 6px 0; margin: 0; }
.tag-rows li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-family: var(--mono);
}
.tag-rows li:last-child { border-bottom: 0; }
.tag-name { font-size: 10px; color: rgba(255, 255, 255, .55); letter-spacing: .02em; }
.tag-value { font-size: 13px; font-weight: 700; color: #6EE7A0; text-align: right; min-width: 74px; }
.tag-value i { font-style: normal; font-size: 9px; font-weight: 400; color: rgba(255, 255, 255, .6); margin-left: 5px; }
.tag-value-text { color: var(--gold); font-size: 11px; letter-spacing: .06em; }
.tag-q { font-size: 8px; letter-spacing: .06em; color: rgba(110, 231, 160, .75); border: 1px solid rgba(110, 231, 160, .25); border-radius: 3px; padding: 2px 5px; }
.tag-console-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 11px 14px;
  border-top: 1px solid var(--navy-line);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .58);
}
.tag-console-foot b { color: var(--gold); font-weight: 700; }
.tag-console-sub {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .1em;
  text-align: center;
  color: rgba(255, 255, 255, .58);
}
.tag-console .tag-value.is-tick { animation: tagTick .5s ease-out; }
@keyframes tagTick {
  0% { color: #D7FFE6; }
  100% { color: #6EE7A0; }
}

/* home switcher: autoplay toggle */
.switch-autoplay {
  margin-left: 6px;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.switch-autoplay:hover { color: var(--ink); border-color: var(--line-strong); }
.switch-autoplay[aria-pressed="false"] { color: var(--orange-ink); border-color: rgba(194, 65, 12, .45); }

@media (max-width: 760px) {
  .tag-name { font-size: 9px; }
  .tag-value { font-size: 12px; min-width: 66px; }
  .tag-rows li { gap: 8px; padding: 8px 12px; }
  .tag-console-foot { font-size: 7.5px; gap: 6px 12px; }
  .tag-console-sub { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .tag-console { animation: none; }
  .tag-console .tag-value.is-tick { animation: none; }
}

/* footer and inline links: minimum comfortable touch target */
@media (max-width: 600px) {
  .gallery-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .subnav .subnav-cta { display: none; }
}

@media (max-width: 680px) {
  .delta-actions .btn { width: 100%; }
  .delta-points li { grid-template-columns: 1fr; gap: 6px; padding: 12px 0; }
  .delta-revolutions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delta-rev { min-height: 0; padding: 16px 14px; border-bottom: 1px solid var(--navy-line); }
  .delta-rev + .delta-rev { padding-left: 14px; }
  .delta-rev:nth-child(odd) { padding-left: 0; }
  .delta-rev:nth-child(even) { border-right: 0; }
  .delta-rev:nth-child(n+3) { border-bottom: 0; }
  .delta-meta { left: 0; bottom: 0; }
  .footer-col a { padding-block: 3px; }
  .card-link { padding-block: 2px; }
}

@media (max-width: 420px) {
  .delta-revolutions { grid-template-columns: 1fr; }
  .delta-rev { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--navy-line); }
  .delta-rev + .delta-rev { padding-left: 0; }
  .delta-rev:nth-child(n+3) { border-bottom: 1px solid var(--navy-line); }
  .delta-rev:last-child { border-bottom: 0; }
}
