/* ==========================================================================
   The Kelc Collective · artist page template
   Every artist page uses this file. Sections: About, Music, Showcase,
   Booking, Testimonials. Content comes from the content folder.
   ========================================================================== */

/* ---------- Hero ---------- */
.a-hero {
  position: relative; overflow: hidden;
  min-height: min(100svh, 1000px);
  display: flex; align-items: center;
  padding-block: calc(var(--nav-h) + 56px) 96px;
}
.a-hero__ghost {
  position: absolute; left: 0; right: 0; bottom: 6%; z-index: 0; pointer-events: none;
  -webkit-mask-image: none; mask-image: none;
}
.a-hero__ghost span {
  padding-right: 0.4em;
  font-family: var(--f-name); font-weight: 500; white-space: nowrap;
  font-size: clamp(3rem, 11vw, 10rem); letter-spacing: 0.03em; line-height: 0.9;
  color: transparent; -webkit-text-stroke: 1px rgba(232, 228, 222, 0.06);
}

.is-building .a-hero__grid, .is-building .a-hero__ghost { opacity: 0; }
.a-hero__grid, .a-hero__ghost { transition: opacity 0.4s ease; }
.a-hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 100px); align-items: center;
}

.a-hero__name {
  margin: 22px 0 22px;
  font-family: var(--f-name); font-weight: 500;
  font-size: clamp(3.2rem, 9vw, 8.6rem); letter-spacing: 0.03em; line-height: 0.92;
}
.a-hero__name .w { display: inline-block; overflow: hidden; padding-bottom: 0.06em; vertical-align: top; }
.a-hero__name .ch { display: inline-block; animation: charUp 1.1s var(--ease) both; animation-delay: calc(0.25s + var(--i, 0) * 45ms); }
@keyframes charUp { from { transform: translateY(105%); } to { transform: none; } }

.a-hero__alt { margin: -6px 0 24px; font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.5rem); letter-spacing: 0.32em; line-height: 1.1; color: var(--paper); opacity: 0.86; animation: rise 1s var(--ease) 0.6s both; }
.a-hero__role { margin: 0 0 26px; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--muted); animation: rise 1s var(--ease) 0.7s both; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 36px; padding: 0; animation: rise 1s var(--ease) 0.8s both; }
.tag { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--f-display); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.a-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; animation: rise 1s var(--ease) 0.9s both; }

.portrait { position: relative; width: min(100%, 440px); margin-inline: auto; aspect-ratio: 4 / 5; }
.portrait__frame {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 50% 50% min(24px, 5.5%) min(24px, 5.5%) / 40% 40% min(24px, 4.4%) min(24px, 4.4%); background: var(--soot);
  animation: frameIn 1.5s var(--ease-io) 0.2s both;
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: settle 2.2s var(--ease) 0.2s both; }
.portrait__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 7, 7, 0.55), transparent 45%); }
.portrait__ring { position: absolute; z-index: 2; width: 42%; aspect-ratio: 1; right: -12%; bottom: -8%; animation: fade 1s ease 1s both; }
@media (max-width: 1320px) { .portrait__ring { right: -4%; width: 38%; } }
.portrait__ring svg { width: 100%; height: 100%; overflow: visible; animation: spin 24s linear infinite; }
.portrait__ring text { font-family: var(--f-display); font-weight: 500; font-size: 11.5px; letter-spacing: 3px; fill: var(--paper); text-transform: uppercase; }
.portrait__ring .ring-bg { fill: var(--void); stroke: var(--line-dark); }
@keyframes frameIn { from { clip-path: inset(100% 0 0 0 round 50% 50% min(24px, 5.5%) min(24px, 5.5%) / 40% 40% min(24px, 4.4%) min(24px, 4.4%)); } to { clip-path: inset(0 0 0 0 round 50% 50% min(24px, 5.5%) min(24px, 5.5%) / 40% 40% min(24px, 4.4%) min(24px, 4.4%)); } }
@keyframes settle { to { transform: scale(1); } }

