:root {
  --bg: #06080c;
  --panel: rgba(14, 18, 25, 0.86);
  --panel-2: rgba(18, 24, 33, 0.92);
  --line: rgba(255,255,255,.10);
  --text: #f7f9fc;
  --muted: #9aa6b5;
  --red: #ff2b39;
  --cyan: #17d7ff;
  --blue: #4777ff;
  --lime: #73ef6e;
  --amber: #ffbd3f;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: Inter, Arial, sans-serif; }
body { overflow-x: hidden; }
.ambient-grid { position: fixed; inset: 0; pointer-events: none; background:
  radial-gradient(circle at 82% 12%, rgba(23,215,255,.15), transparent 27%),
  radial-gradient(circle at 18% 22%, rgba(255,43,57,.13), transparent 26%),
  linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px; z-index: 0; }
.scanline { position: fixed; left: 0; right: 0; height: 140px; background: linear-gradient(transparent, rgba(255,255,255,.018), transparent); animation: scan 9s linear infinite; pointer-events: none; z-index: 1; }
@keyframes scan { from { top: -160px; } to { top: 100vh; } }
.topbar, main, footer { position: relative; z-index: 2; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 22px 42px; border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); background: rgba(6,8,12,.72); position: sticky; top: 0; z-index: 10; }
.brand-cluster { display: flex; align-items: center; gap: 20px; }
.mclaren-logo { width: 190px; height: 42px; object-fit: contain; filter: invert(1); }
.brand-divider { width: 1px; height: 42px; background: var(--line); }
.eyebrow, .section-kicker { font-family: "Barlow Condensed", sans-serif; font-weight: 800; letter-spacing: .14em; color: var(--red); font-size: 13px; }
.project-name { font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: .08em; font-size: 18px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.live-pill { border: 1px solid rgba(115,239,110,.25); background: rgba(115,239,110,.07); color: #b9ffb6; padding: 10px 14px; font-size: 11px; font-weight: 800; letter-spacing: .12em; border-radius: 999px; }
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 8px; box-shadow: 0 0 0 0 rgba(115,239,110,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(115,239,110,0); } 100% { box-shadow: 0 0 0 0 rgba(115,239,110,0); } }
.icon-btn, .close-btn { background: rgba(255,255,255,.05); border: 1px solid var(--line); color: white; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; font-size: 18px; }
main { padding: 38px 42px 20px; max-width: 1800px; margin: auto; }
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: stretch; }
.hero-copy { padding: 34px 10px 34px 0; display: flex; flex-direction: column; justify-content: center; }
h1, h2, h3 { margin: 0; font-family: "Barlow Condensed", sans-serif; }
h1 { font-size: clamp(58px, 6.3vw, 112px); line-height: .82; text-transform: uppercase; letter-spacing: -.03em; margin-top: 12px; }
h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.62); text-stroke: 1px rgba(255,255,255,.62); }
.hero-sub { max-width: 780px; color: var(--muted); font-size: 18px; line-height: 1.6; margin: 24px 0; }
.hero-meta { display: flex; align-items: center; gap: 13px; color: #c7cfda; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.meta-separator { width: 4px; height: 4px; background: var(--red); border-radius: 50%; }
.spotlight-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: linear-gradient(145deg, rgba(255,43,57,.16), rgba(16,21,29,.92) 45%, rgba(23,215,255,.12)); box-shadow: 0 30px 80px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.08); }
.spotlight-card::after { content: ""; position: absolute; width: 280px; height: 280px; right: -120px; top: -120px; border-radius: 50%; background: var(--red); filter: blur(90px); opacity: .18; }
.overall-card { padding: 34px; min-height: 420px; display: flex; flex-direction: column; justify-content: center; }
.overall-label { font-size: 12px; letter-spacing: .16em; font-weight: 900; color: #ff8991; }
.overall-title { font-family: "Barlow Condensed"; font-size: 40px; font-weight: 800; text-transform: uppercase; margin-top: 8px; }
.overall-date { color: var(--muted); margin-top: 4px; }
.big-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 30px 0 24px; }
.time-unit { background: rgba(0,0,0,.24); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 16px 8px; text-align: center; }
.time-unit strong { display: block; font-family: "Barlow Condensed"; font-size: clamp(34px, 3.3vw, 58px); line-height: 1; }
.time-unit span { color: var(--muted); font-size: 9px; letter-spacing: .13em; font-weight: 800; }
.progress-shell { height: 7px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red), #ff7d54); box-shadow: 0 0 22px rgba(255,43,57,.55); }
.overall-foot { margin-top: 14px; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .11em; font-weight: 800; color: #d9e0e9; }
.dashboard-section { margin-top: 54px; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 18px; }
.section-head h2 { font-size: 42px; text-transform: uppercase; }
.summary-stats { display: flex; gap: 10px; }
.summary-stats > div { min-width: 90px; padding: 11px 14px; border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 12px; text-align: center; }
.summary-stats strong { display: block; font-family: "Barlow Condensed"; font-size: 27px; }
.summary-stats span { display: block; color: var(--muted); font-size: 9px; letter-spacing: .13em; font-weight: 800; }
.milestone-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.milestone-card { --accent: var(--cyan); position: relative; min-height: 250px; padding: 22px; border: 1px solid rgba(255,255,255,.10); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); overflow: hidden; transition: .25s transform, .25s border-color; }
.milestone-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent), white 15%); }
.milestone-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); box-shadow: 0 0 26px var(--accent); }
.milestone-card::after { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; right: -100px; top: -95px; background: var(--accent); filter: blur(65px); opacity: .13; }
.card-top { display: flex; justify-content: space-between; gap: 10px; }
.location { font-family: "Barlow Condensed"; font-size: 26px; font-weight: 900; letter-spacing: .04em; }
.status-chip { height: fit-content; border: 1px solid color-mix(in srgb, var(--accent), transparent 65%); background: color-mix(in srgb, var(--accent), transparent 89%); color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .12em; padding: 7px 9px; border-radius: 999px; }
.milestone-title { color: #c7d0dc; min-height: 42px; margin-top: 7px; font-size: 13px; line-height: 1.45; }
.milestone-date { margin-top: 16px; color: var(--accent); font-family: "Barlow Condensed"; font-size: 19px; font-weight: 800; }
.card-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 16px; }
.card-countdown .time-unit { padding: 10px 3px; border-radius: 9px; }
.card-countdown .time-unit strong { font-size: 27px; }
.card-countdown .time-unit span { font-size: 7px; }
.card-progress { margin-top: 18px; height: 4px; background: rgba(255,255,255,.07); border-radius: 99px; overflow: hidden; }
.card-progress > div { height: 100%; background: var(--accent); box-shadow: 0 0 15px var(--accent); }
.completed .card-countdown { opacity: .4; }
.completed::before { background: var(--lime); }
.complete-mark { font-family: "Barlow Condensed"; font-size: 54px; color: var(--lime); font-weight: 900; margin-top: 15px; }
.ticker-wrap { margin-top: 20px; display: flex; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: rgba(255,255,255,.035); }
.ticker-label { background: var(--red); padding: 14px 18px; font-size: 10px; font-weight: 900; letter-spacing: .14em; white-space: nowrap; }
.ticker { padding: 14px 18px; font-size: 12px; letter-spacing: .07em; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
footer { display: flex; justify-content: space-between; padding: 24px 42px 34px; color: var(--muted); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; max-width: 1800px; margin: auto; }
.footer-mark { color: white; font-family: "Barlow Condensed"; font-size: 18px; font-weight: 800; }
.footer-mark span { color: var(--red); }
dialog { width: min(1080px, calc(100% - 30px)); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 0; color: white; background: #0b0f15; box-shadow: 0 40px 120px rgba(0,0,0,.7); }
dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(8px); }
.admin-panel { padding: 28px; max-height: 88vh; overflow: auto; }
.admin-head { display: flex; justify-content: space-between; align-items: start; }
.admin-head h2 { font-size: 38px; text-transform: uppercase; }
.close-btn { font-size: 25px; }
.admin-note { margin: 18px 0; background: rgba(23,215,255,.07); border: 1px solid rgba(23,215,255,.18); color: #b9eefa; padding: 13px 15px; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
label { font-size: 11px; color: #c8d0da; font-weight: 700; }
label.wide { grid-column: 1/-1; }
input, select { width: 100%; margin-top: 6px; background: #111720; border: 1px solid rgba(255,255,255,.11); color: white; padding: 11px 12px; border-radius: 9px; font: inherit; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 24px 0 10px; }
.admin-toolbar h3 { font-size: 26px; text-transform: uppercase; }
.editor-row { display: grid; grid-template-columns: 1.1fr 1.7fr 1.25fr .65fr auto; gap: 8px; padding: 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; margin-bottom: 8px; background: rgba(255,255,255,.025); }
.editor-row input, .editor-row select { margin: 0; }
.remove-btn { width: 42px; border: 1px solid rgba(255,43,57,.28); background: rgba(255,43,57,.08); color: #ff8189; border-radius: 8px; cursor: pointer; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; justify-content: flex-end; }
.secondary-btn, .primary-btn { border-radius: 9px; padding: 11px 15px; font-weight: 800; cursor: pointer; border: 1px solid rgba(255,255,255,.12); }
.secondary-btn { background: rgba(255,255,255,.05); color: white; }
.primary-btn { background: var(--red); color: white; border-color: var(--red); }
.file-btn { display: inline-flex; align-items: center; }
.file-btn input { display: none; }
@media (max-width: 1200px) { .milestone-grid { grid-template-columns: repeat(3, 1fr); } .hero { grid-template-columns: 1fr; } }
@media (max-width: 780px) { .topbar { padding: 16px; } .mclaren-logo { width: 125px; } .brand-divider, .brand-cluster > div:last-child, .live-pill { display: none; } main { padding: 24px 16px; } h1 { font-size: 54px; } .milestone-grid { grid-template-columns: 1fr; } .section-head { align-items: start; flex-direction: column; gap: 15px; } .summary-stats { width: 100%; } .summary-stats > div { flex: 1; } .overall-card { padding: 22px; } .big-countdown { gap: 6px; } footer { padding: 20px 16px; flex-direction: column; gap: 12px; } .editor-row { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } label.wide { grid-column: auto; } }
