/* SpinHouse — mobile-first. Colours from SPINHOUSE_BRAND_GUIDE_v2 (Pantone 3005 / 2995 web hex). */

:root {
  --house-black: #000000;
  --medium-blue: #0075c9;
  --light-blue: #00a8e1;
  --bg: #050608;
  --bg-elevated: #0e1114;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: var(--medium-blue);
  --accent-hover: var(--light-blue);
  --border: #1e293b;
  --radius: 12px;
  /* Brand guide web fallback: Arial when licensed fonts unavailable */
  --font-sans: Arial, "Helvetica Neue", Helvetica, system-ui, sans-serif;
  --font-head: Arial, "Helvetica Neue", Helvetica, system-ui, sans-serif;
  --tap: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--light-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #7dd3fc;
}

:focus-visible {
  outline: 2px solid var(--light-blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--medium-blue);
  color: #fff;
}

.skip-link:focus {
  left: 0;
}

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

/* App download bar — sits inside .site-header so it inherits sticky positioning */
.app-banner {
  display: none;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 719px) {
  .app-banner {
    display: block;
  }

  .app-banner-hidden .app-banner {
    display: none;
  }
}

.app-banner-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: 0.5rem;
}

.app-banner-close {
  flex: none;
  width: 32px;
  height: 32px;
  margin-inline-start: -0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: none;
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.app-banner-close:hover {
  color: var(--text);
}

.app-banner-close:focus-visible {
  outline: 2px solid var(--light-blue);
  outline-offset: 2px;
}

.app-banner-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.app-banner-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.app-banner-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
}

.app-banner-sub {
  margin: 0.1rem 0 0;
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-banner-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: none;
}

.app-banner-cta:hover {
  background: var(--accent-hover);
}

.app-banner-cta:focus-visible {
  outline: 2px solid var(--light-blue);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, var(--medium-blue) 6%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--tap);
  padding-block: 0.65rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo-link img {
  /* Max matches --tap so the logo can grow without changing header height */
  height: clamp(42px, 12vw, 44px);
  width: auto;
}

.logo-link:focus-visible {
  outline-offset: 4px;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform 0.2s, background 0.2s;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-panel {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

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

.nav-panel a {
  min-height: var(--tap);
  display: flex;
  align-items: center;
  padding: 0 0.25rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
}

.nav-panel a:hover {
  color: var(--light-blue);
}

.nav-panel a[aria-current="page"] {
  color: var(--light-blue);
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(32rem, 78vh, 46rem);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media .media-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-media .media-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.55) 0%, rgba(5, 6, 8, 0.15) 30%, rgba(5, 6, 8, 0.5) 68%, rgba(5, 6, 8, 0.97) 100%),
    linear-gradient(95deg, rgba(5, 6, 8, 0.85) 0%, rgba(5, 6, 8, 0.45) 38%, transparent 70%);
}

/* Brand-blue glow for depth and atmosphere */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 12% 88%, color-mix(in srgb, var(--medium-blue) 55%, transparent), transparent 62%),
    radial-gradient(ellipse 45% 40% at 92% 8%, color-mix(in srgb, var(--light-blue) 30%, transparent), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 46rem;
}

.hero-badge {
  position: relative;
  padding-left: 2.75rem;
}

.hero-badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 2px;
  background: var(--light-blue);
  transform: translateY(-50%);
}

.hero-accent {
  color: var(--light-blue);
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 14vw, 7.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  color: #e2e8f0;
}

.hero-offer {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0.9rem 0.5rem 0.5rem;
  background: color-mix(in srgb, var(--medium-blue) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--light-blue) 50%, transparent);
  border-radius: 999px;
}

.hero-offer-tag {
  padding: 0.2rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--light-blue);
  color: #00131c;
  border-radius: 999px;
}

.hero-offer-text {
  font-size: 0.9375rem;
  color: #fff;
}

