/* =========================================================
   Marry with Harp – Justyna Sasnal
   Progressive enhancement:
   1. Base layer: complete, static, responsive layout (every browser).
   2. @supports (animation-timeline: view()) + no reduced-motion:
      CSS scroll-driven animations on top.
   ========================================================= */

/* ---------- Fonts (self-hosted, latin + latin-ext) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/cormorant-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/cormorant-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/cormorant-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/cormorant-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --wine: #49181e;
  --wine-deep: #2c0e12;
  --gold: #c39d63;
  --gold-soft: #e6d3ad;
  --cream: #faf6f0;
  --paper: #f2e9dc;
  --ink: #2b1d1f;
  --muted: #6f5d58;
  --line: color-mix(in srgb, var(--gold) 45%, transparent);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Locked viewport height: JS pins it to the first measured innerHeight, so
     collapsing mobile/in-app browser toolbars never resize sections (no jumps). */
  --app-h: 100svh;
  --header-h: 76px;
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font: 400 1rem/1.75 var(--sans);
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 9vw, 7rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
em { font-style: italic; color: var(--gold); }
p { margin: 0 0 1.1em; text-wrap: pretty; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.section { padding-block: clamp(5rem, 12vw, 9rem); position: relative; }
.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); text-align: center; }
.section-head p:last-child { color: var(--muted); }

.eyebrow {
  font: 500 .78rem/1.2 var(--sans);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .9em;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 2.2em;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--wine); color: var(--cream); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 480px) {
  .eyebrow { letter-spacing: .2em; font-size: .7rem; }
  .eyebrow::before, .eyebrow::after { width: 1.4em; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .9rem 2rem;
  font: 500 .8rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--wine-deep); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost { border-color: color-mix(in srgb, var(--cream) 70%, transparent); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--wine); }

/* ---------- Header ---------- */
.scroll-progress { display: none; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-inline: var(--gutter);
  color: var(--ink);
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 30%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: auto; height: 44px; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font: 500 1.45rem/1 var(--serif); }
.brand__sub { font: 400 .66rem/1.6 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.site-nav a {
  font: 500 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; padding-block: .5rem; position: relative;
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); scale: 0 1; transform-origin: left;
  transition: scale .35s var(--ease);
}
.site-nav a:hover::after { scale: 1 1; }
.site-nav .nav-cta { border: 1px solid var(--gold); border-radius: 999px; padding: .75rem 1.3rem; }
.site-nav .nav-cta:hover { background: var(--gold); color: var(--wine-deep); }
/* Chrome 140+: highlights the nav link of the section currently in view */
.site-nav ul { scroll-target-group: auto; }
.site-nav a:target-current { color: var(--gold); }
.site-nav a:target-current::after { scale: 1 1; }

.nav-toggle, .nav-close { display: none; }

