/* PlayForge: deep navy and charcoal with a warm amber-orange accent. */

:root {
  --navy-950: #070d19;
  --navy-900: #0b1424;
  --navy-800: #111d33;
  --navy-700: #1a2844;
  --charcoal-900: #15181e;
  --charcoal-800: #1d2129;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --ink: #eef1f6;
  --ink-2: #b4bccb;
  --ink-3: #8690a3;

  --amber: #f5a524;
  --orange: #ef6c2b;
  --accent-grad: linear-gradient(120deg, #f7b53a 0%, #ef6c2b 100%);
  --accent-soft: rgba(245, 165, 36, 0.12);

  --paper: #f6f3ee;
  --paper-ink: #16202f;
  --paper-ink-2: #4a5566;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 11vw, 136px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1,
h2,
h3 { margin: 0; font-weight: 500; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--navy-950);
  border-radius: 8px;
  font-weight: 700;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.section-lead {
  color: var(--ink-2);
  font-size: 1.1rem;
  max-width: 560px;
  margin-top: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--accent-grad);
  color: #1a0e02;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 30px -12px rgba(239, 108, 43, 0.65);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(239, 108, 43, 0.75); filter: brightness(1.04); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--amber); color: #fff; box-shadow: none; }

.btn-small { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: calc(22px + env(safe-area-inset-top, 0px)) 0 22px;
}
.site-header.is-scrolled {
  background: rgba(9, 16, 30, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: calc(14px + env(safe-area-inset-top, 0px)) 0 14px;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent-grad);
  position: relative;
  box-shadow: 0 6px 18px -6px rgba(239, 108, 43, 0.7);
  flex: none;
}
.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  background: var(--navy-900);
  border-radius: 2px;
}
.logo-mark::before { width: 12px; height: 3px; left: 9px; top: 9px; }
.logo-mark::after { width: 3px; height: 12px; left: 9px; top: 9px; box-shadow: 5px 5px 0 0 var(--navy-900); }
.logo-word {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a:not(.btn) {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  position: relative;
  transition: color 0.25s;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

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

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 18vw, 200px) 0 clamp(80px, 10vw, 128px);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(26, 40, 68, 0.9) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
}
.hero-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -220px;
  top: -180px;
  background: radial-gradient(circle, rgba(245, 165, 36, 0.22) 0%, rgba(239, 108, 43, 0.08) 40%, transparent 70%);
  filter: blur(10px);
  animation: drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-60px, 50px, 0) scale(1.08); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.hero-title span { display: inline-block; }
.hero-title .accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  padding-right: 0.06em;
}
.hero-lead {
  margin-top: 28px;
  max-width: 520px;
  font-size: 1.15rem;
  color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Photo placeholder (swap the inner content for an <img>) */
.photo-placeholder {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(145deg, rgba(245, 165, 36, 0.10), rgba(239, 108, 43, 0.02) 55%),
    var(--charcoal-800);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.hero-photo { aspect-ratio: 4 / 5; }
.photo-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder-inner {
  position: absolute;
  inset: 18px;
  border: 1.5px dashed rgba(245, 165, 36, 0.35);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-2);
  text-align: center;
  padding: 16px;
}
.photo-placeholder-inner svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.photo-placeholder-inner span { font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.photo-placeholder-inner small { color: var(--ink-3); font-size: 0.82rem; }

/* ---------- Strip ---------- */

.strip {
  background: var(--charcoal-900);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.strip-item {
  padding: 40px 32px;
  border-left: 1px solid var(--line);
}
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--amber);
  margin-bottom: 8px;
}
.strip-item p { color: var(--ink-2); font-size: 0.98rem; }

/* ---------- Sections ---------- */

.section { padding: var(--section-y) 0; }
section[id] { scroll-margin-top: 40px; }
.section-alt { background: var(--charcoal-900); }
.section-head { text-align: center; margin: 0 auto clamp(44px, 6vw, 72px); max-width: 720px; }
.section-head .section-lead { margin-left: auto; margin-right: auto; }
.section-head-left { text-align: left; margin: 0; }
.section-head-left .section-lead { margin-left: 0; }

/* ---------- Experience cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--navy-800) 0%, rgba(17, 29, 51, 0.6) 100%);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 165, 36, 0.35);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.card-tier {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-3);
  margin-bottom: 22px;
}
.card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; line-height: 1.15; }
.card-text { color: var(--ink-2); font-size: 0.97rem; margin-top: 14px; }
/* Prices sit at the bottom of every card so they line up across the row. */
.prices { margin: auto 0 26px; padding: 0; border-top: 1px solid var(--line); }
.card > .card-note,
.card > .card-text:last-of-type { margin-bottom: 26px; }
.prices div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.prices dt { color: var(--ink-3); font-size: 0.86rem; white-space: nowrap; }
.prices dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.8rem; /* fixed, so "From" and "Price on request" rows match the others */
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.card-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--amber);
  text-decoration: none;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.card-link span { transition: transform 0.3s var(--ease); }
