/* ============================================================================
   NAVKAR DESIGN — LAUNCHING SOON
   ----------------------------------------------------------------------------
   One page: immersive 3D hero, the launch announcement, a short footer.
   Brand values live in :root; section copy lives in index.html so it can be
   edited without touching styles.
   ========================================================================== */

:root {
  /* ---- Brand (from the supplied logo) ---------------------------------- */
  --brand: #ae2627;
  --brand-deep: #7c1819;
  --brand-soft: #d23a3b;
  /* Lighter crimson for small text on ink, so labels keep AA contrast. */
  --brand-on-dark: #e04a4b;

  --ink: #0b0a09;
  --ink-2: #121110;
  --paper: #f2ede4;
  --paper-2: #e6dece;
  --paper-3: #dcd4c5;

  --muted-ink: #6e675c;
  --line-light: rgba(242, 237, 228, 0.14);
  --line-light-soft: rgba(242, 237, 228, 0.07);
  --line-dark: rgba(11, 10, 9, 0.14);

  --font-display: "Sora", "Nexa", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --gutter: clamp(1.15rem, 4vw, 4rem);
  --header-h: 76px;
  --max: 1280px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---- Reset -------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, figure, dl, dd, ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--brand);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--brand-on-dark);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 90;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

.skip:focus-visible {
  transform: none;
  outline-color: var(--brand);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.stop {
  color: var(--brand-soft);
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

/* ============================================================================
   ATMOSPHERE
   ========================================================================== */

.grain {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  background-image: url("../img/noise.png");
  background-size: 128px 128px;
  opacity: 0.85;
  mix-blend-mode: soft-light;
}

.glow-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 640px;
  height: 640px;
  margin: -320px 0 0 -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(174, 38, 39, 0.2), rgba(174, 38, 39, 0.06) 42%, transparent 68%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  body.has-pointer .glow-cursor {
    opacity: 1;
  }
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 2px;
  background: rgba(242, 237, 228, 0.06);
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brand), var(--brand-on-dark));
}

/* ============================================================================
   3D SCENE
   ========================================================================== */

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(78% 62% at 50% 38%, #151210 0%, #0b0a09 68%, #080706 100%);
}

.scene__stage {
  position: absolute;
  inset: 0;
}

.scene canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.1s var(--ease-soft);
}

body.hero-ready .scene canvas {
  opacity: 1;
}

.scene__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(56% 50% at 50% 51%, rgba(11, 10, 9, 0.74) 0%, rgba(11, 10, 9, 0.4) 52%, rgba(11, 10, 9, 0) 76%),
    linear-gradient(180deg, rgba(11, 10, 9, 0.72) 0%, rgba(11, 10, 9, 0) 26%, rgba(11, 10, 9, 0) 74%, rgba(11, 10, 9, 0.86) 100%);
}

/* On a phone the copy spans almost the full width, so printed sheets sit
   behind the words. A soft vertical curtain keeps the headline white on ink
   while the stock still catches the light at the very edges. */
@media (max-width: 720px) {
  .scene__scrim {
    background:
      linear-gradient(90deg,
        rgba(11, 10, 9, 0) 0%,
        rgba(11, 10, 9, 0.16) 6%,
        rgba(11, 10, 9, 0.76) 12%,
        rgba(11, 10, 9, 0.87) 22%,
        rgba(11, 10, 9, 0.87) 78%,
        rgba(11, 10, 9, 0.76) 88%,
        rgba(11, 10, 9, 0.16) 94%,
        rgba(11, 10, 9, 0) 100%),
      linear-gradient(180deg,
        rgba(11, 10, 9, 0.82) 0%,
        rgba(11, 10, 9, 0.18) 20%,
        rgba(11, 10, 9, 0.16) 70%,
        rgba(11, 10, 9, 0.88) 100%);
  }
}

/* Painted stand-in: visible for the first moment, and kept if WebGL is not
   available. Abstract printed sheets rather than fake artwork. */
.scene__fallback {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.9s var(--ease-soft);
}

body.hero-ready .scene__fallback {
  opacity: 0;
}

