/* ─── VARIABLES ─── */
:root {
  --bg: #000;
  --accent: #ee3a39;
  --accent-dim: rgba(238, 58, 57, 0.12);
  --accent-glow: rgba(238, 58, 57, 0.35);
  --text: #fff;
  --text-dim: rgba(255, 255, 255, 0.45);
  --text-mid: rgba(255, 255, 255, 0.75);
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(238, 58, 57, 0.35);
  --card-bg: rgba(255, 255, 255, 0.025);
  --nav-height: 68px;
  --font: 'Inter', sans-serif;
  --max-w: 1180px;
  --radius: 20px;
  --radius-sm: 12px;
}

/* ─── CURSOR GLOW ─── */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 58, 57, 0.13) 0%, rgba(238, 58, 57, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.cursor-glow.visible {
  opacity: 1;
}

/* ─── CUSTOM CURSOR (fine pointer only) ─── */
@media (hover: hover) and (pointer: fine) {
  html,
  html *,
  html a,
  html button,
  html input,
  html textarea,
  html select,
  html label {
    cursor: none !important;
  }
}

@media not all and (hover: hover) and (pointer: fine) {
  .custom-cursor,
  .cursor-glow {
    display: none !important;
  }
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
}

/* Inner is what visually changes — outer just tracks position */
.custom-cursor-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition:
    width  0.45s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease,
    box-shadow 0.35s ease;
}

/* Shared label base */
.cursor-label--journey,
.cursor-label--video {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  white-space: normal;
  text-align: center;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

/* Journey hover state — dot grows into glass circle */
.custom-cursor.journey-active .custom-cursor-inner,
.custom-cursor.video-active .custom-cursor-inner {
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.custom-cursor.journey-active .cursor-label--journey {
  opacity: 1;
  transition-delay: 0.2s;
}

.custom-cursor.video-active .cursor-label--video {
  opacity: 1;
  transition-delay: 0.2s;
}

/* ─── VIDEO SECTION ─── */
.video-section {
  padding: clamp(80px, 12vh, 130px) 0;
  background: #000;
  overflow: hidden;
}

.video-wrapper {
  display: flex;
  justify-content: center;
}

.video-inner {
  position: relative;
  width: 800px;
  max-width: 100vw;
  border-radius: 20px;
  overflow: hidden;
  will-change: width, border-radius;
  cursor: none;
}

.video-thumb {
  width: 100%;
  height: auto;
  display: block;
}

.video-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.9s ease;
}

.video-overlay-text.visible {
  opacity: 1;
}

.video-overlay-text h2 {
  font-size: clamp(1.4rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  text-align: center;
  padding: 0 clamp(24px, 5%, 60px);
  line-height: 1.15;
}

/* ─── RESET ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}

/* deep-dive pages (marketing/sales) use .is-scrolled with a gradient fade —
   one shared rule instead of per-page copies */
.navbar.is-scrolled {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.82) 72%, rgba(0, 0, 0, 0) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* utility bar — the slim red strip above the main nav for CMS content
   surfaces (Events / Specials / Resources / Blog). Rendered ONLY by the
   platform's DeHeader (from the CMS nav config's utilityItems); the static
   pages don't emit this markup, so these rules are dormant on here.now.
   Desktop-only — the mobile panel lists the same links instead. */
.nav-utility {
  background: var(--accent);
}
.nav-utility-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.2vw, 30px);
}
.nav-utility-inner a {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.nav-utility-inner a:hover {
  opacity: 1;
}
@media (max-width: 1100px) {
  .nav-utility {
    display: none;
  }
}

/* shared reveal-on-scroll utility (marketing + sales; wired by DE.initFade) */
[data-fade] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-fade].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img {
  height: clamp(36px, 4.8vw, 51px);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 36px);
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

/* ─── PLATFORM DROPDOWN (desktop) ─── */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger,
.nav-dropdown-trigger.nav-link--active {
  color: var(--text);
}

.nav-dropdown-caret {
  opacity: 0.65;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 214px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: rgba(10, 12, 14, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1002;
}

/* invisible bridge so the hover doesn't drop crossing the gap */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-dropdown-menu a.nav-link--active {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.nav-dot {
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  flex: 0 0 auto;
}

.nav-dot--red {
  background: #ee3a39;
  box-shadow: 0 0 8px rgba(238, 58, 57, 0.6);
}

.btn-nav {
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55em 1.35em;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, box-shadow 0.25s, transform 0.15s;
  white-space: nowrap;
}

.btn-nav:hover {
  background: #ff4a49;
  box-shadow: 0 0 28px var(--accent-glow);
  transform: translateY(-1px);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #000;
}

/* Left column — text */
.hero-left {
  position: relative;
  z-index: 5;
  width: 40%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 20px) clamp(28px, 5vw, 72px) 60px clamp(68px, 8vw, 112px);
}

/* Right column — canvas */
.hero-right {
  position: relative;
  flex: 1;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Radial vignette on the right panel — blends outer edges into black */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    ellipse 100% 90% at 55% 45%,
    transparent 30%,
    rgba(0, 0, 0, 0.45) 65%,
    rgba(0, 0, 0, 0.85) 88%,
    #000 100%
  );
  pointer-events: none;
}

/* Bottom fade — seamlessly connects hero to next section */
.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  z-index: 3;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.55) 50%, #000 100%);
  pointer-events: none;
}

/* Left fade — blends canvas into the black left column */
.hero-gradient-left {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 35%;
  z-index: 4;
  background: linear-gradient(to right, #000 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: left;
  opacity: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(238, 58, 57, 0.3);
  background: rgba(238, 58, 57, 0.08);
  padding: 0.42em 1.1em;
  border-radius: 100px;
  margin-bottom: 1.8rem;
}

.hero-headline {
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 1.4rem;
}

.headline-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  font-weight: 400;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 2.6rem;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.82em 2em;
  border-radius: 100px;
  border: none;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, box-shadow 0.25s, transform 0.15s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: #ff4a49;
  box-shadow: 0 0 48px var(--accent-glow), 0 4px 24px rgba(238, 58, 57, 0.4);
  transform: translateY(-2px);
}

.btn-primary--large {
  font-size: 1.05rem;
  padding: 0.95em 2.4em;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-mid);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.82em 1.5em;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

/* ─── SCROLL HINT ─── */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: scrollHintIn 1s 1.8s both;
  width: 100%;
  padding-left: clamp(28px, 5vw, 72px);
  align-items: flex-start;
}

.scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.9); }
  50% { opacity: 0.8; transform: scaleY(1.1); }
}

@keyframes scrollHintIn {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─── SECTION SHARED ─── */
.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.13;
  color: var(--text);
  margin-bottom: 3.5rem;
}

.section-title .dim {
  color: var(--accent);
}

/* ─── FEATURES ─── */
.features-section {
  padding: clamp(90px, 13vh, 150px) 0 clamp(80px, 12vh, 130px);
  background: #000;
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 42px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.3s ease;
  cursor: none;
}

/* Subtle red glow in top-left corner of each card */
.feature-card::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(238, 58, 57, 0.07) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.35s;
  opacity: 0;
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: rgba(238, 58, 57, 0.04);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card--large,
.feature-card--wide {
  grid-column: span 1;
}

.feature-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid rgba(238, 58, 57, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.feature-card p {
  font-size: 0.93rem;
  font-weight: 400;
  color: var(--text-dim);
  line-height: 1.72;
  margin-bottom: 1.6rem;
}

.feature-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(238, 58, 57, 0.15);
  padding: 0.32em 0.85em;
  border-radius: 100px;
}

/* ─── JOURNEY / TOUCHPOINTS ─── */
.journey-section {
  padding: clamp(90px, 13vh, 150px) 0 clamp(80px, 12vh, 130px);
  background: #000;
}