.hero-offer-text strong {
  color: var(--light-blue);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

.hero-trust {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-stars {
  color: var(--light-blue);
  letter-spacing: 0.1em;
  font-size: 1rem;
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero-scroll-arrow {
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(to bottom, transparent, var(--light-blue));
  animation: heroScroll 1.8s ease-in-out infinite;
}

@keyframes heroScroll {
  0%,
  100% {
    transform: scaleY(0.5);
    transform-origin: top;
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-arrow {
    animation: none;
  }
}

@media (max-width: 560px) {
  .hero-scroll {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--medium-blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--light-blue);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--light-blue);
  color: var(--text);
}

section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--text-muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.pill {
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--light-blue) 45%, transparent);
  border-radius: 999px;
  color: var(--text-muted);
}

.offers-strip {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, color-mix(in srgb, var(--medium-blue) 12%, var(--bg)) 100%);
  border-block: 1px solid var(--border);
}

.offer-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.offer-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.offer-card .price {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--light-blue);
  line-height: 1;
}

.offer-card h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
}

.offer-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  flex: 1;
}

.offer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

@media (min-width: 480px) {
  .offer-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.offer-actions .btn {
  flex: 1;
  min-width: 9rem;
}

.brand-motif-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
  opacity: 0.85;
}

.brand-motif-row img {
  width: 56px;
  height: auto;
  opacity: 0.7;
}

@media (min-width: 640px) {
  .brand-motif-row img {
    width: 64px;
  }
}

/* Long-form legal copy */
.prose {
  max-width: 46rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
  line-height: 1.7;
}

.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.25rem;
}

.prose h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  color: var(--text);
}

.prose ul {
  padding-left: 1.15rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: var(--light-blue);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.card p {
  margin: 0;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .card-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.card .btn {
  flex: 1;
  min-width: 8rem;
}

.muted {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.app-strip {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.app-strip-inner {
  padding-block: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.app-strip-inner--media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.app-strip-media {
  flex: 0 0 auto;
  width: min(100%, 22rem);
}

.app-strip-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.app-strip-text {
  flex: 1 1 0;
}

@media (min-width: 760px) {
  .app-strip-inner--media {
    flex-direction: row;
    text-align: left;
  }

  .app-strip-inner--media .app-links {
    justify-content: flex-start;
  }
}

.app-strip h2 {
  margin: 0 0 0.5rem;
}

.app-strip p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

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

.footer-wordmark {
  max-width: 200px;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--light-blue);
}

/* Buttons: size + secondary variant */
.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 1.0625rem;
}

.btn-secondary {
  background: color-mix(in srgb, var(--light-blue) 16%, transparent);
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--light-blue) 55%, transparent);
}

.btn-secondary:hover {
  background: color-mix(in srgb, var(--light-blue) 26%, transparent);
  color: #fff;
}

/* Nav CTA pill */
.nav-cta {
  background: var(--medium-blue);
  color: #fff !important;
  border-radius: 999px;
  padding: 0 1rem !important;
}

.nav-cta:hover {
  background: var(--light-blue);
}

/* Reusable photo placeholder */
.media-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: var(--radius);
  border: 1px dashed color-mix(in srgb, var(--light-blue) 35%, transparent);
  background:
    radial-gradient(ellipse 90% 80% at 50% 0%, color-mix(in srgb, var(--medium-blue) 38%, transparent), transparent 70%),
    linear-gradient(160deg, #0a1622 0%, #050608 70%);
  overflow: hidden;
}

.media-placeholder img {
  opacity: 0.5;
  width: auto;
}

/* Real photos filling media slots */
.media-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}

@media (min-width: 820px) {
  .split-media {
    aspect-ratio: 4 / 3;
    height: 100%;
  }
}

.studio-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 5 / 4;
}

.studio-media .media-photo {
  object-position: center 30%;
}

.studio-cta {
  display: block;
  width: 100%;
  text-align: center;
}

.community-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.community-strip .media-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
}

@media (max-width: 560px) {
  .community-strip {
    grid-template-columns: 1fr 1fr;
  }
  .community-strip img:nth-child(3) {
    grid-column: 1 / -1;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center 20%;
  }
}

.media-placeholder-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--light-blue) 80%, #fff);
  text-align: center;
  padding: 0 1rem;
}

/* Eyebrow label */
.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-blue);
}

/* Featured offer card */
.offer-card--feature {
  border-color: color-mix(in srgb, var(--light-blue) 60%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--light-blue) 30%, transparent),
    0 20px 50px -30px var(--light-blue);
}

.offer-flag {
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--light-blue);
  color: #00131c;
  border-radius: 999px;
}

