:root {
  color-scheme: dark;
  --section-pad: 5.5rem;   /* vertical padding of every .section */
  --bg: #17151b;
  --bg-alt: #1e1c23;
  --white: #f2efe9;
  --grey: #a29da6;
  --grey-dim: #605c66;
  --line: rgba(242, 239, 233, 0.12);
  --red: #8a3236;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.section-title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin: 0 0 2rem;
  color: var(--white);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* One continuous ground — sections are separated by space, not color bands */
.section { position: relative; padding: var(--section-pad) 0; }
.lessons-open { padding-top: calc(var(--section-pad) + 2rem); }   /* extra room right after the dark→light cut */

/* ---------- Featured video (full-bleed band under the hero) ---------- */
/* The second "page" of the cover: video band + About statement share one viewport.
   The band fills whatever height the statement doesn't need. */
.cover-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: calc(100lvh + 2px);   /* the +2px absorbs sub-pixel rounding so the next
                                       (light) section can never peek through beneath it */
}
/* Cover heights use lvh/svh, never dvh: dvh changes whenever a phone's toolbar hides
   or shows, which resized the cover mid-scroll and made everything below it jump. */
.featured-video {
  position: relative;
  flex: none;
  height: 54vh;
  min-height: 360px;
  overflow: hidden;
  background: #000;
}
.featured-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Persistent top dissolve so the band emerges from the dark under the hero,
   even while playing (kept short so it never covers the native controls) */
.featured-video::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 16%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(23,21,27,0.85) 0%, rgba(23,21,27,0) 100%);
}
.featured-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 6vw 3rem;
  background: linear-gradient(180deg, rgba(23,21,27,0) 55%, rgba(23,21,27,0.8) 100%);
  cursor: pointer;
  transition: opacity 0.5s ease;
}
.featured-video.is-playing .featured-overlay {
  opacity: 0;
  pointer-events: none;
}
.featured-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(242,239,233,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  padding-left: 5px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
/* Hide iOS's own start-playback overlay on the poster; our circle is the play control */
.featured-video:not(.is-playing) video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}
.featured-overlay:hover .featured-play,
.featured-overlay:focus-visible .featured-play {
  background: rgba(242,239,233,0.12);
  border-color: var(--white);
}
.featured-text { max-width: 560px; }
/* Hyphenated names like "B-A-C-H" are never split across lines (build.py wraps them) */
.nowrap { white-space: nowrap; }
.featured-text p { margin: 0; }
.featured-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: rgba(242,239,233,0.7);
}
.featured-title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  color: var(--white);
  margin: 0.35rem 0 0.3rem !important;
}
.featured-sub {
  color: rgba(242,239,233,0.75);
  font-size: 0.95rem;
}
.featured-more {
  display: inline-block;
  margin-top: 1.2rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: calc(1.6rem + env(safe-area-inset-top, 0px)) 6vw 1.6rem;
  display: flex;
  background: linear-gradient(180deg, rgba(10,9,12,0.55), transparent);
  transition: background 0.4s ease, padding 0.4s ease;
}
.site-header.scrolled {
  background: rgba(20, 18, 24, 0.9);
  backdrop-filter: blur(10px);
  padding: calc(1.05rem + env(safe-area-inset-top, 0px)) 6vw 1.05rem;
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 1.9rem;
}
.nav-link {
  font-family: var(--sans);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
  color: var(--grey);
  transition: color 0.3s ease;
}
.nav-link:hover,
.nav-link.active { color: var(--white); }

/* Language switcher: last item in the nav, set apart by a thin rule */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-left: 1.6rem;
  border-left: 1px solid rgba(242,239,233,0.2);
}
.lang-link {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--grey);
  transition: color 0.3s ease;
}
.lang-link:hover,
.lang-link[aria-current="true"] { color: var(--white); }

/* Japanese pages: Japanese glyphs come from Noto (loaded only on /ja/ pages), while
   Latin letters keep Newsreader / Work Sans. No slanted fake italics for Japanese,
   and break lines between phrases rather than mid-word where the browser supports it. */
html:lang(ja) {
  --serif: 'Newsreader', 'Noto Serif JP', Georgia, serif;
  --sans: 'Work Sans', 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  word-break: auto-phrase;
}
html:lang(ja) .testimonial p { font-style: normal; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* The menu collapses into the ☰ panel below 1100px (not just on phones): the Finnish
   labels plus the language switcher don't fit across a narrower screen */
@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: #17151b;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 0 3rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: -20px 0 40px rgba(0,0,0,0.4);
  }
  .nav-links.open { transform: translateX(0); }
  .lang-switch {
    margin-top: 1rem;
    padding: 1.6rem 0 0;
    border-left: none;
    border-top: 1px solid rgba(242,239,233,0.2);
  }
}

