/* ==========================================================================
   Groovy Group — "radical" light build
   Paper base, ink type, signature gradient. Scroll-driven, transform-only.
   ========================================================================== */

:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --ink: #111114;
  --muted: #6d6b76;
  --border: rgba(17, 17, 20, 0.1);
  --accent-1: #ff5c39;
  --accent-2: #ff3d77;
  --accent-3: #a855f7;
  --grad: linear-gradient(100deg, var(--accent-1) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --nav-h: 72px;
  --radius: 24px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--accent-2); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Atmosphere
   -------------------------------------------------------------------------- */

.chaser {
  position: fixed;
  top: 0;
  left: 0;
  width: 640px;
  height: 640px;
  margin: -320px 0 0 -320px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 92, 57, 0.10) 0%, rgba(255, 61, 119, 0.07) 35%, rgba(168, 85, 247, 0.04) 60%, transparent 72%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .nav, .footer { position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 0 0 rgba(255, 92, 57, 0.5);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 92, 57, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(255, 92, 57, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 92, 57, 0); }
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.body-text { color: var(--muted); max-width: 420px; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(250, 250, 247, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav-inner {
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark { display: flex; align-items: center; user-select: none; }

.wordmark img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }

.nav-links a:not(.nav-cta) {
  color: var(--muted);
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--grad);
  transition: right 0.3s var(--ease-out);
}

.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { right: 0; }

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(17, 17, 20, 0.5); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none; border: 0; padding: 8px;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(255, 61, 119, 0.5);
}

.btn-primary:hover { box-shadow: 0 16px 38px -10px rgba(255, 61, 119, 0.6); }

.btn-ghost {
  border: 1px solid rgba(17, 17, 20, 0.18);
  color: var(--ink);
  background: rgba(17, 17, 20, 0.03);
}

.btn-ghost:hover { border-color: rgba(17, 17, 20, 0.4); background: rgba(17, 17, 20, 0.06); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-h);
  /* reserved band below the CTAs so content never crowds the marquee
     (also where the scroll hint lives) */
  padding-bottom: 130px;
}

.hero-eyebrow { margin-bottom: 28px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 7.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 34px;
}

.hero-line { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.06em; }

.hl-inner {
  display: inline-block;
  transform: translateY(112%);
  animation: rise 0.95s var(--ease-out) forwards;
}

.hero-line:nth-child(1) .hl-inner { animation-delay: 0.08s; }
.hero-line:nth-child(2) .hl-inner { animation-delay: 0.2s; }
.hero-line:nth-child(3) .hl-inner { animation-delay: 0.32s; }

@keyframes rise { to { transform: translateY(0); } }

/* word cycler */
.cycler {
  display: inline-grid;
  text-align: left;
  vertical-align: bottom;
  overflow: hidden;
  /* overflow alone doesn't clip transformed grid items reliably here */
  clip-path: inset(0 -0.1em);
}

.cycle-word {
  grid-area: 1 / 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(105%);
  transition: transform 0.62s var(--ease-out), opacity 0.4s ease;
  will-change: transform;
}

.cycle-word.is-active { opacity: 1; transform: translateY(0); }

/* fast opacity exit so glyph fragments never show outside the line box */
.cycle-word.is-leaving {
  opacity: 0;
  transform: translateY(-105%);
  transition: transform 0.62s var(--ease-out), opacity 0.2s ease;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.5s forwards;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.64s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-hint {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeUp 1s ease 1.3s forwards;
}

/* short windows: no room for the hint band decoration */
@media (max-height: 760px) {
  .scroll-hint { display: none; }
  .hero { padding-bottom: 90px; }
}

.scroll-hint-line {
  display: block;
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(17, 17, 20, 0.4));
  position: relative;
  overflow: hidden;
}

