/* Erle Kont-Vilson: mobile-first site styles.
   Base styles are for phones; wider layouts are added with min-width queries. */

:root {
  --ivory: #F7F5F0;
  --ink: #141614;
  --stone: #5E625C;
  --linen: #DAD6CC;
  --green: #0A570A;
  --stage: #0B0D0B;
  --sage: #9FC29A;
  --paper: #ECEFEA;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Cinzel', var(--serif);

  --gutter: 20px;
  --measure: 40rem;
  --wide: 72rem;
}

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}

img, video, iframe { max-width: 100%; display: block; }

a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--ivory); color: var(--ink); padding: 8px 12px; z-index: 2000;
}
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--stage);
  color: var(--paper);
  border-bottom: 1px solid #1f2620;
}
.site-header .inner {
  max-width: var(--wide); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gutter);
  min-height: 56px;
}
.monogram {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--paper);
  text-decoration: none;
}
.nav-toggle {
  background: none; border: 1px solid #3a443b; color: var(--paper);
  font: 500 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 12px; border-radius: 4px; cursor: pointer;
}
.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--stage);
  border-bottom: 1px solid #1f2620;
  padding: 4px var(--gutter) 16px;
}
.site-nav.open { display: block; }
.site-nav a {
  display: block;
  padding: 12px 0;
  color: var(--paper);
  text-decoration: none;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  border-top: 1px solid #1f2620;
}
.site-nav a:hover, .site-nav a.active { color: var(--sage); }

/* ---------- Hero ---------- */

.hero {
  background: var(--stage);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero-media { position: relative; }
.hero-media img, .hero-media video {
  width: 100%; height: 72vh; height: 66svh; min-height: 400px; max-height: 640px;
  object-fit: cover; object-position: 50% 20%;
}
.hero-media::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to top, var(--stage), rgba(11, 13, 11, 0));
}
.hero-text {
  position: relative; z-index: 1;
  margin-top: -9rem;
  padding: 0 var(--gutter) 2.5rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 12vw, 5.5rem);
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.01em;
}
.hero .role {
  margin: 0.9rem 0 0;
  color: var(--sage);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
}

/* ---------- Quote and intro ---------- */

.press-quote {
  background: var(--stage);
  color: var(--paper);
  padding: 2.5rem var(--gutter) 3rem;
  border-top: 1px solid #1f2620;
}
.press-quote blockquote {
  max-width: var(--wide); margin: 0 auto;
}
.press-quote p { max-width: 46rem; }
.press-quote p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.5rem, 6vw, 2.2rem); line-height: 1.2;
  margin: 0;
}
.press-quote footer {
  margin-top: 1rem;
  color: var(--sage);
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
}

.intro {
  padding: 3rem var(--gutter) 0;
}
.intro { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; }
.intro p + p { margin-top: 1rem; }
/* Phones: skip the short introduction; the About section follows with the full text */
@media (max-width: 719.98px) { .intro { display: none; } }
/* Text shown only on phones, or only on wider screens */
@media (max-width: 719.98px) { .wide-only { display: none; } }
@media (min-width: 720px) { .phone-only { display: none; } }
.intro p {
  max-width: 46rem; margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 5vw, 1.7rem);
  line-height: 1.4;
}

/* ---------- Sections ---------- */

.section {
  padding: 3.5rem var(--gutter);
}
/* Menu jumps: land with the section label just below the sticky header, not with the section's empty top padding */
.section[id] { scroll-margin-top: 1.75rem; }
.section > .inner { max-width: var(--wide); margin: 0 auto; }
.prose, .calendar, .calendar-empty, .event-list, .contact-list { max-width: 46rem; }
.section-label {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 0.5rem;
}
.section h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  line-height: 1; margin: 0 0 1.75rem;
}
.section + .section { border-top: 1px solid var(--linen); }

.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }
@media (min-width: 720px) { #about .prose p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; } }

.text-link {
  display: inline-block; margin-top: 1.5rem;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}

.placeholder {
  background: #fff6d6;
  outline: 1px dashed #b08a00;
  color: #5b4700;
  padding: 0 0.2em;
  font-style: normal;
}
.placeholder-block {
  border: 1px dashed #b08a00; background: #fffaf0; color: #5b4700;
  padding: 1rem; font-size: 0.9rem;
}

.quotes { margin-top: 2.5rem; max-width: 46rem; display: grid; gap: 1.75rem; }
.quotes blockquote { margin: 0; padding-left: 1.25rem; border-left: 2px solid var(--green); }
.quotes blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.3; margin: 0; }
.quotes footer { margin-top: 0.5rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
.quotes .placeholder-block { margin: 0; }

.photo-figure { margin: 2rem 0 0; }
.photo-figure img { width: 100%; height: auto; }
.photo-figure figcaption { font-size: 0.8rem; color: var(--stone); margin-top: 0.5rem; }

/* ---------- Calendar ---------- */

.calendar { list-style: none; margin: 0; padding: 0; }
.event {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--linen);
}
.event:first-child { border-top: 1px solid var(--linen); }
.event-day {
  font-family: var(--serif); font-weight: 500;
  font-size: 2.6rem; line-height: 0.9;
  color: var(--green);
}
.event-month {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.4rem;
}
.event-place {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stone);
  margin: 0;
}
.event-title { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; margin: 0.2rem 0 0.3rem; font-weight: 500; }
.event-detail { margin: 0; font-size: 0.92rem; color: var(--stone); }
.calendar-empty { color: var(--stone); }