@media (min-width: 861px) {
  /* popover is only a mobile concern – on desktop the nav is always rendered inline */
  .site-nav {
    display: block; position: static; inset: auto; margin: 0; padding: 0;
    border: 0; background: none; color: inherit; overflow: visible;
    width: auto; height: auto;
  }
}
@media (min-width: 861px) and (max-width: 1180px) {
  .site-nav ul { gap: 1rem; }
  .site-nav a { letter-spacing: .12em; font-size: .7rem; }
  .brand__sub { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand img { height: 38px; }
  .brand__name { font-size: 1.25rem; }

  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; }
  .nav-toggle span:nth-child(2) { width: 18px; justify-self: end; }

  .site-nav {
    position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none;
    margin: 0; padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
    border: 0; background: var(--wine); color: var(--cream);
    opacity: 0; translate: 0 -2rem;
    transition: opacity .35s var(--ease), translate .35s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete;
  }
  .site-nav:popover-open { opacity: 1; translate: 0 0; }
  @starting-style { .site-nav:popover-open { opacity: 0; translate: 0 -2rem; } }
  .site-nav::backdrop { background: transparent; }
  /* inline-block: the links' padding takes up space and .nav-cta's margin-top applies,
     so the last link's underline can't run into the "Kontakt" button */
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .site-nav a { display: inline-block; font: 500 2.4rem/1.1 var(--serif); letter-spacing: 0; text-transform: none; }
  .site-nav .nav-cta { margin-top: 1rem; font: 500 .85rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 1rem 1.6rem; }
  .nav-close {
    display: block; position: absolute; top: calc((var(--header-h) - 46px) / 2); right: var(--gutter);
    width: 46px; height: 46px; padding: 0; border: 0; background: none; color: var(--cream);
    font: 300 2.4rem/1 var(--sans); cursor: pointer;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(var(--app-h), 560px);
  display: grid; place-items: center;
  color: var(--cream);
  overflow: clip;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 50% 52%, rgb(44 14 18 / .62), transparent 100%),
    linear-gradient(180deg, rgb(44 14 18 / .55) 0%, rgb(44 14 18 / .2) 40%, rgb(44 14 18 / .75) 100%);
}
.hero__content {
  width: min(100% - 2 * var(--gutter), 960px);
  padding-top: var(--header-h);
  text-align: center;
}
.hero__content .eyebrow { color: var(--gold-soft); }
.hero h1 { margin-bottom: .35em; }
/* the eyebrow sits inside the h1 (keywords in the heading) but keeps its own look on its own line */
.hero h1 .eyebrow { display: flex; width: fit-content; margin-inline: auto; }
.hero h1 em { color: var(--gold-soft); }
.hero__lead { max-width: 34rem; margin: 0 auto 2.2rem; font-size: clamp(1rem, 1.6vw, 1.15rem); opacity: .92; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* Landscape screens: photo with the harpist on the right, text on the left */
@media (min-aspect-ratio: 3/4) {
  .hero__media img { object-position: 78% 35%; }
}
@media (min-aspect-ratio: 3/4) and (min-width: 861px) {
  .hero { place-items: center start; }
  .hero__content {
    width: min(54%, 660px); text-align: left;
    margin-left: max(var(--gutter), (100vw - var(--container)) / 2);
  }
  .hero__content .eyebrow::after { display: none; }
  .hero h1 .eyebrow { margin-left: 0; }
  .hero__lead { margin-left: 0; }
  .hero__actions { justify-content: flex-start; }
  .hero__media::after {
    background:
      linear-gradient(90deg, rgb(44 14 18 / .88) 0%, rgb(44 14 18 / .66) 38%, rgb(44 14 18 / .12) 66%, transparent 82%),
      linear-gradient(180deg, rgb(44 14 18 / .62) 0%, transparent 24%, transparent 72%, rgb(44 14 18 / .55) 100%);
  }
}

.hero__scroll {
  position: absolute; bottom: 1.6rem; left: 50%; translate: -50% 0;
  width: 1px; height: 64px; background: rgb(250 246 240 / .3); overflow: hidden;
}
.hero__scroll span {
  position: absolute; left: 0; top: 0; width: 1px; height: 24px; background: var(--gold-soft);
}

/* ---------- Harp strings ornament ---------- */
.strings {
  display: flex; justify-content: center; align-items: flex-start; gap: 11px;
  height: 120px; margin: calc(-1 * clamp(5rem, 12vw, 9rem)) auto clamp(2.5rem, 6vw, 4rem);
}
.strings span {
  width: 1px; background: linear-gradient(var(--gold), color-mix(in srgb, var(--gold) 10%, transparent));
  transform-origin: top;
}
.strings span:nth-child(1) { height: 100%; }
.strings span:nth-child(2) { height: 92%; }
.strings span:nth-child(3) { height: 84%; }
.strings span:nth-child(4) { height: 76%; }
.strings span:nth-child(5) { height: 68%; }
.strings span:nth-child(6) { height: 60%; }
.strings span:nth-child(7) { height: 52%; }
.strings span:nth-child(8) { height: 44%; }
.strings span:nth-child(9) { height: 36%; }

/* ---------- About ---------- */
.about__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 6rem); align-items: center;
}
.about__media { position: relative; }
.about__media::before {
  /* gold arch outline, offset behind the photo */
  content: ""; position: absolute; inset: -18px 18px 18px -18px;
  border: 1px solid var(--line); border-radius: 999px 999px 0 0 / 40% 40% 0 0;
}
.about__photo {
  margin: 0; position: relative; overflow: hidden;
  border-radius: 999px 999px 0 0 / 40% 40% 0 0;
  aspect-ratio: 2 / 3;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text h2 { margin-bottom: .8em; }
.about__text p:not(.eyebrow) { color: var(--muted); }
/* key phrases: soft gold highlight (drawn by scroll where supported) */
.ink {
  color: var(--ink);
  background: linear-gradient(var(--gold-soft), var(--gold-soft)) no-repeat 0 88% / 100% .38em;
}

.occasions { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.occasions li {
  font: 500 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  padding: .8rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; color: var(--wine);
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { width: min(100%, 420px); margin-inline: auto; }
  .about__text { text-align: center; }
  .occasions { justify-content: center; }
}

/* ---------- Quote band ---------- */
.band {
  position: relative; min-height: clamp(420px, calc(var(--app-h) * .8), 760px);
  display: grid; place-items: center; overflow: clip; isolation: isolate;
  color: var(--cream); text-align: center;
}
.band__media { position: absolute; inset: 0; z-index: -1; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after { content: ""; position: absolute; inset: 0; background: rgb(44 14 18 / .55); }
.band__quote { margin: 0; width: min(100% - 2 * var(--gutter), 900px); }
.band__quote p {
  font: italic 400 clamp(1.9rem, 4.6vw, 3.6rem)/1.2 var(--serif);
  margin: 0; text-wrap: balance;
}

/* ---------- Listen / videos ---------- */
.listen { background: var(--paper); }
.videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); max-width: 1200px; margin-inline: auto; }
@media (min-width: 641px) and (max-width: 900px) {
  /* tablets: 4 columns would be too narrow */
  .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; }
}
.video-card { margin: 0; position: relative; }
.video-play {
  position: absolute; inset: 0 0 auto; aspect-ratio: 2 / 3;
  border: 0; padding: 0; cursor: pointer; border-radius: var(--radius);
  background: linear-gradient(180deg, transparent 55%, rgb(44 14 18 / .45));
}
.video-play::before {
  content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 72px; height: 72px; border-radius: 50%;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  box-shadow: 0 10px 30px rgb(44 14 18 / .35);
  transition: scale .35s var(--ease), background-color .35s var(--ease);
}
.video-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; translate: -35% -50%;
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--wine);
}
.video-play:hover::before { scale: 1.1; background: var(--gold-soft); }
.video-card video {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: var(--radius); background: var(--wine-deep);
  box-shadow: 0 30px 60px -30px rgb(44 14 18 / .55);
}
.video-card figcaption {
  margin-top: 1rem; text-align: center;
  font: 500 1.3rem/1.25 var(--serif);
}
.video-card figcaption span {
  display: block; margin-top: .25rem;
  font: 400 .7rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}

