/* ==========================================================================
   The Good Times · main stylesheet
   Direction B "Stage Night". Uses tokens.css (load it first).
   ========================================================================== */

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

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

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

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

a { color: var(--text-accent); text-underline-offset: 3px; }
a:hover { color: var(--brand-sun); }

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

h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  background: var(--brand-sun);
  color: var(--on-sun);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}
@media (max-width: 640px) {
  .container { padding-inline: var(--space-4); }
}

.section { padding-block: var(--space-9); }
@media (max-width: 760px) {
  .section { padding-block: var(--space-7); }
}

.section--raised { background: var(--surface); }

/* ---------- Type helpers ---------- */
.eyebrow {
  margin-bottom: var(--space-3);
  font-size: 14px;
  line-height: 18px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-accent);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
}
.display--xl { font-size: clamp(48px, 6.2vw, 88px); }
.display--l  { font-size: clamp(40px, 5vw, 64px); line-height: 1; }

.headline {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.lede {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--text-muted);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  border: 0;
  border-radius: var(--radius-pill);
  font: 800 15px/1 var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 56px; font-size: 16px; }
.btn--sun   { background: var(--brand-sun);   color: var(--on-sun); }
.btn--coral { background: var(--brand-coral); color: var(--on-coral); }
.btn--teal  { background: var(--brand-teal);  color: var(--on-teal); }
.btn--ink   { background: var(--ink-deep);    color: var(--brand-cloud); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px currentColor, var(--shadow-lift); }
.btn:hover.btn--sun, .btn:hover.btn--coral, .btn:hover.btn--teal { color: var(--ink-deep); }
.btn--ink:hover { color: var(--brand-cloud); }
.btn--ghost:hover { color: var(--brand-sun); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 20;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-5);
}
.site-header__logo { display: block; flex: none; }

/* Wordmark: the logo set live in Monoton, so it stays crisp at any size. */
.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  word-spacing: 0.1em;
}
.wordmark__the   { color: var(--brand-coral); }
.wordmark__good  { color: var(--brand-teal); }
.wordmark__times { color: var(--brand-sun); }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__link {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  padding-block: var(--space-2);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav__link:hover { color: var(--brand-sun); }
.site-nav__link[aria-current="page"] { border-bottom-color: var(--brand-sun); }
.site-nav__home { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.nav-toggle[aria-expanded="true"] { background: var(--brand-sun); color: var(--on-sun); }
/* Three bars that fold into a cross */
.nav-toggle__bars { position: relative; width: 22px; height: 16px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.4px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s cubic-bezier(.2, .8, .2, 1), opacity 0.2s ease, top 0.4s cubic-bezier(.2, .8, .2, 1);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6.8px; }
.nav-toggle__bars span:nth-child(3) { top: 13.6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6.8px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6.8px; transform: rotate(-45deg); }

@media (max-width: 1200px) {
  .wordmark { font-size: 27px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: var(--space-4);
    right: var(--space-4);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lift);
    /* Closed: hidden from view and from the tab order, animated in and out. */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-16px) scale(0.96);
    transform-origin: 100% 0;
    transition: opacity 0.25s ease, transform 0.4s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0.4s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s ease, transform 0.45s cubic-bezier(.2, .9, .25, 1.15), visibility 0s;
  }
  .site-nav__list > li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .site-nav.is-open .site-nav__list > li {
    opacity: 1;
    transform: none;
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.2, .8, .2, 1);
  }
  .site-nav.is-open .site-nav__list > li:nth-child(1) { transition-delay: 0.06s; }
  .site-nav.is-open .site-nav__list > li:nth-child(2) { transition-delay: 0.10s; }
  .site-nav.is-open .site-nav__list > li:nth-child(3) { transition-delay: 0.14s; }
  .site-nav.is-open .site-nav__list > li:nth-child(4) { transition-delay: 0.18s; }
  .site-nav.is-open .site-nav__list > li:nth-child(5) { transition-delay: 0.22s; }
  .site-nav.is-open .site-nav__list > li:nth-child(6) { transition-delay: 0.26s; }
  .site-nav.is-open .site-nav__list > li:nth-child(7) { transition-delay: 0.30s; }
  .site-nav__home { display: list-item; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: var(--space-2); }
  .site-nav__link { display: block; padding: var(--space-3) var(--space-2); font-size: 16px; }
  .site-nav__list .btn { margin-top: var(--space-3); }
}

