/* =========================================================
   demo.christopheralanjones.com — "Watch a workday run itself"
   Brand tokens inherited from christopheralanjones.com
   ========================================================= */

:root {
  --ink: #09110f;
  --charcoal: #07100e;
  --charcoal-2: #101916;
  --panel: #0f1714;
  --panel-2: #131d19;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #eef4f1;
  --muted: #8fa19a;
  --faint: #5a6662;
  --green: #17633b;
  --green-2: #0d7a48;
  --green-bright: #2fbf7a;
  --blue: #4a9de8;
  --red: #d53a2f;
  --orange: #e8813d;
  --radius: 12px;
  --radius-s: 7px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.4);
  --max: 1180px;
  --gutter: clamp(16px, 3vw, 40px);
  --font: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--charcoal);
  color: var(--text);
  line-height: 1.45;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Atmosphere: glow + faint dot grid + grain */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 18% -8%, rgba(13, 122, 72, 0.22), transparent 62%),
    radial-gradient(700px 420px at 88% 4%, rgba(17, 98, 189, 0.10), transparent 60%),
    radial-gradient(1.5px 1.5px at 50% 50%, rgba(255,255,255,0.045) 0 1px, transparent 1.5px);
  background-size: auto, auto, 26px 26px;
}
.bg-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }

/* ======= Buttons ======= */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius-s);
  padding: 12px 20px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn { white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-green {
  background: linear-gradient(180deg, var(--green-2), var(--green));
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 122, 72, 0.35), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-green:hover { box-shadow: 0 12px 30px rgba(13, 122, 72, 0.5), inset 0 1px 0 rgba(255,255,255,0.18); }
.btn-white { background: #fff; color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
  font-family: var(--font);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); }

/* ======= Top bar ======= */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 0;
}
.topbar .btn { flex: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(160deg, var(--green-2), var(--green));
  color: #fff;
  box-shadow: 0 6px 18px rgba(13, 122, 72, 0.4);
  flex: none;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
}
.brand-text em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--green-bright);
  font-weight: 600;
}

/* ======= Layout ======= */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--gutter) 48px;
}

/* Load-in reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.reveal:nth-of-type(1) { animation-delay: 0.05s; }
.reveal:nth-of-type(2) { animation-delay: 0.15s; }
.reveal:nth-of-type(3) { animation-delay: 0.25s; }
.reveal:nth-of-type(4) { animation-delay: 0.35s; }
.reveal:nth-of-type(5) { animation-delay: 0.45s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ======= Hero ======= */
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 26px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 14px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 0 rgba(47, 191, 122, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 191, 122, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(47, 191, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 191, 122, 0); }
}
h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.sub {
  margin-top: 14px;
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
}

/* Clock card */
.clock-card {
  flex: none;
  text-align: right;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 16px;
  box-shadow: var(--shadow);
  min-width: 208px;
}
.clock {
  font-family: var(--mono);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.clock .ampm {
  font-size: 0.85rem;
  margin-left: 6px;
  color: var(--muted);
  font-weight: 500;
}
.clock-sub {
  font-size: 0.72rem;
  color: var(--faint);
  margin: 6px 0 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.controls { display: flex; gap: 8px; justify-content: flex-end; }
.ctl {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-s);
  width: 44px;
  height: 36px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.ctl:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255,255,255,0.25); }
.ctl-speed { color: var(--green-bright); }

