/* Keyroom — December 2026 brand pack visual system */

@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/libre-franklin-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/libre-franklin-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/libre-franklin-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}

:root {
  --keyroom-green: #1E4B3D;
  --deep-green: #163A2F;
  --cream: #F4EFE4;
  --ink: #18201C;
  --brass: #B8975A;
  --light-brass: #D9BE85;

  --ground: var(--cream);
  --ground-warm: #ebe6d9;
  --stone: #e4ddd0;
  --soft: #4f5c56;
  --line: rgba(24, 32, 28, 0.12);
  --cream-on-ink: var(--cream);
  --muted-on-ink: rgba(244, 239, 228, 0.72);
  --focus: var(--brass);

  --display: "Libre Franklin", "Helvetica Neue", Helvetica, sans-serif;
  --body: "Libre Franklin", "Helvetica Neue", Helvetica, sans-serif;
  --card-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --wrap: 1120px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 80% at 10% -10%, rgba(30, 75, 61, 0.05), transparent 50%),
    linear-gradient(180deg, var(--ground) 0%, var(--ground-warm) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--keyroom-green); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--keyroom-green);
  color: var(--cream);
  padding: 0.75rem 1rem;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(100% - 2.75rem, var(--wrap));
  margin-inline: auto;
}

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(30, 75, 61, 0.94);
  backdrop-filter: blur(10px);
  color: var(--cream-on-ink);
  border-bottom: 1px solid rgba(184, 151, 90, 0.16);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding-block: 0.65rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  width: auto;
  height: 1.65rem;
  min-width: 100px;
}
.logo:hover { opacity: 0.92; }

.nav .wrap {
  gap: 1rem;
}
.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  min-width: 0;
  flex: 1 1 auto;
  margin-inline: 0.5rem 0.75rem;
}
.menu > a {
  color: rgba(244, 239, 228, 0.78);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}
.menu > a:hover,
.menu > a[aria-current="page"] { color: var(--cream); }
.menu-extra { display: none; }
.menu .mbook { display: none; }

.burger {
  display: none;
  border: 1px solid rgba(244, 239, 228, 0.28);
  background: transparent;
  color: var(--cream-on-ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.nav .btn {
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}
.nav-login {
  color: rgba(244, 239, 228, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-login:hover { color: var(--cream); }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
}
.lang-switch a {
  color: rgba(244, 239, 228, 0.7);
  text-decoration: none;
}
.lang-switch a[aria-current="true"],
.lang-switch a:hover { color: var(--cream); }

.trust-strip {
  background: var(--deep-green);
  border-top: 1px solid rgba(184, 151, 90, 0.18);
  border-bottom: 1px solid rgba(184, 151, 90, 0.12);
  color: var(--muted-on-ink);
}
.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.trust-strip li { position: relative; }
.trust-strip li:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -0.9rem;
  color: var(--brass);
}
.login-card h2 { margin-bottom: 0.5rem; }
.turnstile-slot { min-height: 0; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid transparent;
  background: var(--keyroom-green);
  color: var(--cream);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:hover { background: var(--deep-green); color: var(--cream); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(24, 32, 28, 0.22);
}
.btn.ghost:hover { border-color: var(--keyroom-green); color: var(--keyroom-green); }
.btn.ghost.on-ink {
  color: var(--cream-on-ink);
  border-color: rgba(244, 239, 228, 0.28);
}
.btn.ghost.on-ink:hover {
  border-color: var(--light-brass);
  color: var(--light-brass);
}
/* Primary CTA on green/ink fields: cream fill for contrast */
.nav .btn,
.home-hero .btn:not(.ghost),
.phero .btn:not(.ghost),
.band.ink .btn:not(.ghost) {
  background: var(--cream);
  color: var(--keyroom-green);
}
.nav .btn:hover,
.home-hero .btn:not(.ghost):hover,
.phero .btn:not(.ghost):hover,
.band.ink .btn:not(.ghost):hover {
  background: var(--light-brass);
  color: var(--deep-green);
}
.btn:disabled { opacity: 0.6; cursor: wait; }

.cta { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.section-cta { margin-top: 2rem; }

/* ——— Type ——— */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.7rem;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.05rem); }
h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.02em; }
.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.55;
  max-width: 40ch;
  margin: 0 0 1.35rem;
  font-weight: 400;
  text-wrap: pretty;
}
.lead.muted, .muted { color: var(--soft); }
.section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 3.5vh, 2.5rem);
}
.section-head .lead { margin-bottom: 0; }
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--light-brass);
  margin: 0 0 0.75rem;
}
.crumb {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--soft);
  text-decoration: none;
  margin-bottom: 0.85rem;
}
.crumb:hover { color: var(--ink); }
.note {
  font-size: 0.88rem;
  color: var(--soft);
  margin: 0.75rem 0 0;
}