/* ---------- Hero ---------- */
/* One screen tall, scrolling away with the page. Deliberately not pinned: a pinned
   photo looks broken when a visitor stops partway through it being covered. */
.hero {
  position: relative;   /* the phone layout places .hero-photo against this */
  min-height: 100vh;
  min-height: 100lvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5vw;
  /* Sits the text below the middle of the screen. 75vw is the height the two-column
     hero's portrait photo would have; capped so the text stays on short screens. */
  padding-top: clamp(0px, calc(75vw - 100vh), min(40vh, calc(100vh - 20rem)));
  background: var(--bg);
}

.hero-title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(3rem, 5.5vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 0.8rem;
  color: var(--white);
}

.hero-sub {
  font-weight: 300;
  color: var(--grey);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 2.6rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero-social {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex-basis: 100%;     /* own line, beneath the text links */
  margin-top: 0.2rem;
}
.hero-social a {
  display: inline-flex;
  padding: 0.25rem;
  color: var(--grey);
  transition: color 0.3s ease;
}
.hero-social a:hover { color: var(--white); }
.hero-social svg { display: block; }

.hero-photo {
  position: relative;
  height: 100%;
  min-height: 46vh;
  overflow: hidden;
}
/* Dissolve the photo into the ground on its left edge (into the text panel)
   and bottom edge (into the video band) so there are no hard seams */
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(23,21,27,0.85) 0%, rgba(23,21,27,0) 10%),
    linear-gradient(to bottom, rgba(23,21,27,0) 80%, rgba(23,21,27,0.7) 100%);
}
/* Out of the layout flow: a tall portrait photo must not set the hero's height, or
   on laptops the hero grows past one screen and the band below can't fully cover it.
   Sized by the screen's height, not the column's width, so every laptop shows the same
   framing: the photo's top meets the top of the screen, her hair starts ~6.5% down
   (just below the nav text, which ends ~46px down) and the screen's bottom reaches
   ~85% of the way down the photo (the skirt). Zooming in further lowers her hair but
   cuts more skirt. Set against the right edge; any spare room to its left is softened
   into the dark ground by the mask.
   The min()/max() caps the zoom on tall screens (iPads, incl. upright 13-inch ones that
   get this two-column layout): 118% there would be wider than the column, so it would
   only zoom in and trim her sides. They keep the earlier size instead: the photo fills
   the column's width (75vw = 1.5 × the 50vw column) or the screen's height. */
.hero-photo img {
  position: absolute;
  top: 0;
  right: 0;
  height: min(118%, max(100%, 75vw));
  width: auto;          /* follows from the height (the photo's own shape) */
  max-width: 100%;      /* narrow windows: trim the sides instead */
  object-fit: cover;
  object-position: 50% 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%);
  mask-image: linear-gradient(to right, transparent, #000 15%);
}

.btn {
  display: inline-block;
  padding: 0.3rem 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease;
}
.btn:hover {
  border-color: var(--white);
}

/* Booking actions (Lessons): a filled red button for the main step, outlined
   for the rest. Text stays ivory on red on both dark and light surfaces. */
