/* FREEDOM — a silver monogram, a cut of light, nothing to sell around it. */
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  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("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-italic-latin.woff2") format("woff2");
  font-weight: 200 600;
  font-style: italic;
  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: "Newsreader";
  src: url("assets/fonts/newsreader-italic-latin-ext.woff2") format("woff2");
  font-weight: 200 600;
  font-style: italic;
  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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  --ink: #000000;
  --paper: #f3f4f6;
  --silver: #cdd2d8;
  --muted: #939aa3;
  --quiet: #858c95;
  --line: rgb(255 255 255 / 0.13);
  --pad: clamp(1.25rem, 4vw, 4rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
  font: 100%/1.5 "Archivo", system-ui, sans-serif;
  font-optical-sizing: auto;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--ink);
  scrollbar-color: #363b41 #000;
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--ink);
  color: var(--paper);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--paper); color: var(--ink); }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 6px; }
.skip {
  position: fixed;
  inset: 1rem auto auto 1rem;
  z-index: 20;
  padding: 0.65rem 1rem;
  border-radius: 2rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.875rem;
  transform: translateY(-180%);
}
.skip:focus-visible { transform: none; }

/* Original banner fragments, kept low and away from the copy. */
.fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx__streak {
  position: absolute;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse 78% 78%, #000 12%, rgb(0 0 0 / 0.65) 48%, transparent 78%);
}
.fx__streak--tl {
  width: min(58rem, 85vw);
  aspect-ratio: 360 / 230;
  top: -13rem;
  left: -12rem;
  background-image: url("assets/streak-tl.jpg");
  transform: scaleX(-1);
  opacity: 0.38;
}
.fx__streak--br {
  width: min(62rem, 92vw);
  aspect-ratio: 430 / 296;
  right: -15rem;
  bottom: -16rem;
  background-image: url("assets/streak-br.jpg");
  opacity: 0.38;
}
.glow {
  position: absolute;
  width: clamp(32rem, 72vw, 66rem);
  aspect-ratio: 1;
  top: 0;
  left: 0;
  background: radial-gradient(closest-side, rgb(205 210 216 / 0.09), rgb(205 210 216 / 0.025) 45%, transparent 85%);
  transform: translate3d(calc(50vw - 50%), calc(40svh - 50%), 0);
}

/* The only glass surface is a status label, not a pretend action. */
.bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 108rem;
  margin-inline: auto;
  padding: clamp(1.25rem, 2.8vw, 2.5rem) var(--pad);
}
.bar__home {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.015em;
}
.bar__home img { width: 1.7rem; }
.bar__home:active { opacity: 0.7; }
.bar__launch {
  margin: 0;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 3rem;
  background: rgb(255 255 255 / 0.035);
  backdrop-filter: blur(12px);
  color: var(--silver);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: calc(100svh - 4.5rem);
  padding: 7rem var(--pad) 4rem;
  text-align: center;
}
.hero__inner { width: 100%; max-width: 90rem; }

/* The rim repeats the sweeping cut in the supplied monogram and banner.
   No looping turntable: its orientation only answers the person's pointer. */
