/* ============================================================
   justfrankie — styles.css
   Palette derived from logo: coral #F07860, cream #FDF5F0
   ============================================================ */

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
  /* Colors */
  --color-coral:        #F07860;
  --color-coral-light:  #F5A090;
  --color-coral-dark:   #D95F48;
  --color-cream:        #FDF5F0;
  --color-cream-deep:   #F7ECE5;
  --color-warm-white:   #FFFAF7;
  --color-text:         #3A2E28;
  --color-text-muted:   #7A6358;
  --color-text-light:   #A8948A;
  --color-border:       #EDD9D0;

  /* Typography */
  --font-body:    'Nunito', sans-serif;
  --font-display: 'Playfair Display', serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;

  /* Layout */
  --container-max: 1100px;
  --nav-height: 72px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Transitions */
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ── Utility: Image fit ─────────────────────────────────────── */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── Utility: Container ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ── Utility: Scroll Reveal ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal--right {
  transform: translateX(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,120,96,0.25);
}

.btn--primary {
  background: var(--color-coral);
  color: #fff;
  border-color: var(--color-coral);
}

.btn--primary:hover {
  background: var(--color-coral-dark);
  border-color: var(--color-coral-dark);
}

.btn--secondary {
  background: transparent;
  color: var(--color-coral);
  border-color: var(--color-coral);
}

.btn--secondary:hover {
  background: var(--color-coral);
  color: #fff;
}

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