.btn-solid,
.btn-outline {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.btn-solid {
  background: var(--red);
  border-color: var(--red);
  color: #f2efe9;
}
.btn-solid:hover { background: #74292c; border-color: #74292c; }
.btn-outline {
  border-color: var(--grey-dim);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* ---------- Bio ---------- */
/* About (home): one large statement instead of heading + paragraphs — the same
   "few large elements" language as the hero and video band above it */
.about-statement {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.4;
  color: var(--white);
  max-width: 820px;
  margin: 0 0 1.8rem;
}
.about-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
/* About sits under the video band on the cover's second page (see .cover-page). */
.section.about { padding: 3rem 0 4rem; }

/* ---------- Bio page: dark photo cover, light reading interior ---------- */
.bio-hero img { object-position: 50% 30%; }
.bio-text { max-width: 760px; }
/* Light reading surface. Redefines the color tokens on the section, so everything
   inside (titles, lists, forms, captions) adapts without per-element overrides.
   Note the token names describe their dark-mode role: --white is the ink color. */
.light {
  --bg: #f3f2f0;
  --bg-alt: #e9e7e3;
  --white: #1a181d;
  --grey: #3d3944;
  --grey-dim: #6d6973;
  --line: rgba(26, 24, 29, 0.14);
  background: var(--bg);
  color: var(--white);
  color-scheme: light;
}
.light .bio-text p {
  color: #221f26;
  font-size: 1.08rem;
  line-height: 1.85;
  margin: 0 0 1.5rem;
}

/* Media facade: our own still + circle play, matching the featured band;
   the actual player (YouTube or <video>) only loads when clicked */
.media-facade {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.media-facade img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.media-facade .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.media-facade:hover img { opacity: 0.85; }
/* The play circle sits on the still, not the page — keep it light on any surface */
.media-facade .play-btn,
.media-card:hover .media-facade .play-btn {
  color: #f2efe9;
  border-color: rgba(242, 239, 233, 0.75);
}
.media-card:hover .media-facade .play-btn { border-color: #fff; color: #fff; }

.bio-text p { color: var(--grey); font-size: 1.02rem; }

.bio-note {
  color: var(--grey-dim) !important;
  font-size: 0.85rem !important;
}


/* ---------- Performances ---------- */
.perf-tabs {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}
.perf-tab {
  background: none;
  border: none;
  color: var(--grey-dim);
  padding: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.3s ease;
}
.perf-tab.active,
.perf-tab:hover {
  color: var(--white);
}

/* Cards: a date tile, the title and the place — the whole card links to the concert's page */
.perf-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.perf-list[hidden] { display: none; }
.perf-card a {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.5rem 1.1rem 1.1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.perf-card a:hover,
.perf-card a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--red);
  box-shadow: 0 10px 28px -14px rgba(26, 24, 29, 0.35);
}

.perf-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--red);
  color: #f2efe9;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}
.perf-tile b {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 0.3rem;
}

.perf-text { flex: 1; min-width: 0; }
.perf-text h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.25rem;
  color: var(--white);
}
.perf-text p { margin: 0; color: var(--grey-dim); font-size: 0.9rem; }

.perf-arrow {
  color: var(--grey-dim);
  font-size: 1.1rem;
  transition: transform 0.35s ease, color 0.35s ease;
}
.perf-card a:hover .perf-arrow { transform: translateX(4px); color: var(--red); }

/* Past concerts: same cards, quieter tile */
.perf-list-past .perf-tile { background: var(--grey-dim); }

.perf-empty {
  color: var(--grey-dim);
  font-size: 0.9rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

/* ---------- Media ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* 2×2: larger players, no orphan row */
  gap: 2.2rem;
}
.media-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.media-thumb.is-video { aspect-ratio: 16 / 9; }
.media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-thumb iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.play-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--grey-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 0.85rem;
  padding-left: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.media-card:hover .play-btn { color: var(--red); border-color: var(--red); }
.media-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; margin: 0 0 0.2rem; }
.media-card p { color: var(--grey-dim); font-size: 0.88rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}
.contact-info p { color: var(--grey); }
.contact-location { color: var(--grey-dim) !important; font-size: 0.9rem; margin-top: -0.6rem; }
.contact-email {
  display: inline-block;
  margin: 1.2rem 0 1.6rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--white);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}
.contact-email:hover { border-color: var(--red); }
.social-links { display: flex; gap: 1.6rem; }
.social-links a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey);
}
.social-links a:hover { color: var(--white); }

.contact-form { display: flex; flex-direction: column; gap: 1.3rem; }
.form-row { display: flex; flex-direction: column; gap: 0.5rem; }
.form-row label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-dim);
}
.form-row input,
.form-row select,
.form-row textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.5rem 0.1rem;
  resize: vertical;
  transition: border-color 0.3s ease;
}
.form-row select {
  cursor: pointer;
  padding-right: 1.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%236d6973' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.1rem center;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--white);
}
.form-row input:-webkit-autofill,
.form-row input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white);
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
  transition: background-color 9999s ease-in-out 0s;
}
.contact-form .btn {
  align-self: flex-start;
  cursor: pointer;
  margin-top: 0.4rem;
  background: none;
  /* strip native <button> chrome so it matches the underline text-link style */
  appearance: none;
  -webkit-appearance: none;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.form-note { font-size: 0.82rem; color: var(--grey); min-height: 1.2em; margin: 0; }

:focus-visible {
  outline: 1px solid var(--white);
  outline-offset: 3px;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 1.4rem 6vw;
  color: var(--grey-dim);
  font-size: 0.74rem;
  border-top: 1px solid var(--line);
}

/* ---------- Concert page ---------- */
/* Dark header (clears the fixed nav) with the date tile + title, then a light details section */
.concert-head { padding: 9rem 0 3.5rem; }
.concert-back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey);
  transition: color 0.3s ease;
}
.concert-back:hover { color: var(--white); }
.concert-title {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.concert-title .perf-tile { width: 88px; height: 88px; }
.concert-title .perf-tile b { font-size: 2.4rem; }
.concert-title h1 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 0.3rem;
}
.concert-place { margin: 0; color: var(--grey); }
.concert-past {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
}