.offers-fineprint {
  margin-top: 1.25rem;
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

/* Split layout (image + text) */
.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 820px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.split-media .media-placeholder {
  min-height: 300px;
  aspect-ratio: 4 / 3;
}

.split-body h2 {
  margin-top: 0;
}

.split-body p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.feature-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--light-blue);
}

.feature-list strong {
  color: var(--text);
}

/* Atmospheric full-bleed band */
.atmosphere-band {
  position: relative;
  overflow: hidden;
  min-height: clamp(15rem, 40vh, 24rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.atmosphere-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-position: center 55%;
}

.atmosphere-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.65) 0%, rgba(5, 6, 8, 0.45) 50%, rgba(5, 6, 8, 0.65) 100%),
    radial-gradient(ellipse 80% 80% at 50% 50%, color-mix(in srgb, var(--medium-blue) 22%, transparent), transparent 70%);
}

.atmosphere-text {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 1.5rem;
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-size: clamp(1.75rem, 6vw, 3.5rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

/* Recovery — Stretch Lounge cross-promo */
.recovery {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
  padding-block: clamp(3rem, 8vw, 5rem);
}

.recovery-inner {
  max-width: 42rem;
}

.recovery-lead {
  margin-bottom: 1.5rem;
}

.recovery-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.recovery-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted);
}

.recovery-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--light-blue);
}

.recovery-list strong {
  color: var(--text);
}

.recovery-for-all {
  margin: 0 0 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--light-blue) 35%, var(--border));
  background: color-mix(in srgb, var(--medium-blue) 12%, var(--bg));
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.recovery-for-all em {
  font-style: normal;
  color: var(--text);
}

.recovery-cta {
  margin-bottom: 0.75rem;
}

.recovery-note {
  margin: 0;
  font-size: 0.875rem;
}

@media (min-width: 720px) {
  .recovery-inner {
    max-width: 48rem;
  }
}

/* First-timer steps */
.first-timer {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.first-timer .step-grid {
  margin-top: 2.5rem;
}

.centered-cta.centered-cta--start {
  text-align: left;
  margin-top: 1.25rem;
}

.step-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .step-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  font-weight: 800;
  color: #00131c;
  background: var(--light-blue);
  border-radius: 50%;
}

.step-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.centered-cta {
  margin-top: 1.75rem;
  text-align: center;
}

/* Testimonials */
.quote-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .quote-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote-card {
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}

.stars {
  color: var(--light-blue);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.quote-card blockquote {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.quote-card figcaption {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 700;
}

/* Studio cards with media */
.studio-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .studio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.studio-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.studio-media {
  display: block;
}

.studio-media .media-placeholder {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  aspect-ratio: 16 / 9;
}

.studio-body {
  padding: 1.25rem;
}

.studio-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.studio-body .muted {
  margin: 0 0 0.85rem;
}

.studio-meta {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.studio-meta li {
  position: relative;
  padding-left: 1.4rem;
}

.studio-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.05em;
  height: 1.05em;
  background: currentColor;
  color: var(--light-blue);
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.studio-meta li:first-child::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .8-.3 1l-2.2 2.2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .8-.3 1l-2.2 2.2z'/%3E%3C/svg%3E");
}

.studio-meta li:last-child::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1112 6.5a2.5 2.5 0 010 5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1112 6.5a2.5 2.5 0 010 5z'/%3E%3C/svg%3E");
}

.card-actions--stack {
  flex-direction: column;
}

@media (min-width: 480px) {
  .card-actions--stack {
    flex-direction: column;
  }
}

/* Private rides */
.private {
  background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--medium-blue) 14%, var(--bg)) 100%);
  border-top: 1px solid var(--border);
}

/* Inquiry form */
.inquiry-form {
  margin-top: 2.5rem;
  max-width: 34rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}

.inquiry-form-title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.form-row input,
.form-row select {
  min-height: var(--tap);
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.form-row input:focus,
.form-row select:focus {
  outline: 2px solid var(--light-blue);
  outline-offset: 1px;
  border-color: var(--light-blue);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.form-status {
  margin: 0;
  font-size: 0.875rem;
  color: var(--light-blue);
}

/* Social links */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text) !important;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.social-link:hover {
  border-color: var(--light-blue);
  color: var(--light-blue) !important;
}

.footer-heading {
  margin: 1.25rem 0 0.35rem;
  font-weight: 800;
  color: var(--text);
}

/* Sticky mobile book bar */
.mobile-book-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  background: var(--medium-blue);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.8);
}