.fallback-sheet {
  position: absolute;
  display: block;
  border-radius: 2px;
  background: linear-gradient(155deg, #f7f2e8 0%, #e6dece 58%, #cfc5b3 100%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  opacity: 0.55;
  animation: fallback-float 14s ease-in-out infinite;
}

.fallback-sheet--a {
  width: 22vw;
  height: 30vw;
  right: 6vw;
  top: 8vh;
  transform: rotate(9deg);
}

.fallback-sheet--b {
  width: 26vw;
  height: 17vw;
  left: 3vw;
  bottom: 16vh;
  background: linear-gradient(150deg, #ae2627, #7c1819);
  opacity: 0.62;
  transform: rotate(-7deg);
  animation-delay: -4s;
}

.fallback-sheet--c {
  width: 15vw;
  height: 9vw;
  left: 16vw;
  top: 20vh;
  background: linear-gradient(150deg, #f2ede4, #dcd4c5);
  opacity: 0.4;
  transform: rotate(-4deg);
  animation-delay: -8s;
}

.fallback-sheet--d {
  width: 13vw;
  height: 17vw;
  right: 20vw;
  bottom: 10vh;
  background: linear-gradient(150deg, #1b1917, #0b0a09);
  border: 1px solid rgba(242, 237, 228, 0.12);
  opacity: 0.8;
  transform: rotate(6deg);
  animation-delay: -2s;
}

.fallback-glow {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(70px);
}

.fallback-glow--a {
  width: 46vw;
  height: 46vw;
  left: 50%;
  top: 42%;
  margin: -23vw 0 0 -23vw;
  background: rgba(174, 38, 39, 0.34);
}

.fallback-glow--b {
  width: 34vw;
  height: 34vw;
  right: -6vw;
  top: -8vw;
  background: rgba(242, 237, 228, 0.08);
}

@keyframes fallback-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

@media (max-width: 720px) {
  .fallback-sheet--a { width: 38vw; height: 52vw; right: -8vw; top: 12vh; }
  .fallback-sheet--b { width: 44vw; height: 28vw; left: -10vw; bottom: 20vh; }
  .fallback-sheet--c { display: none; }
  .fallback-sheet--d { width: 26vw; height: 34vw; right: 6vw; bottom: 8vh; }
}

/* ============================================================================
   HEADER
   ========================================================================== */

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color 0.45s ease, border-color 0.45s ease, padding 0.45s var(--ease);
  animation: fade-down 0.9s var(--ease) 0.05s both;
}

.top.is-scrolled {
  padding-block: 13px;
  background: rgba(11, 10, 9, 0.76);
  border-bottom-color: var(--line-light-soft);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

.top__brand img {
  width: auto;
  height: clamp(20px, 2.1vw, 26px);
}

.top__side {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.55);
  white-space: nowrap;
}

.status__dot {
  position: relative;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-soft);
}

.status__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--brand-soft);
  opacity: 0;
  animation: status-pulse 2.8s ease-out infinite;
}

