/* =========================================================
   Control-Shift-Tab — Coming Soon
   Brand system: Black + White first. Red second.
   ========================================================= */

:root {
  /* Palette */
  --black: #000000;
  --off-black: #111111;
  --dark-gray: #242424;
  --medium-gray: #666666;
  --light-gray: #eaeaea;
  --off-white: #f7f7f7;
  --white: #ffffff;
  --red: #ff1f1f;

  /* Typography */
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 320ms;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Top progress line ---------- */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--red);
  z-index: 100;
  transition: width 1.6s var(--ease);
}

/* ---------- Subtle grid background ---------- */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
}

/* ---------- Stage layout ---------- */
.stage {
  position: relative;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(18px, 4vh, 40px) 32px clamp(16px, 3vh, 32px);
}

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand__logo {
  height: clamp(120px, 24vh, 320px);
  width: auto;
  display: block;
}

.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--medium-gray);
}

.topbar__status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 31, 31, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 31, 31, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255, 31, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 31, 31, 0); }
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(16px, 3vh, 24px) 0;
  max-width: 780px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--medium-gray);
  margin-bottom: clamp(14px, 2.5vh, 26px);
}

.hero__title {
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: clamp(14px, 2.5vh, 28px);
}

.hero__title-accent {
  color: var(--off-black);
}

.reddot {
  color: var(--red);
}

.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--medium-gray);
  max-width: 560px;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: clamp(14px, 2.5vh, 26px);
  border-top: 1px solid var(--light-gray);
}

.footer__tag {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--off-black);
}

.footer__social {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.footer__social a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--medium-gray);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer__social a:hover {
  color: var(--red);
}

.footer__copy {
  font-size: 12px;
  font-weight: 400;
  color: var(--medium-gray);
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .stage {
    padding: clamp(16px, 3vh, 28px) 22px clamp(14px, 2.5vh, 24px);
  }

  .topbar__status {
    font-size: 11px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