/* ---------- Hero ---------- */
.hero { padding-top: var(--space-2); }
.hero__media img {
  width: 100%;
  height: clamp(380px, 52vw, 680px);
  object-fit: cover;
  object-position: center 40%;
  border-radius: var(--radius-lg);
}
.hero__card {
  position: relative;
  max-width: 640px;
  margin: -160px 0 0 var(--space-7);
  padding: 40px 44px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
}
.hero__card .display { margin-bottom: var(--space-5); }
.hero__card .btn-row { margin-top: var(--space-6); }

@media (max-width: 760px) {
  .hero__media img { border-radius: var(--radius-md); }
  .hero__card {
    margin: -64px var(--space-3) 0;
    padding: var(--space-6) var(--space-5);
  }
}

/* ---------- Genre strip (marquee) ---------- */
.genres {
  margin-top: var(--space-8);
  overflow: hidden;
  background: var(--brand-sun);
  color: var(--on-sun);
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.genres:hover .marquee { animation-play-state: paused; }
.marquee__group {
  display: flex;
  flex: none;
  align-items: center;
  margin: 0;
  padding: 22px 0;
  list-style: none;
  white-space: nowrap;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.marquee__group li::after {
  content: "\2726";
  margin-inline: clamp(20px, 3vw, 40px);
  font-size: 0.7em;
  vertical-align: 0.15em;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .genres { overflow-x: auto; }
  .marquee { animation: none; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

/* Static list version, used on Packages */
.genres__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(16px, 2.2vw, 28px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Split (text + image) ---------- */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
}
.split > * { flex: 1 1 440px; min-width: 0; }
.split__media {
  position: relative;
  display: block;
  height: clamp(320px, 38vw, 520px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  isolation: isolate;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Parallax: the photo is taller than its frame and drifts as the page scrolls (main.js sets --shift). */
.split__media[data-parallax] img {
  position: absolute;
  left: 0;
  top: -12%;
  height: 124%;
  transform: translate3d(0, var(--shift, 0px), 0) scale(var(--zoom, 1.04));
  will-change: transform;
}
.split .headline { margin-bottom: var(--space-5); }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-7);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}
.stats__value {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
}
.stats__label {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.coverage { margin-top: var(--space-5); font-size: 15px; font-weight: 700; color: var(--text-muted); }
.c-coral { color: var(--brand-coral); }
.c-teal  { color: var(--brand-teal); }
.c-sun   { color: var(--brand-sun); }

/* ---------- Line-up ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.section-head__link {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lineup {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-5);
}
/* Five cards: two large on the first row, three on the second. */
.lineup > .member { grid-column: span 2; }
.lineup > .member:nth-child(-n+2) { grid-column: span 3; }
@media (max-width: 1000px) {
  .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineup > .member, .lineup > .member:nth-child(-n+2) { grid-column: span 1; }
  .lineup > .member:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.member { margin: 0; }
.member__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
  isolation: isolate;
}
.member figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
  margin-top: var(--space-3);
  font-size: 18px;
  font-weight: 800;
}
.member__role {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.lineup-note { margin-top: var(--space-5); }

/* Mobile: line-up cards stack under a pinned heading as you scroll.
   main.js measures the heading into --stack-top and toggles .is-covered. */
@media (max-width: 700px) {
  [data-stack-section] .section-head {
    position: sticky;
    top: 0;
    z-index: 1;
    margin-bottom: 0;
    padding-block: var(--space-4);
    transform: translate3d(0, var(--release, 0px), 0);
  }
  .lineup { display: flow-root; padding-top: var(--space-2); }
  .member {
    position: sticky;
    z-index: 2;
    top: calc(var(--stack-top, 112px) + var(--i, 0) * 14px);
    /* Margins even out so every card un-sticks at the same moment (--n = card count). */
    margin-bottom: calc(var(--space-6) + (var(--n, 3) - 1 - var(--i, 0)) * 14px);
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
    transform-origin: 50% 0;
    transition: transform 0.45s cubic-bezier(.2, .7, .2, 1), filter 0.45s ease;
  }
  .member__media {
    aspect-ratio: 4 / 5;
    border-radius: 0;
  }
  .member figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 72px var(--space-5) var(--space-5);
    background: linear-gradient(to top, rgba(11, 43, 45, 0.94) 0%, rgba(11, 43, 45, 0.7) 45%, rgba(11, 43, 45, 0) 100%);
    color: var(--brand-cloud);
    font-size: 24px;
  }
  .member figcaption .member__role { color: var(--brand-sun); }
  .member.is-covered { transform: scale(0.93); filter: brightness(0.55); }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  [data-stack-section] .section-head, .member { position: static; }
}

/* ---------- Package + add-ons ---------- */
.package {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-7);
}
.package__intro { flex: 1 1 340px; min-width: 0; }
.package__intro .headline { font-size: clamp(28px, 3vw, 40px); }
.package__intro .btn { margin-top: var(--space-6); }

.addons {
  flex: 2 1 560px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 640px) {
  .addons { grid-template-columns: 1fr; }
}
.addon {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg);
}
.addon__num {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
}
.addon h3 { margin-top: var(--space-4); font-size: 22px; font-weight: 800; }
.addon p { margin-top: 6px; font-size: 16px; line-height: 24px; color: var(--text-muted); }

/* ---------- Enquiry ---------- */
.enquiry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-7);
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  background: var(--brand-coral);
  color: var(--on-coral);
}
.enquiry__intro { flex: 1 1 340px; min-width: 0; }
.enquiry__intro p { margin-top: var(--space-4); font-size: 18px; line-height: 28px; }
.enquiry .form { flex: 1 1 420px; min-width: 0; }
@media (max-width: 640px) {
  .enquiry { padding: var(--space-6) var(--space-5); border-radius: var(--radius-md); }
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.form__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form__field--full, .form .btn, .form__status { grid-column: 1 / -1; }
.form label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #194f52;
  font: 400 16px/1.4 var(--font-sans);
}
/* Date inputs: iOS Safari gives them a fixed intrinsic width that ignores width: 100%. */
.form input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  min-width: 0;
  max-width: 100%;
  line-height: 44px;
}
.form input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.form textarea { min-height: 128px; padding-block: 12px; resize: vertical; }
.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible { outline: 3px solid var(--ink-deep); outline-offset: 2px; }
.form [aria-invalid="true"] { border-color: var(--ink-deep); }
.form__status {
  min-height: 1.5em;
  font-weight: 700;
}
@media (max-width: 560px) {
  .form { grid-template-columns: minmax(0, 1fr); }
}

