/* ============================================================
   Street Sound Society — shared.css
   Complete stylesheet for all 4 pages. No inline <style> blocks.
   ============================================================ */

/* ============================================================
   1. RESET & CSS CUSTOM PROPERTIES
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

:root {
  /* Brand colors */
  --color-dark:       #07090f;
  --color-navy:       #1a2e40;
  --color-brand-blue: #1a3ab8;
  --color-brand-blue-light: #2a4fd4;
  --color-white:      #ffffff;
  --color-offwhite:   #f8f9fa;

  /* Gray scale */
  --color-gray-100:   #f3f4f6;
  --color-gray-300:   #e5e7eb;
  --color-gray-400:   #9ca3af;
  --color-gray-500:   #6b7280;
  --color-gray-600:   #4b5563;
  --color-gray-800:   #374151;
  --color-gray-900:   #111827;

  /* Layout */
  --nav-height: 56px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #07090f;
  color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   2. NAV
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: transparent;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.nav--scrolled {
  background: var(--color-white);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

/* Brand / logo */
.nav-brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
  transition: color 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-nav.nav--scrolled .nav-brand {
  color: var(--color-navy);
}

/* Nav links */
.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-white);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav.nav--scrolled .nav-links a {
  color: var(--color-gray-600);
}

.nav-links a:hover {
  opacity: 0.8;
}

.nav-links a.active {
  border-bottom-color: var(--color-white);
}

.site-nav.nav--scrolled .nav-links a.active {
  color: var(--color-navy);
  border-bottom-color: var(--color-navy);
}

/* Hamburger toggle — hidden by default, shown on mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.site-nav.nav--scrolled .nav-toggle span {
  background: var(--color-navy);
}

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

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

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

/* Backdrop overlay */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
}

.nav-backdrop.open {
  display: block;
}

/* ============================================================
   3. HERO
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 15, 0.85) 0%, transparent 18%),
    linear-gradient(0deg,   rgba(7, 9, 15, 0.85) 0%, transparent 18%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 1.5rem;
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero-sub a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.hero-sub a:hover {
  color: var(--color-white);
}

/* ============================================================
   3b. SPLIT HERO (Cadenza)
   ============================================================ */

.hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  min-height: 480px;
}

.hero--split .hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
  background: linear-gradient(200deg, #0d1a3a 0%, var(--color-dark) 70%);
}

.hero--split .hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero--split .hero-text .hero-sub {
  margin: 0 0 2rem;
  max-width: 480px;
}

.hero--split .hero-media {
  position: relative;
  overflow: hidden;
}

.hero--split .hero-media video,
.hero--split .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero slideshow (Cadenza) */
.hero-slideshow {
  position: relative;
}

.hero-slideshow .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slideshow .hero-slide.active {
  opacity: 1;
}

.slideshow-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.slideshow-dot.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.25);
}

@media (max-width: 680px) {
  .hero--split {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .hero--split .hero-media {
    height: 50vh;
    min-height: 280px;
    order: -1;
  }

  .hero--split .hero-text {
    padding: 3rem 1.5rem;
  }
}

/* ============================================================
   3c. KEYNOTE VIDEO SECTION
   ============================================================ */

.keynote-section {
  background: linear-gradient(170deg, var(--color-dark) 0%, #0f1d3a 50%, #0d1530 100%);
  padding: 5rem 2.5rem;
  text-align: center;
}

.keynote-section .section-label {
  color: rgba(255, 255, 255, 0.28);
}

.keynote-section .section-heading {
  color: var(--color-white);
}

.keynote-section p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.55;
}

.keynote-video-wrap {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

.keynote-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   4. SECTION SHELL
   ============================================================ */

.section {
  padding: 5rem 2.5rem;
}

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gray-400);
  margin-bottom: 0.6rem;
  text-align: center;
}

.section-heading {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 3rem;
  color: var(--color-gray-900);
}