/* ——— Bands ——— */
.band { padding: clamp(3.25rem, 7.5vh, 5.25rem) 0; }
.band.alt {
  background:
    linear-gradient(180deg, rgba(250, 247, 241, 0) 0%, transparent 12px),
    linear-gradient(180deg, #faf7f1 0%, var(--stone) 100%);
  box-shadow: inset 0 1px 0 rgba(24, 32, 28, 0.04);
}
.band.ink {
  background: linear-gradient(135deg, var(--keyroom-green) 0%, var(--deep-green) 100%);
  color: var(--cream-on-ink);
  padding: clamp(3.5rem, 8vh, 5.5rem) 0;
}
.band.ink h1, .band.ink h2, .band.ink h3 { color: var(--cream-on-ink); }
.band.ink .muted, .band.ink .lead { color: var(--muted-on-ink); }
.band.ink a:not(.btn) { color: var(--light-brass); }
.phero {
  background: linear-gradient(155deg, var(--keyroom-green) 0%, var(--deep-green) 55%, #102820 100%);
  color: var(--cream-on-ink);
  padding-top: clamp(2.75rem, 6.5vh, 4rem);
  padding-bottom: clamp(2.75rem, 6.5vh, 4rem);
}
.phero h1, .phero .lead { color: var(--cream-on-ink); }
.phero .lead { color: var(--muted-on-ink); max-width: 44ch; }
.phero .crumb { color: var(--muted-on-ink); }
.phero.tight { padding-block: 2.35rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  align-items: start;
}
.feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  align-items: center;
}
.feature.flip > :first-child { order: 2; }
.stack { display: grid; gap: 1rem; }
.stack > * { margin: 0; }

.list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.list.tight { margin: 0; }
.list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.4rem;
  color: var(--soft);
  line-height: 1.45;
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brass);
}

.grid { display: grid; gap: 1.25rem; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }

.box {
  padding: 1.5rem 1.35rem 1.4rem;
  background: rgba(255, 255, 255, 0.48);
  border-top: 2px solid var(--brass);
  transition: background 180ms ease, transform 180ms ease;
}
.band.alt .box { background: rgba(255, 255, 255, 0.58); }
.box:hover { background: rgba(255, 255, 255, 0.72); transform: translateY(-2px); }
.box h3 { margin-bottom: 0.5rem; }
.box p { margin: 0; color: var(--soft); font-size: 0.97rem; line-height: 1.5; }

