:root {
  --ember: #ff5a12;
  --flame: #ff1a00;
  --gold: #ffd166;
  --cream: #f7ead6;
  --ink: #050201;
  --pad: max(0.9rem, env(safe-area-inset-left));
  --pad-r: max(0.9rem, env(safe-area-inset-right));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body {
  min-height: 100%; width: 100%;
  background: var(--ink); color: var(--cream);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body { padding-bottom: env(safe-area-inset-bottom); }

.cover {
  position: relative;
  width: 100%;
  height: 168px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 26, 0, 0.55);
  background: #050201;
}
.cover-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.cover-title {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 58%;
  pointer-events: none;
}
.cover-logo {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 22px rgba(255, 90, 18, 0.85);
  background: #050201;
}
.cover-name {
  font-size: clamp(1.08rem, 4.6vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 12px #000, 0 0 18px rgba(255,26,0,.55);
}
.cover-sub {
  margin-top: 0.22rem;
  font-size: clamp(0.6rem, 2.4vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff2d00;
  text-shadow: 0 1px 8px #000, 0 0 12px rgba(255,26,0,.7);
}
.cover-anim {
  position: absolute;
  z-index: 1;
  right: 0.2rem;
  bottom: 0;
  height: 138px;
  width: auto;
  max-width: 28%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(255, 26, 0, 0.45));
}

.follow {
  display: flex; align-items: flex-start; gap: 0.7rem;
  margin: 0.85rem var(--pad) 0 var(--pad-r);
  padding: 0.9rem 1rem;
  min-height: 56px;
  text-decoration: none; color: inherit;
  background: linear-gradient(90deg, rgba(255,90,18,0.18), rgba(8,3,1,0.4));
  border: 1px solid rgba(255, 26, 0, 0.7);
  box-shadow: 0 0 28px rgba(255, 26, 0, 0.28);
  -webkit-tap-highlight-color: transparent;
}
.follow:active { transform: scale(0.99); }
.follow-x {
  flex-shrink: 0; width: 2rem; height: 2rem;
  display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 800;
  color: #fff; background: #000;
  border: 1px solid rgba(255,209,102,0.4);
}
.follow-copy { font-size: 0.92rem; line-height: 1.4; color: rgba(247,234,214,0.92); }
.follow-copy strong {
  display: block; margin-bottom: 0.15rem;
  font-size: 1.02rem; font-weight: 900; color: #fff; letter-spacing: 0.02em;
  text-shadow: 0 0 14px rgba(255,26,0,.7);
}
.hot {
  font-weight: 900; font-style: normal;
  color: #ff3b1a;
  text-shadow: 0 0 8px rgba(255,90,18,.85), 0 0 18px rgba(255,26,0,.55);
}
.manifesto {
  max-width: 52rem; margin: 0 auto;
  padding: 1.1rem var(--pad) 1rem var(--pad-r);
  text-align: center;
}
.lede {
  font-size: 1.22rem;
  line-height: 1.32; font-weight: 800;
  color: #fff;
  text-shadow: 0 0 22px rgba(255, 26, 0, 0.35);
  margin-bottom: 0.55rem;
}
.manifesto p:last-child {
  font-size: 1rem; font-weight: 650;
  line-height: 1.5; color: rgba(247, 234, 214, 0.92);
}
.split { display: grid; grid-template-columns: 1fr; }
.panel {
  position: relative;
  min-height: 78svh;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  padding: 2rem var(--pad) max(1.6rem, env(safe-area-inset-bottom)) var(--pad-r);
}
.panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--bg); background-size: cover; background-position: center;
  transform: scale(1.06);
  filter: saturate(1.15) contrast(1.12);
}
.panel::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.5) 40%, rgba(0,0,0,.9) 100%),
    linear-gradient(90deg, rgba(0,0,0,.2), transparent 28%, transparent 72%, rgba(0,0,0,.2));
}
.newsom { --bg: url("assets/fire.jpg"); border-bottom: 1px solid rgba(255,90,18,.4); }
.bass { --bg: url("assets/street.jpg"); }
.inner { position: relative; z-index: 1; max-width: 36rem; width: 100%; text-align: center; }
.kicker {
  font-size: clamp(1.12rem, 7.2vw, 1.7rem); font-weight: 900;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #ff2d00;
  text-shadow: 0 0 6px #ffb347, 0 0 18px #ff5a12, 0 0 36px #ff1a00, 0 2px 12px #000;
  margin-bottom: 0.4rem;
}
.office {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.3rem;
}
.name {
  font-size: clamp(2.05rem, 9vw, 2.85rem); font-weight: 900; line-height: 1.02;
  color: #fff;
  text-shadow: 0 0 8px rgba(255,90,18,.8), 0 0 24px rgba(255,26,0,.55), 0 3px 16px #000;
  overflow-wrap: anywhere;
}
.role { margin: 0.4rem 0 0.2rem; font-size: 0.98rem; opacity: 0.9; }
.until {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin: 0.5rem 0 0.85rem;
}
.clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; }
.unit {
  background: rgba(8,3,1,.62); border: 1px solid rgba(255,209,102,.38);
  box-shadow: 0 0 22px rgba(255,90,18,.22);
  backdrop-filter: blur(8px); padding: 0.8rem 0.12rem 0.65rem;
  min-width: 0;
  container-type: inline-size;
  overflow: visible;
}
.unit .n {
  display: block;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.15rem, 32cqw, 2.05rem); font-weight: 900; color: #fff;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 10px #ff5a12, 0 0 22px #ff1a00;
}
.unit .l {
  display: block; margin-top: 0.32rem; font-size: 0.58rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
}
.note { margin-top: 0.95rem; font-size: 0.82rem; line-height: 1.45; color: rgba(244,232,212,.86); }
.note em { font-style: normal; color: var(--ember); font-weight: 700; }
.gone .kicker { color: var(--gold); }
.gone .unit .n { color: var(--ember); }

@media (min-width: 860px) {
.cover { height: 196px; }
  .cover-logo { width: 52px; height: 52px; }
  .cover-title { max-width: 58%; left: 1.4rem; }
  .cover-anim { max-width: 22%; right: 0.6rem; height: 168px; }
  .follow { max-width: 52rem; margin: 1.1rem auto 0; }
  .lede { font-size: clamp(1.15rem, 2.4vw, 1.55rem); }
  .split { grid-template-columns: 1fr 1fr; min-height: 78vh; }
  .panel { min-height: 78vh; padding: 2.2rem 1.5rem 2.6rem; }
  .newsom { border-bottom: 0; border-right: 1px solid rgba(255,90,18,.4); }
  .kicker { font-size: clamp(1.35rem, 3.6vw, 2.35rem); letter-spacing: 0.34em; }
  .name { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
  .unit .n { font-size: clamp(1.3rem, 28cqw, 2.15rem); }
}
@media (max-width: 520px) {
.cover { height: 152px; }
  .cover-title { max-width: 64%; }
  .cover-anim { max-width: 32%; height: 118px; }
}
@media (max-width: 379px) {
.clock { gap: 0.28rem; }
  .cover-logo { width: 40px; height: 40px; }
}

.timer-link { text-align: center; margin: 0.55rem var(--pad) 0 var(--pad-r); }
.timer-link a {
  color: var(--gold); font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
}