@media (max-width: 640px) {
  /* swipeable carousel on phones */
  .videos {
    display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 1rem var(--gutter) 1.5rem;
    scroll-padding-inline: var(--gutter);
  }
  .videos::-webkit-scrollbar { display: none; }
  .video-card { flex: 0 0 74vw; scroll-snap-align: center; }
}

/* ---------- Gallery ---------- */
.gallery { padding-top: clamp(5rem, 12vw, 9rem); background: var(--cream); }
.gallery .section-head { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }

/* base (no scroll-timeline support): native horizontal scroll-snap */
.gallery__track {
  list-style: none; margin: 0; padding: 1rem var(--gutter) 2rem;
  display: flex; gap: clamp(1rem, 2.5vw, 2rem);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
}
.gallery__track li { flex: none; scroll-snap-align: center; }
.gallery__track a { display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery__track img {
  height: min(calc(var(--app-h) * .62), 560px); width: auto; max-width: none;
  transition: scale .6s var(--ease);
}
.gallery__track a:hover img { scale: 1.04; }
/* gallery strip: native scroll-snap; ‹ › buttons and a progress line on wider screens */
.gallery__stage { padding-bottom: clamp(3rem, 8vw, 6rem); }
.gallery__viewport { position: relative; }
.gallery__track[data-enhanced] { scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery__track[data-enhanced]::-webkit-scrollbar { display: none; }
.gallery__arrow, .gallery__progress { display: none; }

/* swipe hint (phones: gallery, repertoire) */
.swipe-hint {
  display: flex; align-items: center; justify-content: center; gap: .8rem;
  margin: 0 auto; padding-inline: var(--gutter); text-align: center;
  font: 500 .72rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--wine);
}
.repertoire .swipe-hint { color: var(--gold-soft); }
.swipe-hint .hint-arrow {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold); display: grid; place-items: center;
}
.swipe-hint .hint-arrow::before {
  content: ""; width: 8px; height: 8px; margin-left: -3px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  rotate: -45deg;                       /* → : swipe sideways */
}
@media (prefers-reduced-motion: no-preference) {
  .swipe-hint .hint-arrow::before { animation: hint-nudge-x 1.6s var(--ease) infinite; }
  @keyframes hint-nudge-x { 50% { translate: 4px 0; } }
}

@media (max-width: 640px) {
  /* every photo fits the screen (wide ones shrink instead of overflowing),
     so the neighbours always peek out on both sides */
  .gallery__track { padding-inline: 12vw; scroll-padding-inline: 12vw; align-items: center; overscroll-behavior-x: contain; scrollbar-width: none; }
  .gallery__track img { height: auto; width: auto; max-width: 76vw; max-height: calc(var(--app-h) * .6); }
  .gallery__track::-webkit-scrollbar { display: none; }
}
@media (min-width: 641px) {
  .swipe-hint { display: none; }
  .gallery__arrow {
    position: absolute; top: calc(50% - .5rem); translate: 0 -50%; z-index: 1;
    width: 56px; height: 56px; padding: 0 0 4px; border-radius: 50%;
    border: 1px solid var(--line); background: rgb(44 14 18 / .72); color: var(--cream);
    font: 300 2.4rem/1 var(--serif); cursor: pointer;
    display: grid; place-items: center;
    transition: background-color .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease);
  }
  .gallery__arrow[hidden] { display: none; }
  .gallery__arrow:hover { background: var(--gold); color: var(--wine-deep); }
  .gallery__arrow:disabled { opacity: 0; pointer-events: none; }
  .gallery__arrow--prev { left: clamp(.75rem, 2vw, 1.75rem); }
  .gallery__arrow--next { right: clamp(.75rem, 2vw, 1.75rem); }
  .gallery__progress {
    display: block; width: min(100% - 2 * var(--gutter), 420px); height: 1px;
    margin: .5rem auto 0; background: var(--line);
  }
  .gallery__progress span {
    display: block; height: 100%; background: var(--gold);
    transform-origin: left; scale: var(--progress, 0) 1;
    transition: scale .25s var(--ease);
  }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--cream); }
