/* EveryBeat launch page. Inherits Concept Z ("Elevated apexx"): apexx blue + orange, charcoal chrome,
   machined rules, tabular numerals. Orange carries emphasis, blue carries action. */
:root {
  --bg: #f7f8fa; --ink: #14151a; --muted: #565a63; --line: #d9dde3;
  --accent: #075bb2; --accent-deep: #0a4c92; --accent-ink: #fff;
  --accent-on-dark: #1a6fd0; --accent-on-dark-lift: #2a80e2;   /* hover edge on charcoal: border + ring, never the fill (AA) */
  --orange: #dd6800; --orange-lift: #f07a10; --orange-ink: #a34d00; --focus: #dd6800;
  --head-bg: #14151a; --stage: #0e1014; --panel: #fff; --ok: #1c7c46; --ok-soft: #e9f6ee; --ok-ink: #14532d; --danger: #b3261e;
  --radius: 10px; --body-font: "Inter", system-ui, sans-serif; --display: "Archivo", "Inter", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body { font-family: var(--body-font); background: var(--bg); color: var(--ink); line-height: 1.55; font-size: 16px; }
::selection { background: #ffd9ab; color: var(--ink); }
* { caret-color: var(--accent); }
::placeholder { color: var(--muted); opacity: 1; }
* { scrollbar-color: #98a1b0 transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #98a1b0; border-radius: 5px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 750; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange); color: #14151a; padding: 10px 18px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* header, verbatim from Concept Z */
.site-head { position: sticky; top: 0; z-index: 90; background: var(--head-bg); border-bottom: 3px solid var(--orange); }
.site-head, .site-head a { color: #fff; }
.head-inner { display: flex; align-items: center; gap: 16px; padding: 10px 20px; max-width: 1240px; margin: 0 auto; flex-wrap: wrap; }
.head-logo { display: flex; align-items: center; text-decoration: none; }
.head-logo img { height: 40px; width: auto; filter: brightness(1.6); }
.head-eb { height: 46px; width: auto; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.25); }
.head-phone { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 8px; min-height: 44px; background: rgba(255,255,255,.08); font-variant-numeric: tabular-nums; }
.head-phone .ph-label { font-weight: 400; font-size: 12.5px; opacity: .85; }
.head-phone:hover { background: rgba(255,255,255,.16); }

/* buttons: blue carries action, on charcoal the lifted blue */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 1.5px solid var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s ease-out, border-color .15s ease-out, transform .15s ease-out; }
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn:active { transform: translateY(1px); }
.btn.on-dark { background: var(--accent-on-dark); border-color: var(--accent-on-dark); }
.btn.on-dark:hover { border-color: #2a80e2; box-shadow: 0 0 0 3px rgba(42,128,226,.35); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: #fff; }
.btn.ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.btn.ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* stage: the film leads */
.stage { background: var(--stage); color: #fff; padding: 20px 0 34px; border-bottom: 1px solid #23262d; }
.stage-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.stage h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 850; line-height: 1.04; max-width: 20ch; }
.stage h1 em { font-style: normal; color: var(--orange-lift); }
.stage-lede { font-size: 16.5px; color: #c3c9d4; max-width: 58ch; margin-top: 10px; }
.stage-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; }
.stage-top > div { flex: 1 1 520px; min-width: 0; }
.stage-top > .stage-meta { flex: 0 0 auto; justify-content: flex-end; text-align: right; }
.stage-meta { font-family: var(--display); font-weight: 700; font-size: 14px; color: #98a1b0; letter-spacing: .02em; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.stage-meta span::before { content: "·"; color: var(--orange-lift); margin-right: 14px; }
.stage-meta b { color: #fff; font-weight: 800; }
.player { position: relative; aspect-ratio: 16 / 9; width: min(100%, calc(55vh * 16 / 9)); margin: 0; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 2px 0 rgba(255,255,255,.06) inset; }
.player video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.player-status { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; font-size: 14px; color: #ffd9ab; background: linear-gradient(transparent, rgba(0,0,0,.7)); pointer-events: none; }
.player-status:empty { display: none; }
.stage-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stage-actions .or { color: #98a1b0; font-size: 14px; }
.stage-caption { color: #98a1b0; font-size: 14px; max-width: 70ch; }

/* what the film shows: facts, in the spec-plate register */
.facts { padding: 56px 0 24px; }
.facts-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px 48px; align-items: end; margin-bottom: 28px; }
.facts-head p { color: var(--muted); max-width: 56ch; }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; border-top: 1px solid var(--line); }
.spec > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.spec dd { font-family: var(--display); font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.3; margin-top: 6px; }
.spec dd small { display: block; font-family: var(--body-font); font-size: 14.5px; font-weight: 400; color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.spec dd .o { color: var(--orange-ink); }

/* tools rows: same spec-plate register, two rows */
.tools { padding: 8px 0 56px; }
.tools-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
.tools-rows dd { font-size: 21px; }
.tools-rows dd a { color: var(--accent); text-decoration-color: var(--orange); }
.tools-rows dd a:hover { color: var(--accent-deep); }
/* contact */
.contact { background: var(--head-bg); color: #fff; padding: 60px 0 64px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.contact h2 { color: #fff; }
.contact h2 em { font-style: normal; color: var(--orange-lift); }
.contact .lede { color: #c3c9d4; max-width: 50ch; margin-top: 10px; }
.direct { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.direct > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); align-items: baseline; }
.direct dt { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: #98a1b0; }
.direct dd a { color: #fff; font-family: var(--display); font-weight: 800; font-size: 22px; text-decoration: none; font-variant-numeric: tabular-nums; }
.direct dd a:hover { color: var(--orange-lift); }
.direct dd small { display: block; color: #98a1b0; font-size: 13.5px; margin-top: 2px; }
.direct dd address { font-style: normal; color: #e6e9ee; }
.form { background: var(--panel); color: var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.form h3::after { content: ""; display: block; width: 44px; height: 3px; background: var(--orange); margin-top: 10px; border-radius: 2px; }
.form h3 { font-size: 21px; }
.form p.hint { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.fields .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
label small { font-weight: 400; color: var(--muted); }
input, textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; }
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, textarea:focus-visible { border-color: var(--accent); outline-color: var(--accent); }
.form .btn { width: 100%; margin-top: 16px; }
.form-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.status { margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-size: 14.5px; display: none; }
.status.ok { display: block; background: var(--ok-soft); color: var(--ok-ink); border: 1px solid #bfe3cd; }
.status.err { display: block; background: #fdecea; color: #7a1f18; border: 1px solid #f2b8b2; }
.hp { position: absolute; left: -9999px; }

/* footer, Concept Z register */
.site-foot { background: #0e1014; color: #c3c9d4; padding: 36px 0 40px; border-top: 1px solid #23262d; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.foot-brand img { height: 44px; width: auto; filter: brightness(1.6); margin-bottom: 12px; }
.foot-brand p { font-size: 14px; max-width: 42ch; }
.foot-grid h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .7px; color: #98a1b0; margin-bottom: 10px; }
.foot-grid ul { list-style: none; display: grid; gap: 7px; font-size: 14px; }
.foot-grid ul a { display: inline-block; padding: 3px 0; min-height: 24px; }
.foot-legal { margin-top: 26px; padding-top: 16px; border-top: 1px solid #23262d; font-size: 13px; color: #98a1b0; display: flex; flex-wrap: wrap; gap: 8px 24px; }

@media (max-width: 900px) {
  .facts-head, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields { grid-template-columns: 1fr; }
  .direct > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .spec, .tools-rows { grid-template-columns: 1fr; }
  .stage-top > .stage-meta { display: grid; gap: 2px; text-align: left; justify-content: flex-start; }
  .stage-meta span::before { display: none; }
  .head-eb { height: 32px; padding-left: 10px; }
  .head-phone .ph-label { display: none; }
  .stage { padding: 26px 0 32px; }
  .player { border-radius: 8px; }
  .form { padding: 20px 16px; }
}

/* the page's one authored moment: the stage settles in, Concept Z's ease, staggered */
@keyframes settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.stage-top > * { animation: settle .55s cubic-bezier(.16,1,.3,1) backwards; }
.stage-top > *:nth-child(2) { animation-delay: .08s; }
.player { animation: settle .6s cubic-bezier(.16,1,.3,1) .16s backwards; }
.stage-actions, .stage-caption { animation: settle .55s cubic-bezier(.16,1,.3,1) .28s backwards; }