/* Compact list for the full concerts page */
.year-heading {
  font-family: var(--serif); font-weight: 500; font-size: 2rem;
  margin: 2.5rem 0 0.5rem;
}
.event-list { list-style: none; margin: 0; padding: 0; }
.event-list > li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--linen);
}
.event-list .date {
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem; font-weight: 500; color: var(--green);
  letter-spacing: 0.04em;
}
.event-list .place { font-size: 0.85rem; color: var(--stone); }
.event-list .what { font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; margin: 0.15rem 0 0.25rem; }
/* Phones: date and city on one line, e.g. "04–05.10.26 · Lüneburg, Germany" */
@media (max-width: 719.98px) {
  .event-list .meta br { display: none; }
  .event-list .place::before { content: "·"; margin: 0 0.45em; color: var(--stone); }
  .event-list .what { margin-top: 0.35rem; }
}
.event-list .detail { margin: 0; font-size: 0.9rem; color: var(--stone); }

/* Collapsible programme and performers */
.more { margin-top: 0.35rem; font-size: 0.92rem; color: var(--stone); }
.more summary {
  display: inline-flex; align-items: center; gap: 0.45rem;
  list-style: none; cursor: pointer;
  padding: 6px 0; min-height: 32px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green);
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before {
  content: ''; width: 0.45rem; height: 0.45rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg); transition: transform 0.15s ease;
}
.more[open] summary::before { transform: rotate(45deg); }
.more summary:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.event-people { list-style: none; margin: 0.35rem 0 0; padding: 0; font-size: 0.92rem; color: var(--stone); }
.event-people li { padding: 0.1rem 0; }
.more ul { list-style: none; margin: 0.25rem 0 0.25rem; padding: 0 0 0 0.9rem; border-left: 1px solid var(--linen); }
.more li { padding: 0.15rem 0; }

/* ---------- Video ---------- */

.videos { display: grid; gap: 2.25rem; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--stage); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; background: var(--stage); cursor: pointer;
}
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.video-play:hover img { opacity: 1; }
.play-icon {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(11, 13, 11, 0.75);
  border: 1px solid rgba(236, 239, 234, 0.6);
}
.play-icon::after {
  content: ''; position: absolute; left: 26px; top: 21px;
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--paper);
}
.video-caption { margin-top: 0.75rem; }
.video-caption h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin: 0; line-height: 1.2; }
.video-caption p { margin: 0.2rem 0 0; font-size: 0.9rem; color: var(--stone); }

/* ---------- Contact ---------- */