.card-link:hover span { transform: translateX(4px); }

.card-featured {
  background:
    linear-gradient(180deg, rgba(245, 165, 36, 0.14) 0%, rgba(245, 165, 36, 0.02) 60%),
    var(--navy-800);
  border-color: rgba(245, 165, 36, 0.4);
}
.card-badge {
  position: absolute;
  top: 26px;
  right: 24px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a0e02;
  background: var(--accent-grad);
  padding: 5px 11px;
  border-radius: 999px;
}

/* ---------- Dance styles ---------- */

.styles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.style {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--charcoal-800);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}
.style:hover { transform: translateY(-5px); background: #232833; }
.style-num {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--amber);
  background: var(--accent-soft);
  border: 1px solid rgba(245, 165, 36, 0.25);
  margin-bottom: 26px;
}
.style h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.style p { color: var(--ink-2); font-size: 0.97rem; margin-top: 10px; }

/* ---------- How it works ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 165, 36, 0.55), rgba(245, 165, 36, 0.05));
}
.step { position: relative; padding-right: 12px; }
.step-num {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 1px solid rgba(245, 165, 36, 0.55);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 26px;
  box-shadow: 0 0 0 8px var(--navy-900);
}
.step p { color: var(--ink-2); font-size: 0.97rem; margin-top: 10px; }

/* ---------- Benefits (light section) ---------- */

.section-light { background: var(--paper); color: var(--paper-ink); }
.section-light .eyebrow { color: #c2581d; }
.section-light .section-lead { color: var(--paper-ink-2); }
.benefits-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}
.benefit {
  padding: 26px 0 26px 28px;
  border-top: 1px solid rgba(22, 32, 47, 0.12);
  position: relative;
}
.benefit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 34px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent-grad);
  transform: rotate(45deg);
}
.benefit h3 { color: var(--paper-ink); font-size: 1.12rem; }
.benefit p { color: var(--paper-ink-2); font-size: 0.97rem; margin-top: 6px; }

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

.contact {
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(239, 108, 43, 0.14) 0%, transparent 60%),
    var(--navy-950);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.contact-copy .btn { margin-top: 34px; }
.contact-list {
  list-style: none;
  margin: 0;
  padding: 10px 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact-list a,
.contact-list li > span:last-child {
  font-family: var(--font-display);
  font-size: 1.45rem;
  text-decoration: none;
  color: var(--ink);
  overflow-wrap: anywhere;
  transition: color 0.25s;
}
.contact-list a:hover { color: var(--amber); }

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

.site-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.logo-small .logo-word { font-size: 1.2rem; }
.logo-small .logo-mark { width: 24px; height: 24px; border-radius: 7px; }
.logo-small .logo-mark::before { width: 10px; left: 7px; top: 7px; }
.logo-small .logo-mark::after { height: 10px; left: 7px; top: 7px; box-shadow: 4px 4px 0 0 var(--navy-900); }
.footer-tag { font-family: var(--font-display); font-style: italic; color: var(--amber); }
.footer-copy { color: var(--ink-3); font-size: 0.88rem; }

/* ---------- Content additions ---------- */

.hero-statement {
  margin-top: 26px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--ink);
}
.hero-statement + .hero-lead { margin-top: 12px; }