/* On the coral panel the focus ring must be dark, not sun. */
.enquiry :focus-visible { outline-color: var(--ink-deep); }

/* Stand-alone form on a dark page (Contact) */
.panel {
  padding: var(--space-7) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.panel .form label { color: var(--text); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: var(--space-8) var(--space-7); }
.page-hero .display { margin-bottom: var(--space-5); }
.page-hero .lede { max-width: 680px; }

.placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: var(--space-6);
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 700;
  text-align: center;
}

/* ---------- Band page cards ---------- */
.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}
.band-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
}
.band-card__media {
  position: relative;
  height: 300px;
  display: grid;
  place-items: end center;
}
.band-card__media::before {
  content: "";
  position: absolute;
  left: 12%; right: 12%; bottom: 0;
  height: 70%;
  border-radius: var(--blob-a);
  background: var(--card-tone, var(--brand-coral));
}
.band-card__media img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.band-card__initial {
  position: relative;
  align-self: center;
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 1;
  color: var(--ink-deep);
}
.band-card figcaption { padding: var(--space-4) var(--space-5) var(--space-5); }
.band-card h2 { font-size: 22px; font-weight: 800; }
.tone-coral { --card-tone: var(--brand-coral); }
.tone-teal  { --card-tone: var(--brand-teal); }
.tone-sun   { --card-tone: var(--brand-sun); }

