/* Da Bomb — Pressure · drinkdabomb.com */
@font-face { font-family: "Anton"; src: url("../fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root, [data-theme="dark"] {
  --fuse: #ff4d00; --fuse-press: #e64500; --fuse-deep: #b83600;
  --carbon: #0b0b0c; --bone: #f2f0ea; --steel: #8a8d91;
  --surface: var(--carbon); --surface-raised: #151517; --line: #2a2b2e; --control-border: #6b6e73;
  --ink: var(--bone); --ink-muted: #a9acb0; --accent-text: var(--fuse); --accent-fill: var(--fuse);
  --on-accent: var(--carbon); --focus: var(--fuse);
}
[data-theme="light"] {
  --surface: var(--bone); --surface-raised: #ffffff; --line: #d9d6ce; --control-border: #8a8d91;
  --ink: var(--carbon); --ink-muted: #55575b; --accent-text: var(--fuse-deep); --focus: var(--fuse-deep);
}
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  --radius-0: 0px; --radius-full: 9999px;
  --rule-hair: 1px; --rule-heavy: 3px; --hazard-band: 20px;
  --font-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
/* ---- design-system components */
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }

/* ---- type helpers */
.db-display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: .9; margin: 0; }
.db-accent { color: var(--accent-text); }
.db-label { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; color: var(--ink-muted); }
.db-label--accent { color: var(--accent-text); }
.db-lead { font-size: 19px; line-height: 1.55; max-width: 34rem; margin: 0; color: var(--ink); }

/* ---- button */
.db-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: 56px; padding: 0 28px; border: 0; border-radius: var(--radius-0);
  background: var(--accent-fill); color: var(--on-accent);
  font-family: var(--font-display); font-size: 20px; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background-color .12s ease, transform .12s ease;
}
.db-btn:hover { background: var(--fuse-press); }
.db-btn:active { transform: translateY(1px); }
.db-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.db-btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--control-border); }
.db-btn--outline:hover { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.db-btn--sm { height: 44px; padding: 0 20px; font-size: 17px; }
.db-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---- text input */
.db-field { display: flex; flex-direction: column; gap: var(--space-3); }
.db-input {
  height: 56px; box-sizing: border-box; padding: 0 18px; min-width: 0;
  background: var(--surface-raised); color: var(--ink); border: 1px solid var(--control-border); border-radius: var(--radius-0);
  font-family: var(--font-body); font-size: 16px;
}
.db-input::placeholder { color: var(--ink-muted); }
.db-input:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.db-input[aria-invalid="true"] { border-color: var(--accent-text); }

/* ---- email capture (input + button + hint) */
.db-capture { display: flex; flex-direction: column; gap: var(--space-3); max-width: 34rem; }
.db-capture__row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.db-capture__row .db-input { flex: 1 1 240px; }
.db-capture__row .db-btn { flex: 0 0 auto; }
.db-capture__hint { font-size: 13px; line-height: 1.45; color: var(--ink-muted); margin: 0; }
.db-capture__hint--ok { color: var(--ink); }

/* ---- spec table */
.db-spec { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.db-spec th, .db-spec td { padding: 10px 0; border-bottom: var(--rule-hair) solid currentColor; text-align: left; font-weight: 700; }
.db-spec td { text-align: right; }
.db-spec tr:first-child th, .db-spec tr:first-child td { border-top: var(--rule-heavy) solid currentColor; }
.db-spec tr:last-child th, .db-spec tr:last-child td { border-bottom-width: var(--rule-heavy); }
.db-plate { background: var(--accent-fill); color: var(--on-accent); padding: var(--space-6); }
.db-plate .db-spec { color: var(--on-accent); }

/* ---- hazard band */
.db-hazard { height: var(--hazard-band); background: repeating-linear-gradient(-45deg, var(--fuse) 0 14px, var(--carbon) 14px 28px); }
.db-hazard--inverse { background: repeating-linear-gradient(-45deg, var(--carbon) 0 14px, var(--fuse) 14px 28px); }

/* ---- tag (spec chip) */
.db-tag { display: inline-flex; align-items: center; gap: var(--space-2); height: 28px; padding: 0 10px; border: 1px solid var(--control-border); font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.db-tag__dot { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--accent-fill); }

/* ---- motion: respect reduced motion */
@media (prefers-reduced-motion: reduce) { .db-btn { transition: none; } }

/* ---- page */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; background: var(--surface); }
body { min-height: 100svh; display: flex; flex-direction: column; overflow-x: hidden; }
::selection { background: var(--fuse); color: var(--carbon); }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 10; background: var(--fuse); color: var(--carbon); padding: 12px 16px; font-family: var(--font-mono); font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }

.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: 28px; }
.brand { display: block; line-height: 0; }
.brand__lockup { display: block; height: 40px; width: auto; }

.hero { flex: 1 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-7); row-gap: var(--space-8);
  align-items: center; align-content: center; padding-block: clamp(24px, 4vh, 56px) clamp(40px, 6vh, 80px); }
.hero__copy { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: var(--space-6); }
.hero__copy .db-label--accent { margin: 0; }
.hero__title { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(4rem, 1.2rem + 8.6vw, 10rem); line-height: .86; letter-spacing: 0; text-wrap: balance; }
.hero__gauge { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: var(--space-6); }
.hero__note { margin: var(--space-2) 0 0; display: flex; align-items: center; font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }

.gauge { margin: 0; }
.gauge__svg { display: block; width: 100%; height: auto; overflow: visible; }
.gauge__body, .gauge__needle path:first-child { fill: var(--bone); }
.gauge__zone, .gauge__pivot { fill: var(--fuse); }
.gauge__needle { transform-box: view-box; transform-origin: 256px 256px;
  animation: needle-in 2.2s cubic-bezier(.16, 1.12, .3, 1) .35s both, needle-hum .11s ease-in-out 2.6s infinite alternate; }
@keyframes needle-in { 0% { transform: rotate(-213deg); } 55% { transform: rotate(-30deg); } 72% { transform: rotate(4deg); } 86% { transform: rotate(-2deg); } 100% { transform: rotate(0deg); } }
@keyframes needle-hum { from { transform: rotate(-.7deg); } to { transform: rotate(.7deg); } }

.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: var(--radius-full); background: var(--fuse); vertical-align: 1px; animation: blink 1.6s steps(1, end) infinite; }
@keyframes blink { 50% { opacity: .2; } }

.ticker { border-block: var(--rule-hair) solid var(--line); overflow: hidden; padding-block: 18px; }
.ticker__track { display: flex; width: max-content; align-items: center; animation: ticker 60s linear infinite; }
.ticker__track span { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.ticker__track i { display: inline-block; width: 8px; height: 8px; margin-inline: 28px; background: var(--fuse); border-radius: var(--radius-full); }
@keyframes ticker { to { transform: translateX(-50%); } }

.site-footer { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); justify-content: space-between; align-items: center; padding-block: 22px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.site-footer a { color: var(--ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { grid-column: 1 / -1; }
  .hero__gauge { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: center; gap: var(--space-7); }
}
@media (max-width: 640px) {
  .brand__lockup { height: 30px; }
  .site-header .db-tag { display: none; }
  .hero { row-gap: var(--space-7); padding-top: var(--space-4); }
  .hero__copy { gap: var(--space-5); }
  .hero__gauge { grid-template-columns: 1fr; gap: var(--space-5); }
  .gauge { max-width: 240px; }
  .db-lead { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .gauge__needle, .status-dot, .ticker__track { animation: none; }
}
