/* ── Tokens pulled from the banner art ─────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #00a651;
  --green-deep: #007a3d;
  --green-bright: #2dcc6a;
  --yellow: #f4c400;
  --yellow-hot: #ffe033;
  --black: #0a0a0a;
  --ink: #111111;
  --rope: #1a1a1a;
  --metal: #3d3d3d;
  --metal-shine: #6a6a6a;
  --split: 54%;
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--black);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

/* ── Split world: green sky + yellow street ──────────────── */
.world {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.sky {
  position: absolute;
  inset: 0 0 calc(100% - var(--split)) 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, var(--green-bright) 0%, var(--green) 55%, var(--green-deep) 100%);
}

.street {
  position: absolute;
  inset: var(--split) 0 0 0;
  background:
    linear-gradient(180deg, #e8b800 0%, var(--yellow) 18%, var(--yellow-hot) 100%);
}

.wall-texture {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ── Stage ─────────────────────────────────────────────────── */
.stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 1.75rem;
}

/* ── Hero: hanging banner rig ─────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0.5rem 0;
}

.rig {
  position: relative;
  width: min(92vw, 820px);
  perspective: 1200px;
}

.cable {
  position: absolute;
  top: -6vh;
  width: 3px;
  height: 8vh;
  background: linear-gradient(180deg, transparent, var(--rope) 30%, var(--metal) 100%);
  border-radius: 2px;
  z-index: 1;
}

.cable-left  { left: 18%;  transform: rotate(-4deg); }
.cable-right { right: 18%; transform: rotate(4deg); }

.banner-mount {
  position: relative;
  transform-origin: 50% -2%;
  animation:
    banner-drop 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both,
    banner-sway 7s ease-in-out 1.5s infinite;
}

@keyframes banner-drop {
  0%   { opacity: 0; transform: translateY(-18vh) scaleY(0.55) rotateX(12deg); }
  70%  { transform: translateY(1.5vh) scaleY(1.02) rotateX(-1deg); }
  100% { opacity: 1; transform: translateY(0) scaleY(1) rotateX(0); }
}

@keyframes banner-sway {
  0%, 100% { transform: rotate(-0.7deg) translateX(-3px); }
  50%      { transform: rotate(0.7deg)  translateX(3px); }
}

/* ── Grommets ─────────────────────────────────────────────── */
.grommet-row {
  display: flex;
  justify-content: space-between;
  padding: 0 4%;
  pointer-events: none;
}

.grommet-row span {
  display: block;
  width: clamp(8px, 1.6vw, 14px);
  height: clamp(8px, 1.6vw, 14px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--metal-shine), var(--metal) 55%, #222 100%);
  border: 2px solid var(--black);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.35),
    0 2px 4px rgba(0, 0, 0, 0.35);
}

.grommet-top    { margin-bottom: -5px; z-index: 3; position: relative; }
.grommet-bottom { margin-top: -5px;    z-index: 3; position: relative; }

/* ── The banner itself ────────────────────────────────────── */
.banner {
  position: relative;
  margin: 0;
  border: 4px solid var(--black);
  border-radius: 3px;
  overflow: hidden;
  background: var(--black);
  box-shadow:
    0 2px 0 var(--black),
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 48px 100px rgba(0, 0, 0, 0.25);
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.banner-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    transparent 38%,
    rgba(255, 255, 255, 0.14) 48%,
    transparent 58%
  );
  transform: translateX(-130%);
  animation: shine-pass 6s ease-in-out 2s infinite;
  pointer-events: none;
}

@keyframes shine-pass {
  0%, 65%  { transform: translateX(-130%); }
  100%     { transform: translateX(130%); }
}

.banner-shadow {
  position: absolute;
  bottom: -12%;
  left: 8%;
  right: 8%;
  height: 18%;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
  filter: blur(8px);
  z-index: -1;
  animation: shadow-sway 7s ease-in-out 1.5s infinite;
}

@keyframes shadow-sway {
  0%, 100% { transform: scaleX(0.96) translateX(4px);  opacity: 0.7; }
  50%      { transform: scaleX(1.04) translateX(-4px); opacity: 0.85; }
}

/* ── Action zone ──────────────────────────────────────────── */
.action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding-top: 0.5rem;
}

.hook-line {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(0.95rem, 2.8vw, 1.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: fade-rise 0.8s ease-out 0.9s both;
}

/* ── CTA: black slab on yellow — matches the logo type ───── */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 2.2rem;
  text-decoration: none;
  color: var(--yellow-hot);
  background: var(--black);
  border: 3px solid var(--black);
  border-radius: 2px;
  box-shadow:
    4px 4px 0 rgba(0, 0, 0, 0.25),
    0 0 0 3px var(--black),
    0 12px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation:
    cta-slam 0.75s cubic-bezier(0.16, 1, 0.3, 1) 1s both,
    cta-throb 3.5s ease-in-out 2.5s infinite;
}

.cta-face {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta-skip {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    6px 6px 0 rgba(0, 0, 0, 0.2),
    0 0 0 3px var(--black),
    0 18px 50px rgba(0, 0, 0, 0.35);
}

.cta:hover .cta-skip {
  transform: translateX(5px);
}

.cta:active {
  transform: translateY(1px) scale(0.99);
  box-shadow:
    2px 2px 0 rgba(0, 0, 0, 0.25),
    0 0 0 3px var(--black),
    0 8px 24px rgba(0, 0, 0, 0.25);
}

@keyframes cta-slam {
  from { opacity: 0; transform: translateY(28px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cta-throb {
  0%, 100% { box-shadow: 4px 4px 0 rgba(0,0,0,0.25), 0 0 0 3px var(--black), 0 12px 40px rgba(0,0,0,0.3); }
  50%      { box-shadow: 4px 4px 0 rgba(0,0,0,0.25), 0 0 0 3px var(--black), 0 12px 40px rgba(0,0,0,0.3), 0 0 30px rgba(244,196,0,0.35); }
}

.url-hint {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
  animation: fade-rise 0.8s ease-out 1.15s both;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.65rem;
  animation: fade-rise 0.8s ease-out 1.3s both;
}

.footer-legal a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.52);
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 10, 10, 0.18);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--black);
  border-color: rgba(10, 10, 10, 0.45);
}

.footer-copy {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(10, 10, 10, 0.34);
}

.footer-legal a + a {
  border-left: 1px solid rgba(0, 0, 0, 0.35);
  margin-left: 0.75em;
  padding-left: 0.75em;
}

.footer-sep {
  margin: 0 0.75em;
  opacity: 0.4;
}

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

/* ── Tall screens: give banner more room ───────────────────── */
@media (min-height: 800px) {
  .rig {
    width: min(88vw, 900px);
  }
}

/* ── Short screens ─────────────────────────────────────────── */
@media (max-height: 640px) {
  .stage {
    padding: 0.75rem 1rem 1rem;
  }

  .cable {
    display: none;
  }

  .action {
    gap: 0.55rem;
  }

  .site-footer {
    padding-top: 0.35rem;
    gap: 0.3rem;
  }

  .hook-line {
    font-size: 0.8rem;
  }

  .cta {
    padding: 0.8rem 1.6rem;
  }
}

/* ── Narrow mobile ─────────────────────────────────────────── */
@media (max-width: 420px) {
  .stage {
    padding: 1rem 1rem 1.25rem;
  }

  .banner {
    border-width: 3px;
  }

  .cta {
    width: 100%;
    justify-content: center;
  }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .banner-mount {
    transform: none;
  }
}