/* ---------- Band profiles ---------- */
.profiles { display: grid; gap: var(--space-8); }
.profile {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: var(--space-7);
}
.profile:nth-child(even) .profile__media { order: 2; }
.profile__media {
  height: clamp(320px, 36vw, 460px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  isolation: isolate;
}
/* Flowing ribbons behind the cut-outs, zoomed in and drifting sideways as the page scrolls
   (main.js sets --ribbon-x). */
.profile__media::before { display: none; }
.ribbon {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  height: 135%;
  width: auto;
  max-width: none;
  pointer-events: none;
  transform: translate3d(var(--ribbon-x, -30%), -50%, 0);
  will-change: transform;
}
.ribbon img { height: 100%; width: auto; max-width: none; }
.profile__media > picture:not(.ribbon),
.profile__media > .band-card__initial { position: relative; z-index: 1; }
/* Layered frames: the original stage photo at the back, the ribbon in the middle and the
   cut-out on top, both photos sized identically so the cut-out sits exactly over itself. */
.profile__media.profile__media--layered > picture.layer,
.layered > picture.layer {
  position: absolute;
  inset: 0;
}
.profile__media--layered .layer img,
.layered .layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50%) 50%;
}
.profile__media.profile__media--layered > picture.layer--back,
.layered > picture.layer--back { z-index: 0; }
.profile__media--layered .layer--back img,
.layered .layer--back img { filter: brightness(0.8) saturate(0.95); }
.profile__media--layered .ribbon,
.layered .ribbon { z-index: 1; }
.profile__media.profile__media--layered > picture.layer--front,
.layered > picture.layer--front { z-index: 2; }
/* Depth: soft drop shadows under the ribbon and the person so the layers separate. */
.profile__media .ribbon img,
.layered .ribbon img {
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}
.profile__media > picture:not(.ribbon):not(.layer--back) img,
.layered > picture.layer--front img {
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.55)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.3));
}
.profile .band-card__initial { color: var(--brand-cloud); font-size: 160px; text-shadow: 0 6px 24px rgba(11, 43, 45, 0.6); }
.profile__text { display: grid; gap: var(--space-4); max-width: 640px; }
.profile__text p { color: var(--text-muted); font-size: 18px; line-height: 1.6; }
.profile__text .member__role { color: var(--text-accent); font-size: 14px; font-weight: 900; }
.profile__name { font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--text); }
.profile__fav {
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-2);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.profile__text .profile__fav { color: var(--text); font-size: 17px; }
.profile__fav span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-sun);
}
@media (max-width: 760px) {
  .profiles { gap: var(--space-7); }
  .profile { grid-template-columns: 1fr; gap: var(--space-5); }
  .profile:nth-child(even) .profile__media { order: 0; }
  .profile__media { height: 340px; }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.gallery__wide { grid-column: 1 / -1; }
.gallery__wide img { aspect-ratio: 21 / 9; }

/* ---------- Checklist ---------- */
.checklist { margin: var(--space-5) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 18px; }
.checklist li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--brand-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2b2d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- CTA band ---------- */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-7) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--brand-coral);
  color: var(--on-coral);
}
.cta-band :focus-visible { outline-color: var(--ink-deep); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-7);
}
.site-footer__tagline { color: var(--text-muted); max-width: 520px; }
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__small {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-5);
  padding-bottom: var(--space-6);
  font-size: 14px;
  color: var(--text-muted);
}
.site-footer__credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__credit a:hover, .site-footer__credit a:focus-visible { color: var(--brand-sun); }