.concert-body .section-inner > * { max-width: 760px; }
.concert-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem 2.5rem;
  margin: 0 0 2.4rem;
}
.concert-facts dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey-dim);
  margin-bottom: 0.3rem;
}
.concert-facts dd { margin: 0; color: var(--white); line-height: 1.6; }
.concert-map {
  font-size: 0.85rem;
  color: var(--grey);
  border-bottom: 1px solid var(--line);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.concert-map:hover { color: var(--red); border-color: var(--red); }
.concert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 3rem;
}
.concert-about {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  margin-bottom: 2.4rem;
}
.concert-about h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 1rem;
}
.concert-about p { color: var(--grey); font-size: 1.05rem; line-height: 1.85; margin: 0 0 1rem; }
.concert-programme li { padding: 0.35rem 0; color: var(--grey); }
.concert-programme span { color: var(--white); font-weight: 400; margin-right: 0.4rem; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Sub-page intro (Lessons, Gallery) ---------- */
.page-intro {
  padding-top: 10rem;
  padding-bottom: 4rem;
}
/* Gap between the title and the photos: the title's own 2rem bottom margin, nothing more
   (both sections normally add their own padding here) */
.gallery-page-intro { padding-bottom: 0; }
.section.gallery { padding-top: 0; }
.gallery .section-inner { padding-bottom: 3.9rem; }   /* the "more soon" note used to add ~4rem under the photos */
.page-lede {
  color: var(--grey);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0;
}
.page-body {
  color: var(--grey);
  font-size: 1.02rem;
  max-width: 620px;
}
.page-cta { max-width: 520px; }
.home-booking .btn-solid { margin-top: 0.6rem; }

/* ---------- Page hero banner (e.g. Lessons) ---------- */
.page-hero {
  position: relative;
  height: 64vh;
  min-height: 440px;
  overflow: hidden;
}
.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% 18%;
  filter: grayscale(12%) saturate(0.9) contrast(1.04) brightness(0.94);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /* light scrim at the top so the nav stays readable over a bright sky; at the
     bottom the photo melts into the dark statement band below — late and gentle,
     but ending at the exact ground color so there is no visible edge */
  background:
    linear-gradient(180deg, rgba(23,21,27,0.6) 0%, rgba(23,21,27,0) 22%),
    linear-gradient(180deg, rgba(23,21,27,0) 62%, rgba(23,21,27,0.35) 82%, rgba(23,21,27,0.8) 94%, #17151b 100%);
}
/* The statement under the banner fills the rest of the first screen, so the light
   reading surface only appears once you scroll (100vh, not dvh: on phones that is
   the taller toolbar-hidden height, so nothing light peeks in at load) */
.page-hero + .section.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - max(64vh, 440px) + 2px);
}
.page-hero + .section.about .section-inner { width: 100%; }
.page-hero-content {
  position: absolute;
  left: 6vw;
  right: 6vw;
  bottom: 2.8rem;
  z-index: 2;
}
.page-hero-content .section-title { margin-bottom: 0.7rem; }
.page-hero-content .page-lede { color: rgba(242,239,233,0.82); }

/* ---------- Hero CTA (Lessons) ---------- */
.hero-cta { margin-top: 0.9rem; }

/* ---------- Split image + text (Lessons) ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
}
.split-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 45%;
}
.lesson-intro { align-items: start; }   /* text sits at the top of the photo, not floating in its middle */
.lesson-keys-photo img { object-position: 45% 58%; }
/* Contact: the whole portrait, uncropped, above the text */
.contact-photo { margin-bottom: 2rem; }
.contact-photo img { aspect-ratio: 2 / 3; }
.at-piano-photo img { object-position: 50% 32%; }
.book-grid { grid-template-columns: 0.85fr 1.15fr; }   /* photo narrower, CTA text stays primary */
/* ---------- Concert photo (contained, inside Performances) ---------- */
.concert-photo {
  max-width: 620px;
  margin: 3rem 0 0;
}
.concert-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 38%;
}
.concert-photo figcaption {
  color: var(--grey-dim);
  font-size: 0.82rem;
  margin: 0.9rem 0 0;
}