.panel {
  padding: 1.65rem 1.45rem 1.5rem;
  background: linear-gradient(180deg, #faf7f1 0%, var(--stone) 100%);
  border-top: 2px solid var(--brass);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(24, 32, 28, 0.08);
}
.panel h3 { margin-bottom: 0.55rem; }
.panel p { margin: 0; color: var(--soft); line-height: 1.5; }
.panel-link {
  margin-top: auto !important;
  padding-top: 1.15rem;
}
.panel-link a {
  font-weight: 600;
  text-decoration: none;
  color: var(--keyroom-green);
}
.panel-link a:hover { color: var(--ink); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
  margin-top: 0.25rem;
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}
.step-num {
  font-family: var(--display);
  font-size: 0.76rem;
  color: var(--keyroom-green);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0.65rem;
}
.step h3 { margin-bottom: 0.45rem; }
.step p { margin: 0; color: var(--soft); line-height: 1.5; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2rem; }
.prose p, .prose li { color: var(--soft); line-height: 1.6; }
.prose ul { padding-left: 1.2rem; }
.prose p + p { margin-top: 1rem; }

/* ——— Home hero ——— */
.home-hero {
  position: relative;
  min-height: calc(100vh - 4rem);
  min-height: calc(100dvh - 4rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 85% 20%, rgba(184, 151, 90, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 60% at 15% 90%, rgba(22, 58, 47, 0.35), transparent 50%),
    linear-gradient(155deg, var(--keyroom-green) 0%, var(--deep-green) 48%, #102820 100%);
  color: var(--cream-on-ink);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 58, 47, 0.4) 0%, rgba(22, 58, 47, 0.12) 48%, transparent 70%),
    repeating-linear-gradient(90deg, transparent, transparent 72px, rgba(255, 255, 255, 0.015) 72px, rgba(255, 255, 255, 0.015) 73px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  min-height: inherit;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 9vh, 5.5rem) 0;
  max-width: 36rem;
  padding-right: clamp(1rem, 3vw, 2rem);
}
.home-hero h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  color: var(--cream-on-ink);
  max-width: 14ch;
  margin-bottom: 1.15rem;
  line-height: 1.08;
}
.home-hero .lead {
  color: var(--muted-on-ink);
  max-width: 34ch;
  margin-bottom: 2rem;
  line-height: 1.55;
}
.home-hero .cta { gap: 0.95rem; }

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vh, 4rem) 0 clamp(2rem, 6vh, 4rem) 0.5rem;
  perspective: 1200px;
}
.stage {
  position: relative;
  width: min(100%, 420px);
  height: min(68vh, 540px);
  display: grid;
  place-items: center;
}
.phone {
  position: relative;
  width: 250px;
  height: 500px;
  border-radius: 34px;
  background: linear-gradient(160deg, #244a3e 0%, #152e26 100%);
  border: 2px solid rgba(184, 151, 90, 0.22);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg) translateY(8px);
  z-index: 1;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 20px;
  background: #0c1411;
  border-radius: 14px;
  z-index: 3;
}
.phone-screen {
  height: 100%;
  padding: 40px 15px 16px;
  background:
    radial-gradient(ellipse at 70% 0%, rgba(184, 151, 90, 0.12), transparent 45%),
    linear-gradient(180deg, #1e3d33 0%, #142821 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 2px;
}
.app-club {
  font-family: var(--card-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cream-on-ink);
}
.app-meta {
  font-size: 0.68rem;
  color: var(--muted-on-ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.member-card {
  position: relative;
  flex: 0 0 auto;
  border-radius: 14px;
  padding: 1.05rem 1rem 0.95rem;
  background:
    linear-gradient(135deg, rgba(184, 151, 90, 0.18) 0%, transparent 40%),
    linear-gradient(160deg, #244a3e 0%, var(--deep-green) 55%, #12241d 100%);
  border: 1px solid rgba(184, 151, 90, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  color: var(--cream-on-ink);
}
.card-chip {
  width: 26px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--light-brass), var(--brass));
  opacity: 0.85;
  margin-bottom: 0.55rem;
}
.card-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--light-brass);
  margin-bottom: 0.55rem;
}
.card-name {
  font-family: var(--card-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.card-number {
  margin-top: 0.9rem;
  font-family: var(--card-serif);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: rgba(244, 239, 228, 0.88);
  font-variant-numeric: tabular-nums;
}
.card-footer {
  margin-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  color: var(--muted-on-ink);
}
.card-footer .points { color: var(--light-brass); }
.app-section-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-on-ink);
}
.event-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.event-date {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(184, 151, 90, 0.15);
  border: 1px solid rgba(184, 151, 90, 0.28);
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.05;
}
.event-date strong {
  display: block;
  font-size: 0.9rem;
  color: var(--light-brass);
}
.event-date span {
  font-size: 0.52rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
}
.event-copy strong {
  display: block;
  font-size: 0.76rem;
  color: var(--cream-on-ink);
  font-weight: 600;
}
.event-copy span {
  font-size: 0.66rem;
  color: var(--muted-on-ink);
}
.float-card-art {
  position: absolute;
  right: -18%;
  top: 18%;
  width: 196px;
  z-index: 2;
  transform: rotate(9deg);
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}
.accent-mark {
  position: absolute;
  left: 6%;
  bottom: 12%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(184, 151, 90, 0.35);
  background: radial-gradient(circle at 40% 35%, rgba(184, 151, 90, 0.28), transparent 65%);
  opacity: 0.7;
  z-index: 0;
}

/* ——— Form ——— */
.form {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  background: #faf7f1;
  border: 1px solid var(--line);
}
.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(24, 32, 28, 0.18);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--brass);
}
.fine {
  font-size: 0.85rem;
  color: var(--soft);
  margin: 0;
}
.ok {
  padding: 0.85rem 1rem;
  background: rgba(30, 75, 61, 0.1);
  border-left: 3px solid var(--keyroom-green);
  color: var(--ink);
  font-weight: 600;
}