@media (max-width: 900px) {
  /* tablets and phones: the headshot shrinks to sit beside the name, the rest runs full width below */
  .a-hero__grid {
    grid-template-columns: minmax(0, 1fr) clamp(118px, 32vw, 240px);
    /* the empty rows above and below keep the name, role and tags centred against the photo */
    grid-template-areas: "crumbs crumbs" ". photo" "name photo" "alt photo" "role photo" "tags photo" ". photo" "act act";
    grid-template-rows: auto 1fr auto auto auto auto 1fr auto;
    column-gap: clamp(18px, 4vw, 40px); row-gap: 0;
  }
  .a-hero__grid > div:first-child { display: contents; }
  .a-hero__grid .crumbs { grid-area: crumbs; }
  .a-hero__name { grid-area: name; }
  .a-hero__alt { grid-area: alt; }
  .a-hero__role { grid-area: role; margin-bottom: 18px; }
  .a-hero__grid .tags { grid-area: tags; margin: 0; }   /* name, role and tags read as one block beside the photo */
  .a-hero__actions { grid-area: act; margin-top: 30px; }
  .portrait { grid-area: photo; align-self: center; width: 100%; margin: 22px 0 0; }
  .portrait__ring { display: none; }            /* too small to read beside the name */
}
@media (max-width: 400px) { .a-hero__actions .btn { flex: 1 1 100%; justify-content: center; } }
@media (max-width: 380px) {
  /* the narrowest phones: the tags get the full width rather than stacking beside the photo */
  .a-hero__grid { grid-template-areas: "crumbs crumbs" ". photo" "name photo" "alt photo" "role photo" ". photo" "tags tags" "act act"; grid-template-rows: auto 1fr auto auto auto 1fr auto auto; }
  .a-hero__role { margin-bottom: 0; }
  .a-hero__grid .tags { margin-top: 22px; }
}