/* ======= KPIs ======= */
.kpis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.kpi {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kpi-n {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
.kpi-n.bump { animation: bump 0.4s ease; }
@keyframes bump {
  30% { transform: translateY(-3px) scale(1.06); color: var(--green-bright); }
}
.kpi-orange .kpi-n { color: var(--orange); }
.kpi-orange .kpi-n.bump { animation-name: bumpO; }
@keyframes bumpO { 30% { transform: translateY(-3px) scale(1.06); } }
.kpi-green .kpi-n { color: var(--green-bright); }
.kpi-l {
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ======= Panels ======= */
.panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 15px 18px 0;
}
.panel-head h2 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.panel-note { font-size: 0.72rem; color: var(--faint); font-weight: 600; }

/* ======= Pipeline ======= */
.pipeline { margin-bottom: 14px; }
.track {
  position: relative;
  height: 248px;
  margin: 12px 14px 14px;
  border-radius: var(--radius-s);
  background:
    repeating-linear-gradient(90deg, transparent 0 20.4%, var(--line) 20.4% calc(20.4% + 1px)),
    rgba(0, 0, 0, 0.18);
}
/* stage stops: width 16%, lefts 1 / 21.5 / 42 / 62.5 / 83 (%) */
.stage {
  position: absolute;
  bottom: 10px;
  width: 16%;
  left: calc(1% + var(--i) * 20.5%);
  text-align: center;
}
.stage b {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 0.25s;
}
.stage .dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  margin: 0 auto 7px;
  transition: background 0.25s, box-shadow 0.25s;
}
.stage.ping .dot {
  background: var(--green-bright);
  box-shadow: 0 0 0 5px rgba(47, 191, 122, 0.18);
}
.stage.ping b { color: var(--text); }

/* Order cards */
.op-card {
  position: absolute;
  width: 16%;
  min-width: 0;
  left: 1%;
  top: 12px;
  padding: 9px 11px;
  border-radius: var(--radius-s);
  background: linear-gradient(180deg, #1a2721, #14201a);
  border: 1px solid rgba(47, 191, 122, 0.28);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  transition: left 0.85s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.5s, transform 0.5s, border-color 0.3s, background 0.3s;
  opacity: 0;
  transform: translateX(-14px);
}
.op-card.on { opacity: 1; transform: none; }
.op-card[data-stage="0"] { left: 1%; }
.op-card[data-stage="1"] { left: 21.5%; }
.op-card[data-stage="2"] { left: 42%; }
.op-card[data-stage="3"] { left: 62.5%; }
.op-card[data-stage="4"] { left: 83%; }
.op-card[data-lane="1"] { top: 80px; }
.op-card[data-lane="2"] { top: 148px; }
.op-name {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.op-amt {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--green-bright);
  margin-top: 2px;
}
.op-card .op-ticks {
  position: absolute;
  top: 7px;
  right: 9px;
  font-size: 0.62rem;
  color: var(--green-bright);
  letter-spacing: 1px;
}
.op-card.flagged {
  border-color: rgba(232, 129, 61, 0.7);
  background: linear-gradient(180deg, #2a2015, #201812);
}
.op-card.flagged .op-amt { color: var(--orange); }
.op-card.drop {
  transform: translateY(70px) scale(0.92);
  opacity: 0;
}
.op-card.done {
  transform: scale(0.9);
  opacity: 0;
  border-color: var(--green-bright);
}

/* ======= Lower grid ======= */
.grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.9fr;
  gap: 14px;
  margin-bottom: 18px;
  align-items: start;
}

/* Feed */
.feed-panel { display: flex; flex-direction: column; }
.feed {
  list-style: none;
  padding: 10px 8px 12px;
  height: 372px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
          mask-image: linear-gradient(180deg, #000 82%, transparent);
}
.feed li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 7px 10px;
  font-size: 0.8rem;
  border-radius: var(--radius-s);
  animation: feedIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes feedIn {
  from { opacity: 0; transform: translateY(-9px); }
}
.feed li:nth-child(odd) { background: rgba(255, 255, 255, 0.025); }
.feed .t {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--faint);
  flex: none;
  width: 48px;
  font-variant-numeric: tabular-nums;
}
.feed .ic { flex: none; font-size: 0.72rem; width: 15px; text-align: center; }
.feed .ic.ok { color: var(--green-bright); }
.feed .ic.new { color: var(--blue); }
.feed .ic.warn { color: var(--orange); }
.feed .ic.info { color: var(--faint); }
.feed .ic.you { color: #fff; }
.feed .m { color: var(--muted); min-width: 0; }
.feed .m b { color: var(--text); font-weight: 600; }

/* Tray */
.tray-panel { display: flex; flex-direction: column; }
.tray {
  padding: 10px 12px 4px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tray-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--faint);
  font-size: 0.85rem;
  padding: 26px 8px;
  justify-content: center;
}
.tray-empty-ico { font-size: 1.1rem; opacity: 0.8; }
.tray-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  border: 1px solid rgba(232, 129, 61, 0.35);
  background: rgba(232, 129, 61, 0.07);
  animation: feedIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: opacity 0.4s, transform 0.4s, border-color 0.3s, background 0.3s;
}
.tray-item.out { opacity: 0; transform: translateX(16px); }
.tray-item .ti-main { min-width: 0; flex: 1; }
.tray-item .ti-name { font-size: 0.82rem; font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tray-item .ti-why { font-size: 0.72rem; color: var(--orange); }
.tray-item .ti-amt { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); flex: none; }
.approve {
  flex: none;
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, var(--green-2), var(--green));
  border: 0;
  border-radius: 6px;
  padding: 7px 11px;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}
.approve:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(13, 122, 72, 0.45); }
.tray-hint {
  font-size: 0.74rem;
  color: var(--faint);
  padding: 8px 16px 14px;
  line-height: 1.5;
}

/* Chart */
.side-stack { display: flex; flex-direction: column; gap: 14px; }
.chart-panel { position: relative; }
.chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 128px;
  padding: 14px 16px 6px;
}
.bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  height: 100%;
  justify-content: flex-end;
  cursor: default;
}
.bar {
  width: 100%;
  max-width: 26px;
  min-height: 3px;
  border-radius: 4px 4px 0 0;
  background: var(--green-2);
  transition: height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s;
}
.bar-wrap.now .bar { background: var(--green-bright); }
.bar-wrap:hover .bar { background: var(--green-bright); }
.bar-l {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--faint);
  flex: none;
  padding-bottom: 8px;
}
.chart-tip {
  position: absolute;
  top: 10px;
  right: 16px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  min-height: 1em;
}