/* Footer social icons */
.site-footer__social { display: flex; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.site-footer__social a {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid currentColor; color: var(--text);
  transition: background-color .2s, color .2s, border-color .2s;
}
.site-footer__social a:hover, .site-footer__social a:focus-visible { background: var(--brand-sun, #f6c445); border-color: var(--brand-sun, #f6c445); color: var(--brand-ink, #141414); }
.site-footer__social svg { width: 22px; height: 22px; fill: currentColor; }

/* Line-up cards link through to each member's profile on the band page */
.member__link { display: block; color: inherit; text-decoration: none; border-radius: var(--radius-md); }
.member__link .member__media { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
@media (hover: hover) and (min-width: 701px) {
  .member__link:hover .member__media, .member__link:focus-visible .member__media { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
  .member__link:hover figcaption, .member__link:focus-visible figcaption { color: var(--text-accent); }
}
.member__link:focus-visible { outline: 3px solid var(--brand-sun); outline-offset: 4px; }
.profile[id] { scroll-margin-top: var(--space-6); }
@media (prefers-reduced-motion: reduce) { .member__link .member__media { transition: none; } .member__link:hover .member__media { transform: none; } }

/* ---------- Video (gallery): click-to-play YouTube, nothing loads until pressed ---------- */
.video-section { padding-top: 0; padding-bottom: var(--space-7); }
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.video iframe, .video__facade, .video__poster, .video__poster img {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video__facade { display: block; color: var(--brand-cloud); text-decoration: none; }
.video__poster img { object-fit: cover; filter: brightness(0.7); transition: filter .35s, transform .6s cubic-bezier(.2,.8,.2,1); }
.video__play {
  position: absolute; top: 50%; left: 50%;
  width: clamp(72px, 10vw, 112px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-sun); color: var(--brand-ink);
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background-color .3s;
}
.video__play svg { width: 42%; height: 42%; fill: currentColor; margin-left: 6%; }
.video__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-6) var(--space-5) var(--space-5);
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0));
  font-size: 14px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.video__facade:hover .video__poster img, .video__facade:focus-visible .video__poster img { filter: brightness(0.85); transform: scale(1.02); }
.video__facade:hover .video__play, .video__facade:focus-visible .video__play { transform: translate(-50%, -50%) scale(1.08); background: var(--brand-coral); }
.video__facade:focus-visible { outline: 3px solid var(--brand-sun); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .video__poster img, .video__play { transition: none; } }
@media (max-width: 600px) { .video__label { display: none; } }

/* ---------- Hero: "Listen to us" link, bottom right of the main image ---------- */
.hero__frame { position: relative; }
.hero__listen {
  position: absolute;
  right: var(--space-6);
  bottom: var(--space-6);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 8px 22px 8px 8px;
  border-radius: 999px;
  background: rgba(11, 43, 45, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--brand-cloud);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: background-color .25s, transform .25s cubic-bezier(.2,.8,.2,1);
}
.hero__listen-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-sun); color: var(--brand-ink);
  transition: background-color .25s;
}
.hero__listen-icon svg { width: 18px; height: 18px; fill: currentColor; margin-left: 2px; }
.hero__listen:hover, .hero__listen:focus-visible { background: rgba(11, 43, 45, 0.9); transform: translateY(-2px); }
.hero__listen:hover .hero__listen-icon, .hero__listen:focus-visible .hero__listen-icon { background: var(--brand-coral); }
.hero__listen:focus-visible { outline: 3px solid var(--brand-sun); outline-offset: 3px; }
/* On mobile the intro card overlaps the bottom 64px of the image, so sit just above it. */
@media (max-width: 760px) {
  .hero__listen { right: var(--space-4); bottom: calc(64px + var(--space-4)); font-size: 12px; padding-right: 16px; }
  .hero__listen-icon { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .hero__listen { transition: none; } .hero__listen:hover { transform: none; } }

/* ---------- Reviews (home) ---------- */
.reviews-section { padding-top: 0; }
.rating {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3);
  margin: calc(var(--space-3) * -1) 0 var(--space-6);
  color: var(--text-muted); font-size: 15px; font-weight: 600;
}
.rating strong { color: var(--text); font-size: 18px; font-weight: 800; }
.stars { display: inline-flex; gap: 3px; color: var(--brand-sun); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
.review {
  position: relative;
  display: flex; flex-direction: column; gap: var(--space-4);
  margin: 0;
  padding: var(--space-6) var(--space-6) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 6px 0 var(--card-tone, var(--brand-sun)), var(--shadow-lift);
  overflow: hidden;
}
/* Oversized Monoton quote mark in the card's brand colour */
.review::before {
  content: "\201C";
  position: absolute; right: var(--space-5); top: var(--space-4);
  font: 400 110px/0.8 var(--font-display);
  color: var(--card-tone, var(--brand-sun));
  opacity: 0.22;
  pointer-events: none;
}
.review .stars { color: var(--card-tone, var(--brand-sun)); }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; font-size: 20px; line-height: 1.45; font-weight: 500; color: var(--text); }
.review figcaption { font-weight: 800; font-size: 16px; }
.review__meta {
  display: block; margin-top: 2px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800;
  color: var(--text-muted);
}
@media (max-width: 1000px) {
  /* Swipeable row on tablet and mobile */
  .reviews {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 82%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-3);
    margin-inline: calc(var(--space-4) * -1);
    padding-inline: var(--space-4);
    scroll-padding-inline: var(--space-4);
    scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: start; }
  .review blockquote p { font-size: 18px; }
}
@media (min-width: 601px) { .rating__note::before { content: "·"; margin-right: var(--space-3); } }