/* ---------- About ---------- */
.a-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(44px, 7vw, 120px); align-items: start; }
.a-quote { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.7rem); line-height: 1.06; text-wrap: balance; }
.a-quote em { font-style: italic; font-weight: 300; color: var(--accent); }
.a-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 40px 0 0; border-top: 1px solid var(--line); }
.a-stats div { padding: 22px 18px 20px 0; border-bottom: 1px solid var(--line); }
.a-stats div:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line); }
.a-stats--odd div:last-child { grid-column: 1 / -1; }
.a-stats dt { font-family: var(--f-name); font-weight: 500; font-size: clamp(1.55rem, 2.5vw, 2.2rem); line-height: 1; letter-spacing: 0.04em; font-variant-numeric: lining-nums; }   /* same small caps as artist names */
.a-stats dd { margin: 10px 0 0; font-family: var(--f-sc); font-weight: 500; font-size: 0.98rem; letter-spacing: 0.1em; color: var(--muted); }
.a-facts div:only-child { grid-column: 1 / -1; }
@media (max-width: 480px) { .a-stats dt { font-size: 1.32rem; letter-spacing: 0.03em; } .a-stats dd { font-size: 0.9rem; letter-spacing: 0.06em; } .a-stats div:nth-child(2n) { padding-left: 16px; } }
.a-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 40px 0 0; border-top: 1px solid var(--line); }
.a-stats:not([hidden]) + .a-facts { margin-top: 0; border-top: 0; }
.a-facts div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.a-facts dt { font-family: var(--f-sc); font-weight: 500; font-size: 0.98rem; letter-spacing: 0.1em; color: var(--muted); }
.a-facts dd { margin: 6px 0 0; font-size: 1.05rem; }
.a-socials { margin-top: 28px; }
.a-socials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* even rows of three (two on phones) */
@media (max-width: 600px) { .a-socials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .a-stats div:nth-child(2n) { padding-left: 12px; } .a-stats dd { letter-spacing: 0.04em; } }
@media (max-width: 420px) { .a-socials a, .a-socials .chip-soon { padding-inline: 10px; letter-spacing: 0.16em; } }
.a-socials a, .a-socials .chip-soon { width: 100%; justify-content: center; }
.si--lemon .si__seg { stroke-width: 1.1; }
/* social and music link icons; each one moves a little on hover */
.si { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.si .si__dot, .si .si__play { fill: currentColor; stroke: none; }
.si__lens, .si__note, .si__play, .si__page, .si__seg, .si__bars path, .si__handle { transform-box: fill-box; transform-origin: center; }
.si__page { transform-origin: 0 50%; }
.si__bars path { transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .chips a:hover .si__lens, .chips a:focus-visible .si__lens { animation: siLens 1.2s var(--ease) infinite; }
  .chips a:hover .si__dot, .chips a:focus-visible .si__dot { animation: blink 1.2s ease-in-out infinite; }
  .chips a:hover .si__note, .chips a:focus-visible .si__note { animation: siHop 0.7s var(--ease) infinite alternate; }
  .chips a:hover .si__play, .chips a:focus-visible .si__play { animation: siNudge 0.8s var(--ease) infinite alternate; }
  .chips a:hover .si__page, .chips a:focus-visible .si__page { animation: siFlip 1.4s var(--ease-io) infinite; }
  .chips a:hover .si__seg, .chips a:focus-visible .si__seg { animation: spin 2.4s linear infinite; }
  .chips a:hover .si__handle, .chips a:focus-visible .si__handle { animation: siLift 0.7s var(--ease) infinite alternate; }
  .chips a:hover .si__bars path, .chips a:focus-visible .si__bars path { animation: eqb 0.7s ease-in-out infinite alternate; }
  .chips a:hover .si__bars path:nth-child(2n), .chips a:focus-visible .si__bars path:nth-child(2n) { animation-delay: -0.35s; }
}
@keyframes siLens { 0%, 100% { transform: scale(1); } 40% { transform: scale(0.72); } }
@keyframes siHop { to { transform: translateY(-2.5px) rotate(-8deg); } }
@keyframes siNudge { to { transform: translateX(2px); } }
@keyframes siLift { to { transform: translateY(-1.5px); } }
@keyframes siFlip { 0%, 15% { transform: scaleX(1); } 50%, 65% { transform: scaleX(-1); } 100% { transform: scaleX(1); } }
@media (max-width: 900px) { .a-about__grid { grid-template-columns: 1fr; } }

/* ---------- Music ---------- */
.music__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(44px, 6vw, 100px); align-items: start; }
.release { position: relative; width: min(100%, 420px); margin: 0; padding-right: 24%; }
.release__stack { position: relative; aspect-ratio: 1; }
.release__disc {
  position: absolute; inset: 3%; border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, #0b0b0b 0 2px, #151515 2px 3px);
  box-shadow: 0 0 0 1px rgba(244, 244, 243, 0.08);
  transform: translateX(0); transition: transform 1.2s var(--ease);
}
.release__disc::before {
  content: ""; position: absolute; inset: 34%; border-radius: 50%;
  background: #d9d4cc radial-gradient(circle, #040404 0 5%, transparent 6%);
}
.release__disc::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 12%, rgba(255, 255, 255, 0.07) 16%, transparent 22% 62%, rgba(255, 255, 255, 0.05) 66%, transparent 72%);
}
.release__spin { position: absolute; inset: 0; border-radius: 50%; animation: spin 2.4s linear infinite; animation-play-state: paused; }
.release__spin i { position: absolute; left: 50%; top: 36%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--paper); }
.in .release__disc { transform: translateX(26%); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .release:hover .release__disc { transform: translateX(36%) rotate(30deg); }   /* the record slides further out of its sleeve */
}
.release.is-playing .release__spin { animation-play-state: running; }
.release__sleeve { position: absolute; inset: 0; z-index: 1; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.release__sleeve svg { width: 100%; height: 100%; }
.release__sleeve img { width: 100%; height: 100%; object-fit: cover; }   /* artwork stays in colour, like the reels */
/* a release with no track list yet: cover large on the left, details beside it */
.music__grid--no-tracks { grid-template-columns: minmax(0, 1fr); }
.music__grid--no-tracks .release { width: 100%; padding-right: 0; display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(90px, 12vw, 190px); align-items: center; }
.music__grid--no-tracks .release__meta { margin-top: 0; }
.music__grid--no-tracks .release__title { font-size: clamp(2.4rem, 4.4vw, 4rem); }
@media (max-width: 900px) {
  .music__grid--no-tracks .release { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .music__grid--no-tracks .release__stack { width: min(78%, 420px); }
}
.music__grid--no-tracks .tracklist:empty { display: none; }
.release__meta { margin-top: 26px; display: grid; gap: 6px; }
.release__meta .label { color: var(--accent); }
.release__title { font-family: var(--f-serif); font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.05; margin: 0; }
.release__sub { color: var(--muted); font-size: 0.95rem; margin: 0; }
.release__meta .btn { justify-self: start; margin-top: 14px; }

.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: trk; }
.trk {
  position: relative;
  display: grid; grid-template-columns: 34px 46px minmax(0, 1fr) auto auto auto;
  gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.trk__n { font-family: var(--f-sc); font-weight: 500; font-size: 1.02rem; letter-spacing: 0.14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.trk__play {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--fg);
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.4s var(--ease);
}
.trk__play:hover { border-color: var(--accent); transform: scale(1.06); }
.trk__play svg { width: 14px; height: 14px; fill: currentColor; }
.trk__play .i-pause { display: none; }
.trk.is-playing .trk__play { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.trk.is-playing .trk__play .i-play { display: none; }
.trk.is-playing .trk__play .i-pause { display: block; }
.trk__title { min-width: 0; }
.trk__title b { display: flex; align-items: center; gap: 12px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.15; }
.trk__title small { display: block; margin-top: 4px; font-family: var(--f-sc); font-size: 0.95rem; letter-spacing: 0.1em; color: var(--muted); }
.trk__title .eq { opacity: 0; transition: opacity 0.3s ease; }
.trk__title .eq i { animation-play-state: paused; }
.trk.is-playing .trk__title .eq { opacity: 1; }
.trk.is-playing .trk__title .eq i { animation-play-state: running; }
.trk__data { font-size: 0.86rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.trk__len { font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.trk__link { font-family: var(--f-display); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; transition: color 0.3s ease; }
.trk__link:hover { color: var(--fg); }
.trk__link svg { width: 12px; height: 12px; }
.trk__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.platforms { margin-top: 30px; }
.release__meta .platforms { margin-top: 20px; max-width: 460px; }   /* platform links beside a release on its own */
.release__meta .platforms + .btn { margin-top: 18px; }
@media (max-width: 700px) {   /* phones: the four links as an even 2 by 2 grid */
  .release__meta .platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .release__meta .platforms a { width: 100%; justify-content: center; padding-inline: 8px; letter-spacing: 0.12em; white-space: nowrap; gap: 6px; }
}
.music__note { margin: 18px 0 0; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 960px) {
  .music__grid { grid-template-columns: 1fr; }
  .release { width: min(100%, 360px); }
}
@media (max-width: 640px) {
  .trk { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; }
  .trk__n, .trk__link { display: none; }
  .trk__data { grid-column: 2 / 3; grid-row: 2; margin-top: -8px; }
  .trk__len { grid-row: 1; grid-column: 3; }
}

/* ---------- Booking ---------- */
.booking__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(44px, 6vw, 100px); align-items: start; }
.booking__intro { color: var(--muted); max-width: 52ch; margin: 28px 0 0; }
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 36px 0; }
.type {
  display: grid; gap: 10px; grid-template-rows: auto auto 1fr auto; padding: 22px;
  border: 1px solid var(--line); border-radius: 18px; background: rgba(232, 228, 222, 0.02);
  transition: border-color 0.4s ease, transform 0.5s var(--ease), background-color 0.4s ease;
}
.type:hover { border-color: rgba(232, 228, 222, 0.5); transform: translateY(-3px); background: rgba(232, 228, 222, 0.05); }
.type__name { display: block; margin: 6px 0 0; font-family: var(--f-display); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; }
@media (min-width: 961px) and (max-width: 1200px) { .type__name { letter-spacing: 0.14em; } }
.type__detail { display: block; margin: 0; color: var(--muted); font-size: 0.95rem; overflow: hidden; }
/* items separated by a dot; the dot that would start a new line is tucked out of view */
.type__items { display: flex; flex-wrap: wrap; margin-left: -1.1em; }
.type__items > span { position: relative; padding-left: 1.1em; white-space: nowrap; }
.type__items > span::before { content: "\00B7"; position: absolute; left: 0.42em; }
.type .ico { width: 42px; height: 42px; }
button.type { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.type.is-picked { border-color: var(--paper); background: rgba(232, 228, 222, 0.07); }
.type__via {
  display: inline-flex; align-items: center; align-self: end; gap: 8px; margin-top: 4px;
  font-family: var(--f-sc); font-size: 0.95rem; letter-spacing: 0.08em; color: var(--muted);
}
.type__via svg, .route svg { width: 17px; height: 17px; flex: none; }

/* ---------- animated contact icons ----------
   Chat bubble: pops and shows typing dots. Envelope: the flap opens and a
   letter rises out. Plays on hover, loops softly on the chosen event type,
   and plays once when the routing note under "Event type" changes. */
.ico-chat, .ico-mail { overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.ico-chat .chat__bubble { transform-box: fill-box; transform-origin: 20% 90%; }
.ico-chat .chat__dot { fill: currentColor; stroke: none; opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.ico-mail .mail__flap { transform-box: view-box; transform-origin: 12px 8px; transition: transform 0.3s var(--ease); }
.ico-mail .mail__open { transform-box: view-box; transform-origin: 12px 7.7px; transform: scaleY(0); transition: transform 0.35s var(--ease); }
.ico-mail .mail__letter { fill: #2b2927; }
.ico-mail .mail__letter, .ico-mail .mail__lines { transform: translateY(0); transition: transform 0.5s var(--ease); }
.ico-mail .mail__lines { stroke-width: 1.1; }

/* the moment itself */
@keyframes chatPop { 0% { transform: scale(1) rotate(0); } 35% { transform: scale(1.12) rotate(-6deg); } 70% { transform: scale(0.97) rotate(2deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes chatDot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-1.6px); } 60% { opacity: 0.25; transform: translateY(0); } }
@keyframes mailFlap { 0%, 10% { transform: scaleY(1); } 20%, 80% { transform: scaleY(0); } 90%, 100% { transform: scaleY(1); } }
@keyframes mailOpenUp { 0%, 16% { transform: scaleY(0); } 28%, 72% { transform: scaleY(1); } 84%, 100% { transform: scaleY(0); } }
@keyframes mailLetter { 0%, 22% { transform: translateY(0); } 38%, 66% { transform: translateY(-6.6px); } 80%, 100% { transform: translateY(0); } }

.type:hover .chat__bubble, .route.is-new .chat__bubble { animation: chatPop 0.6s var(--ease); }
.type:hover .chat__dot, .type.is-picked .chat__dot, .route .chat__dot { animation: chatDot 1.2s ease-in-out infinite; }
.chat__dot:nth-of-type(2) { animation-delay: 0.15s !important; }
.chat__dot:nth-of-type(3) { animation-delay: 0.3s !important; }
/* hover: front flap folds away, the open flap rises behind, then the letter slides up */
.type:hover .mail__flap, .contact-link:hover .mail__flap { transform: scaleY(0); }
.type:hover .mail__open, .contact-link:hover .mail__open { transform: scaleY(1); transition-delay: 0.12s; }
.type:hover .mail__letter, .type:hover .mail__lines, .contact-link:hover .mail__letter, .contact-link:hover .mail__lines { transform: translateY(-6.6px); transition-delay: 0.22s; }
/* chosen event type loops gently; the routing note plays it once */
.type.is-picked:not(:hover) .mail__flap, .route.is-new .mail__flap { animation: mailFlap 3.4s var(--ease) infinite; }
.type.is-picked:not(:hover) .mail__open, .route.is-new .mail__open { animation: mailOpenUp 3.4s var(--ease) infinite; }
.type.is-picked:not(:hover) .mail__letter, .type.is-picked:not(:hover) .mail__lines,
.route.is-new .mail__letter, .route.is-new .mail__lines { animation: mailLetter 3.4s var(--ease) infinite; }
.route.is-new .mail__flap, .route.is-new .mail__open, .route.is-new .mail__letter, .route.is-new .mail__lines { animation-iteration-count: 1; }
/* WhatsApp link: the handset gives a little ring */
@keyframes phoneRing { 0%, 100% { transform: rotate(0); } 15%, 45% { transform: rotate(-12deg); } 30%, 60% { transform: rotate(10deg); } 75% { transform: rotate(0); } }
.wa--phone .wa__p { transform-box: fill-box; transform-origin: 50% 50%; }
.contact-link:hover .wa--phone .wa__p { animation: phoneRing 0.8s ease-in-out; }
.contact-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--f-body); }
.contact-link .ico-mail { width: 20px; height: 20px; flex: none; color: var(--muted); transition: color 0.3s ease; }
.contact-link:hover .ico-mail { color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .chat__dot { opacity: 0.8 !important; } }
.ico--plate .rim { stroke-dasharray: 3 4; transform-box: view-box; transform-origin: 28px 30px; animation: spin 14s linear infinite; }
.ico--org .flag { stroke-dasharray: 18; animation: dash 3s ease-in-out infinite alternate; }
/* .wa icon base styles live in styles.css */

/* booking form: routing note, services multi-select */
.route {
  display: flex; align-items: flex-start; gap: 12px; margin: -6px 0 0; padding: 14px 16px;
  border: 1px dashed rgba(232, 228, 222, 0.25); border-radius: 14px; color: var(--muted); font-size: 0.95rem; line-height: 1.45;
}
.route svg { margin-top: 2px; color: var(--paper); }
.route b { color: var(--paper); font-weight: 500; }
.field__label { font-family: var(--f-sc); font-weight: 500; font-size: 0.98rem; letter-spacing: 0.1em; color: var(--muted); }
.multi { position: relative; }
.multi__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--field-line); text-align: left; color: var(--muted);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.multi.has-value .multi__btn { color: var(--paper); }
.multi__btn:hover, .multi.is-open .multi__btn { border-color: var(--paper); }
.multi__chev { width: 12px; height: 8px; margin-right: 4px; fill: none; stroke: #c9c4bc; stroke-width: 1.5; transition: transform 0.35s var(--ease); }
.multi.is-open .multi__chev { transform: rotate(180deg); }
.multi__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20;
  display: grid; gap: 2px; padding: 12px;
  border: 1px solid rgba(232, 228, 222, 0.18); border-radius: 18px; background: #0d0c0c;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  animation: rise 0.35s var(--ease) both;
}
.multi__group { margin: 8px 10px 4px; font-family: var(--f-sc); font-size: 0.95rem; letter-spacing: 0.1em; color: var(--muted); }
.multi__group:first-child { margin-top: 2px; }
.multi__opt { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; cursor: pointer; transition: background-color 0.25s ease;
}
.field .multi__opt { font-family: var(--f-body); font-weight: 400; font-size: 1rem; letter-spacing: 0; color: var(--paper); }   /* options read as values, not as labels (beats .field label) */
.multi__opt:hover { background: rgba(232, 228, 222, 0.06); }
.multi__opt input { position: absolute; opacity: 0; pointer-events: none; }
.multi__box { position: relative; width: 18px; height: 18px; flex: none; border: 1px solid rgba(232, 228, 222, 0.45); border-radius: 5px; transition: background-color 0.2s ease, border-color 0.2s ease; }
.multi__box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) scale(0); transition: transform 0.2s var(--ease); }
.multi__opt input:checked + .multi__box { background: var(--paper); border-color: var(--paper); }
.multi__opt input:checked + .multi__box::after { transform: rotate(45deg) scale(1); }
.multi__opt input:focus-visible + .multi__box { outline: 2px solid var(--paper); outline-offset: 2px; }
.multi__done {
  justify-self: end; margin-top: 6px; padding: 9px 16px; border-radius: 999px; background: var(--paper); color: var(--ink);
  font-family: var(--f-display); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.multi__done:hover { background: var(--hover); }
.reels__sound:hover { border-color: var(--muted); color: var(--paper); }
.multi__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.multi__chips:empty { display: none; }
.multi__chips li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.88rem; }
.multi__chips button { width: 28px; height: 28px; border-radius: 50%; line-height: 1; color: var(--muted); transition: background-color 0.2s ease, color 0.2s ease; }
.multi__chips button:hover { background: rgba(232, 228, 222, 0.12); color: var(--paper); }
.email-line--wa { margin-top: 0; }
.email-line--wa a { display: inline-flex; align-items: center; gap: 10px; }
.email-line--wa .wa { width: 20px; height: 20px; }

/* ---------- Showcase reels ---------- */
.reels { --reel-w: clamp(210px, 21vw, 280px); --reel-gap: clamp(14px, 1.6vw, 22px); position: relative; }
.reels__viewport { overflow: hidden; padding: 28px 0 96px; margin-bottom: -84px; }
.reels__track {
  display: flex; align-items: center; gap: var(--reel-gap);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));   /* first reel lines up with the heading */
  transition: transform 1.1s var(--ease); will-change: transform;
}
.reel { flex: none; width: var(--reel-w); display: grid; gap: 14px; cursor: pointer; }
/* horizontal reels: same strip, wider 16:9 frames */
.reel--wide { width: min(calc(var(--reel-w) * 2.15), 86vw); }
.reel--wide .reel__media { aspect-ratio: 16 / 9; }
.reel__media {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 20px;
  border: 1px solid var(--line); background: #0d0c0c;
  opacity: 0.5; transform: scale(0.94); transform-origin: 50% 60%;
  transition: opacity 0.7s ease, transform 0.7s var(--ease), border-color 0.5s ease, box-shadow 0.6s ease;
}
.reel.is-active .reel__media { opacity: 1; transform: scale(1); border-color: rgba(232, 228, 222, 0.3); }
.reel.is-hover .reel__media { opacity: 1; transform: scale(1.06); border-color: rgba(232, 228, 222, 0.6); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5); }
.reel video, .reel__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; }
.reel__ph .blinds { inset: -60%; --bx: 50%; --by: 25%; }
.reel__ph img { position: relative; width: 34%; opacity: 0.5; }
.reel__play { position: relative; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(232, 228, 222, 0.5); display: grid; place-items: center; }
.reel__play::before { content: ""; margin-left: 4px; border-left: 14px solid var(--paper); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.reel.is-active .reel__play::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--paper); animation: pulse 2.4s var(--ease) infinite; }
.reel__soon { position: relative; font-family: var(--f-sc); font-size: 0.95rem; letter-spacing: 0.12em; color: rgba(232, 228, 222, 0.55); }
.reel__hint, .reel__mute {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 7px 12px; border-radius: 999px; background: rgba(4, 4, 4, 0.7); border: 1px solid rgba(232, 228, 222, 0.2);
  font-family: var(--f-display); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0; transform: translateY(-6px); transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none;
}
.reels.needs-tap .reel.is-hover .reel__hint { opacity: 1; transform: none; }
/* sound indicator: equaliser bars while a hovered reel plays with sound */
.reel__mute { width: 34px; height: 34px; padding: 0; display: grid; place-items: center; background: rgba(4,4,4,0.7) linear-gradient(var(--paper), var(--paper)) no-repeat 50% 50% / 0 0; }
.reel__mute::before, .reel__mute::after { content: ""; position: absolute; bottom: 11px; width: 2px; height: 12px; background: var(--paper); border-radius: 1px; animation: eqb 0.9s ease-in-out infinite alternate; }
.reel__mute::before { left: 12px; }
.reel__mute::after { right: 12px; animation-delay: -0.45s; }
.reels:not(.needs-tap) .reel.is-hover .reel__mute, .reels.sound-on .reel.is-hover .reel__mute { opacity: 1; transform: none; }
@keyframes eqb { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
.reel__cap { display: grid; gap: 2px; padding: 0 4px; opacity: 0.55; transition: opacity 0.5s ease; }
.reel.is-active .reel__cap, .reel.is-hover .reel__cap { opacity: 1; }
.reel__cap b { font-family: var(--f-serif); font-weight: 400; font-size: 1.35rem; line-height: 1.15; }
.reel__cap span { font-family: var(--f-sc); font-size: 0.95rem; letter-spacing: 0.08em; color: var(--muted); }
.reel__bar { display: block; height: 2px; margin: 0 4px; border-radius: 2px; background: rgba(232, 228, 222, 0.12); overflow: hidden; visibility: hidden; }
.reel.is-active .reel__bar { visibility: visible; }
.reels--single .reel__bar { display: none; }
.reels--single .reel__media { transform-origin: 0 60%; }   /* grows away from the left edge it shares with the heading */
/* one reel: line it up with the section heading instead of the screen edge */
.reels--single .reels__track { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); transform: none !important; }
.reel__bar i { display: block; height: 100%; background: var(--paper); transform: scaleX(0); transform-origin: 0 50%; }
.reels__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 28px; }
.reels__controls .cta-circle { color: var(--fg); }
@media (hover: hover) { .reels__controls .cta-circle:hover { background: var(--accent); border-color: var(--accent); color: var(--void); } }
.reels__prev svg { transform: rotate(180deg); }
.reels__sound {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--f-display); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.reels__sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.reels__sound .i-on { display: none; }
.reels__sound[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.reels__sound[aria-pressed="true"] .i-on { display: block; }
.reels__sound[aria-pressed="true"] .i-off { display: none; }
.reels__now { margin: 0 0 0 auto; font-family: var(--f-sc); font-size: 1rem; letter-spacing: 0.1em; color: var(--muted); white-space: pre; }
@media (max-width: 640px) { .reels { --reel-w: 62vw; } .reels__now { flex-basis: 100%; margin: 0; } }

.ico--glass .bubble { animation: bubble 2.2s ease-in infinite; }
.ico--glass .bubble:nth-of-type(2) { animation-delay: -1.1s; }
.ico--badge .shine { stroke-dasharray: 6 40; animation: dash 2s linear infinite; }
@keyframes bubble { 0% { transform: translateY(6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }
.includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.includes li { display: flex; align-items: center; gap: 14px; }
.includes li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--accent); }   /* thin rule, like the section labels */
.booking__panel { scroll-margin-top: calc(var(--nav-h, 72px) + 16px); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: rgba(232, 228, 222, 0.03); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.booking__panel h3 { margin: 0 0 6px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.booking__panel > p { margin: 0 0 28px; color: var(--muted); }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.email-line a { color: var(--fg); font-family: var(--f-body); font-size: 1.05rem; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .email-line a { font-size: 0.98rem; } .email-line .copy-btn { margin-left: auto; } }
@media (min-width: 961px) and (max-width: 1180px), (max-width: 480px) { .email-line > span:first-child { flex-basis: 100%; } }
@media (max-width: 960px) { .booking__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .types { grid-template-columns: 1fr; } }

/* ---------- Next ---------- */
.next { display: block; padding-block: clamp(64px, 9vw, 120px); }
.next__label { font-family: var(--f-sc); font-weight: 500; font-size: 1rem; letter-spacing: 0.12em; color: var(--muted); }
.next__name {
  display: flex; align-items: center; gap: 0.3em; margin-top: 14px;
  font-family: var(--f-name); font-weight: 500;
  font-size: clamp(2.4rem, 7.5vw, 6.6rem); letter-spacing: 0.03em; line-height: 1;
  transition: color 0.4s ease, gap 0.6s var(--ease);
}
.next__name svg { width: 0.6em; height: 0.6em; flex: none; stroke-width: 1.2; }
@media (max-width: 600px) { .next__name { display: block; } .next__name svg { display: inline-block; vertical-align: -0.05em; margin-left: 0.25em; } }
.next:hover .next__name { color: var(--hover); gap: 0.5em; }
.a-missing { padding-block: calc(var(--nav-h) + 120px) 120px; }
