/* Event Visuals — coming soon */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/plexmono-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --obsidian: #0A0A0A;
  --red: #FF2D2D;
  --red-press: #E81F1F;
  --white: #F2F0EA;
  --silver: #A7A7A7;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --meta: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --m: clamp(20px, 2.8vw, 44px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--obsidian);
  color: var(--white);
  font: 400 17px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--red); color: var(--obsidian); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

/* one screen */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  container-type: inline-size;
  padding: var(--m);
  overflow: hidden;
}

/* brand graphic element: viewfinder brackets */
.viewfinder { position: absolute; inset: 0; pointer-events: none; }
.viewfinder i {
  position: absolute;
  width: 26px; height: 26px;
  border: 0 solid rgba(242, 240, 234, 0.5);
  pointer-events: none;
}
.viewfinder i:nth-child(1) { top: calc(var(--m) / 2); left: calc(var(--m) / 2); border-top-width: 2px; border-left-width: 2px; }
.viewfinder i:nth-child(2) { top: calc(var(--m) / 2); right: calc(var(--m) / 2); border-top-width: 2px; border-right-width: 2px; }
.viewfinder i:nth-child(3) { bottom: calc(var(--m) / 2); left: calc(var(--m) / 2); border-bottom-width: 2px; border-left-width: 2px; }
.viewfinder i:nth-child(4) { bottom: calc(var(--m) / 2); right: calc(var(--m) / 2); border-bottom-width: 2px; border-right-width: 2px; }

.bar { display: flex; justify-content: space-between; align-items: center; }
.mono-mark {
  font: 800 26px/1 var(--display);
  font-stretch: 125%;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: flex-start;
}
.dot, .rec, .rec-dot { display: inline-block; border-radius: 50%; background: var(--red); flex: none; }
.mono-mark .dot { width: 0.3em; height: 0.3em; margin: -0.02em 0 0 0.14em; }

.lang { display: flex; gap: 2px; margin-right: -10px; }
.lang button {
  min-width: 44px; min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--silver);
  transition: color 160ms ease, transform 160ms var(--ease-out);
}
.lang button[aria-pressed="true"] {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.lang button:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .lang button:hover { color: var(--white); }
}

/* the name as the monument */
.monument { align-self: center; padding-block: clamp(32px, 6vh, 72px); }
.lines {
  /* "VISUALS" is ~5.36em wide, so this fills the content box */
  font: 800 clamp(56px, 18.3cqi, 330px)/0.84 var(--display);
  font-stretch: 125%;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin-left: -0.04em;
}
.lines .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.lines [data-line] { display: block; white-space: nowrap; }
.rec { width: 0.2em; height: 0.2em; vertical-align: top; margin: 0.02em 0 0 0.08em; }

.claim {
  margin-top: clamp(18px, 2.6vw, 40px);
  font: 500 clamp(13px, 1.1vw, 16px)/1.3 var(--display);
  font-stretch: 125%;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hud {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font: 500 14px/1.3 var(--meta);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.hud-rec { display: inline-flex; align-items: center; gap: 10px; }
.rec-dot { width: 10px; height: 10px; }

.lede { max-width: 34ch; display: grid; gap: 12px; justify-items: start; }
.status {
  font: 700 clamp(26px, 2.4vw, 36px)/1.05 var(--display);
  font-stretch: 112%;
  letter-spacing: -0.03em;
}
.lede p:not(.status) { color: var(--silver); font-size: 17px; }

.btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 28px;
  background: var(--red);
  color: var(--white);
  font: 700 19px/1 var(--text); /* 19px bold counts as large text: white on Rec Red stays above 3:1 */
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--red-press); }
}

@media (max-width: 760px) {
  .monument { padding-block: 0; }
  .claim { font-stretch: 100%; letter-spacing: 0.2em; }
  .hero-foot { flex-direction: column-reverse; align-items: stretch; gap: 32px; }
  .hud { flex-direction: row; justify-content: space-between; }
  .lede { max-width: none; }
  .btn { width: 100%; justify-content: center; }
}

/* motion: the name rises into frame once, the REC light blinks */

@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes rec-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0.18; } }

@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] {
    transform: translateY(105%);
    animation: line-up 950ms var(--ease-out) forwards;
    animation-delay: calc(var(--i) * 110ms + 120ms);
  }
  .js [data-after] { opacity: 0; animation: fade-up 700ms var(--ease-out) 620ms forwards; }
  .js .lede[data-after] { animation-delay: 720ms; }
  .rec, .rec-dot { animation: rec-blink 1.2s steps(1, end) infinite; }
}