/* ——— Footer ——— */
footer {
  background: var(--deep-green);
  color: var(--muted-on-ink);
  padding: 3.5rem 0 1.75rem;
  margin-top: 0;
}
footer .wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 3vw, 2.5rem);
}
footer b {
  display: block;
  color: var(--cream-on-ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.95rem;
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
footer a {
  color: var(--muted-on-ink);
  text-decoration: none;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
footer a:hover { color: var(--light-brass); }
footer .logo { margin-bottom: 0.65rem; }
footer p { margin: 0.85rem 0 0; font-size: 0.94rem; max-width: 34ch; line-height: 1.5; }
.legal {
  width: min(100% - 2.75rem, var(--wrap));
  margin: 2.25rem auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(244, 239, 228, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.35rem;
  font-size: 0.86rem;
}
.legal span { margin-right: 0.35rem; }

/* ——— Motion ——— */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes stage-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.home-hero .hero-copy > * {
  animation: hero-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.home-hero .hero-copy > *:nth-child(2) { animation-delay: 90ms; }
.home-hero .hero-copy > *:nth-child(3) { animation-delay: 160ms; }
.home-hero .hero-copy > *:nth-child(4) { animation-delay: 230ms; }
.home-hero .hero-visual {
  animation: hero-in 950ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 180ms;
}
.home-hero .stage {
  animation: stage-float 7s ease-in-out infinite;
  animation-delay: 1.1s;
}
@media (prefers-reduced-motion: reduce) {
  .home-hero .stage { animation: none; }
  .box:hover, .panel:hover { transform: none; box-shadow: none; }
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .split, .feature, .feature.flip, .g3, .steps, footer .wrap {
    grid-template-columns: 1fr;
  }
  .feature.flip > :first-child { order: 0; }
  .g2 { grid-template-columns: 1fr; }
  .home-hero { min-height: auto; }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    max-width: none;
    padding: 2.75rem 0 1.15rem;
    padding-right: 0;
  }
  .home-hero h1 { font-size: 1.75rem; max-width: 12ch; }
  .home-hero .lead { margin-bottom: 1.65rem; }
  .home-hero .cta { gap: 0.85rem; }
  .hero-visual { padding: 0.5rem 0 2.75rem; }
  .stage { height: 460px; animation: none; width: min(100%, 320px); }
  .phone {
    width: 220px;
    height: 440px;
    transform: none;
  }
  .phone-screen {
    padding: 38px 14px 14px;
    gap: 10px;
  }
  .float-card-art {
    width: 132px;
    right: -4%;
    top: auto;
    bottom: 8%;
    transform: rotate(6deg);
    opacity: 0.96;
  }
  .section-head { margin-bottom: 1.5rem; }
  .band { padding: clamp(2.75rem, 6vh, 3.75rem) 0; }
}

@media (max-width: 520px) {
  .float-card-art { display: none; }
  .stage { height: 480px; }
  .phone {
    width: 230px;
    height: 460px;
  }
}

@media (max-width: 1280px) {
  .burger { display: inline-flex; margin-left: auto; }
  .nav-end { display: none; }
  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex: none;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--deep-green);
    padding: 0.5rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(184, 151, 90, 0.12);
  }
  .menu.open { display: flex; }
  .menu > a,
  .menu-extra > a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(244, 239, 228, 0.08);
    color: rgba(244, 239, 228, 0.78);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: normal;
  }
  .menu > a:hover,
  .menu > a[aria-current="page"],
  .menu-extra > a:hover { color: var(--cream); }
  .menu-extra {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0.25rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(244, 239, 228, 0.1);
  }
  .menu-extra .lang-switch {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(244, 239, 228, 0.08);
  }
  .menu-extra .lang-switch a {
    border-bottom: 0;
    padding: 0;
  }
  .menu .mbook {
    display: inline-flex;
    margin-top: 0.75rem;
    justify-content: center;
    background: var(--cream);
    color: var(--keyroom-green) !important;
    border: 0;
    border-bottom: 0;
    padding: 0.8rem 1rem;
    font-weight: 600;
    white-space: nowrap;
  }
  .trust-strip li:not(:last-child)::after { display: none; }
  .trust-strip ul { gap: 0.45rem 1rem; }
  .form .row { grid-template-columns: 1fr; }
}