/* Inventory */
.inv { list-style: none; padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 11px; }
.inv li { display: flex; flex-direction: column; gap: 5px; }
.inv .inv-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.inv .inv-name { font-size: 0.8rem; font-weight: 600; }
.inv .inv-st {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--faint);
  white-space: nowrap;
}
.inv .inv-st.low { color: var(--orange); }
.inv .inv-st.ordered { color: var(--green-bright); }
.inv .meter {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.inv .meter i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--green-2);
  transition: width 0.6s ease, background 0.3s;
}
.inv .meter i.low { background: var(--orange); }

/* ======= CTA ======= */
.cta {
  border-radius: var(--radius);
  background:
    radial-gradient(600px 260px at 85% 0%, rgba(47, 191, 122, 0.18), transparent 60%),
    linear-gradient(160deg, #0e2417, #0a1a12);
  border: 1px solid rgba(47, 191, 122, 0.22);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.cta-inner {
  padding: clamp(30px, 5vw, 52px);
  text-align: center;
}
.cta h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.cta p {
  color: var(--muted);
  margin: 10px auto 24px;
  max-width: 52ch;
  font-size: 0.95rem;
}

.foot {
  text-align: center;
  font-size: 0.74rem;
  color: var(--faint);
  padding-bottom: 10px;
}
.foot a { color: var(--muted); margin-left: 6px; }

/* ======= Overlay ======= */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 9, 8, 0.78);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.overlay[hidden] { display: none; }
.overlay-card {
  width: min(620px, 100%);
  background: linear-gradient(180deg, #14211b, #0e1813);
  border: 1px solid rgba(47, 191, 122, 0.25);
  border-radius: 16px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  padding: clamp(26px, 5vw, 44px);
  text-align: center;
  animation: rise 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.overlay-time {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--green-bright);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.overlay-card h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.overlay-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.overlay-stats > div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 6px;
}
.overlay-stats .wide { grid-column: 1 / -1; background: rgba(47, 191, 122, 0.08); border-color: rgba(47, 191, 122, 0.25); }
.overlay-stats b {
  display: block;
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 600;
}
.overlay-stats .wide b { color: var(--green-bright); font-size: 1.7rem; }
.overlay-stats span {
  font-size: 0.66rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.overlay-line { font-size: 0.92rem; color: var(--muted); margin-bottom: 26px; }
.overlay-line b { color: var(--text); }
.overlay-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .side-stack { grid-column: 1 / -1; flex-direction: row; }
  .side-stack .panel { flex: 1; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .kpi:nth-child(4) { grid-column: span 1; }
}

@media (max-width: 720px) {
  .topbar { padding-top: 12px; }
  .btn-top { padding: 10px 14px; font-size: 0.82rem; }
  .hero { flex-direction: column; align-items: stretch; gap: 18px; padding-top: 14px; }
  .clock-card { display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 14px 16px; min-width: 0; }
  .clock { font-size: 1.6rem; }
  .clock-sub { display: none; }
  .controls { justify-content: flex-start; }
  .kpis { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .kpi:last-child { grid-column: 1 / -1; }
  .kpi { padding: 12px 14px 11px; }
  .grid { grid-template-columns: 1fr; }
  .side-stack { flex-direction: column; }
  .feed { height: 300px; }

  /* tighter pipeline: width 20%, step 19.75 */
  .track { height: 196px; }
  .stage, .op-card { width: 20%; }
  .stage { left: calc(0.5% + var(--i) * 19.75%); }
  .op-card[data-stage="0"] { left: 0.5%; }
  .op-card[data-stage="1"] { left: 20.25%; }
  .op-card[data-stage="2"] { left: 40%; }
  .op-card[data-stage="3"] { left: 59.75%; }
  .op-card[data-stage="4"] { left: 79.5%; }
  .op-card { padding: 7px 8px; top: 10px; }
  .op-card[data-lane="1"] { top: 66px; }
  .op-card[data-lane="2"] { top: 122px; }
  .op-name { font-size: 0.66rem; }
  .op-amt { font-size: 0.62rem; }
  .op-card .op-ticks { display: none; }
  .stage b { font-size: 0.54rem; letter-spacing: 0.04em; }
  .track {
    background:
      repeating-linear-gradient(90deg, transparent 0 19.65%, var(--line) 19.65% calc(19.65% + 1px)),
      rgba(0, 0, 0, 0.18);
  }
  .overlay-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 380px) {
  .brand-text strong { font-size: 0.68rem; }
  .brand-text em { font-size: 0.64rem; }
}

/* ======= Reduced motion ======= */
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .op-card, .bar, .tray-item, .feed li { transition: none; animation: none; }
  .live-dot { animation: none; }
  .kpi-n.bump { animation: none; }
}