.journey-title {
  margin-bottom: 1.2rem;
}

.journey-intro {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: clamp(60px, 9vh, 100px);
}

/* The whole timeline wrapper — line is centered here */
.journey-timeline {
  position: relative;
}

/* Background track */
.journey-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

/* Red fill that grows downward on scroll */
.journey-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--accent), rgba(238, 58, 57, 0.4));
  transform-origin: top center;
}

/* Each touchpoint row — 3 column grid: card | dot | card */
.journey-point {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: start;
  margin-bottom: clamp(50px, 8vh, 80px);
}

.journey-point:last-child {
  margin-bottom: 0;
}

/* The center node column */
.journey-node {
  display: flex;
  justify-content: center;
  padding-top: 22px;
  position: relative;
  z-index: 2;
}

.journey-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #000;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.journey-point.active .journey-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(238, 58, 57, 0.15), 0 0 28px var(--accent-glow);
  transform: scale(1.25);
}

/* The card */
.journey-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 2.5vw, 36px);
  opacity: 0;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.journey-point.active .journey-card {
  border-color: rgba(238, 58, 57, 0.2);
}

/* Left-side card: right-align text toward the center */
.journey-point--left .journey-card {
  text-align: right;
}

/* Right-side card: left-align text away from center */
.journey-point--right .journey-card {
  text-align: left;
}


.journey-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.6rem;
  opacity: 0.7;
}

.journey-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

.journey-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.75;
}

/* Journey modal body */
.journey-modal-body {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.75;
}

/* Wide variant for journey modals */
.modal-backdrop--wide {
  padding: 24px;
}

.modal--wide {
  max-width: 1200px !important;
  width: calc(100vw - 48px) !important;
  height: 680px !important;
  max-height: 90vh !important;
  overflow: hidden !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: row !important;
}

/* Each touchpoint panel = full flex row inside the modal */
.jm-layout {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
}

/* Image — left side, full image visible, top-aligned, transparent bg */
.jm-image {
  width: 480px;
  max-width: 45%;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 0 100px 100px;
  background: transparent;
}

.jm-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ── Journey diagram ── */
.jm-image--diagram {
  align-items: center;
  justify-content: center;
  padding: 0;
}

.jm-journey-diagram {
  height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
}

/* Background animated dashes */
@keyframes jm-dash-flow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -26; }
}

.jm-bg-dash {
  stroke: rgba(255,255,255,0.07);
  stroke-width: 1;
  stroke-dasharray: 4 22;
  animation: jm-dash-flow 3s linear infinite;
}
.jm-bg-dash--d1 { animation-delay: -0.75s; }
.jm-bg-dash--d2 { animation-delay: -1.5s; }
.jm-bg-dash--d3 { animation-delay: -2.25s; }

/* Connector segments */
.jm-seg-path {
  stroke: rgba(255,255,255,0.12);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.4s ease;
}
.jm-seg-dot {
  fill: rgba(255,255,255,0.18);
  transition: fill 0.4s ease;
}

/* Nodes */
.jm-diag-rect {
  fill: rgba(255,255,255,0.04);
  stroke: rgba(255,255,255,0.18);
  stroke-width: 1.5;
  transition: fill 0.4s ease, stroke 0.4s ease, filter 0.4s ease;
}
.jm-diag-node { color: rgba(255,255,255,0.35); }
.jm-diag-node g { color: rgba(255,255,255,0.35); }

.jm-diag-label {
  font-size: 9px;
  font-weight: 600;
  fill: rgba(255,255,255,0.25);
  font-family: var(--font, 'Inter', sans-serif);
  letter-spacing: 0.06em;
}

/* Ring base — invisible until activated */
.jm-diag-ring {
  fill: none;
  stroke: none;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  pointer-events: none;
}

/* Active node pulse (glow) */
@keyframes jm-node-pulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(238,58,57,0.4)); }
  50%       { filter: drop-shadow(0 0 18px rgba(238,58,57,1)) drop-shadow(0 0 36px rgba(238,58,57,0.35)); }
}

