/* ==========================================================
   REFINEMENTS — Chalmers Hockey Sponsor Site
   Layered on top of main.css. Keeps original palette
   (PMS 289 navy, PMS 187 red, white). Polishes hero,
   rebuilds jersey picker for real-photo mockups, adds
   tweakable variants + tweaks panel.
   ========================================================== */

/* ============ HERO REFINEMENTS ============ */

/* Kill the messy fireworks background — replaced with a cleaner stadium-photo treatment */
.hero-fireworks--off,
.hero-fireworks--off img {
  display: none !important;
}

/* Subtle stadium photo behind everything — barely there, but adds depth */
.hero-stadium {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-stadium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  opacity: 0.18;
  filter: saturate(0.5) contrast(1.1) brightness(0.7) blur(1px);
  mask-image: radial-gradient(ellipse at 70% 50%, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 75%);
}

/* Ice glow — soft cyan light at bottom, sells the "rink ice" feel */
.hero-iceglow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(108, 175, 219, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 70% 90%, rgba(166, 25, 46, 0.12) 0%, transparent 70%);
  filter: blur(20px);
}

/* Editorial display type — tighter, bigger, more confident */
.hero--refined .display {
  font-size: clamp(2.8rem, 7.6vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: -0.015em;
  font-weight: 900;
}
.hero--refined .display .accent {
  position: relative;
  display: inline-block;
  color: #fff;
  background: linear-gradient(180deg, transparent 60%, var(--red-2) 60%, var(--red-2) 92%, transparent 92%);
  padding: 0 0.1em;
}

.hero--refined .hero-since {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.7rem, 1vw, 0.85rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.32em !important;
  color: var(--muted) !important;
  margin-top: 1.4em !important;
  opacity: 0.85;
}

/* ===== EMERGENCY: force hero text visibility ===== */
.hero--refined .hero-inner {
  position: relative !important;
  z-index: 5 !important;
}
.hero--refined .hero-text,
.hero--refined .hero-text *,
.hero--refined .hero-text .fade-in,
.hero--refined .hero-text .eyebrow,
.hero--refined .hero-text h1,
.hero--refined .hero-text p,
.hero--refined .hero-text .hero-ctas,
.hero--refined .hero-text .hero-stats,
.hero--refined .hero-text .hero-since {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transform: none !important;
}
.hero--refined .hero-text {
  position: relative !important;
  z-index: 10 !important;
  display: block !important;
  color: #fff !important;
}
.hero--refined .hero-text h1 {
  color: #fff !important;
}

/* Hero text gets a max-width + slight backdrop for legibility against photo */
.hero--refined .hero-text {
  max-width: 56ch;
  position: relative;
  z-index: 10 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}
.hero--refined .hero-text > *,
.hero--refined .hero-text .fade-in {
  opacity: 1 !important;        /* defeat fade-in animation start state */
  animation: none !important;   /* skip the fade-in animation entirely */
}
.hero--refined p.lead {
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.7;
  max-width: 48ch;
}

/* Hero stats strip — small data points right below CTAs */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
  max-width: 48rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.hero-stat-num {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-stat-num .unit {
  font-size: 0.55em;
  color: var(--red-2);
  margin-left: 0.15em;
  font-weight: 700;
}
.hero-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  font-weight: 600;
}

/* Hero player image — tighter framing, drop subtle shadow */
.hero--refined .hero-player {
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55)) drop-shadow(0 0 80px rgba(166,25,46,0.18));
}
.hero--refined .hero-visual::before {
  background: radial-gradient(ellipse at center, rgba(166, 25, 46, 0.48) 0%, transparent 65%);
  bottom: 22%;
  width: 50%;
  height: 50%;
  filter: blur(70px);
}

/* SUHL chip refinement */
.hero--refined .hero-suhl {
  background: rgba(12, 35, 64, 0.55);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding: 0.55rem 0.9rem 0.55rem 0.9rem;
}
.hero--refined .hero-suhl img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  height: 18px;
}
.hero--refined .hero-suhl::before {
  color: var(--muted-2);
  letter-spacing: 0.3em;
}

/* ============ HERO LAYOUT VARIANTS ============ */

/* Variant: "centered" — text centered, photo behind as full-bleed treatment */
.hero--refined[data-hero-layout="centered"] .hero-text {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 64ch;
  padding-right: 0 !important;
}
.hero--refined[data-hero-layout="centered"] .hero-stats {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
.hero--refined[data-hero-layout="centered"] .hero-ctas {
  justify-content: center;
}
@media (min-width: 901px) {
  .hero--refined[data-hero-layout="centered"] .hero-inner {
    padding-right: 0 !important;
  }
  .hero--refined[data-hero-layout="centered"] .hero-visual {
    left: auto;
    right: 0;
    width: 60%;
    opacity: 0.5;
  }
  .hero--refined[data-hero-layout="centered"] .hero-player {
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55)) drop-shadow(0 0 80px rgba(166,25,46,0.18)) saturate(0.7);
  }
}

/* Variant: "stadium" — full-bleed stadium photo as main hero background, text overlaid */
.hero--refined[data-hero-layout="stadium"] .hero-stadium img {
  opacity: 0.42;
  filter: saturate(0.9) contrast(1.2) brightness(0.75);
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
}
.hero--refined[data-hero-layout="stadium"] .hero-visual {
  opacity: 0.25;
  filter: grayscale(0.5);
}

/* ============ JERSEY PHOTO MOCKUP ============ */

.jersey-stage {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .jersey-stage {
    grid-template-columns: 1fr;
  }
}

.jersey-col {
  position: relative;
}

/* Override existing jersey-toggle to support 4 buttons */
.jersey-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: rgba(12,35,64,0.55);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem;
  margin: 0 0 1.4rem;
  width: fit-content;
  max-width: 100%;
}
.jersey-toggle button {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.jersey-toggle button.active {
  background: var(--red-2);
  color: #fff;
  box-shadow: 0 6px 16px -6px var(--red-glow);
}
.jersey-toggle button:not(.active):hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

/* Photo mockup container */
.jersey-photo-mockup {
  display: none;
  flex-direction: column;
}
.jersey-photo-mockup.active {
  display: flex;
}

.jersey-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(30, 58, 111, 0.65) 0%, rgba(6, 15, 28, 0.95) 80%),
    var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
}
.jersey-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.05) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(166,25,46,0.08) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}
.jersey-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 70%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.jersey-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 2;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
}

.jersey-photo-frame--schematic .schematic-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Hotspot overlay layer — sits above the photo */
.hotspot-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.hotspot-layer .hotspot {
  pointer-events: auto;
}