.review-stack { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); max-width: 1040px; margin-inline: auto; }
.review {
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  background: #fff; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  box-shadow: 0 40px 80px -40px rgb(44 14 18 / .35), 0 0 0 1px color-mix(in srgb, var(--gold) 20%, transparent);
  transform-origin: center top;
}
.review > img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.review__body { padding: clamp(1.75rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.review blockquote { margin: 0; position: relative; }
.review blockquote::before {
  content: "“"; position: absolute; top: -.35em; left: -.1em;
  font: 400 6rem/1 var(--serif); color: var(--gold); opacity: .35;
}
.review blockquote p { color: var(--muted); font-size: .97rem; }
.review__author {
  margin: .5rem 0 0; font: italic 500 1.6rem/1.2 var(--serif); color: var(--wine);
}

@media (max-width: 860px) {
  .review { grid-template-columns: 1fr; }
  .review > img { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
}

/* ---------- Google reviews (below the review stack) ---------- */
.g-reviews { margin-top: clamp(3.5rem, 8vw, 6rem); }
.g-reviews__head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.25rem);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
}
.g-reviews__score { display: flex; align-items: center; gap: 1rem; }
.g-reviews__num { font: 500 clamp(3.2rem, 7vw, 4.5rem)/1 var(--serif); color: var(--wine); }
.g-reviews__stars, .g-review__stars { color: var(--gold); letter-spacing: .12em; }
.g-reviews__stars { font-size: 1.3rem; }
.g-reviews__lead { flex: 1 1 260px; }
.g-reviews__lead h3 { margin: 0; font-size: clamp(1.5rem, 3vw, 1.9rem); color: var(--wine); }
.g-reviews__lead p { margin: .25rem 0 0; color: var(--muted); }
.g-reviews__list { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: clamp(1rem, 2.5vw, 1.5rem); }
.g-review {
  break-inside: avoid; margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
  padding: 1.6rem 1.5rem 1.4rem; background: #fff; border-radius: var(--radius);
  box-shadow: 0 24px 50px -34px rgb(44 14 18 / .45), 0 0 0 1px color-mix(in srgb, var(--gold) 20%, transparent);
}
.g-review__stars { font-size: 1.05rem; }
.g-review blockquote { margin: .7rem 0 1.2rem; }
.g-review blockquote p { margin: 0; color: var(--muted); font-size: .95rem; }
.g-review blockquote p + p { margin-top: .6rem; }
.g-review__author {
  display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center;
  margin: 0; font: 500 .95rem/1.25 var(--sans); color: var(--wine);
}
.g-review__author span {
  grid-row: span 2; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--wine); color: var(--gold-soft); font: 500 1.25rem/1 var(--serif);
}
.g-review__author small { font: 400 .72rem/1.3 var(--sans); color: var(--muted); letter-spacing: .04em; }
@media (max-width: 900px) and (min-width: 641px) { .g-reviews__list { columns: 2; } }
@media (max-width: 640px) {
  .g-reviews__head .btn { width: 100%; }
  /* phones: swipeable cards, same pattern as the other carousels */
  .g-reviews__list {
    display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; columns: auto;
    margin-inline: calc(-1 * var(--gutter)); padding: .5rem var(--gutter) 1.5rem;
    scroll-padding-inline: var(--gutter);
  }
  .g-reviews__list::-webkit-scrollbar { display: none; }
  .g-review { flex: 0 0 82vw; margin: 0; scroll-snap-align: center; }
}