.emblem {
  position: relative;
  width: min(36rem, 90%);
  height: clamp(14rem, 25vw, 21rem);
  margin: 0 auto clamp(1.25rem, 2.5vw, 2.25rem);
  perspective: 65rem;
}
.emblem__surface {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}
.emblem__rim {
  position: absolute;
  width: 93%;
  height: 56%;
  border-radius: 50%;
  transform: rotate(-24deg);
  background: radial-gradient(ellipse, rgb(205 210 216 / 0.055), transparent 67%);
}
.emblem__rim::before, .emblem__rim::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(160deg, #f3f4f6, #939aa330 22%, #939aa310 46%, #939aa350 66%, #f3f4f6 82%, #939aa310) border-box;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.emblem__rim::after { inset: 0.4rem; opacity: 0.16; }
.hero__mark {
  position: relative;
  width: clamp(8.5rem, 16vw, 13rem);
  transform: translateZ(2rem);
  filter: drop-shadow(0 1.5rem 1.8rem rgb(0 0 0 / 0.8));
}
.hero__word {
  margin: 0 -0.16em 0 0;
  font-size: min(10.1vw, 8rem);
  font-stretch: 112%;
  font-weight: 480;
  line-height: 1;
  letter-spacing: 0.16em;
}
.hero__line {
  margin: clamp(1.25rem, 2.4vw, 2rem) auto 0;
  max-width: 34ch;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  line-height: 1.35;
  color: var(--silver);
  text-wrap: balance;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.015em;
  color: var(--muted);
}

/* A fixed Rome launch time, not the visitor's local midnight. */
.hero--launch { padding-top: 6.5rem; padding-bottom: 3.5rem; }
.hero--launch .emblem { height: clamp(12rem, 19vw, 16rem); margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.hero--launch .hero__word { font-size: min(10.1vw, 7rem); }
.hero--launch .hero__tags { margin-top: 1.25rem; }
.launch { width: min(26rem, 100%); margin: 2rem auto 0; }
.launch__heading { margin: 0 0 0.875rem; font-size: 0.8125rem; font-weight: 400; color: var(--silver); }
.launch__clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.launch__clock[hidden], .launch__message[hidden] { display: none; }
.launch__unit { position: relative; display: grid; gap: 0.25rem; min-width: 0; }
.launch__unit:not(:last-child)::after { content: ":"; position: absolute; top: 0; right: -0.5rem; font-size: clamp(1.5rem, 5vw, 2.5rem); font-weight: 300; line-height: 1.1; color: var(--quiet); }
.launch__value { font-size: clamp(1.5rem, 5vw, 2.5rem); font-weight: 450; font-variant-numeric: tabular-nums; letter-spacing: -0.025em; line-height: 1.1; }
.launch__label { font-size: 0.6875rem; color: var(--muted); overflow-wrap: anywhere; }
.launch__date { margin: 1rem 0 0; font-size: 0.75rem; color: var(--muted); }
.launch__message { margin: 0.75rem 0 0; font-size: 0.8125rem; color: var(--silver); text-wrap: balance; }

/* One entry moment. Content stays visible when CSS animations aren't available. */
@media (prefers-reduced-motion: no-preference) {
  .emblem { animation: materialize 1.2s var(--ease) both; }
  .hero__word, .hero__line, .hero__tags { animation: arrive 0.9s 0.15s var(--ease) both; }
}
@keyframes materialize {
  from { opacity: 0; transform: scale(0.96) translateY(0.75rem); }
  to { opacity: 1; transform: none; }
}
@keyframes arrive {
  from { opacity: 0; transform: translateY(0.6rem); }
  to { opacity: 1; transform: none; }
}

/* A quiet, hand-driven wordmark: no endless automatic marquee. */
.band {
  position: relative;
  z-index: 1;
  padding: 1.35rem 0;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.band.is-dragging { cursor: grabbing; }
.band__strip {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.band__track { display: flex; width: max-content; }
.unit {
  display: flex;
  flex: none;
  align-items: center;
  color: var(--muted);
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
  line-height: 1.1;
}
.unit__word {
  font-stretch: 112%;
  font-weight: 430;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.unit__mark { height: 0.4em; width: auto; margin: 0 clamp(2rem, 4vw, 4rem); opacity: 0.6; pointer-events: none; }
.band__hint {
  position: absolute;
  inset: auto var(--pad) calc(100% + 0.3rem) auto;
  margin: 0;
  font-size: 0.6875rem;
  color: var(--quiet);
  pointer-events: none;
  transition: opacity 180ms ease-out;
}
.band__hint.is-gone { opacity: 0; }

.foot {
  position: relative;
  z-index: 1;
  max-width: 108rem;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.25rem) var(--pad) 2rem;
}
.foot__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem 4rem; }
.foot__meta { display: flex; flex: none; align-items: center; gap: 0.5rem; font-size: 0.6875rem; color: var(--quiet); }
.foot__meta img { width: 1rem; opacity: 0.65; }
.foot__note { max-width: 64ch; margin: 0; font-size: 0.6875rem; line-height: 1.6; color: var(--quiet); }

@media (max-width: 560px) {
  .bar__home { gap: 0.5rem; font-size: 0.8125rem; }
  .bar__home img { width: 1.4rem; }
  .bar__launch { font-size: 0.6875rem; padding: 0.5rem 0.7rem; }
  .hero { padding-top: 6.5rem; padding-bottom: 4rem; }
  .emblem { width: 100%; height: 14rem; margin-bottom: 1.75rem; }
  .hero__word { letter-spacing: 0.1em; margin-right: -0.1em; font-stretch: 108%; }
  .hero__line { max-width: 24ch; }
  .hero__tags { column-gap: 1rem; font-size: 0.6875rem; }
  .foot__inner { flex-direction: column; gap: 1rem; }
}
@media (max-height: 640px) and (min-width: 700px) {
  .hero { min-height: 40rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .emblem__surface { transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .bar__launch { background: #17191c; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #cdd2d8; --quiet: #cdd2d8; --line: #939aa3; }
  .bar__launch { background: #000; backdrop-filter: none; }
}