/* Individual hotspot — a circular interactive button */
.hotspot {
  position: absolute;
  width: 7.5%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  color: #fff;
  background: rgba(12,35,64,0.0);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease;
  outline: none;
}
.hotspot > span {
  font-size: clamp(0.7rem, 1.5vw, 1.1rem);
  line-height: 1;
  transform: translateY(0.04em);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Pants hotspots use larger pill-shape to match the tall A/B letters on the pants */
.hotspot.pants-zone {
  width: 12%;
  aspect-ratio: auto;
  height: 17%;
  border-radius: 28%;
}
.hotspot.pants-zone > span {
  font-size: clamp(1.05rem, 2.2vw, 1.65rem);
}

.hotspot.free {
  border-color: rgba(52, 211, 153, 0.85);
  background: rgba(52, 211, 153, 0.18);
  box-shadow:
    0 0 0 0 rgba(52, 211, 153, 0.45),
    0 4px 14px rgba(52, 211, 153, 0.18);
  animation: hotspotPulse 2.4s ease-in-out infinite;
}
.hotspot.taken {
  border-color: rgba(200, 36, 58, 0.9);
  background: rgba(166, 25, 46, 0.32);
  border-style: dashed;
  box-shadow: 0 4px 14px rgba(166, 25, 46, 0.25);
}
.hotspot:hover,
.hotspot:focus-visible {
  transform: translate(-50%, -50%) scale(1.12);
  z-index: 6;
}
.hotspot.free:hover,
.hotspot.free:focus-visible {
  background: rgba(52, 211, 153, 0.45);
  border-color: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2), 0 6px 22px rgba(52, 211, 153, 0.35);
  animation-play-state: paused;
}
.hotspot.taken:hover,
.hotspot.taken:focus-visible {
  background: rgba(200, 36, 58, 0.5);
  border-color: #ff5a72;
  box-shadow: 0 0 0 4px rgba(200, 36, 58, 0.18), 0 6px 22px rgba(200, 36, 58, 0.35);
}

@keyframes hotspotPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45), 0 4px 14px rgba(52, 211, 153, 0.18);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(52, 211, 153, 0), 0 4px 14px rgba(52, 211, 153, 0.18);
  }
}

/* Status badge sticker on the photo frame */
.jersey-photo-frame .frame-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(6,15,28,0.65);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Label below mockup */
.jersey-mockup-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-style: normal;
}
.jersey-mockup-label .lbl-num {
  color: var(--red-2);
  font-weight: 700;
}
.jersey-mockup-label .lbl-tag {
  margin-left: 0.4rem;
  padding: 0.18rem 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  color: var(--muted-2);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

/* Mockup thumbnail strip — alt nav under the main mockup */
.mockup-strip {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(12,35,64,0.35);
  width: fit-content;
}
.strip-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(12,35,64,0.6);
  border: 1px solid transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: all 0.18s ease;
  opacity: 0.7;
}
.strip-thumb img,
.strip-thumb svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.strip-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.strip-thumb.active {
  opacity: 1;
  border-color: var(--red-2);
  box-shadow: 0 4px 14px -4px var(--red-glow);
}

/* ============ JERSEY STYLE VARIANT: SCHEMATIC ============ */
.jersey-stage[data-jersey-style="schematic"] .jersey-photo {
  filter: grayscale(0.7) brightness(0.6) contrast(1.1);
  opacity: 0.55;
}
.jersey-stage[data-jersey-style="schematic"] .jersey-photo-frame {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 24px),
    var(--bg-2);
}
.jersey-stage[data-jersey-style="schematic"] .hotspot {
  background: rgba(12,35,64,0.85) !important;
  backdrop-filter: blur(2px);
}
.jersey-stage[data-jersey-style="schematic"] .hotspot > span {
  font-size: clamp(0.8rem, 1.7vw, 1.2rem);
}

/* Variant: "minimal" — just outlines on hotspots, photo at full clarity */
.jersey-stage[data-jersey-style="minimal"] .hotspot {
  background: transparent !important;
  animation: none !important;
}
.jersey-stage[data-jersey-style="minimal"] .hotspot.free {
  border-color: #34d399;
  box-shadow: 0 0 0 2px rgba(52,211,153,0.18);
}
.jersey-stage[data-jersey-style="minimal"] .hotspot.taken {
  border-color: #c8243a;
  box-shadow: 0 0 0 2px rgba(200,36,58,0.18);
}
.jersey-stage[data-jersey-style="minimal"] .hotspot > span {
  background: rgba(6,15,28,0.85);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: clamp(0.7rem, 1.4vw, 1rem);
}

/* ============ PARTNERS REFINEMENTS ============ */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.partner-card {
  background: linear-gradient(155deg, rgba(21, 53, 91, 0.5) 0%, rgba(12, 35, 64, 0.3) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem 1.4rem;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(166,25,46,0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.partner-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.partner-card:hover::before {
  opacity: 1;
}
.partner-card img {
  max-width: 75%;
  max-height: 60%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.78;
  transition: opacity 0.25s ease, filter 0.25s ease;
  position: relative;
  z-index: 2;
}
.partner-card:hover img {
  opacity: 1;
}

/* Tease card — "become next partner" */
.partner-card--tease {
  cursor: pointer;
  text-decoration: none;
  background:
    repeating-linear-gradient(45deg, rgba(166,25,46,0.06) 0px, rgba(166,25,46,0.06) 8px, transparent 8px, transparent 18px),
    var(--bg-2);
  border: 1.5px dashed rgba(200,36,58,0.4);
  flex-direction: column;
  gap: 0.4rem;
  color: var(--muted);
}
.partner-card--tease:hover {
  border-color: var(--red-2);
  color: var(--text);
  transform: translateY(-2px);
}
.partner-card--tease .tease-plus {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--red-2);
  line-height: 0.8;
}
.partner-card--tease .tease-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
}

/* ============ TWEAKS PANEL ============ */

.tweaks-panel {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 320px;
  max-height: calc(100vh - 2.4rem);
  background: linear-gradient(180deg, rgba(21, 53, 91, 0.98) 0%, rgba(12, 35, 64, 0.98) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 1.2rem;
  z-index: 9999;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
}
.tweaks-panel--hidden {
  display: none;
}
.tweaks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.9rem;
}
.tweaks-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tweaks-title .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-2);
  margin-right: 0.4rem;
  vertical-align: middle;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.tweaks-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.tweaks-close:hover {
  color: var(--text);
  border-color: var(--red-2);
}
.tweaks-body {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding-right: 0.2rem;
}
.tweak-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.tweak-segmented {
  display: flex;
  gap: 0.25rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.25rem;
}
.tweak-segmented button {
  flex: 1;
  padding: 0.5rem 0.4rem;
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.15s ease;
}
.tweak-segmented button.active {
  background: var(--red-2);
  color: #fff;
}
.tweak-segmented button:not(.active):hover {
  color: var(--text);
}
.tweak-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}
.tweak-toggle-label {
  font-size: 0.85rem;
  color: var(--text);
}
.tweak-switch {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
}
.tweak-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.tweak-switch[aria-checked="true"] {
  background: var(--red-2);
}
.tweak-switch[aria-checked="true"]::after {
  transform: translateX(16px);
}
.tweak-hint {
  font-size: 0.72rem;
  color: var(--muted-2);
  line-height: 1.4;
  margin-top: 0.2rem;
}