/* Expanding ring pulse */
@keyframes jm-ring-pulse {
  0%   { transform: scale(1);   opacity: 0.65; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Per-panel active states */

/* Awareness: node 1 active */
[data-journey-content="Awareness"] .jm-diag-node[data-node="Awareness"] .jm-diag-rect {
  fill: #EE3A39; stroke: rgba(238,58,57,0.5);
  animation: jm-node-pulse 2.2s ease-in-out infinite;
}
[data-journey-content="Awareness"] .jm-diag-node[data-node="Awareness"] .jm-diag-ring {
  stroke: #EE3A39; animation: jm-ring-pulse 2s ease-out infinite;
}
[data-journey-content="Awareness"] .jm-diag-node[data-node="Awareness"] { color: #fff; }

/* Consideration: node 2 active, seg 1 lit */
[data-journey-content="Consideration"] .jm-diag-node[data-node="Consideration"] .jm-diag-rect {
  fill: #EE3A39; stroke: rgba(238,58,57,0.5);
  animation: jm-node-pulse 2.2s ease-in-out infinite;
}
[data-journey-content="Consideration"] .jm-diag-node[data-node="Consideration"] .jm-diag-ring {
  stroke: #EE3A39; animation: jm-ring-pulse 2s ease-out infinite;
}
[data-journey-content="Consideration"] .jm-diag-node[data-node="Consideration"] { color: #fff; }
[data-journey-content="Consideration"] .jm-seg--1 .jm-seg-path { stroke: rgba(238,58,57,0.7); }

/* Purchase: node 3 active, segs 1–2 lit */
[data-journey-content="Purchase"] .jm-diag-node[data-node="Purchase"] .jm-diag-rect {
  fill: #EE3A39; stroke: rgba(238,58,57,0.5);
  animation: jm-node-pulse 2.2s ease-in-out infinite;
}
[data-journey-content="Purchase"] .jm-diag-node[data-node="Purchase"] .jm-diag-ring {
  stroke: #EE3A39; animation: jm-ring-pulse 2s ease-out infinite;
}
[data-journey-content="Purchase"] .jm-diag-node[data-node="Purchase"] { color: #fff; }
[data-journey-content="Purchase"] .jm-seg--1 .jm-seg-path,
[data-journey-content="Purchase"] .jm-seg--2 .jm-seg-path { stroke: rgba(238,58,57,0.7); }

/* Post-Purchase: node 4 active, segs 1–3 lit */
[data-journey-content="Post-Purchase"] .jm-diag-node[data-node="Post-Purchase"] .jm-diag-rect {
  fill: #EE3A39; stroke: rgba(238,58,57,0.5);
  animation: jm-node-pulse 2.2s ease-in-out infinite;
}
[data-journey-content="Post-Purchase"] .jm-diag-node[data-node="Post-Purchase"] .jm-diag-ring {
  stroke: #EE3A39; animation: jm-ring-pulse 2s ease-out infinite;
}
[data-journey-content="Post-Purchase"] .jm-diag-node[data-node="Post-Purchase"] { color: #fff; }
[data-journey-content="Post-Purchase"] .jm-seg--1 .jm-seg-path,
[data-journey-content="Post-Purchase"] .jm-seg--2 .jm-seg-path,
[data-journey-content="Post-Purchase"] .jm-seg--3 .jm-seg-path { stroke: rgba(238,58,57,0.7); }

/* Loyalty: node 5 active, all segs lit, faster pulse */
[data-journey-content="Loyalty"] .jm-diag-node[data-node="Loyalty"] .jm-diag-rect {
  fill: #EE3A39; stroke: rgba(238,58,57,0.5);
  animation: jm-node-pulse 1.7s ease-in-out infinite;
}
[data-journey-content="Loyalty"] .jm-diag-node[data-node="Loyalty"] .jm-diag-ring {
  stroke: #EE3A39; animation: jm-ring-pulse 1.6s ease-out infinite;
}
[data-journey-content="Loyalty"] .jm-diag-node[data-node="Loyalty"] { color: #fff; }
[data-journey-content="Loyalty"] .jm-seg--1 .jm-seg-path,
[data-journey-content="Loyalty"] .jm-seg--2 .jm-seg-path,
[data-journey-content="Loyalty"] .jm-seg--3 .jm-seg-path,
[data-journey-content="Loyalty"] .jm-seg--4 .jm-seg-path { stroke: rgba(238,58,57,0.7); }

/* Flowing dash animation on all lit connector paths */
@keyframes jm-path-flow {
  from { stroke-dashoffset: 12; }
  to   { stroke-dashoffset: 0; }
}
[data-journey-content="Consideration"] .jm-seg--1 .jm-seg-path,
[data-journey-content="Purchase"] .jm-seg--1 .jm-seg-path,
[data-journey-content="Purchase"] .jm-seg--2 .jm-seg-path,
[data-journey-content="Post-Purchase"] .jm-seg--1 .jm-seg-path,
[data-journey-content="Post-Purchase"] .jm-seg--2 .jm-seg-path,
[data-journey-content="Post-Purchase"] .jm-seg--3 .jm-seg-path,
[data-journey-content="Loyalty"] .jm-seg--1 .jm-seg-path,
[data-journey-content="Loyalty"] .jm-seg--2 .jm-seg-path,
[data-journey-content="Loyalty"] .jm-seg--3 .jm-seg-path,
[data-journey-content="Loyalty"] .jm-seg--4 .jm-seg-path {
  stroke-dasharray: 4 8;
  animation: jm-path-flow 1.1s linear infinite;
}

/* Right column wrapper — holds scrollable content + fixed nav */
.jm-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Scrollable text area */
.jm-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  padding: 56px 60px 40px 50px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.jm-content::-webkit-scrollbar {
  width: 4px;
}

.jm-content::-webkit-scrollbar-track {
  background: transparent;
}

.jm-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

/* Close button — absolute top-right of right column */
.jm-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

/* Nav bar — pinned to bottom of right column, never scrolls */
.jm-nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 100px 28px 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.jm-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: none;
  padding: 0;
  transition: color 0.2s;
}

.jm-nav-btn:hover {
  color: var(--text);
}

.jm-nav-btn svg {
  flex-shrink: 0;
}

/* Next: label then arrow (arrow bounces right) */
.jm-nav-next svg {
  animation: arrowRight 1.6s ease-in-out infinite;
}

/* Prev: arrow on left, points left */
.jm-nav-prev svg {
  transform: rotate(180deg);
  animation: arrowLeft 1.6s ease-in-out infinite;
}

@keyframes arrowRight {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(6px); }
}

@keyframes arrowLeft {
  0%, 100% { transform: rotate(180deg) translateX(0); }
  50%       { transform: rotate(180deg) translateX(6px); }
}

.jm-headline {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.15;
}

.jm-body {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.78;
}

.jm-list {
  margin-top: 4px;
}

.jm-list-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.jm-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jm-list li {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.jm-list li::before {
  content: '·';
  color: var(--accent);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.jm-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 700px) {
  .modal--wide {
    flex-direction: column !important;
    height: 92vh !important;
    width: calc(100vw - 32px) !important;
  }
  .jm-layout {
    flex-direction: column;
  }
  .jm-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 240px;
    flex-shrink: 0;
  }
  .jm-image--diagram {
    height: 220px;
    padding: 0;
  }
  .jm-journey-diagram { height: 100%; width: auto; max-width: 100%; }
  .jm-content {
    padding: 32px 24px;
  }
}

/* Mobile: collapse to single column with line on the left */
@media (max-width: 680px) {
  .journey-line {
    left: 20px;
    transform: none;
  }
  .journey-point {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto;
    margin-bottom: 40px;
  }
  .journey-point--left .journey-card,
  .journey-point--right .journey-card {
    text-align: left;
    grid-column: 2;
    grid-row: 1;
  }
  .journey-point--left .journey-node,
  .journey-point--right .journey-node {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
  }
  .journey-spacer {
    display: none;
  }
}

/* ─── BOAT SECTION ─── */
.boat-section {
  height: 300vh;
  background: #000;
}

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

/* Text — left, 52% wide, sits above video via z-index */
.boat-left {
  position: relative;
  z-index: 2;
  width: 52%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-left: clamp(48px, 8vw, 120px);
}

.boat-headline-wrap {
  position: relative;
  height: calc(clamp(2.4rem, 4.8vw, 5rem) * 1.1 * 2);
}

.boat-headline {
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
}

.boat-headline--in {
  opacity: 0;
  transform: translateY(24px);
}

.boat-sub {
  opacity: 0;
  transform: translateY(16px);
  color: rgba(255,255,255,0.65);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 400;
  line-height: 1.75;
  max-width: 50%;
  margin: 1rem 0 0;
  pointer-events: none;
}

.boat-cta {
  opacity: 0;
  transform: translateY(20px);
  margin-top: 1.25rem;
  pointer-events: none;
  /* "large and in charge" demo button — promoted from the marketing page so
     index/sales/marketing all render the same closing CTA */
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  padding: 1em 2.6em;
  box-shadow: 0 0 40px rgba(238, 58, 57, 0.35), 0 6px 28px rgba(238, 58, 57, 0.28);
}
.boat-cta:hover {
  box-shadow: 0 0 60px rgba(238, 58, 57, 0.5), 0 8px 34px rgba(238, 58, 57, 0.36);
}

/* Video — right, 65% wide, overlaps text by ~17% */
#boat-video {
  position: absolute;
  right: 0;
  top: 0;
  width: 65%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* ─── STATS ─── */
.stats-section {
  padding: clamp(70px, 11vh, 120px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #000;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.stat-divider {
  width: 1px;
  height: 55px;
  background: var(--border);
  flex-shrink: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.stat-number {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

/* ─── MARQUEE ─── */
.marquee-section {
  padding: clamp(44px, 7vh, 80px) 0;
  overflow: hidden;
  background: #000;
}

.marquee-track {
  overflow: hidden;
}

.marquee-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marqueeRun 20s linear infinite;
  font-size: clamp(1.6rem, 3.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.022em;
}

.marquee-content span {
  color: var(--text);
  padding: 0 0.55em;
}

.marquee-content .marquee-dot {
  color: var(--accent);
  padding: 0;
  font-weight: 900;
}

@keyframes marqueeRun {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── CASE STUDIES / RIPPLE ─── */
.case-studies-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000 url('../assets/dealer-edge-case-studies-background.jpg') center/cover no-repeat;
  line-height: 0;
  min-height: 400px;
}

#ripple-canvas {
  display: block;
  width: 100%;
  cursor: none;
}

.cs-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  padding: clamp(48px, 7vh, 80px) clamp(24px, 5vw, 72px);
  line-height: normal;
  pointer-events: none;
}

.cs-inner {
  pointer-events: auto;
}

.cs-inner {
  width: 100%;
  max-width: var(--max-w);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: stretch;
}

/* ── Left column ── */
.cs-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.cs-headline {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.cs-intro {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin: 0;
  max-width: 380px;
}

.cs-logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  margin-top: auto;
  pointer-events: auto;
}

.cs-logo-btn {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  aspect-ratio: 2 / 1;
}

.cs-logo-btn img {
  height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: opacity 0.2s;
}

.cs-logo-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}

.cs-logo-btn:hover img { opacity: 0.7; }

.cs-logo-btn--active {
  background: rgba(238,58,57,0.12) !important;
  border-color: rgba(238,58,57,0.5) !important;
}

.cs-logo-btn--active img { opacity: 1 !important; }

.cs-view-btn { margin-top: 20px; }

/* ── Right column: detail panel ── */
.cs-detail {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  pointer-events: auto;
  transition: opacity 0.25s, transform 0.25s;
}

.cs-detail.is-switching {
  opacity: 0;
  transform: translateY(12px);
}

.cs-detail-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.cs-detail-logo {
  height: 104px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}


.cs-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cs-detail-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cs-detail-stat-value {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.cs-detail-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.cs-detail-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.cs-detail-quote {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  font-style: normal;
}

.cs-detail-attribution {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
}

/* ─── CTA ─── */
.cta-section {
  padding: clamp(110px, 16vh, 180px) 0;
  background: #000;
  position: relative;
  overflow: hidden;
}

/* Big red ambient glow behind CTA */
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(238, 58, 57, 0.1) 0%, rgba(238, 58, 57, 0.03) 50%, transparent 75%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.cta-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 1.3rem;
}

.cta-sub {
  font-size: clamp(0.92rem, 1.5vw, 1.12rem);
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 500px;
  margin: 0 auto 2.8rem;
}

.cta-sub--offer {
  max-width: 680px;
}

/* ─── FOOTER ─── */
.footer {
  background: #000;
  border-top: 1px solid var(--border);
}

/* ── Game banner ── */
.footer-game-banner {
  background: linear-gradient(100deg, #0d0d0d 0%, #1a0505 50%, #0d0d0d 100%);
  border-bottom: 1px solid rgba(238,58,57,0.18);
  padding: clamp(36px, 5vw, 60px) 0;
  position: relative;
  overflow: hidden;
}

.footer-game-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 100% at 60% 50%, rgba(238,58,57,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.footer-game-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-game-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.footer-game-headline {
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  max-width: 540px;
}

.footer-game-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9em 2.2em;
  border-radius: 100px;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.25s, transform 0.15s;
}

.footer-game-btn:hover {
  background: #ff4a49;
  box-shadow: 0 0 48px var(--accent-glow), 0 4px 24px rgba(238,58,57,0.4);
  transform: translateY(-2px);
}

/* ── Main body ── */
.footer-body {
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.8fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.footer-logo {
  height: 34px;
  margin-bottom: 20px;
  display: block;
}

.footer-tagline {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.65;
  margin: 0;
  max-width: 280px;
}

.footer-col-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 20px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: #fff; }

.footer-newsletter-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0 0 20px;
}

.footer-newsletter-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-email-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.72em 1.4em;
  color: #fff;
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  flex: 1;
  min-width: 0;
}

.footer-email-input::placeholder { color: var(--text-dim); }
.footer-email-input:focus { border-color: var(--accent); }

/* ── Copyright bar ── */
.footer-bar {
  padding: 20px 0;
}

.footer-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ─── ANIMATION INITIAL STATE ─── */
[data-animation] {
  opacity: 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .features-bento {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card--large,
  .feature-card--wide {
    grid-column: span 1;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
  .hero-left {
    width: 100%;
    height: auto;
    padding: calc(var(--nav-height) + 32px) clamp(24px, 6vw, 40px) 36px;
    justify-content: flex-end;
    position: relative;
    z-index: 5;
  }
  .hero-right {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0.45;
    z-index: 0;
  }
  .hero-content {
    text-align: left;
  }
  .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .features-bento {
    grid-template-columns: 1fr;
  }
  .feature-card--large,
  .feature-card--wide {
    grid-column: span 1;
  }
  .stats-grid {
    flex-direction: column;
    gap: 0;
  }
  .stat-divider {
    width: 48px;
    height: 1px;
    margin: 6px 0;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero-headline {
    letter-spacing: -0.025em;
  }
}

/* ─── CHATBOT ─── */
/* ── Chatbot Widget ── */
.chatbot-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 400;
  width: 60px;
  height: 60px;
}

/* Trigger button */
.chatbot-trigger {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--accent);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  box-shadow: 0 4px 24px rgba(238, 58, 57, 0.45);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s;
}

.chatbot-trigger:hover {
  box-shadow: 0 6px 32px rgba(238, 58, 57, 0.6);
}

/* Pulse ring when closed */
.chatbot-trigger::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  border: 2px solid rgba(238, 58, 57, 0.4);
  animation: chatPulse 2.4s ease-out infinite;
}

.chatbot-widget.is-open .chatbot-trigger {
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}

@keyframes chatPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Chat window — grows from trigger position */
.chatbot-window {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 360px;
  height: 520px;
  display: flex;
  flex-direction: column;
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255,255,255,0.03), inset 0 0 60px rgba(238, 58, 57, 0.07);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(0);
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.chatbot-window::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, rgba(238, 58, 57, 0.13) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.chatbot-widget.is-open .chatbot-window {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}

/* Header */
.chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

.chatbot-headline {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.025em;
}

.chatbot-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  margin-top: 2px;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

/* Messages */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.06) transparent;
}

.chatbot-messages::-webkit-scrollbar { width: 3px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }

.chat-msg {
  display: flex;
  max-width: 80%;
}

.chat-msg p {
  font-size: 0.9rem;
  line-height: 1.55;
  padding: 10px 14px;
  border-radius: 18px;
  margin: 0;
}

/* iOS-style bot bubble — dark gray */
.chat-msg--bot {
  align-self: flex-start;
}

.chat-msg--bot p {
  background: #2c2c2e;
  color: rgba(255,255,255,0.9);
  border-bottom-left-radius: 5px;
}

/* iOS-style user bubble — accent red */
.chat-msg--user {
  align-self: flex-end;
}

.chat-msg--user p {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 5px;
}

/* Animate-in for first message */
@keyframes msgSlideIn {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-msg--animate-in {
  animation: msgSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Typing indicator */
.chat-msg--typing p {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  animation: typingBounce 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.18s; }
.typing-dot:nth-child(3) { animation-delay: 0.36s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

/* Input area */
.chatbot-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

#chatbot-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.875rem;
  padding: 0.62em 1.1em;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  cursor: none;
}

#chatbot-input::placeholder { color: rgba(255,255,255,0.25); }

#chatbot-input:focus {
  border-color: rgba(238, 58, 57, 0.4);
  background: rgba(255, 255, 255, 0.09);
}

#chatbot-send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

#chatbot-send:hover {
  background: #ff4a49;
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(238, 58, 57, 0.5);
}

@media (max-width: 500px) {
  .chatbot-window { width: calc(100vw - 32px); }
  .chatbot-widget { right: 16px; bottom: 16px; }
}

/* ─── MODAL ─── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: clamp(48px, 6vw, 72px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(238, 58, 57, 0.06);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-backdrop.is-open .modal {
  transform: translateY(0) scale(1);
}

/* Subtle red gradient top edge */
.modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(238, 58, 57, 0.5), transparent);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.modal-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.modal-header p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* Form layout */
/* ── Multi-step modal ── */
.modal { max-width: 780px; }

.ms-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 2.8rem;
}

.ms-dot {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
  transition: width 0.35s ease, background 0.35s ease;
  width: 22px;
}

.ms-dot.is-active {
  background: var(--accent);
  width: 36px;
}

.ms-dot.is-done {
  background: rgba(238,58,57,0.35);
  width: 22px;
}

.ms-step { display: block; }
.ms-step--hidden { display: none; }
#ms-step-5 { border-radius: 20px; }

.ms-headline {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0.75rem 0 2rem;
}

.ms-sub {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin: -1rem 0 1.75rem;
  max-width: 420px;
}

/* Shared input styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.form-group input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.85em 1.1em;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder { color: rgba(255,255,255,0.22); }

.form-group input:focus {
  border-color: rgba(238,58,57,0.5);
  background: rgba(238,58,57,0.04);
  box-shadow: 0 0 0 3px rgba(238,58,57,0.1);
}

.ms-next-btn {
  width: fit-content;
  justify-content: center;
  margin-top: 16px;
  gap: 8px;
  padding: 1em 2em;
  font-size: 1rem;
}

/* Yes / No choice buttons */
.ms-choice-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 1rem;
}