.btn--ghost:hover {
  border-color: var(--color-coral-light);
  color: var(--color-coral);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* Tertiary — quiet, link-like. The lowest-priority action. */
.btn--text {
  background: transparent;
  color: var(--color-text-muted);
  border-color: transparent;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.btn--text:hover {
  color: var(--color-coral);
  box-shadow: none;
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(253, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.nav.is-scrolled {
  box-shadow: 0 2px 16px rgba(58, 46, 40, 0.08);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--color-coral);
}

.nav__link.nav__cta {
  background: var(--color-coral);
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.875rem;
}

.nav__link.nav__cta:hover {
  background: var(--color-coral-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(240,120,96,0.3);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero__content {
  flex: 1;
  max-width: 560px;
}

.hero__logo {
  height: 80px;
  width: auto;
  margin-bottom: var(--space-md);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

/* Make "Take Lessons" the obvious focal point — it's the primary
   business goal — with a resting glow that lifts it above the rest. */
.hero__ctas .btn--primary {
  box-shadow: 0 6px 20px rgba(240, 120, 96, 0.30);
}

.hero__ctas .btn--primary:hover {
  box-shadow: 0 10px 26px rgba(240, 120, 96, 0.38);
}

.hero__image-placeholder {
  flex: 1;
  max-width: 480px;
  min-height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.hero__photo {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
}

/* ── Sections — Shared ───────────────────────────────────────── */
.section {
  padding: var(--space-2xl) 0;
}

.section:nth-child(even) {
  background: var(--color-cream);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-coral);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.section__intro {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.section__body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* ── Vocal Coaching ──────────────────────────────────────────── */
.coaching {
  background: var(--color-warm-white);
}

.coaching__hero {
  width: 100%;
  max-width: 480px;
  margin: 0 auto var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(58,46,40,0.12);
}

.coaching__photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Values Grid */
.values {
  margin-bottom: var(--space-xl);
}

.values__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.value-card {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(240,120,96,0.12);
}

.value-card__icon {
  font-size: 1.5rem;
  color: var(--color-coral);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.value-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Lesson Details + Credentials */
.coaching__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
}

.lesson-info__title,
.credentials__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.lesson-info__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.lesson-info__list li {
  display: flex;
  gap: var(--space-sm);
  font-size: 0.95rem;
  line-height: 1.6;
}

.detail-label {
  font-weight: 700;
  color: var(--color-coral);
  min-width: 80px;
  flex-shrink: 0;
}

.detail-value {
  color: var(--color-text-muted);
}

.credentials__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.credentials__list li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding-left: 1.2em;
  position: relative;
}

.credentials__list li::before {
  content: '♪';
  position: absolute;
  left: 0;
  color: var(--color-coral-light);
  font-size: 0.75em;
  top: 0.15em;
}

/* Coaching CTA */
.coaching__cta {
  text-align: center;
  padding: var(--space-xl) 0;
}

.coaching__cta-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.coaching__cta-note {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.coaching__cta-alt {
  margin-top: var(--space-sm);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.coaching__cta-link {
  color: var(--color-coral);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.coaching__cta-link:hover {
  color: var(--color-coral-dark);
}

/* Testimonials */
.testimonials {
  text-align: center;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
}

.testimonials__coming-soon {
  font-size: 0.875rem;
  color: var(--color-text-light);
  letter-spacing: 0.08em;
}

/* ── Performance ─────────────────────────────────────────────── */
.performance {
  background: var(--color-cream);
}

/* Performance photo gallery */
.performance__gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 10px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.96);
}

.gallery__img:hover {
  transform: scale(1.03);
  filter: brightness(1);
}

.gallery__img--hero {
  grid-row: 1 / 3;
  object-position: center 20%;
}

/* Highlights */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.highlight-card {
  background: var(--color-warm-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(240,120,96,0.12);
}

.highlight-card__icon {
  font-size: 1.5rem;
  color: var(--color-coral);
  margin-bottom: var(--space-sm);
}

.highlight-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.highlight-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Press Quote */
.press-quote {
  background: var(--color-warm-white);
  border-left: 4px solid var(--color-coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-lg) var(--space-xl);
  margin: 0 0 var(--space-xl);
  position: relative;
}

.press-quote p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.press-quote cite {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 700;
  color: var(--color-coral);
  letter-spacing: 0.04em;
}

/* Credits Table */
.credits {
  margin-bottom: var(--space-xl);
}

.credits__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.credits__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.credits__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--color-warm-white);
}

.credits__table thead {
  background: var(--color-coral);
  color: #fff;
}

.credits__table th {
  padding: 0.85rem 1.2rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.credits__table td {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  vertical-align: top;
}

.credits__table tbody tr:last-child td {
  border-bottom: none;
}

.credits__table tbody tr:hover td {
  background: var(--color-cream);
}

.meta-badge {
  display: inline-block;
  background: var(--color-coral-light);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15em 0.5em;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
  letter-spacing: 0.04em;
}

/* Available For */
.available-for {
  margin-bottom: var(--space-xl);
}

.available-for__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.available-for__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.available-for__tags span {
  background: var(--color-cream-deep);
  color: var(--color-coral-dark);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Performance CTAs */
.performance__ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-card {
  background: var(--color-warm-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  text-align: center;
}

.contact-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.contact-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.contact-card__name {
  font-weight: 700;
  color: var(--color-text) !important;
  margin-bottom: var(--space-sm) !important;
}

/* CV Download */
.cv-download {
  text-align: center;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
}

.cv-download p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.cv-download p:first-child {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-text);
}

.cv-note {
  font-size: 0.8rem !important;
  color: var(--color-text-light) !important;
  margin-top: var(--space-xs) !important;
  margin-bottom: 0 !important;
}

/* ── Music ───────────────────────────────────────────────────── */
.music {
  background: var(--color-text);
  color: var(--color-cream);
}

.music .section__label {
  color: var(--color-coral-light);
}

.music .section__title {
  color: var(--color-cream);
}

.music__title {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 300 !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  letter-spacing: 0.08em;
  margin-bottom: 0 !important;
}

.music__title-logo {
  width: clamp(280px, 42vw, 580px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.music .section__intro {
  color: rgba(253, 245, 240, 0.8);
  margin-top: -1rem;
}

/* Music artist photo */
.music__artist-photo {
  max-width: 360px;
  margin: 0 auto var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.music__artist-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Music Video */
.music-video {
  margin-bottom: var(--space-xl);
}

.music-video__thumb-link {
  display: block;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.music-video__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.music-video__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.85);
}

.music-video__thumb-link:hover .music-video__thumb-img {
  transform: scale(1.03);
  filter: brightness(0.7);
}

.music-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.92;
}

.music-video__thumb-link:hover .music-video__play {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

.play-bg {
  fill: #FF0000;
}

.play-arrow {
  fill: #fff;
}

.music-video__info {
  text-align: center;
}

.music-video__info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-cream);
  margin-bottom: var(--space-xs);
}

.music-video__info p {
  font-size: 0.875rem;
  color: rgba(253, 245, 240, 0.6);
}

/* Streaming */
.streaming__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-cream);
  text-align: center;
  margin-bottom: var(--space-md);
}

.streaming__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
}

/* Simple monochrome silhouette icons — cream at rest, coral on hover */
.streaming__icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cream);
  opacity: 0.8;
  transition: color var(--transition), opacity var(--transition), transform var(--transition);
}

.streaming__icon-link:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.streaming__icon-link svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
  display: block;
}

/* On hover, each icon takes on its platform's brand color */
.streaming__icon-link--all:hover     { color: var(--color-coral); }
.streaming__icon-link--spotify:hover { color: #1DB954; }
.streaming__icon-link--apple:hover   { color: #FA243C; }
.streaming__icon-link--youtube:hover { color: #FF0000; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--color-cream-deep);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-sm);
}

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

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--color-coral);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.footer__social a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-coral);
  transition: opacity var(--transition);
}

.footer__social a:hover {
  opacity: 0.7;
}

.footer__contact p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.footer__contact a {
  color: var(--color-coral);
  transition: opacity var(--transition);
}

.footer__contact a:hover {
  opacity: 0.7;
}

.footer__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__lang-sep {
  color: var(--color-text-light);
  font-size: 0.8rem;
  line-height: 1;
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  color: var(--color-text-light);
  padding: 0.15rem 0.3rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}

.lang-btn:hover {
  color: var(--color-coral);
}

/* Active language — clearly marked with colour + underline */
.lang-btn--active {
  color: var(--color-coral);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  cursor: default;
}

.lang-btn:focus-visible {
  outline: 2px solid var(--color-coral);
  outline-offset: 2px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

@media (max-width: 640px) {
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: var(--space-xl);
    min-height: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__image-placeholder {
    max-width: 100%;
    min-height: 300px;
    width: 100%;
  }

  .hero__photo-stub {
    min-height: 300px;
  }

  .coaching__details {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .performance__ctas {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --space-lg: 1.25rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
  }

  .nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md);
    gap: var(--space-md);
    box-shadow: 0 8px 24px rgba(58,46,40,0.1);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__link.nav__cta {
    align-self: flex-start;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .highlights {
    grid-template-columns: 1fr;
  }

  .values__grid {
    grid-template-columns: 1fr;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .press-quote {
    padding: var(--space-md) var(--space-lg);
  }

  .coaching__details {
    padding: var(--space-lg);
  }

  .streaming__links {
    flex-direction: column;
    align-items: center;
  }

  .performance__gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }

  .gallery__img--hero {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .music__artist-img {
    height: 320px;
  }

  .hero__photo {
    min-height: 300px;
  }
}

/* ============================================================
   MOBILE OPTIMIZATION LAYER
   Progressive disclosure + tightened density for phones.
   Scoped to ≤768px / ≤640px only — desktop is unaffected.
   ============================================================ */

/* Base: credits toggle button is hidden by default (desktop) */
.credits__toggle { display: none; }

/* ── Tablet polish (≤768px) ─────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: var(--space-xl) 0; }
  .performance__gallery {
    grid-template-rows: 220px 220px;
  }
}

/* ── Phone optimization (≤640px) ────────────────────────────── */
@media (max-width: 640px) {

  /* — Section rhythm: less air between sections — */
  .section { padding: 3rem 0; }
  .section__header { margin-bottom: var(--space-lg); }
  .section__title { font-size: 1.65rem; }
  .section__intro { font-size: 1.05rem; }

  /* — Hero: the three doors, fast — */
  .hero {
    gap: var(--space-md);
    padding-top: calc(var(--nav-height) + 1rem);
    padding-bottom: var(--space-lg);
  }
  .hero__logo { height: 54px; margin-bottom: var(--space-sm); }
  .hero__tagline { font-size: 1.35rem; margin-bottom: var(--space-xs); }
  .hero__sub { font-size: 0.95rem; line-height: 1.6; margin-bottom: var(--space-md); }
  .hero__ctas { width: 100%; gap: 0.6rem; }
  .hero__ctas .btn { width: 100%; text-align: center; }
  .hero__ctas .btn--large { padding: 0.85rem 1.5rem; }
  .hero__image-placeholder {
    min-height: 230px;
    max-height: 260px;
    margin-top: var(--space-xs);
  }
  .hero__photo { min-height: 230px; max-height: 260px; }

  /* — Read more / less (applied via JS on phones) — */
  .collapsible.is-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .readmore-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-coral);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.4rem 0;
    margin-top: 0.1rem;
  }
  .readmore-btn::after { content: ' →'; }

  /* — Coaching: tighter — */
  .coaching__hero { margin-bottom: var(--space-lg); }
  .coaching__photo { height: 250px; }
  .values { margin-bottom: var(--space-lg); }
  .values__title { margin-bottom: var(--space-md); font-size: 1.25rem; }
  .value-card { padding: var(--space-md); }
  .coaching__details { gap: var(--space-md); margin-bottom: var(--space-lg); }
  .coaching__cta { padding: var(--space-lg) 0; }
  .coaching__cta-text { font-size: 1.5rem; }

  /* — Performance gallery → swipeable carousel — */
  .performance__gallery {
    display: flex;
    grid-template-columns: none;
    grid-template-rows: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--space-xs);
    border-radius: 0;
    margin-bottom: var(--space-sm);
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .performance__gallery::-webkit-scrollbar { display: none; }
  .performance__gallery .gallery__img,
  .performance__gallery .gallery__img--hero {
    flex: 0 0 80%;
    grid-row: auto;
    grid-column: auto;
    height: 290px;
    scroll-snap-align: center;
    border-radius: var(--radius-md);
  }
  .performance__gallery::after {
    content: '';
    flex: 0 0 var(--space-lg);
  }

  /* — Credits table → stacked cards — */
  .credits { margin-bottom: var(--space-lg); }
  .credits__table-wrap { border: none; overflow: visible; border-radius: 0; }
  .credits__table,
  .credits__table tbody,
  .credits__table tr,
  .credits__table td { display: block; width: 100%; background: transparent; }
  .credits__table thead { display: none; }
  .credits__table tr {
    background: var(--color-warm-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-sm);
  }
  .credits__table td {
    border: none !important;
    padding: 0.2rem 0;
    display: flex;
    justify-content: space-between;
    gap: var(--space-sm);
    text-align: right;
    color: var(--color-text-muted);
  }
  .credits__table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--color-coral);
    text-align: left;
    flex-shrink: 0;
  }
  .credits__table td[data-label="Production"] {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-text);
    font-size: 1.02rem;
    display: block;
    text-align: left;
    border-bottom: 1px solid var(--color-border) !important;
    padding-bottom: 0.5rem;
    margin-bottom: 0.4rem;
  }
  .credits__table td[data-label="Production"]::before { display: none; }
  .credits__table tbody tr:hover td { background: transparent; }

  /* Progressive disclosure: show first 4, reveal rest on tap.
     Specificity must beat `.credits__table tr { display: block }`. */
  .credits__table tr.credits__row--extra { display: none; }
  .credits.is-expanded .credits__table tr.credits__row--extra { display: block; }
  .credits__toggle {
    display: block;
    width: 100%;
    margin-top: var(--space-xs);
    padding: 0.75rem;
    background: transparent;
    border: 2px solid var(--color-coral);
    color: var(--color-coral);
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
  }

  /* — Performance: remaining blocks — */
  .highlights { margin-bottom: var(--space-lg); }
  .press-quote { margin-bottom: var(--space-lg); }
  .press-quote p { font-size: 1rem; }
  .available-for { margin-bottom: var(--space-lg); }
  .performance__ctas { gap: var(--space-sm); margin-bottom: var(--space-md); }
  .contact-card { padding: var(--space-md); }

  /* — Music: smaller artist photo, tighter — */
  .music__artist-photo { max-width: 250px; margin-bottom: var(--space-lg); }
  .music__artist-img { height: 280px; }
  .music-video { margin-bottom: var(--space-lg); }
  .streaming__links { flex-direction: row; gap: var(--space-md); }
}