@keyframes status-pulse {
  0% { transform: scale(0.7); opacity: 0.9; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

.top__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 6px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.78);
  border-bottom: 1px solid rgba(242, 237, 228, 0.24);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.top__link:hover {
  color: var(--paper);
  border-color: var(--brand-soft);
}

.top__link .icon {
  width: 12px;
  height: 12px;
  transition: transform 0.35s var(--ease);
}

.top__link:hover .icon {
  transform: translate(2px, -2px);
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================================
   HERO
   ========================================================================== */

main {
  position: relative;
  z-index: 2;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
}

.hero__inner {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(1rem, 3.5vh, 2.75rem) var(--gutter) clamp(1.75rem, 4.5vh, 3.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__logo {
  position: relative;
  display: block;
  width: clamp(142px, 15vw, 196px);
  margin-bottom: clamp(18px, 3.2vh, 32px);
}

.hero__logo::before {
  content: "";
  position: absolute;
  inset: -55% -70%;
  background: radial-gradient(closest-side, rgba(174, 38, 39, 0.34), transparent 78%);
  filter: blur(10px);
  z-index: -1;
}

.hero__logo img {
  width: 100%;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.5));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.58);
}

.eyebrow span {
  color: var(--brand-on-dark);
}

.eyebrow span::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  margin-left: 0.85em;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow--ink {
  color: rgba(11, 10, 9, 0.54);
}

.eyebrow--ink span {
  color: var(--brand);
}

/* ---- Headline ----------------------------------------------------------- */

.hero__title {
  margin-top: clamp(12px, 2.2vh, 20px);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.85rem, 8.3vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.line {
  display: block;
  overflow: hidden;
  padding-block: 0.02em;
  margin-block: -0.02em;
}

.line__in {
  display: block;
}

.js .line__in {
  transform: translateY(112%);
}

.line__in--serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.012em;
  font-size: 0.98em;
  line-height: 1.02;
  padding-bottom: 0.06em;
}

.js .hero [data-in]:not(.line__in) {
  opacity: 0;
  transform: translateY(16px);
}

.js body.is-loaded .hero [data-in] {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
}

.js body.is-loaded .hero .line__in {
  transform: none;
  transition: transform 1.15s var(--ease);
}

.js body.is-loaded .hero [data-in="1"] { transition-delay: 0.18s; }
.js body.is-loaded .hero [data-in="2"] { transition-delay: 0.26s; }
.js body.is-loaded .hero [data-in="3"] { transition-delay: 0.36s; }
.js body.is-loaded .hero [data-in="4"] { transition-delay: 0.46s; }
.js body.is-loaded .hero [data-in="5"] { transition-delay: 0.62s; }
.js body.is-loaded .hero [data-in="6"] { transition-delay: 0.72s; }
.js body.is-loaded .hero [data-in="7"] { transition-delay: 0.82s; }

.hero__launch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 22px);
  margin-top: clamp(18px, 3vh, 30px);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.72);
}

.hero__launch .rule {
  width: clamp(22px, 4vw, 46px);
  height: 1px;
  background: rgba(242, 237, 228, 0.26);
}

.hero__tagline {
  margin-top: clamp(12px, 2.2vh, 20px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: 0.005em;
  color: var(--paper);
}

.hero__desc {
  margin-top: clamp(12px, 2.2vh, 18px);
  max-width: 56ch;
  font-size: clamp(0.875rem, 1.05vw, 0.95rem);
  line-height: 1.72;
  color: rgba(242, 237, 228, 0.62);
  text-wrap: pretty;
}

/* ---- Ticker ------------------------------------------------------------- */

.ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid var(--line-light-soft);
  border-bottom: 1px solid var(--line-light-soft);
  background: rgba(11, 10, 9, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 44s linear infinite;
  will-change: transform;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.ticker__group span {
  padding-block: 17px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.76);
}

.ticker__group i {
  margin-inline: clamp(16px, 2.6vw, 34px);
  font-style: normal;
  font-size: 12px;
  color: var(--brand-soft);
}

@keyframes ticker {
  to { transform: translate3d(-50%, 0, 0); }
}

/* ============================================================================
   THE LAUNCH — paper panel
   ========================================================================== */

.launch {
  position: relative;
  z-index: 3;
  padding: clamp(3.75rem, 8vw, 7.5rem) 0 clamp(4rem, 8vw, 7.5rem);
  background:
    radial-gradient(70% 60% at 88% 8%, rgba(220, 212, 197, 0.55), transparent 62%),
    var(--paper);
  color: var(--ink);
  border-radius: clamp(18px, 2.8vw, 36px) clamp(18px, 2.8vw, 36px) 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.launch :focus-visible,
.foot :focus-visible {
  outline-color: var(--brand);
}

.launch__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}

.launch__title {
  margin-top: clamp(16px, 2.4vw, 24px);
  max-width: 15ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.95rem, 4.3vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: -0.034em;
  text-transform: uppercase;
  text-wrap: balance;
}

.launch__title .w {
  display: inline-block;
}

.launch__title .w--serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  font-size: 1.06em;
  letter-spacing: -0.01em;
  color: var(--brand);
}

.js .launch__title .w {
  opacity: 0;
  transform: translateY(0.5em);
}

.js .launch.is-in .launch__title .w {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s var(--ease), transform 0.95s var(--ease);
  transition-delay: calc(var(--i) * 55ms);
}