.ms-choice {
  width: auto;
  padding: 0.82em 2em;
  border-radius: 100px;
  border: none;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: none;
  transition: background 0.2s, transform 0.15s;
}

.ms-choice:hover { background: rgba(255,255,255,0.11); }

.ms-choice--yes:hover { background: rgba(238,58,57,0.14); }

/* Calendar */
.ms-calendar { margin-bottom: 1rem; }

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.cal-month {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text);
}

.cal-nav {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: var(--text);
  padding: 2px 8px;
  font-size: 0.78rem;
  cursor: none;
  transition: background 0.2s;
}

.cal-nav:hover { background: rgba(255,255,255,0.12); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.cal-day-name {
  text-align: center;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 2px 0 4px;
  letter-spacing: 0.04em;
}

.cal-day {
  aspect-ratio: 1;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-mid);
  cursor: none;
  font-family: var(--font);
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cal-day:not(:disabled):hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: var(--text);
}

.cal-day--selected {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.cal-day:disabled { opacity: 0.2; cursor: none; }

/* Time slots */
.ms-times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.5rem;
}

.ms-time-btn {
  padding: 0.48em 1em;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text-mid);
  font-family: var(--font);
  font-size: 0.83rem;
  cursor: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ms-time-btn:hover { background: rgba(255,255,255,0.1); color: var(--text); }

