:root {
  --bg: #000000;
  --surface: #161616;
  --dark: #1A1E23;
  --midnight: #080A0C;
  --ink: #ffffff;
  --primary: #FC5C5C;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  overflow-x: clip;
}

body { min-height: 100vh; }

a { color: var(--ink); }
a:hover { color: var(--primary); }

/* ── Landing ── */

.landing {
  min-height: 100vh;
  min-height: 100svh; /* excludes mobile browser toolbars; 100vh is the fallback */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  position: relative;
  background: url('/images/hero-original.webp') bottom center / cover no-repeat;
}

.landing-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-wordmark {
  width: 600px;
  max-width: 100%;
  height: auto;
  margin-bottom: 40px;
  animation: fade-up 0.65s ease both;
}

@media (max-width: 767px) {
  .landing-inner { width: 100%; }
  .landing-wordmark { width: 85%; }
}

.landing-headline {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  animation: fade-up 0.65s ease 0.15s both;
}

/* Brutalist block: hard white shadow that the button presses into on hover */
.landing-cta {
  display: inline-block;
  margin-top: 48px;
  padding: 22px 44px;
  background: var(--primary);
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  /* backwards, not both: a retained end state would override the hover transform */
  animation: fade-up 0.65s ease 0.3s backwards;
}

.landing-cta:hover,
.landing-cta:focus-visible {
  color: var(--ink);
  transform: translate(6px, 6px);
  box-shadow: 0 0 0 var(--ink);
}

.landing-cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .landing-cta { padding: 18px 32px; font-size: 16px; }
}

/* ── Animations ── */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

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