.launch__title .stop {
  color: var(--brand);
}

.launch__text {
  margin-top: clamp(1.35rem, 2.4vw, 1.9rem);
  max-width: 47ch;
  font-size: clamp(0.9rem, 1.05vw, 0.98rem);
  line-height: 1.75;
  color: var(--muted-ink);
  text-wrap: pretty;
}

.launch__actions {
  margin-top: clamp(1.6rem, 2.6vw, 2.15rem);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 15px 22px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn:hover {
  background: var(--brand);
  transform: translateY(-2px);
}

.btn .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
  transform: translate(2px, -2px);
}

.link-mail {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
  border-bottom: 1px solid rgba(11, 10, 9, 0.35);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.link-mail:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.launch__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  justify-content: start;
  gap: 18px clamp(1.5rem, 3.5vw, 3.25rem);
  margin-top: clamp(2rem, 3.6vw, 2.9rem);
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.launch__meta dt {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(11, 10, 9, 0.6);
}

.launch__meta dd {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink);
}

/* ---- Countdown (only shown when config.launchDate is set) ---------------- */

.countdown {
  margin-top: clamp(1.5rem, 2.6vw, 2.1rem);
  padding: 18px 20px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
}

.countdown__label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(11, 10, 9, 0.62);
}

.countdown__units {
  display: flex;
  gap: clamp(1.1rem, 3vw, 2.25rem);
  margin-top: 10px;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.countdown__unit span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.countdown__unit small {
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(11, 10, 9, 0.62);
}

/* ---- Printed-paper artwork (CSS 3D) ------------------------------------- */

.launch__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(400px, 42vw, 540px);
  perspective: 1500px;
}

.launch__artglow {
  position: absolute;
  inset: 12% 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(174, 38, 39, 0.18), transparent 72%);
  filter: blur(26px);
}

.stack {
  position: relative;
  width: min(76%, 350px);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease-soft);
}

.sheet {
  position: relative;
  border-radius: 2px;
}

.sheet--poster {
  display: flex;
  flex-direction: column;
  aspect-ratio: 3 / 4;
  padding: clamp(15px, 2.1vw, 24px);
  background:
    radial-gradient(90% 70% at 82% 4%, rgba(210, 58, 59, 0.16), transparent 55%),
    linear-gradient(152deg, #161311 0%, #0b0a09 62%, #171412 100%);
  color: var(--paper);
  transform: rotateY(-17deg) rotateX(6deg) rotateZ(-4.5deg);
  box-shadow:
    0 55px 85px -42px rgba(11, 10, 9, 0.62),
    0 18px 32px -22px rgba(11, 10, 9, 0.45),
    inset 0 0 0 1px rgba(242, 237, 228, 0.08);
}

.sheet__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.42);
}

.sheet__type {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.9vw, 2.15rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.sheet__type em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  font-size: 1.12em;
  letter-spacing: -0.01em;
  color: var(--brand-soft);
  margin-block: -0.04em 0.02em;
}

.sheet__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(16px, 2.4vw, 26px);
  padding-top: 12px;
  border-top: 1px solid rgba(242, 237, 228, 0.16);
  font-size: 6.5px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.5);
  text-align: right;
}

.sheet__mark {
  display: block;
  width: 22px;
  color: var(--brand-soft);
}

.sheet__mark svg {
  width: 100%;
  height: auto;
}

.sheet--card {
  position: absolute;
  right: -6%;
  bottom: -7%;
  width: 64%;
  aspect-ratio: 1.58 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(12px, 1.6vw, 17px);
  background: linear-gradient(150deg, #f7f2e8, #e2d9c9);
  color: var(--ink);
  transform: rotateY(-14deg) rotateX(4deg) rotateZ(3deg) translateZ(64px);
  box-shadow:
    0 30px 55px -28px rgba(11, 10, 9, 0.55),
    0 8px 16px -10px rgba(11, 10, 9, 0.35),
    inset 0 0 0 1px rgba(11, 10, 9, 0.06);
}

.sheet__mark--card {
  width: 18px;
  color: var(--brand);
}

.sheet__cardline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  line-height: 1.1;
  letter-spacing: 0.005em;
}