.ms-time-btn--selected {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}


/* Confirmation */
.ms-confirm {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.ms-confirm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(238,58,57,0.35);
}

.ms-confirm-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  margin: 0;
}

.ms-confirm-text {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 340px;
  margin: 0;
}

@media (max-width: 500px) {
  .modal { padding: 28px 22px; border-radius: 20px; }
}


/* ─── FISHING GAME ─── */
.fishing-game {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: linear-gradient(180deg,
    #071520 0%, #0b2340 25%, #0d3a6e 55%, #0a4f8a 80%, #0d6199 100%);
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.35s;
}

.fishing-game--hidden {
  opacity: 0;
  pointer-events: none;
}

/* Subtle water caustic shimmer */
.fishing-game::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 30% 60%, rgba(13,160,210,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 50% 35% at 70% 40%, rgba(13,100,200,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Surface line at top */
.fishing-game::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(100,220,255,0.5) 30%, rgba(150,240,255,0.8) 50%, rgba(100,220,255,0.5) 70%, transparent);
  animation: waterShimmer 4s ease-in-out infinite;
}

@keyframes waterShimmer {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* ── GAME HUD ── */
.game-hud {
  position: absolute;
  top: 24px; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 28px;
  z-index: 10;
  pointer-events: none;
}

.game-hud-score,
.game-hud-combo {
  background: rgba(4, 16, 36, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(100, 180, 255, 0.15);
  border-radius: 18px;
  padding: 14px 22px;
  min-width: 130px;
}

.game-hud-label,
.combo-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(140, 210, 255, 0.6);
  margin-bottom: 6px;
}

/* ── ROLLING SCORE DIGIT ── */
.score-display {
  overflow: hidden;
  height: 3.2rem;
  position: relative;
}

.score-digit-wrap {
  position: relative;
  height: 100%;
}

.score-digit-curr,
.score-digit-prev {
  position: absolute;
  width: 100%;
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 3.2rem;
  letter-spacing: -0.04em;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}

.score-digit-curr { transform: translateY(0);    opacity: 1; }
.score-digit-prev { transform: translateY(-100%); opacity: 0; }

.score-rolling .score-digit-curr {
  animation: scoreGlow 0.4s ease-out forwards;
}

@keyframes scoreGlow {
  0%   { text-shadow: 0 0 28px rgba(238,58,57,0.95), 0 0 10px rgba(255,255,255,0.7); }
  100% { text-shadow: none; }
}

.game-hud-score.scoring {
  animation: panelPulse 0.45s ease-out forwards;
}

@keyframes panelPulse {
  0%   { box-shadow: 0 0 0 0 rgba(238,58,57,0.55); border-color: rgba(238,58,57,0.5); }
  50%  { box-shadow: 0 0 22px 5px rgba(238,58,57,0.28); border-color: rgba(238,58,57,0.6); }
  100% { box-shadow: 0 0 0 0 rgba(238,58,57,0); border-color: rgba(100,180,255,0.15); }
}

/* Progress bar */
.score-progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}

.score-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ee3a39, #ff7a2f);
  border-radius: 2px;
  transition: width 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 7px rgba(238,58,57,0.8);
}

/* Milestone label */
.score-milestone-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff7a2f;
  margin-top: 7px;
  min-height: 13px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.score-milestone-label.visible { opacity: 1; }

/* ── TIMER RING ── */
.game-hud-timer {
  position: relative;
  width: 82px;
  height: 82px;
}

.timer-ring {
  width: 82px;
  height: 82px;
  transform: rotate(-90deg);
}

.timer-ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.07);
  stroke-width: 6;
}

.timer-ring-fill {
  fill: none;
  stroke: #ee3a39;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 213.6;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.9s linear, stroke 0.5s ease;
}

.timer-ring-fill.urgent {
  stroke: #ff2200;
  filter: drop-shadow(0 0 7px rgba(255,34,0,0.9));
}

.timer-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.timer-number.urgent {
  color: #ff4444;
  animation: timerPulse 0.5s ease-in-out infinite alternate;
}

@keyframes timerPulse {
  from { opacity: 1; }
  to   { opacity: 0.45; }
}

/* ── COMBO PANEL ── */
.game-hud-combo {
  opacity: 0;
  transform: scale(0.82) translateY(-6px);
  transition: opacity 0.22s ease, transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
  text-align: center;
}

.game-hud-combo.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.combo-value {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff8c00, #ee3a39);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 9px rgba(238,58,57,0.65));
  line-height: 1;
}

/* ── FLOATING CATCH TEXT ── */
.catch-float {
  position: absolute;
  pointer-events: none;
  z-index: 20;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(238,58,57,0.85);
  animation: catchFloat 1.1s ease-out forwards;
}

@keyframes catchFloat {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  55%  { opacity: 1; transform: translateY(-48px) scale(1.12); }
  100% { opacity: 0; transform: translateY(-88px) scale(0.88); }
}

/* ── SCREEN EDGE FLASH ── */
.game-catch-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(ellipse at center, rgba(238,58,57,0.2) 0%, transparent 68%);
  opacity: 0;
}

.game-catch-flash.flash {
  animation: catchFlash 0.38s ease-out forwards;
}

@keyframes catchFlash {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

/* ── END SCREEN ── */
.game-end-screen {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 8, 20, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.game-end-screen.visible {
  opacity: 1;
  pointer-events: auto;
}

.game-end-panel {
  background: rgba(4, 16, 36, 0.92);
  border: 1px solid rgba(100,180,255,0.18);
  border-radius: 28px;
  padding: 48px 52px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  transform: scale(0.88) translateY(16px);
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

.game-end-screen.visible .game-end-panel {
  transform: scale(1) translateY(0);
}

.game-end-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ee3a39;
  margin-bottom: 14px;
}

.game-end-score {
  font-size: 5.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.game-end-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
}

.game-end-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 32px;
}

.game-stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

.game-stat span {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.game-stat label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.38);
}