/* Dark-background sections override heading/label to white */
.gallery .section-heading,
.email-cta .section-heading { color: var(--color-white); }
.gallery .section-label { color: rgba(255, 255, 255, 0.28); }
.email-cta .section-label { color: rgba(255, 255, 255, 0.35); }

/* ============================================================
   5. VIDEO GALLERY — PORTRAIT 9:16
   ============================================================ */

.gallery {
  background: linear-gradient(180deg, var(--color-dark) 0%, #0a1428 40%, #0d1a3a 100%);
  padding: 5rem 2.5rem;
}

.gallery-grid {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.gallery-scroll-track {
  display: flex;
  gap: 1rem;
  animation: gallery-scroll 40s linear infinite;
  will-change: transform;
}

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

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

/* Static grid mode (Artists page) */
.gallery-grid--static {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
  overflow: visible;
  mask-image: none;
  -webkit-mask-image: none;
}

.gallery-grid--static .gallery-card {
  flex: unset;
  height: auto;
}

.gallery-grid--static .gallery-card.featured {
  grid-row: span 2;
  flex: unset;
  height: auto;
}

@media (max-width: 900px) {
  .gallery-grid--static { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .gallery-grid--static { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--static .gallery-card.featured { grid-row: span 1; }
}

.gallery-sub {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.88rem;
  margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
}

/* CRITICAL: 9:16 portrait aspect ratio for vertical iPhone videos */
.gallery-card {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: var(--color-gray-900);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex: 0 0 220px;
  height: 390px;
}

.gallery-card.featured {
  flex: 0 0 220px;
  height: 390px;
}

.gallery-card:hover {
  transform: scale(1.015);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.gallery-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.15) 45%,
    transparent 100%
  );
  z-index: 1;
  transition: opacity 0.25s ease;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 0.9;
}

.gallery-card-title {
  position: absolute;
  bottom: 2.25rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.3;
}

.gallery-card-loc {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* Play button overlay */
.gallery-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.gallery-card-play svg {
  fill: var(--color-white);
  margin-left: 3px;
}

.gallery-card:hover .gallery-card-play {
  opacity: 0;
}

/* ============================================================
   6. LIGHTBOX
   ============================================================ */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lightbox-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  background: var(--color-gray-900);
  object-fit: cover;
}

.lightbox-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-300);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  padding: 0.25rem 0.5rem;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ============================================================
   7. THREE PILLARS
   ============================================================ */

.pillars {
  background: var(--color-offwhite);
  padding: 5rem 2.5rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pillar-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.pillar-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gray-400);
}

.pillar-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-gray-900);
  line-height: 1.3;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.6;
  flex: 1;
}

.pillar-arrow {
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-top: 0.5rem;
  display: inline-block;
  transition: transform 0.2s ease;
}

.pillar-card:hover .pillar-arrow {
  transform: translateX(4px);
}

/* ============================================================
   7b. OUR STORY (Home page — editorial narrative)
   ============================================================ */

.our-story {
  background: var(--color-offwhite);
  padding: 5rem 2.5rem;
}

.our-story .section-heading {
  color: var(--color-gray-900);
  margin-bottom: 2rem;
}

.story-body {
  max-width: 720px;
  margin: 0 auto;
}

