/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Palette (R'lyeh × Minions) ─────────────────
   Abyssal Black   #0B1015
   Eldritch Teal   #14363B
   Deep Sea Bio    #1F5F61
   Aquamarine Mist #64A3A4
   Overalls Denim  #3B629B
   Banana Panic    #FCD015
   Goggle Silver   #BAC2C7
   R'lyeh Foam     #E6F2F2
─────────────────────────────────────────────────── */

:root {
  --bg:          #0B1015;
  --surface:     #14363B;
  --mid:         #1F5F61;
  --mist:        #64A3A4;
  --denim:       #3B629B;
  --yellow:      #FCD015;
  --silver:      #BAC2C7;
  --foam:        #E6F2F2;

  --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --transition: 0.25s ease;
}

/* ── Base ───────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--foam);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Layout ─────────────────────────────────────── */
.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 0 1.25rem;
}

/* ── Header ─────────────────────────────────────── */
.site-header {
  width: 100%;
  max-width: 820px;
  padding: 1.75rem 0 0;
  display: flex;
  justify-content: center;
}

.site-badge {
  background-color: var(--surface);
  color: var(--yellow);
  border: 1px solid var(--mid);
  border-radius: 20px;
  padding: 0.35rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Main ───────────────────────────────────────── */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 820px;
  padding: 3rem 0 2rem;
}

/* ── Hero image ─────────────────────────────────── */
.hero-figure {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-img {
  max-width: min(480px, 90vw);
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--mid);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  display: block;
}

/* ── Text block ─────────────────────────────────── */
.text-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.headline {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--foam);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.subhead {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--mist);
  line-height: 1.65;
  max-width: 480px;
}

/* ── CTA button ─────────────────────────────────── */
.cta-btn {
  display: inline-block;
  background-color: var(--yellow);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: filter var(--transition), transform var(--transition);
  margin-top: 0.5rem;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-2px);
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.cta-btn:active {
  transform: translateY(0);
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  width: 100%;
  max-width: 820px;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--surface);
  text-align: center;
}

.footer-note {
  font-size: 0.8rem;
  color: var(--silver);
  opacity: 0.6;
}

/* ── Responsive ─────────────────────────────────── */
@media (min-width: 640px) {
  .main-content {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    padding: 4rem 2rem;
  }

  .hero-figure { width: auto; flex-shrink: 0; }
  .text-block   { text-align: left; align-items: flex-start; }
  .subhead      { max-width: 360px; }
}

/* ── Reduced motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .cta-btn { transition: none; }
}