/* ---------- Instagram follow band ---------- */
.follow {
  background: var(--wine-deep); color: var(--cream); text-align: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.follow__icon {
  display: block; width: 68px; height: 68px; padding: 17px; margin: 0 auto 1.4rem;
  border: 1px solid var(--line); border-radius: 50%; fill: var(--gold);
}
.follow .eyebrow { color: var(--gold); }
.follow h2 { margin: .5rem 0 .9rem; font-size: clamp(2rem, 4.5vw, 3.1rem); color: var(--cream); }
.follow p:not(.eyebrow) { max-width: 560px; margin: 0 auto 1.8rem; color: color-mix(in srgb, var(--cream) 78%, transparent); }
/* ---------- Repertoire ---------- */
.repertoire { background: var(--wine-deep); color: var(--cream); overflow: clip; }
.repertoire .section-head p:last-child { color: color-mix(in srgb, var(--cream) 75%, transparent); }
.rep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.rep-card {
  position: relative; padding: 2rem 1.6rem 1.8rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, color-mix(in srgb, var(--wine) 70%, transparent), transparent 70%);
}
.rep-card__num {
  position: absolute; top: 1rem; right: 1.25rem;
  font: italic 500 2.6rem/1 var(--serif); color: color-mix(in srgb, var(--gold) 35%, transparent);
}
.rep-card h3 { font-size: 1.6rem; color: var(--gold-soft); padding-right: 2.5rem; }
.rep-card { display: flex; flex-direction: column; }
/* rows share the card height, so a column without composer lines has no empty tail */
.rep-card ul { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; }
.rep-card li {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: .65rem 0; border-top: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
  font: 500 1.15rem/1.3 var(--serif);
}
.rep-card li span {
  display: block; margin-top: .15rem;
  font: 400 .68rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 55%, transparent);
}
.rep-note { margin: clamp(2rem, 5vw, 3rem) 0 0; text-align: center; color: var(--muted); }
.repertoire .rep-note { color: color-mix(in srgb, var(--cream) 75%, transparent); }
.rep-note a { color: var(--gold); text-underline-offset: .25em; }
@media (max-width: 1100px) and (min-width: 641px) {
  .rep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rep-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  /* phones: swipeable cards, same pattern as the video carousel */
  .rep-grid {
    display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: .5rem var(--gutter) 1rem;
    scroll-padding-inline: var(--gutter);
  }
  .rep-grid::-webkit-scrollbar { display: none; }
  .rep-card { flex: 0 0 76vw; scroll-snap-align: center; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq__inner { max-width: 860px; }
.faq-list { display: grid; gap: .75rem; }
.faq-item {
  background: var(--cream); border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  interpolate-size: allow-keywords;   /* lets ::details-content animate to height:auto */
}
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.15rem 3.5rem 1.15rem 1.4rem;
  font: 500 clamp(1.2rem, 2.2vw, 1.4rem)/1.3 var(--serif); color: var(--wine);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {
  content: ""; position: absolute; right: 1.4rem; top: 50%; width: 14px; height: 1.5px;
  background: var(--gold); transition: rotate .35s var(--ease);
}
.faq-item summary::after { rotate: 90deg; }
.faq-item[open] summary::after { rotate: 0deg; }
.faq-item__body { padding: 0 1.4rem 1.2rem; }
.faq-item__body p { margin: 0; color: var(--muted); }
.faq-item::details-content {
  block-size: 0; overflow: clip;
  transition: block-size .4s var(--ease), content-visibility .4s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) {
  .faq-item::details-content { transition: none; }
}

/* ---------- Contact ---------- */
.contact { background: var(--wine); color: var(--cream); }
.contact .eyebrow { color: var(--gold); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact__info p:not(.eyebrow) { color: color-mix(in srgb, var(--cream) 82%, transparent); }
.contact__info p.contact__area {
  font: 500 .72rem/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.contact__links { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; }
.contact__links a {
  display: inline-flex; align-items: center; gap: 1rem;
  font: 500 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 var(--serif); text-decoration: none;
  overflow-wrap: anywhere;
}
.contact__links svg {
  flex: none; width: 48px; height: 48px; padding: 12px; border-radius: 50%;
  border: 1px solid var(--line); fill: var(--gold);
  transition: background-color .3s var(--ease), fill .3s var(--ease);
}
.contact__links a:hover svg { background: var(--gold); fill: var(--wine-deep); }

.socials { list-style: none; padding: 0; margin: 0; display: flex; gap: .75rem; }
.socials a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); transition: background-color .3s var(--ease);
}
.socials svg { width: 20px; height: 20px; fill: var(--cream); }
.socials a:hover { background: var(--gold); }

.contact-form {
  background: var(--cream); color: var(--ink);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 50px 100px -40px rgb(0 0 0 / .5);
}
.contact-form > p { color: var(--muted); }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field label { font: 500 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wine); }
.field label small { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  display: block; width: 100%; min-width: 0; min-height: 3.25rem; margin: 0;
  font: 400 1rem/1.5 var(--sans); color: var(--ink);
  padding: .8rem 1rem; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  background: #fff;
  -webkit-appearance: none; appearance: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #a39490; opacity: 1; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input { height: 3.25rem; }

/* Date: own calendar icon + "Wybierz datę" placeholder (iOS shows an empty box otherwise);
   the native picker indicator is stretched invisibly over the whole field, so any tap opens it. */
.date-wrap { position: relative; }
.date-wrap input { padding-right: 3rem; text-align: left; cursor: pointer; }
.date-wrap input::-webkit-date-and-time-value { text-align: left; margin: 0; min-height: 1.5em; }
.date-wrap input::-webkit-calendar-picker-indicator {
  position: absolute; inset: 0; width: auto; height: auto; margin: 0; padding: 0;
  opacity: 0; cursor: pointer;
}
.date-wrap svg {
  position: absolute; right: 1rem; top: 50%; translate: 0 -50%;
  width: 20px; height: 20px; fill: var(--gold); pointer-events: none;
}
.date-placeholder {
  position: absolute; left: 1rem; right: 3rem; top: 50%; translate: 0 -50%;
  color: #a39490; pointer-events: none; display: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.date-wrap input[data-empty]:not(:focus) + .date-placeholder { display: block; }
.date-wrap input[data-empty]:not(:focus)::-webkit-datetime-edit { color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.captcha { position: relative; margin-bottom: 1.4rem; }
.captcha input { max-width: 9rem; text-align: center; }
.captcha label strong { font-weight: 700; letter-spacing: .08em; color: var(--wine); }
.captcha__ok {
  display: none; position: absolute; left: calc(9rem + .9rem); bottom: .85rem;
  font-size: 1.4rem; line-height: 1; color: #2f6b3a;
}
.captcha[data-state="ok"] .captcha__ok { display: block; }
.captcha[data-state="ok"] input { border-color: #2f6b3a; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; margin: 0 0 1.4rem; }
.consent input {
  width: 1.35rem; height: 1.35rem; margin: .15rem 0 0; cursor: pointer;
  accent-color: var(--wine);
}
.consent input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.consent label { font-size: .78rem; line-height: 1.55; color: var(--muted); cursor: pointer; }
.contact-form .btn { width: 100%; }
.contact-form .btn:disabled, .contact-form .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

/* inline validation (errors sit under the control, readable on phones) */
.field__error {
  display: flex; align-items: flex-start; gap: .45rem; margin: 0; padding-top: .1rem;
  font: 500 .85rem/1.4 var(--sans); color: #9b2c2c;
}
.field__error[hidden] { display: none; }
.field__error::before {
  content: "!"; flex: none; display: grid; place-items: center; width: 1.1rem; height: 1.1rem; margin-top: .1rem;
  border-radius: 50%; background: #9b2c2c; color: #fff; font: 700 .7rem/1 var(--sans);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #9b2c2c; background: #fff7f6;
}
.field input[aria-invalid="true"]:focus, .field textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgb(155 44 44 / .16);
}
.consent .field__error { grid-column: 1 / -1; }
.consent input[aria-invalid="true"] { outline: 2px solid #9b2c2c; outline-offset: 2px; }
.form-status { margin: 1rem 0 0; font-size: .95rem; text-align: center; min-height: 1.5em; }
.form-status[data-state="ok"] { color: #2f6b3a; }
.form-status[data-state="error"] { color: #9b2c2c; }
.form-status a { color: inherit; font-weight: 600; text-decoration: underline; }

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--wine-deep); color: color-mix(in srgb, var(--cream) 70%, transparent);
  text-align: center; padding: 3.5rem var(--gutter);
}
.site-footer img { height: 56px; width: auto; margin: 0 auto 1rem; }
.site-footer p { margin: 0 0 .3rem; font-size: .85rem; letter-spacing: .08em; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92dvh; overflow: visible;
  touch-action: pinch-zoom;   /* horizontal swipes reach our pointer handlers */
}
.lightbox::backdrop { background: rgb(28 8 11 / .9); backdrop-filter: blur(6px); }
.lightbox img { max-width: 94vw; max-height: 92dvh; width: auto; height: auto; border-radius: 12px; }
.lightbox__close {
  position: fixed; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: rgb(44 14 18 / .6); color: var(--cream);
  font: 300 2rem/1 var(--sans); cursor: pointer;
}
.lightbox__nav {
  position: fixed; top: 50%; translate: 0 -50%;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: rgb(44 14 18 / .6); color: var(--cream);
  font: 300 2.2rem/1 var(--serif); cursor: pointer;
  display: grid; place-items: center; padding: 0 0 4px;
  transition: background-color .25s var(--ease);
}
.lightbox__nav:hover, .lightbox__close:hover { background: var(--gold); color: var(--wine-deep); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__counter {
  position: fixed; left: 50%; bottom: 1rem; translate: -50% 0; margin: 0;
  font: 500 .75rem/1 var(--sans); letter-spacing: .2em; color: var(--gold-soft);
}
@media (max-width: 640px) {
  /* on phones: swipe; arrows sit low so they don't cover the photo */
  .lightbox__nav { top: auto; bottom: .6rem; translate: none; width: 44px; height: 44px; }
}

/* ---------- Quick contact bar (phones) ---------- */
.quick-contact { display: none; }
@media (max-width: 860px) {
  @supports (animation-timeline: scroll()) {
    body { timeline-scope: --contact; }
    #kontakt { view-timeline: --contact block; }
    .quick-contact {
      position: fixed; z-index: 40;
      left: var(--gutter); right: var(--gutter);
      bottom: calc(12px + env(safe-area-inset-bottom, 0px));
      display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
      padding: .5rem; border-radius: 999px;
      background: color-mix(in srgb, var(--wine) 94%, transparent);
      backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 16px 40px -12px rgb(44 14 18 / .6);
      /* appears after the hero, leaves when the contact section arrives */
      animation: qc-in linear both, qc-out linear both;
      animation-timeline: scroll(root block), --contact;
      animation-range: calc(var(--app-h) * .6) calc(var(--app-h) * .9), entry 0% entry 35%;
    }
    .quick-contact .btn { min-height: 46px; padding: .7rem 1rem; gap: .5rem; font-size: .72rem; }
    .quick-contact svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
    .quick-contact .btn--ghost { border-color: var(--line); }
    @keyframes qc-in  { from { opacity: 0; visibility: hidden; translate: 0 130%; } }
    @keyframes qc-out { to   { opacity: 0; visibility: hidden; translate: 0 130%; } }
    .site-footer { padding-bottom: calc(3.5rem + 76px); }
  }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  @keyframes qc-in  { from { opacity: 0; visibility: hidden; } }
  @keyframes qc-out { to   { opacity: 0; visibility: hidden; } }
}
/* !important beats the scroll-driven animation's visibility */
body:has(.lightbox[open]) .quick-contact { visibility: hidden !important; }

/* ---------- Page-load intro (time-based) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero__scroll span { animation: scroll-hint 2.2s var(--ease) infinite; }
  @keyframes scroll-hint { from { translate: 0 -24px; } to { translate: 0 64px; } }
  .hero__content > * { animation: intro 1.2s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-delay: .2s; }
  .hero__content > :nth-child(3) { animation-delay: .36s; }
  @keyframes intro { from { opacity: 0; translate: 0 30px; filter: blur(8px); } }
}

/* =========================================================
   SCROLL-DRIVEN ANIMATIONS
   ========================================================= */

/* Colour-only effects: fine even with reduced motion */
@supports (animation-timeline: scroll()) {
  .site-header {
    color: var(--cream);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: header-solid linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 calc(var(--app-h) * .7);
  }
  @keyframes header-solid {
    0%, 60% {
      color: var(--cream);
      background: transparent;
      box-shadow: 0 1px 0 transparent;
      backdrop-filter: blur(0);
    }
    100% {
      color: var(--ink);
      background: color-mix(in srgb, var(--cream) 94%, transparent);
      box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 30%, transparent);
      backdrop-filter: blur(12px);
    }
  }

  .scroll-progress {
    display: block; position: fixed; inset: 0 0 auto; z-index: 60; height: 2px;
    background: linear-gradient(90deg, var(--gold-soft), var(--gold));
    transform-origin: 0 50%;
    animation: progress linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes progress { from { scale: 0 1; } to { scale: 1 1; } }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {

    /* --- Generic reveal --- */
    .reveal, .reveal-up {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 30%;
    }
    @keyframes reveal {
      from { opacity: 0; translate: 0 48px; filter: blur(6px); }
      to   { opacity: 1; translate: 0 0;    filter: blur(0); }
    }

    /* --- Hero: content lifts & fades, photo zooms & drifts --- */
    .hero__media img {
      animation: hero-zoom linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
    @keyframes hero-zoom {
      to { scale: 1.18; translate: 0 18%; filter: saturate(.7) brightness(.8); }
    }
    .hero__content {
      animation: hero-out linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 75%;
    }
    @keyframes hero-out {
      0%, 12% { opacity: 1; translate: 0 0; scale: 1; filter: blur(0); }
      100% { opacity: 0; translate: 0 -18vh; scale: .94; filter: blur(4px); }
    }
    .hero__scroll {
      animation: fade-out linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 calc(var(--app-h) * .2);
    }
    @keyframes fade-out { to { opacity: 0; } }

    /* --- Harp strings draw in one after another --- */
    .strings span {
      animation: string-draw linear both;
      animation-timeline: view();
      animation-range: entry calc(var(--n) * 6%) cover 45%;
    }
    .strings span:nth-child(1) { --n: 0; }
    .strings span:nth-child(2) { --n: 1; }
    .strings span:nth-child(3) { --n: 2; }
    .strings span:nth-child(4) { --n: 3; }
    .strings span:nth-child(5) { --n: 4; }
    .strings span:nth-child(6) { --n: 5; }
    .strings span:nth-child(7) { --n: 6; }
    .strings span:nth-child(8) { --n: 7; }
    .strings span:nth-child(9) { --n: 8; }
    @keyframes string-draw {
      from { scale: 1 0; opacity: 0; }
      to   { scale: 1 1; opacity: 1; }
    }

    /* --- About: arch photo unveils, outline drifts at another speed --- */
    .about__photo {
      animation: arch-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
    @keyframes arch-reveal {
      from { clip-path: inset(100% 0 0 0); }
      to   { clip-path: inset(0 0 0 0); }
    }
    .about__photo img {
      animation: img-settle linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes img-settle {
      from { scale: 1.35; translate: 0 -6%; }
      to   { scale: 1.05; translate: 0 6%; }
    }
    .about__media::before {
      animation: outline-drift linear both;
      animation-timeline: view();
      animation-range: cover;
    }
    @keyframes outline-drift {
      from { translate: 0 60px; opacity: 0; }
      30%  { opacity: 1; }
      to   { translate: 0 -60px; }
    }
    .occasions li {
      animation: chip-in linear both;
      animation-timeline: view();
      animation-range: entry calc(10% + var(--n, 0) * 8%) cover 35%;
    }
    .occasions li:nth-child(2) { --n: 1; }
    .occasions li:nth-child(3) { --n: 2; }
    .occasions li:nth-child(4) { --n: 3; }
    .occasions li:nth-child(5) { --n: 4; }
    .occasions li:nth-child(6) { --n: 5; }
    @keyframes chip-in { from { opacity: 0; scale: .7; } }

    /* --- Quote band: parallax photo + quote focus --- */
    .band__media img {
      animation: parallax linear both;
      animation-timeline: view();
      animation-range: cover;
      height: 130%;
    }
    @keyframes parallax { from { translate: 0 -23%; } to { translate: 0 0; } }
    .band__quote {
      animation: quote-focus linear both;
      animation-timeline: view();
      animation-range: cover 15% cover 85%;
    }
    @keyframes quote-focus {
      0%   { opacity: 0; scale: .88; letter-spacing: .06em; filter: blur(6px); }
      35%, 65% { opacity: 1; scale: 1; letter-spacing: 0; filter: blur(0); }
      100% { opacity: 0; scale: 1.04; filter: blur(4px); }
    }

    /* --- Videos: rise in + staggered parallax on wider screens --- */
    @media (min-width: 641px) {
      .video-card {
        animation: card-rise linear both, card-float linear both;
        animation-timeline: view(), view();
        animation-range: entry 0% cover 35%, cover 0% cover 100%;
      }
      .video-card:nth-child(even) { --float: 70px; }
      @keyframes card-rise { from { opacity: 0; scale: .9; } }
      @keyframes card-float {
        from { translate: 0 var(--float, 30px); }
        to   { translate: 0 calc(-1 * var(--float, 30px)); }
      }
    }
    /* Phones: carousel cards scale by their position in the scroller */
    @media (max-width: 640px) {
      .video-card {
        animation: card-focus linear both;
        animation-timeline: view(inline);
      }
      @keyframes card-focus {
        0%, 100% { scale: .86; opacity: .55; }
        50%      { scale: 1;   opacity: 1; }
      }
    }

    /* --- Gallery (phones): swipe carousel with the same focus effect as the videos --- */
    @media (max-width: 640px) {
      .gallery__track li {
        animation: card-focus linear both;
        animation-timeline: view(inline);
      }
    }

    /* --- Reviews: stacking cards (only where a card fits on screen) --- */
    @media (min-width: 861px) and (min-height: 700px) {
      .review-stack {
        view-timeline: --reviews block;
        padding-bottom: calc(var(--app-h) * .06);
      }
      .review {
        position: sticky;
        top: calc(var(--header-h) + 2rem + var(--n) * 1.5rem);
        animation: card-recede linear both;
        animation-timeline: --reviews;
        animation-range: exit-crossing calc(var(--n) / 3 * 100%) exit-crossing calc((var(--n) + 1) / 3 * 100%);
      }
      .review:nth-child(1) { --n: 0; --to: .9; }
      .review:nth-child(2) { --n: 1; --to: .95; }
      .review:nth-child(3) { --n: 2; --to: 1; }
      @keyframes card-recede {
        to { scale: var(--to); filter: brightness(.92); }
      }
    }
    @media (max-width: 860px), (max-height: 699px) {
      .review {
        animation: reveal linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 25%;
      }
    }

    /* --- Contact: form rises from below, icons pop --- */
    .contact-form { animation-range: entry 0% cover 30%; }

    /* --- Repertoire: cards fan in like spread sheet music --- */
    .rep-card {
      animation: rep-in linear both;
      animation-timeline: view();
      animation-range: entry calc(var(--n, 0) * 7%) cover 40%;
    }
    .rep-card:nth-child(1) { --n: 0; --tilt: -5deg; }
    .rep-card:nth-child(2) { --n: 1; --tilt: -2deg; }
    .rep-card:nth-child(3) { --n: 2; --tilt: 2deg; }
    @keyframes rep-in {
      from { opacity: 0; translate: 0 90px; rotate: var(--tilt, 0deg); }
    }
    .rep-card__num {
      animation: num-drift linear both;
      animation-timeline: view();
      animation-range: cover;
    }
    @keyframes num-drift { from { translate: 0 18px; } to { translate: 0 -18px; } }
    /* Phones: native swipe carousel, same focus effect as the videos
       (the cards/photos scale by their position in the scroller) */
    @media (max-width: 640px) {
      .rep-card {
        animation: card-focus linear both;
        animation-timeline: view(inline);
        animation-range: normal;
      }
      .rep-card__num { animation: none; }
    }

    /* --- FAQ: questions slide in one by one --- */
    .faq-item {
      animation: faq-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 90%;
    }
    @keyframes faq-in { from { opacity: 0; translate: -40px 0; } }

    /* --- Key phrases: gold highlight is drawn while reading --- */
    .ink {
      animation: ink-draw linear both;
      animation-timeline: view();
      animation-range: entry 60% cover 45%;
    }
    @keyframes ink-draw { from { background-size: 0% .38em; } }
  }
}