@media (max-width: 600px) {
  .tweaks-panel {
    left: 0.7rem;
    right: 0.7rem;
    width: auto;
    bottom: 0.7rem;
  }
}

/* ============ HOTSPOT TOOLTIP ENHANCEMENT ============ */
/* The original .zone-tooltip styles handle this — just ensure visibility above hotspots */
#zone-tooltip {
  z-index: 9998;
}

/* ============ ZONE PHOTO HERO IN MODAL ============ */
.zone-photo-hero {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 1.2rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #0c2340 0%, #15355b 100%);
  border: 1px solid var(--border);
  isolation: isolate;
}
.zone-photo-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.zone-photo-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6,15,28,0.45) 100%);
  pointer-events: none;
}
.zone-photo-caption {
  position: absolute;
  left: 1.2rem;
  bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #fff;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  background: rgba(6, 15, 28, 0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.zone-photo-caption .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse-dot 1.6s ease-in-out infinite;
}

.zone-photo-hero--fallback {
  aspect-ratio: 4 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 8px, transparent 8px, transparent 18px),
    linear-gradient(135deg, #0c2340 0%, #15355b 100%);
  gap: 0.4rem;
}
.zone-photo-hero--fallback .zone-fallback-icon {
  font-size: 1.4rem;
  opacity: 0.5;
}
.zone-photo-hero--fallback .zone-fallback-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  text-align: center;
  line-height: 1.6;
}
.zone-photo-hero--fallback .zone-fallback-text small {
  font-size: 0.85em;
  opacity: 0.6;
  letter-spacing: 0.15em;
}

/* Tighten the modal's first child after the photo hero */
.modal .zone-photo-hero + .modal-eyebrow,
.modal .zone-photo-hero + h3 {
  margin-top: 0;
}

/* When a zone photo is present, boost the close button so it stays legible */
.modal:has(.zone-photo-hero) .modal-close {
  background: rgba(6, 15, 28, 0.7);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  z-index: 3;
}

/* ============ HERO MEDIA TWEAK ============ */
.hero--refined[data-hero-media="cutout"] .hero-stadium {
  opacity: 0.35;
}
.hero--refined[data-hero-media="pyro"] .hero-stadium img {
  opacity: 0.5;
  filter: saturate(1.4) contrast(1.15) brightness(0.78) blur(0px);
  mask-image: linear-gradient(to left, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 35%, transparent 70%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 35%, transparent 70%);
}
.hero--refined[data-hero-media="clean"] .hero-stadium {
  display: none;
}

/* ============ CALCULATOR VISUAL VARIANTS ============ */
.calc-section[data-calc-style="compact"] .calc-form {
  padding: 1.4rem;
}
.calc-section[data-calc-style="compact"] .budget-grid {
  gap: 0.4rem;
}
.calc-section[data-calc-style="compact"] .budget-btn {
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
}
.calc-section[data-calc-style="compact"] .step-label {
  font-size: 0.78rem;
}
.calc-section[data-calc-style="card"] .calc-form,
.calc-section[data-calc-style="card"] .calc-result {
  background: linear-gradient(160deg, rgba(21, 53, 91, 0.7) 0%, rgba(17, 44, 77, 0.5) 100%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 50px -25px rgba(0,0,0,0.55);
}

/* Slightly tidy zone-list (legend) typography */
.zone-list li {
  font-size: 0.9rem;
}
.zl-letter {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  color: var(--red-2);
  width: 1.6rem;
  display: inline-block;
}

/* SUHL chip with whiter look */
.hero-suhl img {
  filter: brightness(0) invert(1) !important;
}


/* ============================================================
   ROUND 2 — Iteration based on detailed feedback
   ============================================================ */

/* ---------- Hero typography fix (Å/N collision) ---------- */
.hero--refined {
  overflow-x: hidden;     /* hide right-edge player overflow */
}
.hero--refined .display {
  line-height: 1.08 !important;        /* more breathing room — was 0.96 */
  letter-spacing: 0.01em !important;
  word-spacing: 0.04em;
}
.hero--refined .display > span,
.hero--refined .display .accent {
  /* Ensure each line has padding-top so descender-cap-ascender stacks cleanly */
  padding-top: 0.06em;
  display: inline-block;
}
.hero--refined .display .accent {
  padding-bottom: 0.06em;
}

/* ---------- Hero PLAYER — match inspiration reference ----------
   The player should: occupy right half, span nearly full hero height,
   head near top, slightly overlap text on the left edge. */
.hero--refined .hero-visual {
  position: absolute !important;
  top: clamp(3rem, 5vh, 4.5rem) !important;
  right: -2% !important;
  bottom: 0 !important;
  left: clamp(32%, 36%, 42%) !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  pointer-events: none;
  z-index: 1;
  overflow: visible !important;
}
.hero--refined .hero-player-wrap {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible !important;
  position: relative;
}
.hero--refined .hero-player {
  display: block;
  width: auto;
  height: 100%;          /* lock height to container — image is landscape, will overflow horizontally */
  max-height: none;
  max-width: none;
  object-fit: contain;
  object-position: bottom right;
  transform: translateX(28%);
  z-index: 1;
  transform-origin: bottom right;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55)) drop-shadow(0 0 80px rgba(166,25,46,0.18));
}

/* Red rim-light glow should sit behind the player's torso, not low */
.hero--refined .hero-visual::before {
  content: '';
  position: absolute;
  right: 12%;
  top: 30%;
  bottom: auto;
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(166, 25, 46, 0.48) 0%, transparent 65%);
  filter: blur(70px);
  z-index: -1;
}

/* ---------- SUHL chip on the RIGHT ---------- */
.hero-suhl--right {
  left: auto !important;
  right: clamp(1.6rem, 4vw, 3rem) !important;
  bottom: clamp(1.6rem, 4vh, 2.4rem) !important;
}

/* ---------- Hero PLAYER variants ----------
   default = polished current position
   "up-right" = move up & right + scale up (user's primary request)
   "left" = mirror to the left side */
