/* ==========================================================================
   SECTIONS: hero, marquee, about, mixes, gallery, highlights, booking, footer
   ========================================================================== */

/* ============================ HERO ============================ */
.hero {
  /* The photographic hero keeps light ink in both page themes. */
  --color-bg: #0a0a0b;
  --color-text: #f4f4f0;
  --color-text-soft: rgb(244 244 240 / 0.94);
  --color-muted: #d6d9df;
  --color-accent-strong: #8ecfff;
  --color-wordmark: rgb(255 255 255 / 0.09);
  --color-wordmark-stroke: rgb(255 255 255 / 0.18);
  --color-line-strong: rgb(255 255 255 / 0.35);
  --color-tint-soft: rgb(255 255 255 / 0.06);
  color: var(--color-text);
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 7rem var(--gutter) 6rem;
  overflow: hidden;
  text-align: center;
}

/* Full-frame contrast treatment, above the photograph and below the UI. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at center, rgb(5 7 9 / 0.22), transparent 75%),
    linear-gradient(to bottom,
      light-dark(rgb(5 7 9 / 0.25), rgb(5 7 9 / 0.3)) 0%,
      light-dark(rgb(5 7 9 / 0.4), rgb(5 7 9 / 0.5)) 45%,
      rgb(5 7 9 / 0.78) 100%);
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: -10% -5%;
  z-index: -3;
  opacity: 0.16;
  will-change: transform;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}
.blob--a { width: 42vw; height: 42vw; left: 8%; top: 18%; background: var(--color-blob-a); }
.blob--b { width: 30vw; height: 30vw; right: 10%; top: 8%; background: var(--color-blob-b); animation-duration: 28s; animation-direction: alternate-reverse; }
.blob--c { width: 26vw; height: 26vw; left: 48%; bottom: 8%; background: var(--color-accent); opacity: 0.22; animation-duration: 18s; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6vw, -4vh, 0) scale(1.15); }
}

.hero__figure {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  pointer-events: none;
}

/* Giant semi-transparent wordmark behind the content */
.hero__wordmark {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  margin: 0;
  pointer-events: none;
}

.wordmark {
  display: flex;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-wordmark);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--color-wordmark);
  -webkit-text-stroke: 1px var(--color-wordmark-stroke);
  user-select: none;
  white-space: nowrap;
}

/* Each letter spreads apart on scroll (main.js sets --spread) and rises in on load */
.wordmark span {
  display: inline-block;
  --i: 0;
  translate: calc((var(--i) - 2.5) * var(--spread, 0px)) 0;
  animation: letter-rise 1.4s var(--ease-out-expo) both;
  animation-delay: calc(var(--i) * 70ms + 100ms);
}
.wordmark span:nth-child(2) { --i: 1; }
.wordmark span:nth-child(3) { --i: 2; }
.wordmark span:nth-child(4) { --i: 3; }
/* Ease the K/Z pair so the outlines stay distinct at hero size. */
.wordmark span:nth-child(5) { --i: 4; letter-spacing: -0.02em; }
.wordmark span:nth-child(6) { --i: 5; }

@keyframes letter-rise {
  from { transform: translateY(35%); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.hero__content {
  position: relative;
  max-width: 46rem;
  animation: fade-up 1.2s var(--ease-out-expo) 0.45s both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: none; }
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* "On air" dot */
.hero__kicker::before {
  content: '';
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-accent) 60%, transparent);
  animation: on-air 2s ease-out infinite;
}
@keyframes on-air {
  to { box-shadow: 0 0 0 0.75rem transparent; }
}

.hero__date {
  margin-block: 0.75rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-hero-date);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.hero__slash { color: var(--color-accent-strong); margin-inline: 0.04em; }