/* ============================================================
   BOOKING MODAL
   A warm, on-brand pop-up form. Hidden until opened via JS.
   ============================================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(58, 46, 40, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: modalFade var(--transition) ease;
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 2 * var(--space-md));
  overflow-y: auto;
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 64px rgba(58, 46, 40, 0.28);
  padding: var(--space-xl);
  animation: modalRise 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modalRise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.modal__close:hover {
  background: var(--color-coral);
  color: #fff;
  border-color: var(--color-coral);
}

.modal__head {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-text);
  margin: var(--space-xs) 0;
}

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

/* ── Form fields ─────────────────────────────────────────────── */
.book-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.form-field .req { color: var(--color-coral); }

.form-field .optional {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 0.8rem;
}

.book-form input,
.book-form select,
.book-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.book-form textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus {
  outline: none;
  border-color: var(--color-coral);
  box-shadow: 0 0 0 3px rgba(240, 120, 96, 0.15);
}

.book-form input.is-invalid,
.book-form select.is-invalid {
  border-color: var(--color-coral-dark);
  box-shadow: 0 0 0 3px rgba(217, 95, 72, 0.12);
}

.book-form__botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.book-form__submit {
  margin-top: var(--space-xs);
  width: 100%;
}

.book-form__submit[disabled] {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

.book-form__status {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 1.2em;
}

.book-form__status.is-error { color: var(--color-coral-dark); }

/* ── Success view ────────────────────────────────────────────── */
.book-form__success {
  text-align: center;
  padding: var(--space-md) 0;
}

.book-form__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  background: var(--color-coral);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(240, 120, 96, 0.35);
}

.book-form__success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.book-form__success p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

/* Lock background scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .modal__dialog { padding: var(--space-lg) var(--space-md); }
  .form-row { grid-template-columns: 1fr; gap: var(--space-md); }
  .modal__title { font-size: 1.35rem; }
}