.strip-grid-4 { grid-template-columns: repeat(4, 1fr); }
.strip-grid-4 .strip-kicker { font-size: 1.3rem; }

.prices dd small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.04em;
  margin-right: 4px;
}
.prices dd.price-tbc {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-2);
}

.ultimate-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, rgba(245, 165, 36, 0.6), rgba(245, 165, 36, 0.08));
}
.timeline li {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 0 0 34px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--charcoal-900);
  border: 1px solid rgba(245, 165, 36, 0.55);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.timeline h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; padding-top: 8px; }
.timeline p { color: var(--ink-2); margin-top: 6px; }

.styles-3 { grid-template-columns: repeat(3, 1fr); }
.style-list { list-style: none; margin: 18px 0 0; padding: 0; }
.style-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}
.style-list li::before { content: "—"; color: var(--amber); margin-right: 10px; }

.steps-5 { grid-template-columns: repeat(5, 1fr); }

.benefits-simple { gap: 0 32px; }
.benefits-simple .benefit { padding: 22px 0 22px 28px; }
.benefits-simple .benefit::before { top: 30px; }
.benefits-simple h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; }

/* ---------- Photos: a real photo sits over its placeholder once the file exists ---------- */

/* A slot whose photo hasn't been found (yet) shows only its placeholder. */
img[data-photo]:not([src]) { display: none; }
.client-logo:not(:has(img[src])) { display: none; }

.photo-placeholder > img,
.gallery-item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ---------- Hero slideshow (built by main.js when 2+ hero photos exist) ---------- */

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--charcoal-900);
}
.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.1s var(--ease),
    filter 1.4s var(--ease),
    transform 4.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity, transform;
}
.hero-layer.is-on { opacity: 1; transform: scale(1); }
/* blend: the incoming photo merges into the outgoing one before taking over */
.hero-layer.is-blend { mix-blend-mode: screen; transition-duration: 1.6s, 1.4s, 4.5s; }
/* combine: two or three photos layered like a double exposure */
.hero-layer.is-ghost.is-on { opacity: 0.58; mix-blend-mode: screen; }
.hero-layer.is-ghost:nth-child(odd).is-on { transform: scale(1.04) translateX(-2%); }
.hero-layer.is-ghost:nth-child(even).is-on { transform: scale(1.04) translateX(2%); }
/* silhouette: high-contrast shapes under the amber tint, then back to full colour */
/* lights push to white (the amber tint then colours them), people and shapes stay near-black */
.hero-layer.is-silhouette { filter: grayscale(1) brightness(1.35) contrast(3.4); }
.hero-tint {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: var(--accent-grad);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  pointer-events: none;
}
.hero-tint.is-on { opacity: 0.9; }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(7, 13, 25, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s;
}
.hero-dots button[aria-current="true"] { width: 22px; background: var(--amber); }
.hero-photo.has-photos > .photo-placeholder-inner { display: none; }

/* ---------- Trusted by teams ---------- */