/* ---------- Small-caps label (Lessons) ---------- */
.facts-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey-dim);
  margin: 0 0 0.5rem;
}

/* ---------- Lesson options (Lessons) ---------- */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}
.option {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.option h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--white);
  margin: 0 0 0.6rem;
}
.option p { margin: 0; color: var(--grey); font-size: 0.98rem; }

/* ---------- Testimonial ---------- */
.testimonial {
  margin: 0;
  max-width: 720px;
}
.testimonial p {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  color: var(--white);
  margin: 0 0 1rem;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--grey-dim);
}

.lesson-intro .testimonial { margin-top: 2.6rem; }
.lesson-intro .testimonial p { font-size: clamp(1.2rem, 2vw, 1.45rem); }
/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 0;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--grey-dim);
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:focus-visible {
  outline: 1px solid var(--white);
  outline-offset: 4px;
}
.faq-item p {
  margin: 0;
  padding: 0 2.5rem 1.4rem 0;
  color: var(--grey);
  font-size: 0.98rem;
}

/* ---------- Lesson choices: price row with Book links (Lessons) ---------- */
/* Price cards — the same card language as the Performances list: rounded, hairline
   border, lift on hover, the whole card is the link. The trial is filled red like a date tile. */
.lesson-choices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.4rem 0 1.8rem;
}
.lesson-choice a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.4rem 1.4rem 1.2rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.lesson-choice a:hover,
.lesson-choice a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--red);
  box-shadow: 0 10px 28px -14px rgba(26, 24, 29, 0.35);
}
.lesson-choice .facts-label { margin-bottom: 0.9rem; }
.lesson-price {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--white);
  margin: 0 0 0.5rem;
}
.lesson-per {
  color: var(--grey);
  font-size: 0.92rem;
  margin: 0 0 1.6rem;
}
.lesson-book {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}
.lesson-choice a:hover .perf-arrow { transform: translateX(4px); color: var(--red); }

.lesson-choice.featured a {
  background: var(--red);
  border-color: var(--red);
}
.lesson-choice.featured a:hover { background: #74292c; border-color: #74292c; }
.lesson-choice.featured .facts-label,
.lesson-choice.featured .lesson-per { color: rgba(242, 239, 233, 0.75); }
.lesson-choice.featured .lesson-price,
.lesson-choice.featured .lesson-book,
.lesson-choice.featured .perf-arrow,
.lesson-choice.featured a:hover .perf-arrow { color: #f2efe9; }
.lesson-choice.featured .lesson-book { border-top-color: rgba(242, 239, 233, 0.25); }

/* ---------- Book (Lessons) ---------- */
/* The chosen lesson appears as a small red chip above the button */
.book-choice {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  background: rgba(138, 50, 54, 0.1);
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 400;
  margin: 0 0 1.2rem;
}
.book-choice[hidden] { display: none; }
/* On the contact page the chip sits at the top of the form, sized to its text */
.contact-form .book-choice { align-self: flex-start; margin: 0; }
#bookEmail { margin-top: 0.6rem; display: table; }
.book-address {
  color: var(--grey);
  font-size: 0.95rem;
  margin: 1rem 0 0;
}
.book-hint {
  color: var(--grey);
  font-size: 0.95rem;
  margin: 1.8rem 0 0;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}
/* Each photo is a <figure class="gallery-item">: a .gallery-thumb button (the
   clickable, cropped image) plus an optional <figcaption> credit line below it —
   omit the figcaption entirely for a photo that doesn't need a credit. */
.gallery-item { margin: 0; }
.gallery-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.gallery-thumb:hover img { opacity: 0.85; }
.gallery-item figcaption {
  color: var(--grey-dim);
  font-size: 0.78rem;
  margin: 0.6rem 0 0;
}

.gallery-thumb img,
.lightbox img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}


/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(10, 9, 11, 0.94);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: max(1.4rem, env(safe-area-inset-top, 0px));
  right: 5vw;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Responsive ---------- */
/* Phones, plus upright iPads up to 1100px wide (the 13-inch models): the photo fills
   the screen behind the title. Only the hero; the rest of the page keeps its layout. */
@media (max-width: 860px), (max-width: 1100px) and (orientation: portrait) {
  .hero { display: block; }
  .hero-photo {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 0;
  }
  .hero-photo img {
    height: 100%;
    width: 100%;
    max-width: none;
    object-position: 50% 20%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-photo::after {
    background: linear-gradient(180deg, rgba(23,21,27,0.05) 0%, rgba(23,21,27,0.55) 72%, rgba(23,21,27,0.8) 100%);
  }
  .hero-text {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    min-height: 100lvh;
    justify-content: flex-end;
    padding: 3.5rem 6vw calc(2rem + env(safe-area-inset-bottom, 0px));
    /* lvh − svh = the toolbar's height (0 on desktop): keeps the title above it */
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px) + (100lvh - 100svh));
    background: transparent;
  }
  .hero-text .hero-sub { color: rgba(242,239,233,0.85); }
}