.hero--refined[data-hero-player="up-right"] .hero-visual {
  left: 22%;
  right: -2%;
  top: clamp(2rem, 4vh, 3.5rem);
}
.hero--refined[data-hero-player="up-right"] .hero-player {
  transform: translateX(8%) scale(1.45);
  transform-origin: top right;
}
.hero--refined[data-hero-player="left"] .hero-visual {
  right: 45%;
  left: -5%;
}
.hero--refined[data-hero-player="left"] .hero-player {
  transform: translateX(8%) scale(1.25) scaleX(-1);
}
.hero--refined[data-hero-player="big"] .hero-player {
  transform: translateX(-4%) scale(1.55);
}
.hero--refined[data-hero-player="big"] .hero-visual {
  top: 0;
  left: 18%;
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.videos-section {
  padding: clamp(4.5rem, 10vh, 7rem) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.videos-section .section-head { margin-bottom: 2.6rem; }

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) {
  .videos-grid { grid-template-columns: 1fr; }
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  transition: transform 0.25s ease;
}
.video-card:hover { transform: translateY(-4px); }

.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 740px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-secondary, #0a1428);
}

.video-thumb iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.video-platform {
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.video-platform.tiktok { background: rgba(37,244,238,0.12); color: var(--tiktok); }
.video-platform.insta  { background: rgba(225,48,108,0.12); color: var(--insta); }

.video-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}

/* Video font experiments (cycled via Tweaks) */
.videos-section[data-video-font="display"] .video-title { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; }
.videos-section[data-video-font="serif"] .video-title { font-family: 'Manrope', serif; font-weight: 700; font-style: italic; letter-spacing: -0.01em; }
.videos-section[data-video-font="mono"] .video-title { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1rem; line-height: 1.4; }

.videos-note {
  margin-top: 1.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
  opacity: 0.7;
}

/* ============================================================
   MERITER LAYOUT VARIANTS
   ============================================================ */
/* default = current "split" (image left, text right)
   "stacked" = full-width image on top, stats centered below
   "stats-first" = stats grid as hero, image inset as sidebar */
.support-section[data-meriter-layout="stacked"] .support-grid {
  grid-template-columns: 1fr !important;
}
.support-section[data-meriter-layout="stacked"] .support-image {
  aspect-ratio: 21 / 9 !important;
  max-height: 320px;
}
.support-section[data-meriter-layout="stacked"] .support-text {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.support-section[data-meriter-layout="stacked"] .support-stats {
  justify-content: center;
}

.support-section[data-meriter-layout="stats-first"] .support-grid {
  grid-template-columns: 1fr !important;
}
.support-section[data-meriter-layout="stats-first"] .support-stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.support-section[data-meriter-layout="stats-first"] .support-stat {
  background: linear-gradient(160deg, rgba(21,53,91,0.55) 0%, rgba(12,35,64,0.4) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  text-align: center;
}
.support-section[data-meriter-layout="stats-first"] .support-stat strong {
  font-size: 2.4rem;
  display: block;
  color: var(--red-2);
}

/* ============================================================
   CALCULATOR COLOR FIX — match brochure navy
   ============================================================ */
.calc-section {
  background: var(--bg) !important;          /* same as rest of page */
  border-top: 1px solid var(--border);
}
.calc-section .calc-form,
.calc-section .calc-result {
  background: linear-gradient(155deg, rgba(12, 35, 64, 0.65) 0%, rgba(6, 15, 28, 0.85) 100%);
  border: 1px solid var(--border);
}
.calc-section .budget-btn.active,
.calc-section .chip.active {
  background: var(--red-2) !important;
  color: #fff !important;
  border-color: var(--red-2) !important;
}
.calc-section .step-num {
  background: var(--red-2);
  color: #fff;
}
.calc-section .select:focus {
  border-color: var(--red-2);
  outline: none;
}

/* ============================================================
   JERSEY MOCKUP — smaller, tighter
   ============================================================ */
.jersey-stage {
  grid-template-columns: 1fr 1.1fr !important;
  gap: 2.6rem;
  align-items: start;
}
.jersey-col {
  max-width: 460px;
}
.jersey-photo-frame {
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0;
}
.jersey-photo {
  object-fit: contain;
  padding: 6%;
}
.mockup-strip { gap: 0.4rem; padding: 0.4rem; }
.strip-thumb { width: 44px; height: 44px; }

@media (max-width: 900px) {
  .jersey-stage {
    grid-template-columns: 1fr !important;
  }
  .jersey-col { max-width: 100%; margin: 0 auto; }
}

/* ============================================================
   ZONE LIST — compact 2-column grid of letter + name + price
   ============================================================ */
.zone-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.zone-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}
.zl-letter {
  width: 28px;
  height: 28px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: var(--red-2);
  background: rgba(166, 25, 46, 0.14);
  border: 1px solid rgba(200, 36, 58, 0.35);
  border-radius: 6px;
  flex-shrink: 0;
}
.zl-name {
  color: var(--text);
  font-weight: 500;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.zl-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .zone-list { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION ORDER MARKERS — keep mockup label visible above photo
   ============================================================ */
.jersey-mockup-label { margin-top: 0.9rem; }

/* ============================================================
   HERO PLAYER OVERFLOW — bigger player whose lower body extends
   below the hero, sitting BEHIND the next section's text for depth.
   ============================================================ */

/* 1. Let the hero release its grip — overflow visible + drop the
      isolation stacking context so internals can interleave with
      the next section by z-index. */
.hero--refined {
  overflow: visible !important;
  isolation: auto !important;
}

/* 2. Player visual is now TOP-anchored — directly controlling
      container_top gives us precise control over where the upraised
      glove (~13% from image top) lands, regardless of viewport. */
.hero--refined .hero-visual {
  top: clamp(80px, 12vh, 140px) !important;
  bottom: auto !important;
  height: auto !important;
  z-index: 2 !important;
  /* Container anchored to viewport right with generous horizontal
     room so the image is never clipped. */
  left: clamp(34%, 42%, 52%) !important;
  right: 0 !important;
  align-items: flex-start !important;
}

/* Top-anchor the image inside its wrap so we control its vertical
   position via the visual container's `top`. */
.hero--refined .hero-player-wrap {
  align-items: flex-start !important;
  height: auto !important;
}

/* 3. Cropped player image — height-based sizing so the figure
      tracks the hero's vertical scale. With top-anchoring, glove_y
      = top + 0.13 × height, so we can pin the glove near h1.top. */
.hero--refined .hero-player {
  height: clamp(660px, 100vh, 1300px) !important;
  width: auto !important;
  max-height: none !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: top right !important;
  transform: none !important;
  transform-origin: top right !important;
}

/* Hero text column doesn't crash into the player. */
.hero--refined .hero-text {
  max-width: clamp(30ch, 40vw, 52ch) !important;
}

/* Hero text MUST stay above the player when they overlap on the
   left edge. Refinements already set z-index:10 — bump well above
   the player. */
.hero--refined .hero-text,
.hero--refined .hero-inner {
  z-index: 12 !important;
}
.hero--refined .hero-suhl {
  z-index: 12 !important;
}

/* 4. Reach section (now first after hero): background sits ABOVE
      the player so the skates disappear behind the next section
      (acts like a horizon line); content sits above the background. */
.reach {
  position: relative;
  background: transparent !important;
  overflow: visible;
}
.reach::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  z-index: 5;
  pointer-events: none;
}
.reach > .container {
  position: relative;
  z-index: 15;
}

/* 6. Mobile: collapse the overflow — player sits in its column as
      before, no awkward overlap on narrow screens. */
@media (max-width: 900px) {
  .hero--refined { overflow: hidden !important; }
  .hero--refined .hero-visual {
    bottom: 0 !important;
    z-index: 1 !important;
  }
  .hero--refined .hero-player {
    width: auto !important;
    height: clamp(360px, 55vh, 520px) !important;
    transform: none !important;
    transform-origin: bottom center !important;
  }
}

/* ============================================================
   STATS PROOF — above calculator
   ============================================================ */
.stats-proof {
  margin: 2rem 0 2.4rem;
  padding: 1.6rem 1.8rem;
  background: linear-gradient(155deg, rgba(12, 35, 64, 0.55) 0%, rgba(6, 15, 28, 0.7) 100%);
  border: 1px solid var(--border-strong, rgba(255,255,255,0.12));
  border-radius: 14px;
}
.stats-proof-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.stats-proof-eyebrow {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--red-2, #c8243a);
  text-transform: uppercase;
}
.stats-proof-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
}
.stats-proof-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,0.18);
}
.stats-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.sp-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.4rem 0;
  border-left: 2px solid rgba(200, 36, 58, 0.45);
  padding-left: 1rem;
}
.sp-num {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  line-height: 1;
}
.sp-num .sp-unit {
  font-size: 0.55em;
  color: var(--red-2, #c8243a);
  margin-left: 0.05em;
}
.sp-label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.3;
}
.stats-proof-foot {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: var(--muted-2, rgba(255,255,255,0.4));
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .stats-proof-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stats-proof { padding: 1.2rem; }
}