.sheet__cardmeta {
  font-size: 5.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(11, 10, 9, 0.45);
  padding-top: 8px;
  border-top: 1px solid rgba(11, 10, 9, 0.12);
}

/* ---- Reveal -------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s var(--ease), transform 0.95s var(--ease);
}

/* ============================================================================
   FOOTER
   ========================================================================== */

.foot {
  position: relative;
  z-index: 3;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(1.4rem, 2.6vw, 2rem);
  background: var(--ink);
  border-top: 1px solid rgba(242, 237, 228, 0.05);
}

.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.foot__title {
  margin-top: clamp(14px, 2vw, 20px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.foot__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  color: var(--brand-soft);
}

.foot__lead {
  margin-top: clamp(1.1rem, 2vw, 1.5rem);
  max-width: 42ch;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(242, 237, 228, 0.55);
}

.socials li {
  border-top: 1px solid var(--line-light-soft);
}

.socials li:last-child {
  border-bottom: 1px solid var(--line-light-soft);
}

.social {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 16px;
  padding: 18px 2px;
  transition: transform 0.4s var(--ease), color 0.3s ease;
}

.social:hover {
  transform: translateX(6px);
}

.social__icon {
  display: grid;
  place-items: center;
  color: rgba(242, 237, 228, 0.5);
  transition: color 0.3s ease;
}

.social__icon svg {
  width: 17px;
  height: 17px;
}

.social:hover .social__icon {
  color: var(--brand-soft);
}

.social__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.social__label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.social__handle {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(242, 237, 228, 0.55);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social__arrow {
  width: 14px;
  height: 14px;
  color: rgba(242, 237, 228, 0.35);
  transition: color 0.3s ease, transform 0.35s var(--ease);
}

.social:hover .social__arrow {
  color: var(--paper);
  transform: translate(2px, -2px);
}

.social.is-pending {
  cursor: default;
}

.social.is-pending:hover {
  transform: none;
}

.social.is-pending .social__label {
  color: rgba(242, 237, 228, 0.62);
}

.social.is-pending .social__icon {
  color: rgba(242, 237, 228, 0.4);
}

.social.is-pending .social__arrow {
  color: rgba(242, 237, 228, 0.22);
}

.social.is-pending:hover .social__icon,
.social.is-pending:hover .social__arrow {
  color: rgba(242, 237, 228, 0.5);
  transform: none;
}

.foot__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: clamp(2.75rem, 5.5vw, 4.75rem);
  padding-top: 20px;
  border-top: 1px solid var(--line-light-soft);
}

.foot__brand img {
  width: 74px;
  height: auto;
  opacity: 0.9;
}

.foot__legal {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.55);
}

.foot__top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.62);
  transition: color 0.3s ease;
}

.foot__top-link:hover {
  color: var(--paper);
}

.foot__top-link .icon {
  width: 12px;
  height: 12px;
  transition: transform 0.35s var(--ease);
}

.foot__top-link:hover .icon {
  transform: translateY(-2px);
}

/* ============================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
  .launch__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 4.5rem);
  }

  .launch__title {
    max-width: 18ch;
  }

  .launch__art {
    min-height: 0;
    padding-block: 1rem;
  }

  .stack {
    width: min(64%, 330px);
  }

  .foot__top {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.25rem, 6vw, 3.25rem);
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 66px;
  }

  .top {
    padding-block: 16px;
  }

  .status {
    display: none;
  }

  .hero__inner {
    padding-top: 2rem;
    padding-bottom: 2.25rem;
  }

  .hero__title {
    font-size: clamp(2.6rem, 12.6vw, 4.4rem);
  }

  .hero__desc {
    max-width: 40ch;
    font-size: 0.85rem;
  }

  .hero__launch {
    font-size: 9px;
    letter-spacing: 0.28em;
  }

  .ticker__group span {
    padding-block: 14px;
    font-size: 9.5px;
  }

  .launch__title {
    font-size: clamp(1.85rem, 7.4vw, 2.6rem);
  }

  .launch__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
  }

  .countdown__units {
    gap: 1.25rem;
  }

  .foot__bottom {
    justify-content: flex-start;
  }

  .foot__legal {
    order: 3;
    flex-basis: 100%;
  }
}

@media (max-width: 420px) {
  .hero__logo {
    width: 128px;
  }

  .hero__title {
    font-size: clamp(2.45rem, 12.4vw, 3.2rem);
  }

  .hero__launch .rule {
    width: 18px;
  }

  .launch__art {
    padding-block: 0;
  }

  .stack {
    width: min(80%, 300px);
  }
}

/* Shorter desktop windows: keep the whole hero stack above the fold. */
@media (min-width: 980px) and (max-height: 820px) {
  .hero__logo {
    width: clamp(120px, 12vw, 155px);
    margin-bottom: 18px;
  }

  .hero__title {
    font-size: clamp(3rem, 7vw, 5.9rem);
  }

  .hero__desc {
    max-width: 52ch;
  }

  .hero__tagline {
    font-size: 1.35rem;
  }
}