.client-list { display: grid; gap: clamp(28px, 4vw, 44px); }
.client {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: 24px;
  background: var(--navy-800);
  border: 1px solid var(--line);
}
.client-info { display: flex; flex-direction: column; gap: 16px; align-self: center; }
.client-logo {
  align-self: flex-start;
  display: grid;
  place-items: center;
  height: 64px;
  padding: 10px 18px;
  border-radius: 14px;
  background: #fff;
}
.client-logo img { max-height: 44px; width: auto; max-width: 180px; object-fit: contain; }
.client h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.client-info p { color: var(--ink-2); font-size: 1.02rem; max-width: 560px; }
.client-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-content: start;
}
.client-video,
.client-photo {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(245, 165, 36, 0.10), rgba(239, 108, 43, 0.02) 55%),
    var(--charcoal-800);
  border: 1px solid var(--line);
}
.client-video { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.client-photo { aspect-ratio: 4 / 3; }
.client-video video,
.client-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: #000;
}
.client-photo img { background: none; }
/* Show the whole video frame (upright phone videos get dark side bars instead of losing heads and feet). */
.client-video video { object-fit: contain; }
.client-video .photo-placeholder-inner,
.client-photo .photo-placeholder-inner { inset: 10px; gap: 4px; padding: 8px; }
.client-photo .photo-placeholder-inner small,
.client-video .photo-placeholder-inner small { font-size: 0.72rem; overflow-wrap: anywhere; }
/* Client media shows only what really exists: no empty boxes, no file names.
   No media yet: the paragraph stands alone, full width. Media appears as files are found. */
.client:not(.has-media) { grid-template-columns: 1fr; }
.client:not(.has-media) .client-info { align-self: start; }
.clients .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
/* While no client has media yet, the text-only cards sit side by side instead of as wide, empty rows. */
@media (min-width: 861px) {
  .client-list:not(:has(.client.has-media)) { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
}
.client:not(.has-media) .client-media { display: none; }
.client-photo:not(:has(img[src])) { display: none; }
.client-video:not(.is-ready) { display: none; }
.client-photo:has(img[src]) .photo-placeholder-inner,
.client-video.is-ready .photo-placeholder-inner { display: none; }
.client.has-media .client-media { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

@media (max-width: 860px) {
  .client { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .client-media { grid-template-columns: repeat(2, 1fr); }
  .client-photo:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* ---------- "Everyone belongs here" thread ----------
   The same three words each time (bold, amber); each placement adds its own detail. */

.belongs-line {
  font-family: var(--font-display);
  color: var(--ink);
  text-wrap: balance;
}
.belongs-key {
  font-weight: 600;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.belongs-detail { color: var(--ink); font-weight: 400; }

/* 1: statement band after "What is PlayForge?" */
.belongs-band {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(245, 165, 36, 0.10), transparent 70%),
    var(--charcoal-900);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.belongs-band .belongs-line { font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.25; max-width: 900px; margin: 0 auto; }

/* 2: closing line of the dance styles section */
.belongs-inline {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  text-align: center;
}

/* 3: under the gallery heading */
.belongs-small { margin-top: 14px; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.4; }
.belongs-small .belongs-detail { color: var(--ink-2); }

/* 4: the close */
.belongs-close {
  padding: clamp(80px, 12vw, 150px) 0;
  text-align: center;
  background:
    radial-gradient(70% 100% at 50% 100%, rgba(239, 108, 43, 0.16), transparent 70%),
    var(--navy-950);
  border-top: 1px solid var(--line);
}
.belongs-close .belongs-line { font-size: clamp(2.1rem, 6vw, 4.6rem); line-height: 1.08; letter-spacing: -0.02em; }
.belongs-close .belongs-key,
.belongs-close .belongs-detail { display: block; }
.belongs-close .belongs-detail { font-style: italic; color: var(--ink-2); margin-top: 0.15em; }

/* ---------- Testimonials ---------- */

/* Hidden, with its menu link, while every card is still a sample. One real card (no
   data-sample="true") brings both back. */
.testimonials:not(:has(.quote:not([data-sample="true"]):not([data-broken]))) { display: none; }
body:not(:has(.testimonials .quote:not([data-sample="true"]):not([data-broken]))) .site-nav a[href="#testimonials"] { display: none; }
/* A real video card whose file is missing hides itself (set by main.js). */
.quote[data-broken] { display: none; }

.testimonials { background: var(--navy-900); }
/* Real cards only: each sample card hides on its own, and the real ones centre in the row
   (one quote shows as one card). */
.quote[data-sample="true"] { display: none; }
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px));
  justify-content: center;
  align-items: start;
  gap: 20px;
}

/* Video testimonial: plays only when tapped (with sound), never on its own. */
.quote-video { padding-top: 32px; }
.quote.quote-video::before { content: none; }
.quote-media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #05080f;
}
.quote-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #05080f; }
.quote-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #1a0e02;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 34px -10px rgba(239, 108, 43, 0.8), 0 0 0 10px rgba(245, 165, 36, 0.16);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.quote-play:hover { transform: scale(1.06); box-shadow: 0 18px 40px -10px rgba(239, 108, 43, 0.9), 0 0 0 14px rgba(245, 165, 36, 0.18); }
.quote-play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.quote-video.is-playing .quote-play { display: none; }
.quote {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 40px 32px 30px;
  border-radius: var(--radius);
  background: var(--navy-800);
  border: 1px solid var(--line);
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 14px;
  left: 26px;
  font-family: var(--font-display);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--amber);
  opacity: 0.85;
}
.quote blockquote { margin: 18px 0 0; flex: 1; }
.quote blockquote p {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.5;
  color: var(--ink);
}
.quote[data-sample="true"] blockquote p { color: var(--ink-3); font-style: italic; }
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.quote-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 165, 36, 0.3);
  color: var(--amber);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.quote-who { display: flex; flex-direction: column; line-height: 1.35; }