/* ============================================================
   CPM COMPARE MODULE — in calculator result
   ============================================================ */
.cpm-compare {
  margin: 1rem 0 1.2rem;
  padding: 1.1rem 1.2rem;
  background:
    linear-gradient(135deg, rgba(166, 25, 46, 0.18) 0%, rgba(200, 36, 58, 0.06) 100%);
  border: 1px solid rgba(200, 36, 58, 0.4);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.cpm-compare::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(200, 36, 58, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.cpm-compare-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  position: relative;
}
.cpm-compare-eyebrow {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}
.cpm-compare-ours {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
}
.cpm-compare-ours .tnum {
  color: var(--red-2, #ff5a72);
  margin-right: 0.15em;
}
.cpm-compare-rows {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
}
.cpm-compare-rows li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.45rem 0.7rem;
  background: rgba(6, 15, 28, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  font-size: 0.84rem;
}
.ccr-label { color: var(--muted); }
.ccr-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
.ccr-mult {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--red-2, #ff5a72);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.cpm-compare-foot {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  position: relative;
}

/* Result footnote with sources */
.result-sources {
  margin: 0.9rem 0 1.1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  color: var(--muted-2, rgba(255, 255, 255, 0.42));
  line-height: 1.5;
}
.result-sources strong {
  color: var(--muted);
  font-weight: 600;
}
.kpi[title] { cursor: help; }

/* ============================================================
   TOP PERFORMERS — viral video cards below calculator
   ============================================================ */
.top-performers {
  margin-top: 2.6rem;
  padding: 1.8rem 0 0;
  border-top: 1px solid var(--border);
}
.tp-head { margin-bottom: 1.4rem; }
.tp-eyebrow {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--red-2, #c8243a);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}
.tp-head h3 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.tp-head p {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 60ch;
}
.tp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.tp-card {
  padding: 1.1rem 1.1rem 1.2rem;
  background: linear-gradient(160deg, rgba(12, 35, 64, 0.6) 0%, rgba(6, 15, 28, 0.85) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.tp-card:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 36, 58, 0.45);
}
.tp-platform {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  width: fit-content;
}
.tp-platform.tt { color: #25f4ee; border-color: rgba(37, 244, 238, 0.25); }
.tp-platform.ig { color: #ff5a72; border-color: rgba(255, 90, 114, 0.25); }
.tp-views {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1;
  color: var(--text);
}
.tp-caption {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.35;
  font-style: italic;
}
@media (max-width: 900px) {
  .tp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tp-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   REACH SECTION — hero line, engagement, source notes, CTA, trust
   ============================================================ */

/* "0 kr i annonsbudget." — the hero kicker beneath the H1 */
.reach-hero-line {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--red-2, #c8243a);
  margin: 0.25rem 0 0.9rem;
  display: inline-block;
  padding: 0.3rem 0.9rem 0.4rem;
  background: rgba(166, 25, 46, 0.12);
  border-left: 3px solid var(--red-2, #c8243a);
  border-radius: 0 6px 6px 0;
}

/* Date stamp under "Kombinerad räckvidd" on the featured 2.4M card */
.featured-date {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--muted-2, rgba(255, 255, 255, 0.45));
  margin: 0.35rem 0 0.6rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Engagement / repeat-proof block on the side metric cards */
.metric-engagement {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.me-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.me-num {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--red-2, #c8243a);
  line-height: 1;
}
.me-badge {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #25f4ee;
  padding: 0.18rem 0.5rem;
  background: rgba(37, 244, 238, 0.1);
  border: 1px solid rgba(37, 244, 238, 0.3);
  border-radius: 4px;
  white-space: nowrap;
}
.me-badge.insta {
  color: #ff5a72;
  background: rgba(255, 90, 114, 0.1);
  border-color: rgba(255, 90, 114, 0.3);
}
.me-sub {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Benchmark sources footnote under the metric cards */
.reach-bench-note {
  margin: 1rem 0 1.6rem;
  font-size: 0.74rem;
  color: var(--muted-2, rgba(255, 255, 255, 0.42));
  text-align: right;
  letter-spacing: 0.01em;
}

/* Cost callout — restructured into a price table */
.cost-callout .cc-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.cost-callout .cc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.8rem;
}
.cost-callout .cc-label {
  color: var(--muted);
  font-size: 0.95rem;
}
.cost-callout .cc-value {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.cost-callout .cc-value.cc-bad {
  color: var(--red-2, #c8243a);
  cursor: help;
}
.cost-callout .cc-value.cc-bad sup {
  font-size: 0.5em;
  margin-left: 0.1em;
}
.cost-callout .cc-value.cc-good {
  color: #34d399;
}
.cost-callout .cc-footnote {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: var(--muted-2, rgba(255, 255, 255, 0.42));
  line-height: 1.55;
}
.cost-callout .cc-footnote sup {
  color: var(--red-2, #c8243a);
  font-size: 0.7em;
  margin-right: 0.15em;
}

/* CTA pair below the cost callout */
.reach-cta {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}
.reach-cta-primary,
.reach-cta-ghost {
  padding: 0.85rem 1.4rem;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.reach-cta-ghost {
  border: 1px solid var(--red-2, #c8243a);
  color: var(--red-2, #c8243a);
  background: transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.18s ease, color 0.18s ease;
}
.reach-cta-ghost:hover {
  background: rgba(200, 36, 58, 0.12);
  color: #fff;
}

/* Trust badge — small line at the very bottom of the reach section */
.reach-trust {
  margin-top: 1.6rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}
.reach-trust .rt-check {
  color: #34d399;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .cost-callout .cc-value { font-size: 1.2rem; }
  .reach-bench-note { text-align: left; }
}

/* ============================================================
   CALCULATOR — EXCLUDED ITEMS + BUDGET REMAINING + CUSTOM CALLOUT
   ============================================================ */

/* "Ej inkluderat"-block i kalkylatorresultatet */
.excluded-block {
  margin: 1rem 0 1.2rem;
  padding: 0.9rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  opacity: 0.85;
}
.excluded-eyebrow {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--muted-2, rgba(255, 255, 255, 0.45));
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.excluded-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.excluded-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  align-items: baseline;
  padding-left: 0.9rem;
  position: relative;
  font-size: 0.86rem;
  color: var(--muted);
}
.excluded-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--red-2, #c8243a);
  opacity: 0.7;
}
.excluded-list .ex-name {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.excluded-list .ex-detail {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted-2, rgba(255, 255, 255, 0.45));
  white-space: nowrap;
}
.excluded-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-2, #c8243a);
  text-decoration: none;
  border-bottom: 1px dashed rgba(200, 36, 58, 0.5);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.excluded-cta:hover {
  color: #fff;
  border-color: #fff;
}

/* Budget kvar-hint */
.budget-remaining {
  margin: 1rem 0 1.2rem;
  padding: 0.8rem 1rem;
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
}
.budget-remaining .br-label {
  color: rgba(255, 255, 255, 0.65);
}
.budget-remaining .br-value {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #34d399;
  letter-spacing: 0.01em;
}
.budget-remaining .br-hint {
  flex-basis: 100%;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

/* "Skräddarsytt paket"-callout */
.custom-package {
  margin: 2.2rem 0 0;
  padding: 1.6rem 1.8rem;
  background: linear-gradient(155deg, rgba(12, 35, 64, 0.55) 0%, rgba(6, 15, 28, 0.7) 100%);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-left: 3px solid var(--red-2, #c8243a);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.6rem;
}
.cp-eyebrow {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--red-2, #c8243a);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}
.cp-text h3 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.cp-text p {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.5;
}
.cp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.95rem 1.4rem;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-2, #c8243a);
  background: rgba(200, 36, 58, 0.08);
  border: 1.5px solid rgba(200, 36, 58, 0.7);
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.cp-cta:hover {
  background: rgba(200, 36, 58, 0.2);
  border-color: var(--red-2, #c8243a);
  color: #fff;
}
@media (max-width: 800px) {
  .custom-package {
    grid-template-columns: 1fr;
    padding: 1.4rem;
  }
  .cp-cta { width: 100%; justify-content: center; }
}

/* Step hint — small subtext under calc-step labels */
.calc-step .step-hint {
  font-size: 0.78rem;
  color: var(--muted, rgba(255, 255, 255, 0.55));
  margin: -0.2rem 0 0.6rem;
  line-height: 1.4;
}

/* Goal "annat" — extra hint that appears when user picks custom */
.goal-custom-hint {
  margin-top: 0.7rem;
  padding: 0.7rem 0.9rem;
  background: rgba(200, 36, 58, 0.08);
  border-left: 3px solid var(--red-2, #c8243a);
  border-radius: 0 8px 8px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

/* Pulse highlight on the custom-package callout when triggered */
@keyframes cp-highlight-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200, 36, 58, 0.45); border-color: var(--red-2, #c8243a); }
  60%  { box-shadow: 0 0 0 18px rgba(200, 36, 58, 0); border-color: var(--red-2, #c8243a); }
  100% { box-shadow: 0 0 0 0 rgba(200, 36, 58, 0); border-color: var(--border, rgba(255, 255, 255, 0.08)); }
}
.custom-package.highlight-pulse {
  animation: cp-highlight-pulse 1.6s ease-out;
}

/* ============================================================
   REACH SECTION — punctual fixes (hierarchy + cost punch + CTAs)
   ============================================================ */

/* Fix 1: Bump 2.4M+ to dominate; shrink the side .value numbers
   ~15% so hierarchy reads as H1 > 2.4M > 45k/259k > 4,92%/+6. */
.metric.featured .featured-num {
  font-size: clamp(5rem, 9vw, 7.4rem) !important;
  letter-spacing: -0.025em;
}
.reach .metric:not(.featured) .value {
  font-size: clamp(2rem, 3.6vw, 2.8rem) !important;
}

/* Fix 3: Cost-callout — strike through TikTok Ads price, hero-size
   the baspaket price, add a centered "24× billigare" pill below. */
.cost-callout .cc-value.cc-strike {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(200, 36, 58, 0.7);
  color: rgba(255, 255, 255, 0.45) !important;
  font-weight: 800;
  cursor: help;
}
.cost-callout .cc-row--hero {
  margin-top: 0.3rem;
}
.cost-callout .cc-value.cc-hero {
  font-size: clamp(1.7rem, 2.6vw, 2.05rem);
  color: var(--red-2, #c8243a) !important;
  font-weight: 900;
}
.cost-callout .cc-savings {
  margin-top: 0.6rem;
  display: flex;
  justify-content: center;
}
.cost-callout .cc-savings-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.9rem;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red, #a6192e);
  border: 1px solid rgba(255, 90, 114, 0.5);
  border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(166, 25, 46, 0.6);
}

/* Fix 5a: Strip any underline from BOTH reach CTA buttons */
.reach-cta-primary,
.reach-cta-primary:visited,
.reach-cta-primary:hover,
.reach-cta-ghost,
.reach-cta-ghost:visited,
.reach-cta-ghost:hover {
  text-decoration: none !important;
}

/* Fix 5b: Make ghost CTA clearly visible — stronger border + tint */
.reach-cta-ghost {
  border: 1.5px solid rgba(200, 36, 58, 0.85) !important;
  background: rgba(200, 36, 58, 0.08) !important;
  color: var(--red-2, #c8243a) !important;
}
.reach-cta-ghost:hover {
  background: rgba(200, 36, 58, 0.2) !important;
  border-color: var(--red-2, #c8243a) !important;
  color: #fff !important;
}

/* Fix asterisk after "~120 000 kr" — ensure it reads as a footnote
   marker, not as part of the number. Stroke must not cross it. */
.cost-callout .cc-value.cc-strike sup {
  font-size: 0.55em;
  margin-left: 0.2em;
  vertical-align: super;
  color: var(--red-2, #c8243a);
  text-decoration: none !important;
  display: inline-block;
  font-weight: 700;
}

/* ============================================================
   CONTACT FORM MODAL (CFM)
   ============================================================ */

.cfm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  padding: 1rem;
  box-sizing: border-box;
}
.cfm-backdrop--show {
  opacity: 1;
  pointer-events: auto;
}

.cfm {
  background: var(--bg-2, #0d1b2a);
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.15));
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem;
  box-sizing: border-box;
  transform: translateY(20px);
  transition: transform 0.22s ease;
}
.cfm-backdrop--show .cfm {
  transform: translateY(0);
}

.cfm-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--muted, #6b7280);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.35rem 0.45rem;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.cfm-close:hover {
  color: var(--text, #fff);
  background: rgba(255, 255, 255, 0.06);
}

.cfm-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.cfm-header-text {
  flex: 1;
  min-width: 0;
}

.cfm-zone-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--red, #c0392b);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.25);
  flex-shrink: 0;
}
.cfm-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red, #c8102e);
  margin-bottom: 0.35rem;
}
.cfm-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--text, #fff);
  margin: 0 0 0.5rem;
  line-height: 1.1;
}
.cfm-context-badge {
  display: inline-block;
  background: rgba(200, 16, 46, 0.12);
  border: 1px solid rgba(200, 16, 46, 0.28);
  color: var(--red, #c8102e);
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.cfm-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cfm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .cfm-row { grid-template-columns: 1fr; }
  .cfm { padding: 1.4rem; }
}
.cfm-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.cfm-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text, #fff);
}
.cfm-required {
  color: var(--red, #c8102e);
}
.cfm-input {
  background: var(--bg, #07121f);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: 6px;
  color: var(--text, #fff);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  padding: 0.6rem 0.8rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s;
  outline: none;
}
.cfm-input::placeholder {
  color: var(--muted, #6b7280);
  opacity: 1;
}
.cfm-input:focus {
  border-color: var(--red, #c8102e);
}
.cfm-input--error {
  border-color: #ef4444;
}
.cfm-textarea {
  resize: vertical;
  min-height: 110px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.cfm-error {
  font-family: 'Manrope', sans-serif;
  font-size: 0.71rem;
  color: #ef4444;
  min-height: 1.1em;
}

.cfm-submit {
  width: 100%;
  justify-content: center;
  position: relative;
  margin-top: 0.2rem;
}
.cfm-submit-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cfm-spin 0.65s linear infinite;
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}
.cfm-submit--loading .cfm-submit-text { opacity: 0.55; }
.cfm-submit--loading .cfm-submit-spinner { display: block; }
@keyframes cfm-spin { to { transform: translateY(-50%) rotate(360deg); } }

.cfm-privacy {
  font-family: 'Manrope', sans-serif;
  font-size: 0.68rem;
  color: var(--muted, #6b7280);
  text-align: center;
  line-height: 1.5;
}

/* Success state */
.cfm-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 0 0.25rem;
  gap: 0.85rem;
}
.cfm-result-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14);
  border: 2px solid rgba(34, 197, 94, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #22c55e;
  line-height: 1;
}
.cfm-result-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text, #fff);
  margin: 0;
  line-height: 1.1;
}
.cfm-result-text {
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  color: var(--muted, #6b7280);
  margin: 0;
  max-width: 380px;
  line-height: 1.55;
}
.cfm-social-links {
  display: flex;
  gap: 0.65rem;
}
.cfm-social-link {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text, #fff);
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.15));
  border-radius: 6px;
  padding: 0.4rem 0.9rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.cfm-social-link:hover {
  border-color: var(--red, #c8102e);
  color: var(--red, #c8102e);
}
.cfm-close-result {
  margin-top: 0.1rem;
}

/* Error banner */
.cfm-error-banner {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
  text-align: center;
  line-height: 1.5;
}
.cfm-fallback-link {
  color: #ef4444;
  text-decoration: underline;
}

/* ============================================================
   MOBILE FIX BATCH 2 — six targeted fixes
   ============================================================ */

/* P1: mobile-only <br> tags — hidden on desktop, visible on mobile */
.hero-br-mob { display: none; }
@media (max-width: 768px) {
  .hero-br-mob { display: inline; }
  /* Belt-and-suspenders: prevent any intra-word break in h1 */
  .hero h1 {
    word-break: keep-all;
    hyphens: none;
    overflow-wrap: normal;
  }
}

/* P2: .accent span has inline style="height:89px" which places the red
   gradient bar far below the text on small screens, creating a floating
   red rectangle. Reset to auto so the gradient positions against actual
   line-height. */
@media (max-width: 768px) {
  .hero--refined .display .accent {
    height: auto !important;
    padding: 0 0.15em 0.1em !important;
  }
}

/* P3: Player image — span full width and fade to decorative on mobile.
   The non-media rule anchors it at left:36%, causing right-side text
   overlap. Override to full-width so the figure is a centered accent. */
@media (max-width: 768px) {
  .hero--refined .hero-visual {
    opacity: 0.15;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    justify-content: flex-end !important;
  }
}

/* P4: "0 kr i annonsbudget" — only left accent line, never right */
.reach-hero-line {
  border-right: none;
}

@media (max-width: 768px) {
  .video-thumb {
    max-height: 600px;
  }
}

@media (max-width: 480px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .video-thumb {
    max-height: 540px;
  }
}

/* P6: "Ej inkluderat" price text (ex-detail) has white-space:nowrap and
   overflows the card on narrow screens. Wrap it to its own line. */
@media (max-width: 480px) {
  .excluded-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .excluded-list .ex-detail {
    white-space: normal;
    font-size: 0.7rem;
  }
}

/* ============================================================
   MOBILE HERO BATCH 3 — size, player, spacing, CTA, stats
   ============================================================ */

/* Font-size: refinements.css sets clamp(2.8rem, 7.6vw, 6.4rem) without
   a breakpoint, giving a 44.8px minimum on small screens. Override it
   explicitly at mobile widths. */
@media (max-width: 768px) {
  .hero--refined .display {
    font-size: clamp(2.5rem, 9vw, 4rem) !important;
    line-height: 1.05 !important;
  }
}
@media (max-width: 480px) {
  .hero--refined .display {
    font-size: clamp(2.25rem, 8.5vw, 3.5rem) !important;
  }
}

/* Vertical compression — reduce hero padding so content fits ~1.5 screens */
@media (max-width: 768px) {
  .hero {
    padding-top: 80px !important;
    padding-bottom: 40px !important;
  }
  .hero h1 {
    margin: 0.8rem 0 0.9rem !important;
  }
  .hero p.lead {
    font-size: 0.93rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.2rem !important;
  }
}

/* CTA buttons — stack vertically and go full-width on mobile */
@media (max-width: 768px) {
  .hero-ctas {
    flex-direction: column !important;
    gap: 0.7rem !important;
    width: 100%;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Stats strip — tighten spacing so it sits closer to the CTAs */
@media (max-width: 768px) {
  .hero-stats {
    margin-top: 1.5rem !important;
    padding-top: 1.2rem !important;
    gap: 1.2rem 1.6rem !important;
  }
}

/* ============================================================
   MOBILE HERO BATCH 4 — side-by-side layout + stats alignment
   ============================================================ */

/* Font override — batch 3 sizes are too wide for the narrower
   text column in the side-by-side layout */
@media (max-width: 768px) {
  .hero--refined .display {
    font-size: clamp(1.75rem, 6.5vw, 2.5rem) !important;
    line-height: 1.05 !important;
  }
}
@media (max-width: 480px) {
  .hero--refined .display {
    font-size: clamp(1.5rem, 5.5vw, 2.25rem) !important;
  }
}

@media (max-width: 768px) {
  /* ---- PART 1: Hero — flex-row side-by-side ---- */

  /* Hero is already display:flex. Change direction to row so
     .hero-inner (text) and .hero-visual (player) sit side-by-side.
     Decorative children (hero-bg, orbs, etc.) are position:absolute
     and do NOT participate in flex — they are unaffected. */
  .hero--refined {
    flex-direction: row !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    padding: 80px 8px 32px !important;
    min-height: auto !important;
  }

  /* Text column — left side */
  .hero--refined .hero-inner {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0 10px 0 0 !important;
    max-width: none !important;
  }
  .hero--refined .hero-text {
    max-width: none !important;
    text-align: left !important;
    padding-right: 0 !important;
    margin: 0 !important;
  }
  /* Undo the center-alignment set by the 900px rule in main.css */
  .hero--refined .hero h1,
  .hero--refined .hero p.lead {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }
  .hero--refined .hero-ctas {
    justify-content: flex-start !important;
  }

  /* Player column — right side. Pull out of position:absolute into
     the flex flow so it sits naturally next to .hero-inner. */
  .hero--refined .hero-visual {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    flex: 0 0 38% !important;
    width: 38% !important;
    max-width: 38% !important;
    height: auto !important;
    min-height: 0 !important;
    opacity: 1 !important;
    overflow: visible !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    align-self: flex-start !important;
    z-index: 2 !important;
  }
  .hero--refined .hero-player-wrap {
    width: 100% !important;
    height: auto !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow: visible !important;
  }
  .hero--refined .hero-player {
    width: 100% !important;
    height: auto !important;
    max-height: 80vh !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: top center !important;
    transform: none !important;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.55)) !important;
  }

  /* SUHL chip is position:absolute at bottom-right — it overlaps
     stats text on narrow screens. Hide on mobile. */
  .hero-suhl {
    display: none !important;
  }

  /* ---- PART 2: Stats — column, consistently left-aligned ---- */
  .hero-stats {
    flex-direction: column !important;
    gap: 0.65rem !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    max-width: none !important;
  }
  .hero-stat {
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.05rem !important;
  }
  .hero-stat-num {
    font-size: clamp(1.4rem, 3.6vw, 1.8rem) !important;
    line-height: 1 !important;
  }
  .hero-stat-label {
    font-size: 0.6rem !important;
    letter-spacing: 0.16em !important;
  }
}

/* ============================================================
   MOBILE HERO BATCH 5 — precise absolute placement
   ============================================================ */
@media (max-width: 768px) {
  /* Absolute positioning: player starts at ~mid-body-text, bleeds
     off the right edge. Text z-index (5) > player z-index (1)
     so characters always render above the player figure. */
  .hero--refined .hero-visual {
    position: absolute !important;
    top: 200px !important;
    right: -90px !important;
    bottom: auto !important;
    left: auto !important;
    width: 65% !important;
    max-width: 65% !important;
    height: auto !important;
    flex: none !important;
    align-self: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    opacity: 1 !important;
    z-index: 1 !important;
  }
  .hero--refined .hero-player-wrap {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
  }
  .hero--refined .hero-player {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: top center !important;
    transform: none !important;
    margin: 0 !important;
  }

  /* Hero-inner takes the full flex width now that player is absolute.
     Cap at 68% so text doesn't run directly into the player figure. */
  .hero--refined .hero-inner {
    flex: 1 1 100% !important;
    max-width: 68% !important;
  }
}

/* ============================================================
   MOBILE HERO BATCH 6 — left alignment + vertical compression
   ============================================================ */
@media (max-width: 768px) {
  /* main.css sets margin: 0 auto on .hero-inner, which centers the
     flex item when max-width prevents it from growing fully. Override
     to left-align text against the hero's padding-left edge. */
  .hero--refined .hero-inner {
    margin: 0 !important;
    max-width: 57% !important;
  }

  /* Reduce top padding roughly in half so eyebrow sits higher on screen.
     Increase padding-left to 20px for visible left breathing room. */
  .hero--refined {
    padding: 44px 8px 32px 20px !important;
  }

  /* Tighter vertical rhythm inside hero-text. */
  .hero--refined .hero h1 {
    margin-top: 0.2rem !important;
    margin-bottom: 0.5rem !important;
  }

  .hero--refined p.lead {
    margin-bottom: 0.8rem !important;
  }

  /* Stadium background (entry-pyro.jpg): boost visibility on mobile.
     Desktop stays at the default 0.18 opacity with blur. */
  .hero--refined .hero-stadium img {
    opacity: 0.38 !important;
    filter: saturate(0.65) contrast(1.1) brightness(0.75) blur(0px) !important;
  }

  /* SUHL logo inline with the last stat — grid layout so num+label stack
     in column 1 while the logo sits in column 2 aligned to the label row. */
  .hero-stat--suhl {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    align-items: end !important;
    column-gap: 0.75rem !important;
    gap: 0.05rem 0.75rem !important;
  }
  .hero-stat--suhl .hero-stat-num  { grid-column: 1; grid-row: 1; }
  .hero-stat--suhl .hero-stat-label { grid-column: 1; grid-row: 2; }
  .hero-stat-suhl-logo {
    display: block !important;
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: end;
    height: 18px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
  }
}

/* Hide inline SUHL logo on desktop — the hero-suhl chip covers it there. */
.hero-stat-suhl-logo { display: none; }