.contact-photo { margin: 0 0 2rem; }
.contact-photo img { width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: 50% 15%; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--linen); }
.contact-list li:first-child { border-top: 1px solid var(--linen); }
.contact-list .label {
  display: block;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone);
}
.contact-list a { font-family: var(--serif); font-size: 1.4rem; word-break: break-word; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--stage); color: var(--paper);
  padding: 3rem var(--gutter) 2.5rem;
  text-align: center;
}
.site-footer .monogram { font-size: 1.5rem; display: inline-block; margin-bottom: 1.25rem; }
.social { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.25rem; }
.social a { color: var(--paper); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; }
.social a:hover { color: var(--sage); }
.site-footer small { color: #8b938a; font-size: 0.75rem; }

/* ---------- Simple page header (subpages) ---------- */

.page-head {
  background: var(--stage); color: var(--paper);
  padding: 2.5rem var(--gutter) 2.25rem;
}
.page-head .inner { max-width: var(--wide); margin: 0 auto; }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 10vw, 3.6rem); line-height: 1; margin: 0; }
.page-head a { color: var(--sage); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- Tablet and up ---------- */

@media (min-width: 720px) {
  :root { --gutter: 40px; }

  .nav-toggle { display: none; }
  .site-nav {
    display: flex !important; position: static;
    padding: 0; border: 0; background: none; gap: 2rem;
  }
  .site-nav a { padding: 4px 0; border: 0; font-size: 0.72rem; }

  .section { padding: 5rem var(--gutter); }
  .section[id] { scroll-margin-top: 0.5rem; }
  .event { grid-template-columns: 5rem 1fr; padding: 1.5rem 0; }
  .event-day { font-size: 3.4rem; }
  .event-list > li { display: grid; grid-template-columns: 9rem 1fr; gap: 0 1.5rem; }
  .event-list .meta { grid-row: span 3; }
}

/* ---------- Desktop ---------- */

@media (min-width: 1000px) {
  .hero .inner {
    max-width: var(--wide); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; align-items: end;
    /* Fit the first screen so the name is always visible without scrolling */
    height: min(640px, calc(100vh - 57px)); height: min(640px, calc(100svh - 57px)); min-height: 460px;
  }
  .hero-media { order: 2; height: 100%; }
  .hero-media img, .hero-media video { height: 100%; max-height: none; min-height: 0; }
  .hero-media::after { inset: 0 auto 0 0; width: 35%; height: auto; background: linear-gradient(to right, var(--stage), rgba(11, 13, 11, 0)); }
  .hero-text { margin: 0; padding: 0 var(--gutter) 7rem; }
  .hero-media::after { inset: 0 auto 0 0; }
  .contact-photo img { max-height: none; }

  .press-quote { padding: 4rem var(--gutter); }

  .section > .inner.wide { max-width: var(--wide); }
  .about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 4rem; align-items: start; }
  .about-grid .photo-figure { margin: 0; position: sticky; top: 96px; }
  .videos { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-grid { display: grid; grid-template-columns: 22rem 1fr; gap: 4rem; align-items: center; }
  .contact-photo { margin: 0; }
}

/* ---------- Press kit ---------- */
.press-note { color: var(--stone); max-width: 46rem; margin: 0 0 2rem; }
.press-photos {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; align-items: start;
}
/* Same 3:4 shape for every preview so rows line up; trims from the top. Downloads stay full size. */
.press-photos a { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.press-photos img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
/* The landscape photo fills exactly two columns at the same row height (a slight top/bottom trim of the 4:3 preview) */
.press-photos { grid-auto-flow: dense; }
.press-photos .landscape { grid-column: span 2; }
/* Phone: it sits alone in its row, so give it roughly a portrait's height */
.press-photos .landscape a { aspect-ratio: 1.55; width: 100%; position: relative; }
.press-photos .landscape img { position: absolute; inset: 0; object-position: 40% 50%; }
@media (min-width: 720px) {
  /* Wider screens: it shares a row with portraits, so take the row's height */
  .press-photos .landscape { align-self: stretch; display: flex; flex-direction: column; }
  .press-photos .landscape a { flex: 1; aspect-ratio: auto; min-height: 0; }
}
.press-photos a:hover img { opacity: 0.85; }
.press-meta { margin: 0.5rem 0 0; font-size: 0.75rem; color: var(--stone); line-height: 1.4; }
@media (min-width: 720px) { .press-photos { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; } }
@media (min-width: 1000px) { .press-photos { grid-template-columns: repeat(4, 1fr); } }
.bio { border-top: 1px solid var(--linen); padding: 1.75rem 0; max-width: 46rem; }
.bio:last-child { padding-bottom: 0; }
.bio-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.bio-head h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.bio-words { font-family: var(--sans); font-size: 0.75rem; color: var(--stone); letter-spacing: 0.04em; margin-left: 0.4rem; }
.bio-copy {
  flex: none; font: inherit; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); background: none; border: 1px solid currentColor; border-radius: 2px;
  padding: 0.5rem 0.8rem; cursor: pointer;
}
.bio-copy:hover { background: var(--green); color: var(--ivory); }

/* ---------- Gallery ---------- */
/* Even rows: every photo is cropped to the same 4:5 shape, trimming from the top so heads stay in */
.gallery { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.gallery a { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
/* Two portraits side by side, then the landscape photo across both columns (phones) */
.gallery .landscape { grid-column: span 2; }
.gallery .landscape a { aspect-ratio: 1.55; position: relative; }
.gallery .landscape img { position: absolute; inset: 0; object-position: 40% 50%; }
.gallery a:hover img { opacity: 0.85; }
@media (min-width: 720px) {
  /* One row: portrait, portrait, landscape two columns wide, all the same height */
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .gallery .landscape { display: flex; flex-direction: column; }
  .gallery .landscape a { flex: 1; aspect-ratio: auto; min-height: 0; }
}
.gallery-credit { font-size: 0.8rem; color: var(--stone); margin: -1rem 0 1.5rem; }