.hero__tagline {
  font-family: 'Bricolage Grotesque', var(--font-body);
  font-optical-sizing: auto;
  font-variation-settings: 'wght' 500;
  font-size: var(--text-lead);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text-soft);
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero__cta {
  min-height: 3.125rem;
  padding: 0.7rem 1.4rem;
  border-radius: 14px;
  color: var(--color-text);
  white-space: nowrap;
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.hero__cta--primary {
  background: color-mix(in srgb, var(--color-bg) 74%, transparent);
  border-color: color-mix(in srgb, var(--color-accent-strong) 70%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-accent-strong) 12%, transparent);
}

.hero__cta--primary:hover {
  transform: translateY(-3px);
  background: color-mix(in srgb, var(--color-accent-strong) 24%, var(--color-bg));
  border-color: var(--color-accent-strong);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--color-accent-strong) 14%, transparent);
}

/* Make booking the clear focal point of the hero actions. */
.hero .hero__cta--primary {
  min-height: 3.75rem;
  padding: 0.95rem 2rem;
  gap: 0.85em;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-accent-ink);
  background: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
  box-shadow:
    0 0 0 4px rgb(142 207 255 / 0.12),
    0 8px 28px rgb(0 0 0 / 0.3),
    0 0 32px rgb(142 207 255 / 0.18);
}

.hero .hero__cta--primary:hover,
.hero .hero__cta--primary:focus-visible {
  background: #b5e0ff;
  border-color: #b5e0ff;
  box-shadow:
    0 0 0 6px rgb(142 207 255 / 0.2),
    0 12px 32px rgb(0 0 0 / 0.35),
    0 0 40px rgb(142 207 255 / 0.28);
}

.hero__cta-arrow {
  display: inline-block;
  font-size: 0.95em;
  line-height: 1;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero__cta--primary:hover .hero__cta-arrow,
.hero__cta--primary:focus-visible .hero__cta-arrow { transform: translate(3px, -1px); }

.hero__cta--secondary {
  background: color-mix(in srgb, var(--color-text) 5%, transparent);
  border-color: color-mix(in srgb, var(--color-text) 34%, transparent);
}

.hero__cta--secondary:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--color-text) 11%, transparent);
  border-color: color-mix(in srgb, var(--color-text) 62%, transparent);
}

.hero__cta:focus-visible {
  outline: 2px solid var(--color-accent-strong);
  outline-offset: 3px;
}

.hero__cta:active { transform: translateY(0) scale(0.99); }

@media (max-width: 30em) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__cta { width: 100%; }
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-muted);
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(var(--color-accent-strong), transparent);
  transform-origin: top;
  animation: scroll-line 2.2s var(--ease-out-expo) infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}

@media (max-width: 47.99em) {
  .hero__scroll { display: none; }
  .blob { filter: blur(60px); }
  .blob--a { width: 80vw; height: 80vw; }
  .blob--b { width: 60vw; height: 60vw; }
  .blob--c { width: 55vw; height: 55vw; left: 30%; }
  .hero__figure { object-position: 58% 50%; }
}

/* ============================ MARQUEE ============================ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--color-line);
  padding-block: 1.1rem;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee__track span::after {
  content: '✦';
  margin-inline: 1.5rem;
  font-size: 0.6em;
  color: var(--color-accent-strong);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================ ABOUT ============================ */
.about { padding-bottom: clamp(4.5rem, 6vw, 8rem); }
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem) clamp(1rem, 2vw, 2rem);
}
.about__head { grid-column: 1 / 8; }
.about__portrait {
  grid-column: 9 / 13;
  grid-row: 1 / 3;
  align-self: start;
  margin-top: 1rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-surface);
}
.about__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__copy { grid-column: 1 / 8; display: grid; gap: 1.1rem; color: var(--color-text-soft); }
.about__copy .lead { color: var(--color-text); }

@media (max-width: 63.99em) {
  .about__head,
  .about__copy { grid-column: 1 / -1; }
  .about__portrait { grid-column: 1 / -1; grid-row: auto; max-width: 28rem; margin-top: 0; }
}