.game-end-cta {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: none;
  background: #ee3a39;
  color: #fff;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.game-end-cta:hover {
  background: #ff4f4e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(238,58,57,0.45);
}

.game-end-restart {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45);
  border-radius: 12px;
  padding: 10px 22px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.8rem;
  transition: border-color 0.2s, color 0.2s;
}

.game-end-restart:hover {
  border-color: rgba(255,255,255,0.32);
  color: #fff;
}

/* Close button — top right */
.fishing-close {
  position: absolute;
  top: 32px;
  right: 40px;
  z-index: 10;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  color: #fff;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6em 1.5em;
  cursor: none !important;
  transition: background 0.2s;
  backdrop-filter: blur(10px);
}

.fishing-close:hover {
  background: rgba(255,255,255,0.16);
}

/* Fishing line */
.fishing-line {
  position: fixed;
  top: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(210,230,255,0.9) 0%, rgba(180,210,255,0.5) 100%);
  pointer-events: none;
  z-index: 9;
  transform-origin: top center;
}

/* Hook cursor */
.fishing-hook {
  position: fixed;
  pointer-events: none;
  z-index: 10;
}

/* Fish layer */
.fishing-fish-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fishing-fish {
  position: absolute;
  pointer-events: none;
  will-change: left;
}

/* Benefit popup — bottom center */
.fishing-popup {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: rgba(5, 20, 45, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(100,180,255,0.25);
  border-radius: 24px;
  padding: 40px 60px;
  max-width: 720px;
  width: max-content;
  text-align: center;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
}

.fishing-popup.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.fishing-popup-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

#fishing-popup-text {
  color: rgba(255,255,255,0.9);
  font-size: 1.4rem;
  line-height: 1.6;
  margin: 0;
}

/* ─── FISHING GAME INTRO ─── */
.fishing-intro {
  position: absolute;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 10, 22, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.fishing-intro-words {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  pointer-events: none;
}

.fishing-word {
  font-size: clamp(2.8rem, 7vw, 7rem);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  opacity: 0;
  transform: translateY(70px) scale(0.9);
  will-change: transform, opacity;
}

.fishing-word.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.fishing-word.explode {
  opacity: 0;
  transition: opacity 0.38s ease-in,
              transform 0.38s cubic-bezier(0.55, 0, 1, 0.45);
}


/* ─── PRICING PAGE ─── */

/* Hero */
.pricing-hero {
  position: relative;
  padding: calc(var(--nav-height) + clamp(64px, 10vh, 110px)) 0 clamp(64px, 10vh, 100px);
  overflow: hidden;
}

.pricing-hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(238,58,57,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-hero-inner {
  text-align: center;
}

.pricing-hero-headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin: 0.6rem 0 1.4rem;
}

.pricing-hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* What's Included */
.pricing-includes-section {
  padding: clamp(80px, 11vh, 130px) 0;
  background: #000;
}

.pricing-includes-header {
  margin-bottom: 3.5rem;
}

.pricing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pricing-feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 2.5vw, 36px);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.pricing-feature-card:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.04);
}

.pf-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(238,58,57,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.pf-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.pf-desc {
  font-size: 0.825rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Pricing card section */
.pricing-card-section {
  position: relative;
  padding: clamp(80px, 11vh, 130px) 0;
  background: #050505;
  overflow: hidden;
}

.pricing-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(238,58,57,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Billing toggle */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 3rem;
}

.pricing-toggle {
  position: relative;
  display: inline-flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  gap: 0;
}

.pricing-toggle-pill {
  position: absolute;
  top: 4px;
  height: calc(100% - 8px);
  background: var(--accent);
  border-radius: 100px;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

.pricing-toggle-btn {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  border-radius: 100px;
  transition: color 0.2s;
  white-space: nowrap;
}

.pricing-toggle-btn.is-active {
  color: #fff;
}

.pricing-save-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(238,58,57,0.25);
  border-radius: 100px;
  padding: 4px 12px;
  letter-spacing: 0.04em;
  transition: opacity 0.25s;
}

/* The plan card */
.pricing-plan-card {
  display: flex;
  gap: 0;
  background: var(--card-bg);
  border: 1px solid rgba(238,58,57,0.25);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto 3rem;
  box-shadow: 0 0 80px rgba(238,58,57,0.08);
}

.pricing-plan-left {
  flex: 0 0 340px;
  padding: clamp(32px, 3.5vw, 48px);
  background: rgba(238,58,57,0.04);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-plan-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
  display: block;
}

.pricing-price-row {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: clamp(2.8rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.pricing-per {
  font-size: 1rem;
  color: var(--text-dim);
  font-weight: 500;
  padding-bottom: 0.3rem;
}

.pricing-billed-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.pricing-cta {
  margin-bottom: 1rem;
  justify-content: center;
}

.pricing-guarantee {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

.pricing-plan-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.pricing-plan-right {
  flex: 1;
  padding: clamp(32px, 3.5vw, 48px);
}

.pricing-checklist-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.4rem;
}

.pricing-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.pricing-checklist li {
  font-size: 0.875rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Billing breakdown */
.pricing-breakdown {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pricing-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
  gap: 20px;
  transition: background 0.25s;
}

.pricing-breakdown-row:last-child {
  border-bottom: none;
}

.pricing-breakdown-row.is-active {
  background: rgba(238,58,57,0.06);
}

.pb-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pb-period {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.pb-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.pb-right {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: right;
}

.pb-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.pb-unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
}

.pb-savings {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* FAQ strip */
.pricing-faq-section {
  padding: clamp(64px, 9vh, 100px) 0;
  background: #000;
}

.pricing-faq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.pricing-faq-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.pricing-faq-item p {
  font-size: 0.825rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ─── CASE STUDIES PAGE ─── */

/* Active nav link */
.nav-link--active { color: #fff !important; }

/* Hero */
.csp-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(56px, 8vh, 96px);
}

.csp-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.csp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.72) 60%, #000 100%);
}

.csp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.csp-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.csp-hero-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

.csp-hero-headline {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

.csp-hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 520px;
  margin: 0;
}

.csp-hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 8px;
  flex-wrap: wrap;
}

.csp-hero-stat-value {
  display: block;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.csp-hero-stat-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  margin-top: 5px;
  text-transform: uppercase;
  font-weight: 600;
}

.csp-hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* Main grid */
.csp-main {
  background: #000;
  padding: clamp(64px, 8vh, 96px) 0 0;
}

.csp-grid-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px) clamp(64px, 8vh, 96px);
}

.csp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 32px);
}

/* Card */
.csp-card {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: none;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.35s;
}

.csp-card:hover {
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-4px);
}

/* Image area */
.csp-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.csp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.csp-card:hover .csp-card-img {
  transform: scale(1.04);
}

.csp-card-logo-badge {
  position: absolute;
  bottom: 16px;
  left: 20px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
}

.csp-card-logo-badge img {
  height: 66px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.csp-card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 5px 12px;
}

