@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap");

:root {
  --ink: #10141a;
  --muted: #626b75;
  --line: #cfd6dc;
  --paper: #f2f5f8;
  --blue: #124ee8;
  --lime: #b8f43d;
}

* { box-sizing: border-box; }

html { background: var(--paper); scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 20, 26, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 26, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  font-family: "Manrope", Arial, sans-serif;
}

a { color: inherit; }

.page-shell {
  width: min(100% - 48px, 1500px);
  min-height: 100dvh;
  margin: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -.08em;
  text-decoration: none;
}

.wordmark span { color: var(--blue); }

.header-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 400 .7rem/1 "Space Mono", monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.header-status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(184, 244, 61, .22);
  animation: pulse 2.2s ease-in-out infinite;
}

.hero {
  min-height: calc(100dvh - 151px);
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  gap: clamp(36px, 5vw, 86px);
  align-items: center;
  padding: 44px 0 34px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 25px;
  font: 700 .66rem/1.2 "Space Mono", monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--blue);
  font-weight: 700;
}

h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(3.35rem, 5.3vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: .91;
}

h1 em {
  display: block;
  padding-bottom: .08em;
  color: var(--blue);
  font-style: normal;
  font-weight: 700;
}

.intro {
  max-width: 520px;
  margin: 26px 0 32px;
  color: var(--muted);
  font-size: clamp(.98rem, 1.3vw, 1.16rem);
  line-height: 1.55;
}

.countdown-wrap {
  max-width: 590px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.countdown-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font: 400 .62rem/1.2 "Space Mono", monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.countdown-label time { color: var(--muted); }

.countdown {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
}

.time-block strong {
  display: block;
  font: 500 clamp(2rem, 3.5vw, 3.55rem)/1 "Space Mono", monospace;
  letter-spacing: -.07em;
}

.time-block span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font: 400 .6rem/1 "Space Mono", monospace;
  text-transform: uppercase;
}

.countdown b {
  padding: .24em clamp(5px, 1vw, 16px) 0;
  color: var(--blue);
  font: 400 clamp(1.5rem, 2.6vw, 2.7rem)/1 "Space Mono", monospace;
}

.contact-block {
  width: min(100%, 590px);
  margin-top: 22px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-strong);
}

.contact-block span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font: 700 .66rem/1.2 "Space Mono", monospace;
  text-transform: uppercase;
}

.contact-block a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: rgba(255, 255, 255, .58);
  font: 800 clamp(1rem, 1.4vw, 1.24rem)/1 "Manrope", sans-serif;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.contact-block a::after {
  content: "↗";
  margin-left: 14px;
  color: var(--blue);
}

.contact-block a:hover {
  color: white;
  background: var(--ink);
}

.contact-block a:active { transform: translateY(1px); }

.visual-stage { min-width: 0; position: relative; }

.visual-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1693 / 929;
  border: 1px solid var(--line);
  background: #eef0f4;
  clip-path: polygon(9% 0, 100% 0, 100% 90%, 91% 100%, 0 100%, 0 10%);
}

.visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.7);
  pointer-events: none;
}

.visual-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.3) contrast(1.18) brightness(.96);
  transform: scale(1.035);
  animation: settle 1.3s cubic-bezier(.2,.7,.2,1) both;
}

footer {
  min-height: 57px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 400 .6rem/1 "Space Mono", monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}

footer p { margin: 0; }
footer p:last-child { text-align: right; }
footer a { color: var(--ink); text-underline-offset: 3px; }

@keyframes pulse { 50% { opacity: .6; box-shadow: 0 0 0 9px rgba(184,244,61,0); } }
@keyframes settle { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: scale(1.035); } }

@media (max-width: 980px) {
  .page-shell { width: min(100% - 32px, 760px); }
  .hero { grid-template-columns: 1fr; padding: 38px 0; }
  h1 { max-width: 720px; }
  .visual-stage { grid-row: 1; }
  .visual-frame { aspect-ratio: 1693 / 929; }
  .hero-copy { grid-row: 2; }
  footer { margin-top: 24px; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 24px, 520px); }
  .site-header { height: 74px; }
  .header-status span { display: none; }
  .hero { min-height: auto; gap: 30px; padding: 24px 0 34px; }
  .visual-frame { aspect-ratio: 1.12 / 1; }
  .visual-frame img { object-position: 51% center; filter: saturate(1.35) contrast(1.2) brightness(.96); }
  h1 { font-size: clamp(2.75rem, 14vw, 4.3rem); }
  .intro { margin: 18px 0 26px; }
  .countdown-label { align-items: flex-end; gap: 12px; }
  .countdown-label time { text-align: right; }
  .time-block strong { font-size: clamp(1.55rem, 9vw, 2.5rem); }
  .countdown b { font-size: 1.3rem; padding-inline: 3px; }
  .contact-block a { width: 100%; justify-content: space-between; }
  footer { grid-template-columns: 1fr auto; gap: 14px; padding: 18px 0; }
  footer p:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