/* ============================ SECTION HEADINGS ============================ */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
  align-items: end;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.section-head__aside { color: var(--color-muted); }

.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}
.section-head--row .eyebrow { margin-bottom: 1.25rem; }

@media (max-width: 47.99em) {
  .section-head { grid-template-columns: 1fr; }
}

/* ============================ MIXES ============================ */
.mixes__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.mix--featured { grid-row: 1 / 3; }

.mix {
  display: flex;
  flex-direction: column;
  padding: 0.6rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  transition: border-color var(--duration-normal), transform var(--duration-normal) var(--ease-out-expo);
}
.mix:hover { border-color: color-mix(in srgb, var(--color-accent-strong) 55%, transparent); }

.mix__embed {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 0.5rem);
  background: var(--color-bg);
}
.mix__embed--video { aspect-ratio: 16 / 9; width: 100%; flex: none; }
.mix__embed--audio { height: 10.5rem; }
.mix__embed--spotify { height: 152px; }


.mix__embed iframe { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.mix__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: #000;
  color: #fff;
  cursor: pointer;
}
.mix__play img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.mix__play-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-pill);
  background: rgb(0 0 0 / 80%);
  font-size: var(--text-sm);
}
.mix__play:hover .mix__play-label { background: #000; }
.mix__play:focus-visible { outline-offset: -4px; }

.mix__meta { padding: 1.25rem 0.75rem 0.75rem; color: var(--color-muted); font-size: var(--text-sm); }
.mix__title {
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.mix--featured .mix__title { font-size: var(--text-h3); }


@media (max-width: 63.99em) {
  .mixes__grid { grid-template-columns: 1fr; }
  .mix--featured { grid-row: auto; }
  .mix--featured .mix__embed { aspect-ratio: 16 / 9; min-height: 0; }
}

/* ============================ GALLERY ============================ */
.gallery__track {
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  padding-inline: var(--edge);
  scroll-padding-inline: var(--edge);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__track.is-dragging img { pointer-events: none; }
.gallery__track:focus-visible { outline-offset: -3px; }

.gallery__item {
  flex: none;
  height: clamp(18rem, 12rem + 22vw, 34rem);
  scroll-snap-align: start;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--color-surface);
}
.gallery__item--landscape { aspect-ratio: 3 / 2; }
.gallery__item--wide { aspect-ratio: 16 / 9; }
.gallery__item--portrait { aspect-ratio: 4 / 5; }
.gallery__item--tall { aspect-ratio: 2 / 3; }
/* Stagger alternate frames vertically for an editorial rhythm */
.gallery__item:nth-child(even) { margin-top: clamp(1rem, 3vw, 3rem); }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}
.gallery__item:hover img { transform: scale(1.04); }

.gallery__item figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--color-scrim);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: var(--text-xs);
  color: var(--color-muted);
}
.gallery__item figcaption span { color: var(--color-text); font-weight: 600; }

@media (max-width: 47.99em) {
  .gallery__item { height: 14rem; }
}