/* Card body */
.csp-card-body {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

/* Stats row */
.csp-card-stats {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
}

.csp-card-stat {
  flex: 1;
  padding: 14px 16px;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.csp-card-stat:last-child { border-right: none; }

.csp-card-stat-value {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.csp-card-stat-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Headline */
.csp-card-headline {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0;
}

/* Excerpt */
.csp-card-excerpt {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* Card footer */
.csp-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: auto;
}

.csp-card-read {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.csp-card-footer svg {
  color: var(--accent);
  transition: transform 0.2s;
}

.csp-card:hover .csp-card-footer svg {
  transform: translateX(4px);
}

/* CTA strip */
.csp-cta-strip {
  margin-top: clamp(48px, 6vh, 72px);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: clamp(36px, 4vw, 52px) clamp(28px, 4vw, 52px);
}

.csp-cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.csp-cta-label {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.csp-cta-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* ─── CASE STUDY DETAIL PAGE ─── */

/* Hero */
.csd-hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-height) + 44px) clamp(20px, 4vw, 44px) clamp(40px, 6vh, 64px) clamp(39px, 7.8vw, 86px);
  gap: 20px;
}

.csd-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -20%;
  height: 120%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  animation: csdHeroIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform;
}

/* Applied before first paint via <head> script — hero starts fully visible with no animation */
html.csd-from-transition .csd-hero-img {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes csdHeroIn {
  to { opacity: 1; transform: scale(1); }
}

@keyframes csdHeroScale {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

.csd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.92) 100%);
  opacity: 0;
  animation: csdOverlayIn 1.2s ease forwards;
  animation-delay: 0.25s;
}

@keyframes csdOverlayIn {
  to { opacity: 1; }
}

.csd-hero-logo-wrap {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
}

.csd-hero-logo {
  height: 240px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.csd-hero-headline {
  position: relative;
  z-index: 2;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
  max-width: 820px;
}

.csd-back-link {
  position: absolute;
  top: calc(var(--nav-height) + 24px);
  left: clamp(39px, 7.8vw, 86px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.csd-back-link:hover { color: #fff; }

/* Intro */
.csd-intro-section {
  padding: clamp(64px, 9vh, 100px) 0 clamp(48px, 7vh, 72px);
  background: #000;
}

.csd-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.csd-subheadline {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: var(--text-mid);
  margin-top: 0.75rem;
}

.csd-intro-text {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  padding-top: 2.5rem;
}

/* Stats */
.csd-stats-section {
  padding: clamp(56px, 8vh, 88px) 0;
  background: #050505;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.csd-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.csd-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--border);
}

.csd-stat:last-child { border-right: none; }

.csd-stat-value {
  display: block;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
  font-variant-numeric: tabular-nums;
  min-width: 4ch;
}

.csd-stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Body */
.csd-body-section {
  padding: clamp(64px, 9vh, 100px) 0;
  background: #000;
}

.csd-body-inner {
  max-width: 720px;
}

.csd-body-text {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* Testimonial */
.csd-testimonial-section {
  padding: clamp(72px, 10vh, 110px) 0;
  background: #050505;
}

.csd-testimonial-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.csd-quote-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(12px);
  will-change: opacity, transform;
}

.csd-stat-bar-track {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 0.75rem;
  overflow: hidden;
}

.csd-stat-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  will-change: width;
}

.csd-quote {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin: 0 0 1.8rem;
  font-style: normal;
}

.csd-attribution {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* Related */
.csd-related-section {
  padding: clamp(72px, 10vh, 110px) 0;
  background: #000;
}

.csd-related-header {
  margin-bottom: 3rem;
}

.csd-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}


/* ─── READING PROGRESS BAR ─── */
#csd-progress-bar {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 99;
  pointer-events: none;
  will-change: width;
}

/* ─── SIDEBAR DOTS NAVIGATION ─── */
.csd-dots-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  pointer-events: none;
}

.csd-dot-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: all;
  cursor: pointer;
}

.csd-dot-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.csd-dot-item:hover .csd-dot-label {
  opacity: 1;
  transform: translateX(0);
}

.csd-dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease;
  position: relative;
}

.csd-dot-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
}

.csd-dot-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.3);
}

.csd-dot-btn.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

@media (max-width: 1024px) {
  .csd-dots-nav { display: none; }
}

/* ─── TESTIMONIAL WORD REVEAL ─── */
.csd-quote-word {
  display: inline;
  opacity: 0.12;
  will-change: opacity;
  transition: opacity 0.15s ease;
}

.csd-quote-word.is-lit {
  opacity: 1;
}

/* ═══════════════════════════════════════════
   FEATURES PAGE  (.fp-*)
═══════════════════════════════════════════ */

.fp-hero {
  position: relative;
  overflow: hidden;
  background: #000;
  padding: calc(var(--nav-height) + clamp(64px, 10vh, 110px)) 0 clamp(64px, 10vh, 100px);
}

.fp-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.fp-hero-orb--1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(238, 58, 57, 0.15) 0%, transparent 65%);
  top: -15%;
  left: -8%;
  animation: fp-orb-1 14s ease-in-out infinite alternate;
}

.fp-hero-orb--2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(238, 58, 57, 0.07) 0%, transparent 65%);
  bottom: 5%;
  right: 8%;
  animation: fp-orb-2 18s ease-in-out infinite alternate;
}

@keyframes fp-orb-1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(42px, 28px) scale(1.1); }
}

@keyframes fp-orb-2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-28px, -36px) scale(0.9); }
}

.fp-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fp-hero-headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  max-width: 880px;
  margin: 1rem 0 1.6rem;
  text-align: center;
}

.fp-cycle-wrap {
  display: block;
}

.fp-cycle-word {
  display: inline-block;
  will-change: transform, opacity;
}

.fp-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-mid);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 2.4rem;
}

.fp-dept-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fp-dept-pill {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.58em 1.35em;
  border-radius: 100px;
  cursor: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.fp-dept-pill:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: var(--accent-dim);
}

.fp-hero-scroll {
  position: absolute;
  bottom: 36px;
  left: clamp(20px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

/* ─── EXPLORER ─── */

.fp-explorer {
  background: #050505;
  padding: clamp(88px, 13vh, 140px) 0 clamp(100px, 15vh, 160px);
}

.fp-explorer-lead {
  max-width: var(--max-w);
  margin: 0 auto 72px;
  padding: 0 clamp(4px, 1.5vw, 16px) 0 clamp(4px, 1.5vw, 16px);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0 60px;
  align-items: center;
}

.fp-explorer-lead-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fp-explorer-lead-desc {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 480px;
  line-height: 1.25;
}

.fp-explorer-lead-cta {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(36px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  transition: border-color 0.25s;
}

.fp-explorer-lead-cta:hover {
  border-color: var(--border-hover);
}

.fp-explorer-lead-cta .btn-primary {
  align-self: flex-start;
}

.fp-explorer-cta-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.fp-explorer-cta-headline {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.fp-explorer-cta-body {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.fp-explorer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px) 0 clamp(4px, 1.5vw, 16px);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0 64px;
  align-items: start;
}

/* Department sidebar */
.fp-dept-nav {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.fp-dept-nav-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0 18px;
  margin-bottom: 12px;
}

.fp-dept-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 4px;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: none;
  text-align: left;
  transition: color 0.22s, border-color 0.22s, background 0.22s;
  border-radius: 0 12px 12px 0;
}

.fp-dept-btn:hover {
  color: var(--text-mid);
  background: var(--card-bg);
}

.fp-dept-btn.is-active {
  color: var(--text);
  border-left-color: var(--accent);
  background: var(--card-bg);
}

.fp-dept-btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: background 0.22s, border-color 0.22s, color 0.22s;
}

.fp-dept-btn-icon svg {
  width: 20px;
  height: 20px;
}

.fp-dept-btn.is-active .fp-dept-btn-icon {
  background: var(--accent-dim);
  border-color: var(--border-hover);
  color: var(--accent);
}

.fp-dept-btn-name { flex: 1; }

.fp-dept-count {
  display: none;
}

/* Content panels */
.fp-content { min-height: 580px; }

.fp-panel { display: none; }

.fp-panel-header { margin-bottom: 24px; }

.fp-panel-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.fp-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.fp-panel-dept-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.fp-panel-headline {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.2;
}

/* Stat bar */
.fp-stat-highlight {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 20px;
  margin-bottom: 32px;
  transition: border-color 0.25s;
}

.fp-stat-highlight:hover { border-color: var(--border-hover); }

.fp-stat-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  min-width: 3.5ch;
}