/* Reviews: reviewer avatars + featured card with the couple's own photo */
.review figcaption { display: flex; align-items: center; gap: var(--space-3); }
.review__avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--card-tone, var(--brand-sun)); }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review__photo {
  display: block;
  width: calc(100% + var(--space-6) * 2);
  max-width: none;
  margin: calc(var(--space-6) * -1) calc(var(--space-6) * -1) var(--space-2);
  aspect-ratio: 3 / 2; overflow: hidden;
}
.review__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review--feature::before { display: none; }
@media (min-width: 1001px) {
  .reviews { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; }
  .review--feature { grid-row: span 2; }
  .review--feature blockquote p { font-size: 24px; }
}

/* Swipe row: give the card shadows room so the scroll container doesn't clip them */
@media (max-width: 1000px) {
  .reviews {
    padding-top: var(--space-3);
    padding-bottom: var(--space-8);
    margin-top: calc(var(--space-3) * -1);
    margin-bottom: calc(var(--space-8) * -1 + var(--space-3));
  }
}

/* ---------- Instagram feed (home) ---------- */

.insta-section .section-head { align-items: flex-end; }
.insta-section .eyebrow { margin-bottom: var(--space-2); }
.insta-follow { display: inline-flex; align-items: center; gap: var(--space-2); text-transform: none; letter-spacing: 0.02em; }
.insta-follow svg { width: 20px; height: 20px; fill: currentColor; }
.insta {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-3);
}
.insta__item { aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.insta__item--empty { animation: insta-pulse 1.6s ease-in-out infinite alternate; }
@keyframes insta-pulse { from { opacity: .55; } to { opacity: 1; } }
.insta__link { position: relative; display: block; width: 100%; height: 100%; color: var(--brand-cloud); text-decoration: none; }
.insta__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .3s; }
.insta__caption {
  position: absolute; inset: auto 0 0 0;
  padding: var(--space-6) var(--space-3) var(--space-3);
  background: linear-gradient(to top, rgba(11,43,45,.92), rgba(11,43,45,0));
  font-size: 13px; line-height: 1.35; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.insta__link:hover img, .insta__link:focus-visible img { transform: scale(1.05); filter: brightness(.85); }
.insta__link:hover .insta__caption, .insta__link:focus-visible .insta__caption { opacity: 1; transform: none; }
.insta__link:focus-visible { outline: 3px solid var(--brand-sun); outline-offset: 3px; border-radius: var(--radius-md); }
.insta__type {
  position: absolute; top: 10px; right: 10px; width: 22px; height: 22px;
  background: currentColor; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6));
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.insta__type--video { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E"); }
.insta__type--album { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h11a3 3 0 0 1 3 3v11h-2V6a1 1 0 0 0-1-1H7zM3 8a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
@media (max-width: 1000px) { .insta { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .insta { gap: var(--space-2); }
  .insta-section .section-head { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
}
@media (hover: none) { .insta__caption { display: none; } }
@media (prefers-reduced-motion: reduce) { .insta__link img, .insta__caption { transition: none; } .insta__item--empty { animation: none; } }
/* Longer quotes on the two smaller cards */
.review:not(.review--feature) blockquote p { font-size: 17px; line-height: 1.55; }

/* ---------- Packages ---------- */
.package__price { margin-top: var(--space-4); font-size: 18px; color: var(--text-muted); }
.package__price strong { color: var(--brand-sun); font-size: 22px; }
.pkgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); align-items: stretch; }
.pkg {
  display: flex; flex-direction: column;
  padding: var(--space-7) var(--space-6) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 8px 0 var(--card-tone), var(--shadow-lift);
}
.pkg__label { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--card-tone); }
.pkg__name { margin: var(--space-2) 0 0; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; line-height: 1.1; }
.pkg__price { margin: var(--space-4) 0 0; font: 400 clamp(52px, 6vw, 76px)/1 var(--font-display); color: var(--card-tone); }
.pkg__from { display: block; margin-bottom: var(--space-2); font: 800 13px/1 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.pkg__plus { margin: var(--space-5) 0 0; font-weight: 700; }
.pkg .checklist { margin-bottom: var(--space-6); }
.pkg .checklist li { font-size: 17px; }
.pkg.tone-coral .checklist li::before { background-color: var(--brand-coral); }
.pkg .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .pkgs { grid-template-columns: 1fr; } }

/* Extras price list */
.extras { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-7); }
.extra {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: var(--space-1) var(--space-4);
  padding: var(--space-5) 0; border-bottom: 1px solid var(--line);
}
.extra__name { grid-column: 1; margin: 0; font-size: 20px; font-weight: 800; }
.extra__note { grid-column: 1; margin: 0; color: var(--text-muted); font-size: 15px; }
.extra__price { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; font: 400 34px/1 var(--font-display); color: var(--brand-sun); }
.extra:nth-child(3n+1) .extra__price { color: var(--brand-coral); }
.extra:nth-child(3n+2) .extra__price { color: var(--brand-teal); }
.small-print { margin: var(--space-5) 0 0; font-size: 14px; color: var(--text-muted); }
@media (max-width: 760px) { .extras { grid-template-columns: 1fr; } }

/* Next steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.step { padding: var(--space-6); border-radius: var(--radius-md); background: var(--surface); }
.step__num { font: 400 44px/1 var(--font-display); color: var(--card-tone); }
.step h3 { margin: var(--space-4) 0 var(--space-2); font-size: 22px; font-weight: 800; }
.step p { margin: 0; color: var(--text-muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
