:root {
  --h-bg: floralwhite;
  --h-fg: darkolivegreen;
  --h-accent: tomato;
  --h-muted: darkolivegreen;
}

@layer layout {
  body {
    margin: 0;
    min-height: 100svh;
    background: var(--h-bg);
    color: var(--h-fg);
    overflow-x: hidden;
  }
}

.home {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  gap: clamp(1rem, 3vw, 2.5rem);
}

/* ── Wordmark ─────────────────────────────────────────────── */
.home-wordmark {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--h-muted);
}

/* ── Stage ────────────────────────────────────────────────── */
.home-stage {
  display: flex;
  align-items: stretch;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.home-stage__stripe {
  width: 4px;
  background: var(--h-accent);
  border-radius: 2px;
  flex-shrink: 0;
  transform-origin: bottom center;
  animation: stripe-grow 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

@keyframes stripe-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

.home-stage__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.home-headline {
  margin: 0;
  font-size: clamp(3.5rem, 15vw, 16rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: tomato;
  animation: headline-up 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0s both;
}

@keyframes headline-up {
  from { opacity: 0; transform: translateY(1rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.home-headline em {
  font-style: normal;
  -webkit-text-stroke: 2px tomato;
  color: transparent;
}

.home-sub {
  margin: 0;
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  line-height: 1.55;
  color: var(--h-muted);
  max-width: 28ch;
  align-self: flex-end;
  text-align: right;
  animation: fade-in 0.8s ease 0.5s both;
}

/* ── Footer / CTA ─────────────────────────────────────────── */
.home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fade-in 0.8s ease 0.65s both;
}

.home-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--h-muted);
  letter-spacing: 0.04em;
}

.home-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: #1a0d0a;
  background: gold;
  border: 1.5px solid gold;
  padding: 0.7em 1.4em;
  border-radius: 2px;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
  white-space: nowrap;
}

.home-cta:visited { color: #1a0d0a; }
.home-cta:hover   { background: tomato; color: floralwhite; border-color: tomato; }

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 480px) {
  .home-sub {
    align-self: auto;
    text-align: left;
    max-width: none;
  }
  .home-headline em {
    -webkit-text-stroke-width: 1.5px;
  }
}