.mobile-book-bar:hover {
  background: var(--light-blue);
  color: #fff;
}

@media (min-width: 720px) {
  .mobile-book-bar {
    display: none;
  }

  main {
    padding-bottom: 0;
  }
}

/* Reserve space so sticky bar doesn't cover footer content on mobile */
@media (max-width: 719px) {
  .site-footer {
    padding-bottom: 5rem;
  }
}

/* Map embeds */
.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 1.5rem;
}

/* Page intro (interior pages) */
.page-intro {
  padding-top: clamp(2.5rem, 7vw, 4.5rem);
}

.page-intro h1 {
  margin: 0.35rem 0 1rem;
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* Filter tabs */
.filter-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.75rem;
  padding: 0.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.filter-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.55rem 1.1rem;
  min-height: var(--tap);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.filter-tab:hover {
  color: var(--text);
}

.filter-tab.is-active {
  background: var(--medium-blue);
  color: #fff;
}

.filter-tab:focus-visible {
  outline: 2px solid var(--light-blue);
  outline-offset: 2px;
}

/* Instructor grid */
.instructors-section {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 620px) {
  .instructor-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 960px) {
  .instructor-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.instructor-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  font: inherit;
}

button.instructor-card {
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

button.instructor-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--light-blue) 60%, var(--border));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

button.instructor-card:focus-visible {
  outline: 2px solid var(--light-blue);
  outline-offset: 2px;
}

.instructor-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, #11151a, #05070a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.instructor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.instructor-initials {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--light-blue) 80%, #fff);
}

.instructor-body {
  padding: 0.85rem 0.95rem 1rem;
}

.instructor-name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 800;
}

.instructor-locs {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.instructor-readmore {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--light-blue);
}

button.instructor-card:hover .instructor-readmore {
  text-decoration: underline;
}

.instructor-note {
  margin-top: 1.75rem;
  font-size: 0.875rem;
}

/* Instructor bio dialog */
.instructor-dialog {
  width: min(34rem, calc(100vw - 2rem));
  max-height: calc(100vh - 3rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  overflow: hidden;
}

.instructor-dialog::backdrop {
  background: rgba(2, 3, 5, 0.72);
  backdrop-filter: blur(2px);
}

.instructor-dialog-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
}

.instructor-dialog-close:focus-visible {
  outline: 2px solid var(--light-blue);
  outline-offset: 2px;
}

.instructor-dialog-body {
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  padding: 0 1.5rem 1.75rem;
}

.instructor-dialog-media {
  display: block;
  width: calc(100% + 3rem);
  height: 16rem;
  margin: 0 -1.5rem;
  object-fit: cover;
  object-position: center 25%;
}

.instructor-initials.instructor-dialog-media {
  height: 12rem;
  background: linear-gradient(160deg, #11151a, #05070a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.instructor-dialog-name {
  margin: 1.25rem 0 0.15rem;
  font-size: 1.6rem;
  font-weight: 800;
}

.instructor-dialog-locs {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--light-blue);
}

.instructor-dialog-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0 0 1.25rem;
}

.instructor-social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--light-blue);
}