/* ============================ HIGHLIGHTS ============================ */
.testimonials {
  display: grid;
  gap: 3rem clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.testimonial { min-width: 0; }
.testimonial__quote blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: -0.03em;
  max-width: 46ch;
}
.testimonial__quote figcaption {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-muted);
}
.testimonial__quote figcaption::before {
  content: '';
  flex-shrink: 0;
  width: 2rem;
  height: 2px;
  background: var(--color-accent-strong);
}
.testimonial__details { margin-top: 0.5rem; }
.testimonial__details summary {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  width: fit-content;
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  cursor: pointer;
  list-style: none;
  text-decoration: underline;
  text-decoration-color: var(--color-line);
  text-underline-offset: 0.3em;
  transition: color 250ms, text-decoration-color 250ms;
}
.testimonial__details summary::-webkit-details-marker { display: none; }
.testimonial__details summary:hover,
.testimonial__details summary:focus-visible {
  color: var(--color-accent-strong);
  text-decoration-color: currentColor;
}
.testimonial__less,
.testimonial__details[open] .testimonial__read { display: none; }
.testimonial__details[open] .testimonial__less { display: inline; }
.testimonial__full {
  margin-top: 0.75rem;
  max-width: 65ch;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-soft);
}
@media (prefers-reduced-motion: no-preference) {
  .testimonial__details[open] .testimonial__full {
    animation: testimonial-reveal 300ms ease-out;
  }
}
@keyframes testimonial-reveal {
  from { opacity: 0; transform: translateY(0.25rem); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 75em) {
  .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================ BOOKING ============================ */
/* Jump directly so asynchronous embed resizing cannot stale a smooth-scroll destination. */
html:has(#booking-form:target) { scroll-behavior: auto; }

.book {
  overflow: hidden;
  background: var(--color-surface);
  border-radius: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem) 0 0;
}
.book__glow {
  position: absolute;
  right: -10%;
  bottom: -30%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.12;
  filter: blur(120px);
  pointer-events: none;
}

.book__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.book__intro { display: grid; gap: 1.75rem; }
.book__intro .eyebrow { margin-bottom: -0.5rem; }
.book__intro .lead { color: var(--color-text-soft); }

.book__facts { display: grid; border-top: 1px solid var(--color-line); }
.book__facts > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--color-line);
}
.book__facts dt { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted); }
.book__facts dd { text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.book__facts a { text-decoration-color: var(--color-accent-strong); text-underline-offset: 0.25em; }

.booking__honeybook {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  /* Reserve a landing area before the asynchronous form has a height. */
  min-height: 100svh;
}

@media (max-width: 63.99em) {
  .book__grid { grid-template-columns: 1fr; }
}

/* ---------- Bookings page (/bookings): heading + centered form ---------- */
/* No hero on this page, so clear the fixed nav pill explicitly. */
.bookings { padding-top: calc(var(--space-section) + 2.5rem); }
.bookings__inner {
  display: grid;
  justify-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
}
.bookings__title { text-align: center; }
.bookings .booking__honeybook { max-width: 52rem; }

/* ============================ FOOTER ============================ */
.site-footer {
  background: var(--color-surface);
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
  overflow: hidden;
}
.footer__wordmark {
  position: relative;
  left: 50%;
  width: max-content;
  /* Center the visible outline; negative tracking leaves its ink slightly right of the text box. */
  transform: translateX(calc(-50% - 0.025em));
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4.5rem, 19vw, 22rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-outline-text);
  padding-top: 2rem;
  user-select: none;
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-line);
}
.footer__small { font-size: var(--text-xs); color: var(--color-muted); }
.footer__top { font-size: var(--text-sm); font-weight: 600; text-decoration: none; }
.footer__top:hover { color: var(--color-accent-strong); }

/* Searchable service copy uses the site's existing type and colour system. */
.hero__heading {
  margin-block: 0 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.5;
  text-wrap: balance;
}
.services { padding-top: 0; }
.services__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
.service { display: grid; align-content: start; gap: 1rem; border-top: 1px solid var(--color-line); padding-top: 1.5rem; }
.service h3, .bookings__details h2, .booking__form-title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.service p, .bookings__copy p { color: var(--color-text-soft); }
.service a, .bookings__copy p a { text-underline-offset: 0.25em; text-decoration-color: var(--color-accent-strong); }
.bookings__copy { width: 100%; max-width: 52rem; display: grid; gap: 1.25rem; }
.bookings__intro { text-align: center; justify-items: center; }
.bookings__details { border-top: 1px solid var(--color-line); padding-top: 2rem; }
.bookings__details h2:not(:first-child) { margin-top: 1.25rem; }
.booking__form-title { margin-bottom: 1.25rem; }
@media (max-width: 47.99em) {
  .services__grid { grid-template-columns: 1fr; gap: 2rem; }
}