@media (max-width: 860px) {
  .featured-video { height: 40vh; min-height: 300px; }
  .featured-overlay { padding-bottom: 2.2rem; }
  /* Phones: no ring around the play icon — on a short band it ran into the title text */
  .featured-play,
  .featured-overlay:hover .featured-play,
  .featured-overlay:focus-visible .featured-play {
    width: 60px; height: 60px;
    border: none;
    background: none;
  }
  .contact-grid, .split-grid, .media-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .split-grid .split-photo { order: -1; }
  .options-grid { grid-template-columns: 1fr; gap: 2rem; }
  /* Price cards stack like the Performances list: one wide row each —
     price | length + "per lesson" | Book → */
  .lesson-choices { grid-template-columns: 1fr; gap: 0.8rem; max-width: 760px; }
  .lesson-choice a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "price label book" "price per book";
    column-gap: 1.2rem;
    align-items: center;
    padding: 1rem 1.2rem;
  }
  .lesson-price { grid-area: price; margin: 0; min-width: 4.6rem; font-size: 2.2rem; }
  .lesson-choice .facts-label { grid-area: label; margin: 0; align-self: end; }
  .lesson-per { grid-area: per; margin: 0; align-self: start; font-size: 0.88rem; }
  .lesson-book { grid-area: book; margin: 0; padding: 0; border: 0; gap: 0.6rem; white-space: nowrap; }
  .lesson-choice .facts-label, .lesson-per { line-height: 1.4; white-space: nowrap; }
  .page-hero { height: 52vh; min-height: 400px; }
  /* Phones: the statement sits right under the banner (not centered), so it and its
     links fit the first screen; the dark band then runs well past the bottom edge
     (+12vh) because phone browsers don't agree on what 100vh is, and any shortfall
     shows the light section peeking in at load */
  .page-hero + .section.about {
    min-height: calc(100vh - max(52vh, 400px) + 12vh);
    justify-content: flex-start;
    padding: 2rem 0 3rem;
  }
  /* Bio: the dark band runs to the bottom of the phone's physical screen, so no white
     shows on arrival and it starts coming up early in the first scroll. --screen-h is
     set by a small script in the Bio page's <head> (phones/tablets only). Viewport units
     alone (svh, then lvh + 20px) weren't enough: iOS 26 Safari's floating toolbar shows
     page content past what they report, and the white leaked in. Without the script it
     falls back to lvh + 20px. */
  .bio-hero + .section.about {
    min-height: calc(max(100lvh + 20px, var(--screen-h, 0px)) - max(52vh, 400px));
  }
  .page-hero + .section.about .about-statement { font-size: 1.35rem; margin-bottom: 1.2rem; }
  .perf-card a { gap: 1.1rem; padding: 0.9rem 1.1rem 0.9rem 0.9rem; }
  .perf-tile { width: 60px; height: 60px; }
  .perf-tile b { font-size: 1.6rem; }
  .perf-text h3 { font-size: 1.1rem; }
  .perf-card .perf-arrow { display: none; }
  .concert-title { gap: 1.1rem; align-items: flex-start; }
  .concert-facts { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  /* Price cards: no room for the "Book" words — the arrow becomes a round button */
  .lesson-choice a { column-gap: 1rem; padding: 0.9rem 1rem; }
  .lesson-price { min-width: 4.2rem; font-size: 2rem; }
  .lesson-book-text { display: none; }
  .lesson-book .perf-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
    border-radius: 50%;
    border: 1px solid var(--line);
  }
  .lesson-choice.featured .lesson-book .perf-arrow { border-color: rgba(242, 239, 233, 0.4); }
  :root { --section-pad: 5rem; }
  .faq-item p { padding-right: 0; }
}