.fp-stat-divider {
  width: 1px;
  height: 26px;
  background: var(--border);
  flex-shrink: 0;
}

.fp-stat-label {
  font-size: 0.825rem;
  color: var(--text-mid);
  font-weight: 500;
  max-width: 175px;
  line-height: 1.45;
}

/* Feature grid */
.fp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.fp-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 20px 16px;
  cursor: none;
  transition: border-color 0.25s, background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.fp-card:hover {
  border-color: rgba(238, 58, 57, 0.28);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.fp-card.is-expanded {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.fp-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 12px;
}

.fp-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.3;
}

.fp-card-body {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.fp-card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.fp-card.is-expanded .fp-card-detail { max-height: 160px; }

.fp-card-detail-inner {
  padding-top: 11px;
  margin-top: 11px;
  border-top: 1px solid var(--border);
}

.fp-card-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fp-card-detail-list li {
  font-size: 0.78rem;
  color: var(--text-mid);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.fp-card-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.fp-card-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 11px;
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: none;
  padding: 0;
}

.fp-card-toggle svg { transition: transform 0.3s ease; }
.fp-card.is-expanded .fp-card-toggle svg { transform: rotate(180deg); }

/* ─── FEATURES PAGE RESPONSIVE ─── */

/* ─── DEPT CHAT MODAL ─── */

.dm-dept-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.dm-dept-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-mid);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: none;
  text-align: left;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.dm-dept-option:hover {
  border-color: var(--border-hover);
  background: var(--accent-dim);
  color: var(--text);
}

.dm-dept-option-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.dm-dept-option:hover .dm-dept-option-icon {
  background: var(--accent-dim);
  border-color: var(--border-hover);
}

.dm-dept-option-chevron {
  margin-left: auto;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: transform 0.2s, color 0.2s;
}

.dm-dept-option:hover .dm-dept-option-chevron {
  transform: translateX(3px);
  color: var(--accent);
}

.dm-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: none;
  padding: 0;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.dm-back-btn:hover { color: var(--text); }

.dm-insight {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 24px;
}

.dm-insight-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.dm-insight-headline {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 14px;
}

.dm-insight-body {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.dm-insight-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.dm-insight-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.dm-insight-points li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.45em;
}

.dm-insight-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  padding: 0.3em 1em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

/* ─── DEPT CHAT STEP ─── */
.dm-chat-window {
  display: flex;
  flex-direction: column;
  height: 360px;
}

.dm-chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.dm-chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
}

.dm-chat-msg--bot {
  align-self: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.dm-chat-msg--user {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.dm-chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
}

.dm-chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: dmTypingDot 1.2s infinite ease-in-out;
}

.dm-chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.dm-chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dmTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

.dm-chat-continue {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.dm-chat-continue:hover { opacity: 0.88; }

.dm-chat-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.dm-chat-input-row input {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
}

.dm-chat-input-row input:focus { border-color: var(--border-hover); }
.dm-chat-input-row input:disabled { opacity: 0.4; pointer-events: none; }

.dm-chat-send {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
}

.dm-chat-send:hover   { opacity: 0.88; }
.dm-chat-send:disabled { opacity: 0.35; pointer-events: none; }

@media (max-width: 960px) {
  .fp-explorer-inner {
    grid-template-columns: 1fr;
    gap: 36px 0;
  }

  .fp-dept-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .fp-dept-nav-label { display: none; }

  .fp-dept-btn {
    border-left: none;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 9px 16px;
    width: auto;
    font-size: 0.82rem;
  }

  .fp-dept-btn.is-active {
    border-color: var(--border-hover);
    background: var(--accent-dim);
    color: var(--text);
  }

  .fp-dept-btn-icon,
  .fp-dept-count { display: none; }
}

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

/* ─── MOBILE NAV ─── */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-panel {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px clamp(20px, 4vw, 44px) 28px;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile-panel.is-open {
  display: flex;
}

.nav-mobile-panel a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile-panel a:last-child {
  border-bottom: none;
}

.nav-mobile-panel a.nav-link--active {
  color: #fff;
}

.nav-mobile-cta {
  margin-top: 12px;
  text-align: center;
  justify-content: center;
}

/* ─── PLATFORM GROUP (mobile accordion) ─── */
.nav-mobile-group-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 14px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
}

.nav-mobile-group-trigger.nav-link--active {
  color: #fff;
}

.nav-mobile-group-caret {
  opacity: 0.65;
  transition: transform 0.25s ease;
}

.nav-mobile-group-trigger.is-open .nav-mobile-group-caret {
  transform: rotate(180deg);
}

.nav-mobile-sub {
  display: none;
  flex-direction: column;
  padding-left: 14px;
}

.nav-mobile-sub.is-open {
  display: flex;
}

.nav-mobile-sub a {
  font-size: 0.95rem;
  color: var(--text-dim);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-cta .btn-nav {
    display: none;
  }
}

/* ─── FOOTER RESPONSIVE ─── */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-email-input {
    width: 100%;
  }

  .footer-bar-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ─── VIDEO + BOAT RESPONSIVE ─── */
@media (max-width: 960px) {
  .video-section {
    padding: clamp(48px, 8vh, 80px) 16px;
  }

  .boat-section {
    height: 200vh;
  }

  .boat-sticky::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to bottom, transparent 0%, transparent 46%, rgba(0, 0, 0, 0.16) 62%, rgba(0, 0, 0, 0.72) 100%);
    z-index: 2;
    pointer-events: none;
  }

  .video-inner {
    width: 100% !important;
    max-width: 100%;
    border-radius: 14px !important;
  }

  .video-overlay-text h2 {
    font-size: clamp(1.4rem, 5vw, 2rem);
    padding: 0 16px;
    text-align: center;
  }

  .boat-sticky {
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: calc(var(--nav-height) + 56svh) clamp(20px, 5vw, 48px) clamp(70px, 9vh, 92px);
    box-sizing: border-box;
    overflow: hidden;
  }

  .boat-left {
    width: 100%;
    padding-left: 0;
    z-index: 3;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.85);
  }

  .boat-left .section-label {
    margin-bottom: 0;
  }

  .boat-headline {
    white-space: normal;
    position: relative;
  }

  .boat-headline-wrap {
    height: auto;
    min-height: calc(clamp(2rem, 8vw, 3.2rem) * 1.1 * 2);
  }

  .boat-sub {
    max-width: 100%;
    color: rgba(255, 255, 255, 0.82);
  }

  #boat-video {
    position: absolute;
    top: calc(var(--nav-height) + 10px);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: min(56svh, 520px);
    max-width: 100%;
    object-fit: contain;
    object-position: center top;
    opacity: 0.82;
    z-index: 1;
  }
}

@media (max-width: 640px) {
  .boat-section {
    height: 200vh;
  }

  .boat-headline {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

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

  .boat-sticky {
    padding-top: calc(var(--nav-height) + 52svh);
    padding-bottom: clamp(72px, 10vh, 90px);
  }

  #boat-video {
    height: 52svh;
  }
}

.sales-page {
  overflow-x: clip;
}

@media (max-width: 960px) {
  .sales-page .video-inner {
    width: 100% !important;
    max-width: 100%;
  }
}

/* ─── MODAL MOBILE ─── */
@media (max-width: 640px) {
  .modal {
    max-height: 90dvh;
    padding: clamp(32px, 8vw, 48px) clamp(20px, 5vw, 28px);
  }

  .form-group input {
    font-size: 16px;
  }
}