/* Laptop screens around 700px of content height (~1280×720 browser):
   step the whole stack down again so the ticker stays on screen. */
@media (min-width: 980px) and (max-height: 745px) {
  .hero__inner {
    padding-block: clamp(0.5rem, 1.6vh, 0.9rem) clamp(0.6rem, 1.8vh, 1rem);
  }

  .hero__logo {
    width: clamp(110px, 8.6vw, 132px);
    margin-bottom: clamp(10px, 1.6vh, 14px);
  }

  .hero__title {
    margin-top: clamp(6px, 1vh, 10px);
    font-size: clamp(2.7rem, 6vw, 5rem);
  }

  .hero__launch {
    margin-top: clamp(10px, 1.6vh, 14px);
  }

  .hero__tagline {
    margin-top: clamp(8px, 1.4vh, 12px);
    font-size: 1.25rem;
  }

  .hero__desc {
    margin-top: clamp(8px, 1.4vh, 12px);
    max-width: 58ch;
  }
}

/* Small phones in portrait (360×640 and similar): trim breathing room so the
   ticker still lands on the first screen rather than just below it. */
@media (max-width: 480px) and (min-height: 521px) and (max-height: 660px) {
  .hero__inner {
    padding-top: 1.1rem;
    padding-bottom: 1.25rem;
  }

  .hero__logo {
    width: 110px;
    margin-bottom: 12px;
  }

  .hero__title {
    margin-top: 8px;
    font-size: clamp(2.15rem, 11.6vw, 2.8rem);
  }
}

/* Phone in landscape: the canvas is wide but very short, so the normal stack
   would push most of the copy below the fold. Compress it to a single screen. */
@media (max-width: 980px) and (max-height: 520px) {
  .hero {
    padding-top: 58px;
  }

  .hero__inner {
    padding: 0.35rem var(--gutter) 0.5rem;
  }

  .hero__logo {
    width: 88px;
    margin-bottom: 4px;
  }

  .hero__title {
    margin-top: 4px;
    font-size: clamp(1.95rem, 4.75vw, 3.05rem);
  }

  .hero__launch {
    margin-top: 8px;
  }

  .hero__tagline {
    margin-top: 6px;
    font-size: 1.02rem;
  }

  .hero__desc {
    margin-top: 6px;
    max-width: 64ch;
    font-size: 0.725rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

/* Extremely short windows (~320px of height): drop the kicker and tighten
   every gap so the headline, tagline and ticker still share one screen. */
@media (max-height: 340px) {
  .hero__eyebrow {
    display: none;
  }

  .hero__logo {
    width: 72px;
    margin-bottom: 2px;
  }

  .hero__title {
    margin-top: 2px;
    font-size: clamp(1.7rem, 4.6vw, 2.2rem);
  }

  .hero__launch {
    margin-top: 6px;
  }

  .hero__tagline {
    margin-top: 4px;
  }

  .hero__desc {
    margin-top: 4px;
  }
}

/* ============================================================================
   MOTION PREFERENCES
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .line__in,
  .js .hero [data-in]:not(.line__in),
  .js .launch__title .w,
  .js .reveal {
    transform: none;
    opacity: 1;
  }

  .ticker__track {
    animation: none;
    transform: none;
  }

  .fallback-sheet {
    animation: none;
  }
}