.story-body p {
  font-size: 1.02rem;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.story-body p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   8. MANIFESTO STRIP
   ============================================================ */

.manifesto {
  background: linear-gradient(135deg, var(--color-navy) 0%, #0d1a3a 50%, var(--color-brand-blue) 100%);
  padding: 5rem 2.5rem;
  text-align: center;
}

.manifesto blockquote {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 600;
  font-style: italic;
  color: var(--color-white);
  line-height: 1.5;
  quotes: "\201C" "\201D";
}

.manifesto blockquote::before {
  content: open-quote;
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: 0.15em;
  color: rgba(255, 255, 255, 0.3);
}

.manifesto blockquote::after {
  content: close-quote;
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.5rem;
  margin-left: 0.15em;
  color: rgba(255, 255, 255, 0.3);
}

.manifesto cite {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-style: normal;
}

/* ============================================================
   9. EMAIL CTA BLOCK
   ============================================================ */

.email-cta {
  background: linear-gradient(135deg, var(--color-dark) 0%, #101d3a 50%, var(--color-brand-blue) 100%);
  padding: 5rem 2.5rem;
  text-align: center;
}

.email-cta .section-heading {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.email-cta p,
.email-cta .cta-sub {
  font-size: 0.95rem;
  color: var(--color-gray-400);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2.25rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--color-offwhite);
  transform: translateY(-2px);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1.5rem 0 0;
}

/* ============================================================
   9b. LEGAL PILLS (app page, above footer)
   ============================================================ */

.legal-pills {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem 0;
  background: #0a0d16;
}

.legal-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  transition: background 0.2s ease, color 0.2s ease;
}

.legal-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   10. FOOTER
   ============================================================ */

footer {
  background: #0a0d16;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

footer p,
footer span,
footer a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

footer a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer-busk-on {
  display: block;
  font-size: 0.75rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.15rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-social {
  display: inline-flex;
  align-items: center;
}
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.45);
  transition: fill 0.2s ease;
}
.footer-social:hover svg {
  fill: rgba(255,255,255,0.75);
}

/* ============================================================
   11. FEATURE BLOCKS (App & Cadenza pages)
   ============================================================ */

.features {
  background: var(--color-offwhite);
  padding: 5rem 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-block {
  text-align: center;
  padding: 1.5rem 1rem;
}

.feature-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  color: var(--color-navy);
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* ============================================================
   11b. CULTURE SECTION (Artists page)
   ============================================================ */

.culture-section .section-heading {
  color: var(--color-gray-900);
  margin-bottom: 2rem;
}

.culture-body {
  max-width: 720px;
  margin: 0 auto;
}

.culture-body p {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.culture-body p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   12. PARTNER CALLOUT
   ============================================================ */

.partner-callout {
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.partner-callout h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
}

.partner-callout p {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--color-navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: 100px;
  border: 2px solid var(--color-navy);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ============================================================
   13. CONTENT SECTION (inner pages — text blocks)
   ============================================================ */

.content-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}

.content-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.content-section p {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section a {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-section a:hover {
  color: var(--color-gray-900);
}

/* ============================================================
   14. GLOBAL STATS (artists page)
   ============================================================ */

.global-stats {
  background: var(--color-navy);
  text-align: center;
}

.global-stats .section-label {
  color: rgba(255, 255, 255, 0.4);
}

.global-stats .section-heading {
  color: var(--color-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.stats-tagline {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Cadenza stats — light background overrides */
.cadenza-stats {
  background: var(--color-offwhite) !important;
}

.cadenza-stats .section-label {
  color: var(--color-brand-blue);
}

.cadenza-stats .section-heading {
  color: var(--color-gray-900);
}

.cadenza-stats .stat-number {
  color: var(--color-brand-blue);
}

.cadenza-stats .stat-label {
  color: var(--color-gray-500);
}

.cadenza-stats .stats-tagline {
  color: var(--color-gray-500);
}

.cadenza-stats .community-cities {
  justify-content: center;
}

.cadenza-stats .cadenza-begun {
  font-size: 0.85rem;
  font-weight: 600;
  font-style: italic;
  color: var(--color-brand-blue);
  opacity: 0.7;
  margin-top: 1.5rem;
  letter-spacing: 0.03em;
}

/* ============================================================
   16. CADENZA SHOWCASE (video bg + gradient overlay)
   ============================================================ */

.cadenza-showcase {
  display: flex;
  align-items: stretch;
  min-height: 420px;
  overflow: hidden;
}

.cadenza-showcase .showcase-media {
  flex: 1;
  min-height: 400px;
  background-size: cover;
  background-position: center;
}

.cadenza-showcase .showcase-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  background: linear-gradient(160deg, var(--color-dark) 0%, #0d1a3a 60%, var(--color-brand-blue) 100%);
}

.cadenza-showcase .showcase-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cadenza-showcase .showcase-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ============================================================
   17. TESTIMONIALS
   ============================================================ */

.testimonials-section {
  background: linear-gradient(200deg, #0d1a3a 0%, var(--color-dark) 60%, #0a1225 100%);
  padding: 5rem 2.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 2rem auto 0;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 2rem 1.5rem;
}

.testimonial-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-card cite {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  font-style: normal;
  font-weight: 600;
}

/* ============================================================
   17b. CADENZA PIANO SPECS — INTERACTIVE PIN DIAGRAM
   ============================================================ */

.piano-specs {
  background: linear-gradient(180deg, #0a1225 0%, var(--color-dark) 40%, #0d1a3a 100%);
  padding: 5rem 2.5rem;
  text-align: center;
}

/* --- Cadenza video player (click to play) --- */
.cadenza-video-player {
  background: linear-gradient(180deg, var(--color-offwhite) 0%, #e8eaef 100%);
  padding: 3rem 2.5rem;
}

.video-player-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.video-player-wrap video {
  width: 100%;
  display: block;
}

.specs-partner-pill {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.78rem;
  padding: 0.5rem 1.5rem;
  border-color: rgba(42, 79, 212, 0.5);
  color: rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.specs-partner-pill:hover {
  border-color: var(--color-brand-blue-light);
  color: var(--color-white);
}

.specs-sub {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

.specs-diagram {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.specs-piano-video {
  width: 100%;
  border-radius: 16px;
  display: block;
}

/* --- Pin marker --- */
.spec-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Pins appear after video ends */
.specs-diagram.pins-visible .spec-pin {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Stagger the pin pop-in */
.specs-diagram.pins-visible .spec-pin:nth-child(2) { transition-delay: 0.12s; }
.specs-diagram.pins-visible .spec-pin:nth-child(3) { transition-delay: 0.24s; }
.specs-diagram.pins-visible .spec-pin:nth-child(4) { transition-delay: 0.36s; }
.specs-diagram.pins-visible .spec-pin:nth-child(5) { transition-delay: 0.48s; }
.specs-diagram.pins-visible .spec-pin:nth-child(6) { transition-delay: 0.6s; }
.specs-diagram.pins-visible .spec-pin:nth-child(7) { transition-delay: 0.72s; }
.specs-diagram.pins-visible .spec-pin:nth-child(8) { transition-delay: 0.84s; }

/* Glow dot when tooltip is showing */
.spec-pin.show-tip .pin-dot {
  background: var(--color-white);
  box-shadow: 0 0 20px rgba(42, 79, 212, 0.9);
}

.pin-dot {
  display: block;
  width: 14px;
  height: 14px;
  margin: 7px;
  border-radius: 50%;
  background: var(--color-brand-blue-light);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 12px rgba(42, 79, 212, 0.6);
  position: relative;
  z-index: 2;
}

/* Pulse ring */
.pin-dot::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(42, 79, 212, 0.5);
  animation: pin-pulse 2s ease-out infinite;
}

@keyframes pin-pulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Stagger the pulse for visual interest */
.spec-pin:nth-child(2) .pin-dot::before { animation-delay: 0.3s; }
.spec-pin:nth-child(3) .pin-dot::before { animation-delay: 0.6s; }
.spec-pin:nth-child(4) .pin-dot::before { animation-delay: 0.9s; }
.spec-pin:nth-child(5) .pin-dot::before { animation-delay: 1.2s; }
.spec-pin:nth-child(6) .pin-dot::before { animation-delay: 1.5s; }

/* --- Tooltip --- */
.pin-tooltip {
  position: absolute;
  width: 220px;
  background: rgba(7, 9, 15, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(42, 79, 212, 0.4);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10;
}

.pin-tooltip strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.3rem;
}

.pin-tooltip span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* Tooltip positioning */
.pin-tooltip--above {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  margin-bottom: 12px;
}

.pin-tooltip--below {
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  margin-top: 12px;
}

.pin-tooltip--left {
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  margin-right: 12px;
}

.pin-tooltip--right {
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  margin-left: 12px;
}

/* Show on hover / active */
.spec-pin.show-tip .pin-tooltip {
  opacity: 1;
}

.spec-pin.show-tip .pin-tooltip--above {
  transform: translateX(-50%) translateY(0);
}

.spec-pin.show-tip .pin-tooltip--below {
  transform: translateX(-50%) translateY(0);
}

.spec-pin.show-tip .pin-tooltip--left {
  transform: translateY(-50%) translateX(0);
}

.spec-pin.show-tip .pin-tooltip--right {
  transform: translateY(-50%) translateX(0);
}

/* Replay button */
.specs-replay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 15;
  background: rgba(7, 9, 15, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(42, 79, 212, 0.4);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.specs-diagram.pins-visible .specs-replay {
  opacity: 1;
  pointer-events: auto;
}

.specs-replay:hover {
  background: rgba(42, 79, 212, 0.3);
  border-color: var(--color-brand-blue-light);
  color: var(--color-white);
}


/* Mobile: smaller diagram */
@media (max-width: 680px) {
  .pin-tooltip {
    width: 170px;
    padding: 0.7rem 0.8rem;
  }

  .pin-tooltip strong { font-size: 0.8rem; }
  .pin-tooltip span { font-size: 0.72rem; }

  .pin-dot {
    width: 11px;
    height: 11px;
    margin: 8px;
  }
}

/* ============================================================
   17c. CADENZA PHOTO GALLERY (auto-scroll loop)
   ============================================================ */

.cadenza-gallery {
  background: linear-gradient(180deg, #0d1a3a 0%, var(--color-dark) 100%);
  padding: 2rem 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.cadenza-gallery-track {
  display: flex;
  gap: 1rem;
  animation: cadenza-scroll 50s linear infinite;
  will-change: transform;
}

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

.cadenza-gallery-item {
  flex: 0 0 320px;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
}

.cadenza-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ============================================================
   18. APP DOWNLOAD CTA (video bg)
   ============================================================ */

.app-download-cta {
  position: relative;
  padding: 5rem 2.5rem;
  text-align: center;
  background: linear-gradient(160deg, var(--color-dark) 0%, #0d1a3a 60%, #101d3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-download-cta .cta-bg-video {
  display: none;
}

.app-download-cta .cta-bg-overlay {
  display: none;
}

.app-download-cta .cta-inner {
  position: relative;
  max-width: 560px;
}

.btn-glow {
  box-shadow: 0 0 20px rgba(42, 79, 212, 0.35), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-glow:hover {
  box-shadow: 0 0 35px rgba(42, 79, 212, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   19. APP SHOWCASE (phone mockups + icon)
   ============================================================ */

.app-showcase {
  background: linear-gradient(160deg, var(--color-dark) 0%, #0d1a3a 40%, var(--color-brand-blue) 100%);
  padding: 5rem 2.5rem 6rem;
  overflow: hidden;
}

.app-showcase-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

/* --- App icon block (left side) --- */
.app-icon-block {
  flex: 0 0 auto;
  text-align: center;
  max-width: 300px;
}

.app-icon-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1a3a5c, #0a1628);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.04em;
  margin: 0 auto 1.25rem;
  box-shadow:
    0 4px 20px rgba(26, 58, 92, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.app-icon-block h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.app-icon-block p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

/* --- Phone mockups (right side) --- */
.phone-mockups {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  flex: 1;
  perspective: 1200px;
}

.phone-frame {
  position: relative;
  width: 180px;
  min-width: 180px;
  height: 390px;
  border-radius: 40px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  background: #000;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.phone-frame:hover {
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.6),
    0 8px 30px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Left phone — rotated, behind */
.phone-frame--left {
  transform: rotateY(8deg) rotateZ(2deg) translateY(20px) translateX(24px);
  z-index: 1;
}

.phone-frame--left:hover {
  transform: rotateY(4deg) rotateZ(1deg) translateY(16px) translateX(24px);
}

/* Center phone — raised, front */
.phone-frame--center {
  transform: translateY(-10px) scale(1.06);
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 8px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-frame--center:hover {
  transform: translateY(-16px) scale(1.08);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.6),
    0 12px 40px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Right phone — rotated opposite, behind */
.phone-frame--right {
  transform: rotateY(-8deg) rotateZ(-2deg) translateY(20px) translateX(-24px);
  z-index: 1;
}

.phone-frame--right:hover {
  transform: rotateY(-4deg) rotateZ(-1deg) translateY(16px) translateX(-24px);
}

/* --- Notch --- */
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}

/* --- Screen --- */
.phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 37px;
}

.phone-screen span {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Screenshot fan (replaces phone mockups for App Store images) --- */
.screenshot-fan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex: 1;
}

.screenshot-card {
  width: 200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  flex-shrink: 0;
}

.screenshot-card--left {
  transform: rotate(-2deg) translateY(8px);
  z-index: 1;
}

.screenshot-card--left:hover {
  transform: rotate(-1deg) translateY(0) scale(1.03);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.screenshot-card--center {
  transform: translateY(-6px) scale(1.05);
  z-index: 3;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.screenshot-card--center:hover {
  transform: translateY(-12px) scale(1.08);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

.screenshot-card--right {
  transform: rotate(2deg) translateY(8px);
  z-index: 1;
}

.screenshot-card--right:hover {
  transform: rotate(1deg) translateY(0) scale(1.03);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

/* ============================================================
   14b. "THIS IS NOT BUSKING" MEME SECTION
   ============================================================ */

.not-busking {
  background: linear-gradient(180deg, #0a1225 0%, var(--color-dark) 50%, #0d1530 100%);
  padding: 5rem 2.5rem;
  text-align: center;
}

.not-busking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.not-busking-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.not-busking-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.not-busking-card:hover video {
  /* JS will handle play on hover */
}

/* ============================================================
   15. RESPONSIVE
   ============================================================ */

/* --- 900px breakpoint --- */
@media (max-width: 900px) {
  /* Gallery: horizontal scroll — no grid changes needed */

  /* Pillars: 3 cols → 1 col, centered */
  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Stats: 4 cols → 2 cols */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* App showcase: stack vertically */
  .app-showcase-inner {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .app-icon-block {
    max-width: 100%;
  }

  .phone-mockups {
    perspective: 800px;
  }

  .phone-frame {
    width: 150px;
    min-width: 150px;
    height: 325px;
  }

  .screenshot-card {
    width: 160px;
  }

  /* Cadenza showcase: stack on tablet */
  .cadenza-showcase {
    flex-direction: column;
  }

  .cadenza-showcase .showcase-media {
    min-height: 280px;
  }

  .cadenza-showcase .showcase-content {
    padding: 3rem 2rem;
    text-align: center;
  }

  /* Features: 3 cols → 1 col */
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Testimonials: 3 cols → 1 col */
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 2rem auto 0;
  }

  /* Not-busking meme grid: 4 cols → 2 cols on tablet */
  .not-busking-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Keynote section: tighten padding */
  .keynote-section {
    padding: 4rem 1.5rem;
  }

  /* Cities callouts: stack on tablet */
  .cities-callouts {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  /* Story stats: 1-col on tablet/phone */
  .story-stats {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

/* --- 680px breakpoint --- */
@media (max-width: 680px) {
  /* Show hamburger, hide inline nav links */
  .nav-toggle {
    display: flex;
  }

  /* Mobile nav drawer — slides in from right */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(280px, 80vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    background: var(--color-white);
    padding: calc(var(--nav-height) + 1.5rem) 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    color: var(--color-gray-800);
    border-bottom: 1px solid var(--color-gray-100);
    border-left: none;
  }

  .nav-links a.active {
    color: var(--color-navy);
    font-weight: 700;
    border-bottom-color: var(--color-gray-100);
    border-left: 3px solid var(--color-navy);
    padding-left: 0.75rem;
  }

  /* Even when nav is scrolled, keep drawer styles consistent on mobile */
  .site-nav.nav--scrolled .nav-links a {
    color: var(--color-gray-800);
  }

  .site-nav.nav--scrolled .nav-links a.active {
    color: var(--color-navy);
    border-bottom-color: var(--color-gray-100);
    border-left: 3px solid var(--color-navy);
  }

  /* Gallery: horizontal scroll — shrink cards on mobile */
  .gallery-card,
  .gallery-card.featured {
    flex: 0 0 170px;
    height: 300px;
  }

  /* Section padding shrinks */
  .section,
  .gallery,
  .pillars,
  .our-story,
  .manifesto,
  .email-cta,
  .features,
  .cadenza-showcase,
  .app-download-cta,
  .testimonials-section,
  .app-showcase {
    padding: 3.5rem 1.25rem;
  }

  /* Phone mockups: horizontal scroll on small screens */
  .phone-mockups {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
  }

  .phone-frame {
    width: 140px;
    min-width: 140px;
    height: 303px;
    flex-shrink: 0;
    scroll-snap-align: center;
  }

  .phone-frame--left {
    transform: rotateY(6deg) rotateZ(1.5deg) translateY(14px) translateX(16px);
  }

  .phone-frame--center {
    transform: translateY(-6px) scale(1.04);
  }

  .phone-frame--right {
    transform: rotateY(-6deg) rotateZ(-1.5deg) translateY(14px) translateX(-16px);
  }

  /* Screenshot fan: smaller on mobile */
  .screenshot-fan {
    gap: 0.75rem;
  }

  .screenshot-card {
    width: 105px;
  }

  .screenshot-card--left {
    transform: rotate(-2deg) translateY(6px);
  }

  .screenshot-card--center {
    transform: translateY(-4px) scale(1.04);
  }

  .screenshot-card--right {
    transform: rotate(2deg) translateY(6px);
  }

  /* Footer stacks */
  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.25rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Pillar cards */
  .pillar-card {
    padding: 1.5rem 1.25rem;
  }

  /* Feature blocks */
  .feature-block {
    padding: 1rem 0.5rem;
  }

  /* Manifesto */
  .manifesto blockquote {
    font-size: 1.1rem;
  }

  /* Partner callout */
  .partner-callout {
    padding: 2rem 1.5rem;
    border-radius: 10px;
    max-width: 100%;
  }

  /* Stats grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  /* Content section */
  .content-section {
    padding: 3rem 1.25rem;
  }

  /* Lightbox inner for small screens */
  .lightbox-inner {
    max-width: 100%;
  }

  /* Contact form: full width, prevent overflow */
  .contact-form {
    max-width: 100%;
    padding: 0 0.25rem;
  }

  /* Sections missing from original padding reduction */
  .not-busking,
  .global-stats,
  .piano-specs,
  .keynote-section,
  .cadenza-video-player {
    padding: 3.5rem 1.25rem;
  }

  /* CTA buttons on app.html: stack vertically */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-outline {
    width: 100%;
    max-width: 280px;
    text-align: center;
    box-sizing: border-box;
  }

  /* Legal pills: wrap gracefully on small screens */
  .legal-pills {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem 0;
  }

  /* Cadenza gallery items: smaller on mobile */
  .cadenza-gallery-item {
    flex: 0 0 240px;
    height: 165px;
  }

  /* Keynote video wrap: tighter radius on mobile */
  .keynote-video-wrap {
    border-radius: 8px;
  }

  /* Support page heading */
  .support-heading {
    font-size: 1.6rem;
  }

  /* Cities callouts: single column on mobile */
  .cities-callouts {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  /* Culture section: tighter gaps on mobile */
  .culture-body--scannable {
    gap: 2rem;
  }

  .culture-cities {
    gap: 0.4rem;
  }

  .culture-city-tag {
    font-size: 0.72rem;
    padding: 0.3rem 0.7rem;
  }

  /* Story section mobile adjustments */
  .story-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .story-stat {
    padding: 1.25rem 1rem;
  }

  .story-bullets li {
    font-size: 0.9rem;
  }

  /* Community section mobile adjustments */
  .community-stats-row {
    gap: 2rem;
  }

  .community-stat-number {
    font-size: 2rem;
  }

  .community-cities {
    gap: 0.4rem;
  }

  .community-city-tag {
    font-size: 0.72rem;
    padding: 0.3rem 0.7rem;
  }
}


/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 80px;
}

.contact-form .btn-primary {
  align-self: center;
  margin-top: 0.5rem;
  cursor: pointer;
  border: none;
}

.contact-form .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-status {
  text-align: center;
  font-size: 0.82rem;
  min-height: 1.2em;
  margin: 0.25rem 0 0;
}

.form-status--success { color: #6ee7a0; }
.form-status--error   { color: #f87171; }

/* Light variant (support page) */
.contact-form--light input,
.contact-form--light textarea {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-gray-900);
}

.contact-form--light input::placeholder,
.contact-form--light textarea::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.contact-form--light input:focus,
.contact-form--light textarea:focus {
  border-color: rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.07);
}

.contact-form--light .form-status--success { color: #16a34a; }
.contact-form--light .form-status--error   { color: #dc2626; }

/* ============================================================
   CITIES CALLOUT BLOCKS (app.html — For Cities & Districts)
   ============================================================ */

.cities-callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.cities-callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cities-callout:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.cities-callout-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.cities-callout strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.3rem;
}

.cities-callout p {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================================
   CULTURE SECTION — SCANNABLE LAYOUT (Artists page)
   ============================================================ */

.culture-body--scannable {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.culture-block {
  padding: 0;
}

.culture-block-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.culture-lead {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.culture-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.culture-bullets li {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.65;
  padding-left: 1.25rem;
  position: relative;
}

.culture-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand-blue);
  opacity: 0.55;
}

.culture-bullets li strong {
  color: var(--color-gray-900);
  font-weight: 600;
}

/* City tags */
.culture-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.culture-city-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-brand-blue);
  background: rgba(26, 58, 184, 0.07);
  border: 1px solid rgba(26, 58, 184, 0.15);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
}

/* ============================================================
   OUR STORY — SCANNABLE LAYOUT (Home page)
   ============================================================ */

.story-intro {
  font-size: 1.1rem;
  color: var(--color-gray-500);
  line-height: 1.7;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.story-stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  padding: 1.5rem 1.25rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--color-gray-300);
}

.story-stat-icon {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.story-stat strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-gray-900);
  line-height: 1.3;
}

.story-stat span:last-child {
  font-size: 0.88rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}

.story-bullets {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.story-bullets li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gray-800);
  line-height: 1.5;
  padding: 0.6rem 1rem;
  border-left: 3px solid var(--color-brand-blue);
  text-align: left;
  background: rgba(26, 58, 184, 0.04);
  border-radius: 0 6px 6px 0;
}

/* ============================================================
   COMMUNITY SECTION — SCANNABLE LAYOUT (Cadenza page)
   ============================================================ */

.community-block {
  margin-bottom: 2.25rem;
}

.community-block:last-child {
  margin-bottom: 0;
}

.community-block-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.community-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.community-bullets li {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.65;
  padding-left: 1.25rem;
  position: relative;
}

.community-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand-blue);
  opacity: 0.55;
}

.community-bullets li strong {
  color: var(--color-gray-900);
  font-weight: 600;
}

/* Stat callouts row */
.community-stats-row {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 1.25rem;
}

.community-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.community-stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-brand-blue);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.community-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gray-400);
  margin-top: 0.2rem;
}

/* City tags */
.community-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.community-city-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-brand-blue);
  background: rgba(26, 58, 184, 0.07);
  border: 1px solid rgba(26, 58, 184, 0.15);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
}

.community-result {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.65;
  margin-bottom: 0;
}

.community-result strong {
  color: var(--color-gray-900);
  font-weight: 600;
}