.scroll-hint-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--ink));
  transform: translateY(-100%);
  animation: scrollDrop 2.2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
  background: var(--surface);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-track i {
  font-style: normal;
  font-size: 13px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats { padding: 110px 0 90px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(17, 17, 20, 0.03), 0 14px 34px -20px rgba(17, 17, 20, 0.12);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.7rem;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat-label { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* --------------------------------------------------------------------------
   The Groovy way — sticky ink-fill manifesto
   -------------------------------------------------------------------------- */

.way { height: 320vh; position: relative; }

.way-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.way-lines { display: flex; flex-direction: column; gap: 3.2vw; margin-top: 10px; }

.way-line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: rgba(17, 17, 20, 0.16);
  text-wrap: balance;
}

/* fill is word-by-word (JS splits lines into .way-word) so wrapped
   sentences ink in reading order at every viewport */
.way-word { transition: color 0.2s linear; }
.way-word.lit { color: var(--ink); }

/* --------------------------------------------------------------------------
   Brand deck
   -------------------------------------------------------------------------- */

.deck-intro { padding: 130px 0 70px; }

.deck { padding-bottom: 130px; }

.deck-card {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  min-height: 72svh;
  width: min(1160px, 100% - 48px);
  margin: 0 auto 26px;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 20, 0.08);
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(17, 17, 20, 0.03), 0 30px 60px -30px rgba(17, 17, 20, 0.22);
  will-change: transform;
  transform-origin: center top;
}

.tint-peach { background: #fff1ea; }
.tint-mint { background: #eaf7ef; }
.tint-lavender { background: #f0efff; }
.tint-lemon { background: #fff8e5; }
.tint-sky { background: #eaf4ff; }

.deck-card-inner {
  position: relative;
  height: 100%;
  min-height: 72svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.deck-text {
  padding: clamp(28px, 5vw, 64px);
  /* reserve the absolute meta's zone so short viewports can't collide it
     with the tag pill */
  padding-top: calc(clamp(24px, 4vw, 48px) + 56px);
  /* extra bottom air keeps the CTA clear of the next card sliding over */
  padding-bottom: clamp(72px, 8vw, 110px);
  display: flex;
  flex-direction: column;
  /* centered, not bottom-hung: short-copy cards (CN) get no dead zone */
  justify-content: center;
  gap: 18px;
  min-width: 0;
}

.deck-media {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

.deck-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deck-media-contain { background: #eaf4ff; }
.deck-media-contain img { object-fit: contain; }

.deck-logo { width: auto; display: block; }

.deck-logo-chip {
  background: var(--ink);
  border-radius: 8px;
  padding: 6px 10px;
  box-sizing: content-box;
}

.deck-meta {
  position: absolute;
  top: clamp(24px, 4vw, 48px);
  left: clamp(28px, 5vw, 64px);
  display: flex;
  gap: 20px;
  align-items: center;
}

.deck-text .deck-tag { align-self: flex-start; }

.deck-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: rgba(17, 17, 20, 0.55);
  font-variant-numeric: tabular-nums;
}

.deck-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 20, 0.6);
  border: 1px solid rgba(17, 17, 20, 0.14);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 7px 14px;
}

.deck-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.deck-desc { color: rgba(17, 17, 20, 0.62); max-width: 520px; font-size: 16.5px; text-wrap: pretty; }

.deck-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-self: flex-start;
}

.deck-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-weight: 600;
  font-size: 15.5px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  will-change: transform;
}

.deck-link:hover { box-shadow: 0 12px 26px -10px rgba(17, 17, 20, 0.5); }

.deck-link i { font-style: normal; transition: transform 0.3s var(--ease-out); }
.deck-link:hover i { transform: translate(2px, -2px); }

/* --------------------------------------------------------------------------
   Photo strip
   -------------------------------------------------------------------------- */

.strip {
  padding: 26px 0 90px;
  overflow: hidden;
}

.strip-label {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

.strip-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: stripScroll 70s linear infinite;
}

.strip:hover .strip-track { animation-play-state: paused; }

.strip-track img {
  height: clamp(170px, 24vw, 250px);
  width: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
}

@keyframes stripScroll { to { transform: translateX(calc(-50% - 7px)); } }

/* --------------------------------------------------------------------------
   Doors
   -------------------------------------------------------------------------- */

.doors { padding: 130px 0; }

.door-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.door {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 34px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(17, 17, 20, 0.03), 0 14px 34px -20px rgba(17, 17, 20, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease;
}

.door::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}

.door:hover {
  transform: translateY(-6px);
  border-color: rgba(17, 17, 20, 0.22);
  box-shadow: 0 2px 4px rgba(17, 17, 20, 0.04), 0 24px 48px -22px rgba(17, 17, 20, 0.2);
}

.door:hover::before { transform: scaleY(1); }

.door-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.door h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.door p { color: var(--muted); font-size: 15.5px; flex-grow: 1; text-wrap: pretty; }

.door-cta {
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.door-cta i { font-style: normal; transition: transform 0.3s var(--ease-out); }
.door:hover .door-cta i { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Selling steps
   -------------------------------------------------------------------------- */

.selling { padding: 0 0 130px; }

.sell-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.sell-steps li {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(17, 17, 20, 0.03), 0 14px 34px -20px rgba(17, 17, 20, 0.12);
}

.sell-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.sell-steps p { color: var(--muted); font-size: 15.5px; text-wrap: pretty; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  padding: 130px 0;
  background: linear-gradient(to bottom, transparent, rgba(17, 17, 20, 0.026) 15%, rgba(17, 17, 20, 0.026) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 72px;
  align-items: start;
}

.contact-address {
  font-style: normal;
  color: var(--muted);
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid;
  border-image: var(--grad) 1;
  line-height: 1.8;
}

.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(17, 17, 20, 0.03), 0 24px 48px -28px rgba(17, 17, 20, 0.16);
}

.topic-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }

.chip {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 20, 0.16);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.chip:hover { border-color: rgba(17, 17, 20, 0.4); color: var(--ink); }

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { position: relative; margin-bottom: 18px; }

.field input,
.field textarea {
  width: 100%;
  background: rgba(17, 17, 20, 0.033);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 16px 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.25s ease, background 0.25s ease;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  background: #fff;
}

.field label {
  position: absolute;
  left: 16px; top: 17px;
  color: var(--muted);
  font-size: 16px;
  pointer-events: none;
  transition: all 0.2s var(--ease-out);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: 7px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.field .opt { font-size: 0.85em; opacity: 0.7; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.btn-submit { width: 100%; margin-top: 6px; }
.btn-submit[disabled] { opacity: 0.65; cursor: wait; }

.form-status { margin-top: 16px; font-size: 15px; text-align: center; }
.form-status:empty { display: none; }
.form-status.ok { color: #17804b; }
.form-status.err { color: #c03434; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  overflow: hidden;
}

.footer-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(6rem, 22vw, 19rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(17, 17, 20, 0.14);
  user-select: none;
  margin-bottom: 34px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  font-size: 15px;
  color: var(--muted);
}

.footer-links a { transition: color 0.25s ease; }
.footer-links a:hover { color: var(--ink); }

.footer-fine { color: var(--muted); font-size: 13.5px; opacity: 0.8; }

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .stats { padding: 80px 0 60px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sell-steps { grid-template-columns: 1fr; }

  .door-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .deck-card { min-height: 64svh; }
  .deck-card-inner { min-height: 64svh; }

  .way { height: 260vh; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: rgba(250, 250, 247, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px 26px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out), visibility 0.3s;
  }

  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: 12px 0; font-size: 18px; width: 100%; }
  .nav-cta { text-align: center; margin-top: 10px; padding: 14px 20px; }
  .nav-burger { display: flex; }
  .wordmark img { height: 26px; }

  .hero-ctas .btn { width: 100%; }
  /* stacked fields flow with their own margins so the gap stays even */
  .form-row { display: contents; }
  .contact-form { padding: 28px 22px; }

  .deck-card {
    top: calc(var(--nav-h) + 12px);
    /* cards must fit a phone viewport or CTAs live below the fold forever */
    max-height: calc(100svh - var(--nav-h) - 24px);
  }
  .deck-card-inner {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(110px, 28svh) minmax(0, 1fr);
    min-height: 0;
  }
  .deck-media { order: -1; }
  .deck-text {
    padding: 22px;
    padding-bottom: 40px;
    padding-top: 22px;
    gap: 12px;
    overflow: hidden;
  }
  /* meta joins the flow above the tag: no more badges on photos.
     one full-width row (number left, logo right), tag tucked close under,
     then a clear break before the name */
  .deck-meta {
    position: static;
    width: 100%;
    justify-content: space-between;
    margin-bottom: -4px;
  }
  .deck-name { font-size: clamp(2rem, 8vw, 2.6rem); margin-top: 6px; }
  .deck-desc { font-size: 15px; }
  /* GA browser mockup: fill the pane instead of floating in letterbox */
  .deck-media-contain img { object-fit: cover; }
  .strip-track img { height: 150px; }
  .strip-label { padding: 0 24px; text-align: center; }
  .footer-mark { font-size: 24vw; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .chaser, .pulse-dot, .marquee-track, .strip-track, .scroll-hint-line::after { animation: none !important; }
  .strip { overflow-x: auto; }
  .chaser { display: none; }

  .hl-inner { transform: none; animation: none; }
  .hero-sub, .hero-ctas, .scroll-hint { opacity: 1; animation: none; }

  .cycle-word { transition: none; }
  .cycle-word:not(.is-active) { visibility: hidden; }

  .way { height: auto; padding: 110px 0; }
  .way-sticky { position: static; height: auto; }
  .way-line, .way-word { color: var(--ink); }

  .deck-card { position: relative; top: auto; }

  .reveal { opacity: 1; transform: none; transition: none; }
}