.quote-name { font-weight: 700; color: var(--ink); }
.quote-role { color: var(--amber); font-size: 0.92rem; font-weight: 600; }
.quote-company { color: var(--ink-3); font-size: 0.88rem; }
.quote-sample {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  padding: 3px 9px;
}

@media (max-width: 1023px) {
  .quotes { grid-template-columns: minmax(0, 520px); }
}

/* ---------- Booking ---------- */

/* The Book button glows a little more once the page is scrolled, so it stays the obvious next step. */
.site-header.is-scrolled .site-nav .btn,
.site-header.is-scrolled .header-cta {
  box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.18), 0 10px 26px -10px rgba(239, 108, 43, 0.9);
}
/* Phones/tablets: the menu's own button is inside the closed menu, so the top bar gets its own. */
.header-cta { display: none; }
@media (max-width: 1023px) {
  .header-cta { display: inline-flex; margin-left: auto; padding: 10px 16px; font-size: 0.86rem; white-space: nowrap; }
  .header-inner { gap: 12px; }
}
@media (max-width: 360px) {
  .header-cta { padding: 9px 12px; font-size: 0.8rem; }
  .logo-word { font-size: 1.25rem; }
}

.btn-large { padding: 20px 40px; font-size: 1.12rem; }

/* "Your team could be next." under the case studies */
.next-cta {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 24px;
  background:
    radial-gradient(90% 140% at 100% 50%, rgba(245, 165, 36, 0.16), transparent 60%),
    var(--navy-900);
  border: 1px solid rgba(245, 165, 36, 0.35);
}
.next-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.next-text { margin-top: 10px; color: var(--ink-2); font-size: 1.08rem; max-width: 560px; }

/* One strong call at the very bottom */
.final-cta { margin-top: clamp(36px, 5vw, 56px); display: grid; justify-items: center; gap: 16px; }
.final-cta-alt { color: var(--ink-3); font-size: 0.95rem; }

/* ---------- Gallery: once any photo is present, empty slots are hidden ---------- */
.gallery-track.has-photos .gallery-item.is-empty { display: none; }
.gallery-track.has-photos .gallery-item:not(.is-empty) .photo-placeholder-inner { display: none; }

/* ---------- What is PlayForge ---------- */