.instructor-social::before {
  content: "";
  width: 1.05em;
  height: 1.05em;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.instructor-social--ig::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.16c3.2 0 3.58.01 4.85.07 1.17.05 1.8.25 2.23.41.56.22.96.48 1.38.9.42.42.68.82.9 1.38.16.42.36 1.06.41 2.23.06 1.27.07 1.65.07 4.85s-.01 3.58-.07 4.85c-.05 1.17-.25 1.8-.41 2.23-.22.56-.48.96-.9 1.38-.42.42-.82.68-1.38.9-.42.16-1.06.36-2.23.41-1.27.06-1.65.07-4.85.07s-3.58-.01-4.85-.07c-1.17-.05-1.8-.25-2.23-.41-.56-.22-.96-.48-1.38-.9-.42-.42-.68-.82-.9-1.38-.16-.42-.36-1.06-.41-2.23C2.17 15.58 2.16 15.2 2.16 12s.01-3.58.07-4.85c.05-1.17.25-1.8.41-2.23.22-.56.48-.96.9-1.38.42-.42.82-.68 1.38-.9.42-.16 1.06-.36 2.23-.41C8.42 2.17 8.8 2.16 12 2.16zm0 3.68A6.16 6.16 0 1 0 18.16 12 6.16 6.16 0 0 0 12 5.84zm0 10.16A4 4 0 1 1 16 12a4 4 0 0 1-4 4zm6.4-10.4a1.44 1.44 0 1 0 1.44 1.44 1.44 1.44 0 0 0-1.44-1.44z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.16c3.2 0 3.58.01 4.85.07 1.17.05 1.8.25 2.23.41.56.22.96.48 1.38.9.42.42.68.82.9 1.38.16.42.36 1.06.41 2.23.06 1.27.07 1.65.07 4.85s-.01 3.58-.07 4.85c-.05 1.17-.25 1.8-.41 2.23-.22.56-.48.96-.9 1.38-.42.42-.82.68-1.38.9-.42.16-1.06.36-2.23.41-1.27.06-1.65.07-4.85.07s-3.58-.01-4.85-.07c-1.17-.05-1.8-.25-2.23-.41-.56-.22-.96-.48-1.38-.9-.42-.42-.68-.82-.9-1.38-.16-.42-.36-1.06-.41-2.23C2.17 15.58 2.16 15.2 2.16 12s.01-3.58.07-4.85c.05-1.17.25-1.8.41-2.23.22-.56.48-.96.9-1.38.42-.42.82-.68 1.38-.9.42-.16 1.06-.36 2.23-.41C8.42 2.17 8.8 2.16 12 2.16zm0 3.68A6.16 6.16 0 1 0 18.16 12 6.16 6.16 0 0 0 12 5.84zm0 10.16A4 4 0 1 1 16 12a4 4 0 0 1-4 4zm6.4-10.4a1.44 1.44 0 1 0 1.44 1.44 1.44 1.44 0 0 0-1.44-1.44z'/%3E%3C/svg%3E");
}

.instructor-social--spotify::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.59 14.43a.62.62 0 0 1-.86.21c-2.35-1.44-5.3-1.76-8.79-.96a.62.62 0 1 1-.28-1.21c3.81-.87 7.08-.5 9.72 1.11.29.18.39.57.21.85zm1.22-2.72a.78.78 0 0 1-1.07.26c-2.69-1.65-6.79-2.13-9.97-1.17a.78.78 0 1 1-.45-1.49c3.63-1.1 8.15-.56 11.24 1.33.36.22.48.7.25 1.07zm.11-2.84C14.8 8.99 9.5 8.8 6.43 9.73a.93.93 0 1 1-.54-1.78c3.52-1.07 9.37-.86 13.06 1.33a.93.93 0 1 1-.95 1.6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.59 14.43a.62.62 0 0 1-.86.21c-2.35-1.44-5.3-1.76-8.79-.96a.62.62 0 1 1-.28-1.21c3.81-.87 7.08-.5 9.72 1.11.29.18.39.57.21.85zm1.22-2.72a.78.78 0 0 1-1.07.26c-2.69-1.65-6.79-2.13-9.97-1.17a.78.78 0 1 1-.45-1.49c3.63-1.1 8.15-.56 11.24 1.33.36.22.48.7.25 1.07zm.11-2.84C14.8 8.99 9.5 8.8 6.43 9.73a.93.93 0 1 1-.54-1.78c3.52-1.07 9.37-.86 13.06 1.33a.93.93 0 1 1-.95 1.6z'/%3E%3C/svg%3E");
}

.instructor-social:hover {
  text-decoration: underline;
}

.instructor-dialog-body p {
  color: var(--text-muted);
  margin: 0 0 0.85rem;
  line-height: 1.6;
}

/* CTA band */
.cta-band {
  text-align: center;
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.cta-band .hero-cta-row {
  justify-content: center;
}

/* Desktop nav */
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav-panel {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    border: none;
    background: transparent;
    position: static;
  }

  .nav-panel a {
    min-height: unset;
    padding: 0;
    font-size: 0.9375rem;
  }

  .header-inner {
    flex-wrap: nowrap;
  }
}