.about { background: var(--navy-900); }
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.about-copy { display: grid; gap: 18px; max-width: 640px; }
@media (min-width: 861px) {
  .about .section-head { position: sticky; top: 120px; }
}
.about-copy p { font-size: 1.2rem; color: var(--ink-2); line-height: 1.7; }
.about-copy p:first-child { font-size: clamp(1.35rem, 2.4vw, 1.7rem); color: var(--ink); line-height: 1.45; font-family: var(--font-display); }
.about-sign {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important;
  color: var(--ink) !important;
  letter-spacing: -0.02em;
}
.accent-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

/* ---------- Package details ---------- */

.card-sessions {
  margin-top: 14px;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 165, 36, 0.25);
}
.card-note {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--ink-3);
  padding-left: 14px;
  border-left: 2px solid rgba(245, 165, 36, 0.45);
}

/* ---------- Gallery ---------- */

.gallery-section { padding-bottom: calc(var(--section-y) * 0.8); }
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.gallery-head .section-head { margin: 0; }
.gallery-controls { display: flex; gap: 10px; }
.gallery-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.gallery-btn:hover { border-color: var(--amber); color: var(--amber); background: var(--accent-soft); }
.gallery-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 18px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 165, 36, 0.4) transparent;
}
.gallery-track:focus-visible { outline-offset: -2px; }
.gallery-item {
  position: relative;
  flex: 0 0 clamp(240px, 30vw, 360px);
  aspect-ratio: 4 / 5;
  max-width: 100%;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  background:
    linear-gradient(145deg, rgba(245, 165, 36, 0.10), rgba(239, 108, 43, 0.02) 55%),
    var(--charcoal-800);
  border: 1px solid var(--line);
}
.gallery-item:nth-child(even) { aspect-ratio: 4 / 4.4; align-self: flex-end; }
.gallery-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(7, 13, 25, 0.72);
  padding: 6px 11px;
  border-radius: 999px;
}

/* ---------- Header nav at mid widths ---------- */

@media (max-width: 1180px) and (min-width: 1024px) {
  .site-nav { gap: 20px; }
  .site-nav a:not(.btn) { font-size: 0.88rem; }
}

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

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

/* Content is visible at rest; a section plays its fade-up once, just before it scrolls into view. */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.js .reveal.is-animating { animation: rise 0.9s var(--ease) both; animation-delay: var(--delay, 0s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow { animation: none; }
  .js .reveal.is-animating { animation: none; }
  .card,
.style,
.btn { transition: none; }
}

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

@media (max-width: 1080px) {
  .cards, .styles { grid-template-columns: repeat(2, 1fr); }
  .styles-3 { grid-template-columns: repeat(3, 1fr); }
  .steps, .steps-5 { grid-template-columns: repeat(2, 1fr); gap: 44px 28px; }
  .steps::before { display: none; }
  .strip-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .strip-grid-4 .strip-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-grid-4 .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* The full menu needs 1024px; below that it becomes the full-screen menu. */
@media (max-width: 1023px) {
  .nav-toggle { display: block; z-index: 2; }
  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: rgba(7, 13, 25, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav a:not(.btn) { font-family: var(--font-display); font-size: 1.8rem; color: var(--ink); }
  .site-nav .btn { margin-top: 12px; }
}

@media (max-width: 860px) {
  .hero-grid,
.benefits-grid,
.ultimate-grid,
.contact-grid { grid-template-columns: 1fr; }
  .styles-3 { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 16 / 11; }

  .strip-grid,
.strip-grid-4 { grid-template-columns: 1fr; }
  .strip-item,
.strip-item:first-child,
.strip-grid-4 .strip-item:nth-child(3) { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .strip-item:first-child { border-top: 0; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .cards,
.styles,
.steps,
.steps-5,
.benefits { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .contact-list { padding: 4px 22px; }
  .contact-list a,
.contact-list li > span:last-child { font-size: 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
