/* Lola Benenati — PHASE 1 exact parity. Monochrome gallery frame.
   Type: Fraunces (wordmark/hero), Playfair Display (headings/credits),
   Playfair Italic = Didot-italic substitute, Bodoni Moda (suffixes), Raleway (small text). */

@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-120pt-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/fonts/playfair-display-latin-1.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/fonts/playfair-display-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/fonts/playfair-display-latin-3.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("/fonts/raleway-400.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/fonts/bodoni-moda-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/fonts/bodoni-moda-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ground: #fff;
  --ink: #111;
  --black: #000;
  --hairline: #d8d8d8;
  --field: #bfbfbf;
  --accent: #895956;
  --max: 1120px;
  --header-h: 79px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: #000; color: #fff; padding: 10px 16px;
  font-family: Raleway, sans-serif; font-size: 14px; text-decoration: none;
  transition: top .15s ease-out;
}
.skip-link:focus { top: 12px; }

#main:focus { outline: none; }

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

/* ---------- header (fixed, 79px, parity) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #eee;
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding: 0 28px; gap: 12px;
}
.wordmark {
  font-family: Fraunces, serif; font-weight: 300;
  font-size: 27px; letter-spacing: .14em; color: #000;
  text-decoration: none; white-space: nowrap; justify-self: start;
}
.header-right { justify-self: end; display: flex; align-items: center; gap: 20px; }
.lang-switch { display: flex; align-items: center; gap: 7px; }
.lang-switch a {
  font-family: "Bodoni Moda", Georgia, serif; font-style: italic; font-size: 15px;
  color: #111; text-decoration: none; padding: 12px 2px; white-space: nowrap;
}
.lang-switch a[aria-current="true"] { text-decoration: underline; text-underline-offset: 4px; }
.lang-switch span { color: #999; font-size: 13px; }
.main-nav { justify-self: end; display: flex; gap: 22px; }
.main-nav a {
  font-family: Raleway, sans-serif; font-weight: 500; font-size: 14px;
  color: #111; text-decoration: none; padding: 12px 2px; white-space: nowrap;
}
.main-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- hero ---------- */
.hero {
  position: relative; margin-top: var(--header-h);
  min-height: min(593px, 78vh);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden; background: #000;
  padding: 60px 20px;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent);
  pointer-events: none;
}
.hero-name, .hero-sub { position: relative; z-index: 1; margin: 0; }
.hero-name {
  font-family: Fraunces, serif; font-weight: 300;
  font-size: clamp(48px, 10vw, 120px); line-height: 1.05; color: #fff;
}
.hero-sub {
  font-style: italic; font-weight: 400;
  font-size: clamp(20px, 3.6vw, 45px); margin-top: 10px; color: #fff;
}

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 64px 24px 8px; }
.section-title {
  font-weight: 400; text-align: center; margin: 0 0 8px;
  font-size: clamp(34px, 5vw, 60px); color: #000;
}
.section-title .suffix {
  font-family: "Bodoni Moda", serif; font-style: italic;
  font-size: .42em; color: #000; white-space: nowrap;
}
.rule { border: 0; border-top: 1px solid var(--hairline); width: min(560px, 80%); margin: 34px auto; }

/* bio */
.bio { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.bio-portrait img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; }
/* Bio: upright regular serif, 18px on desktop (capture role bio: didot upright, 18px/28.8px). */
.bio-text p { font-style: normal; font-size: 18px; line-height: 1.65; margin: 0 0 1em; color: var(--ink); }

/* films */
.film-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 36px; }
@media (min-width: 901px) {
  /* 7th film (Calyptra) sits centred in its row, as on the original. */
  .film-grid > .film-card:last-child { grid-column: 2; }
}
.film-card { margin: 0; }
.film-thumb {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: #000; cursor: pointer; aspect-ratio: 16/9; overflow: hidden;
}
.film-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-disc {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px;
  border: 2px solid #fff; border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease-out, background .15s ease-out;
}
.film-thumb:hover .play-disc, .film-thumb:focus-visible .play-disc { transform: scale(1.08); background: rgba(0, 0, 0, .55); }
.play-disc svg { width: 22px; height: 22px; margin-left: 3px; }
.film-credit { font-size: 20px; line-height: 1.5; margin: 12px 0 0; color: var(--ink); }
.film-credit .cat { display: block; }
.film-credit .t { display: block; font-style: italic; }
.film-credit .inst { display: block; font-weight: 700; }
.film-credit .lbl { display: block; }
.film-credit .note { display: block; font-style: italic; font-size: .85em; }

/* audio cards (hers: white card, cover + italic title, triangle + short bar + time) */
.shade { background: #fafafa; }
.track-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; margin-top: 30px; }
@media (min-width: 761px) {
  /* Original pairing: column-flow, so Litige sits opposite Poisons,
     Hiver opposite Under the bridge, Le corbeau opposite The bet. */
  .track-grid { grid-auto-flow: column; grid-template-rows: repeat(3, auto); }
}
/* Audio cards: small white cards, measured ~300px wide on desktop: 64px
   cover left, italic title above a short bar + small sans time. */
.track-grid .track {
  width: 100%; max-width: 302px;
  display: grid; grid-template-columns: 64px 1fr; gap: 6px 12px; align-items: center;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  padding: 8px 10px 8px 8px;
}
@media (min-width: 761px) {
  /* Left-column cards sit against the centre gutter, right-column cards
     open from it — as on the original. */
  .track-grid .track:nth-child(-n+3) { justify-self: end; }
  .track-grid .track:nth-child(n+4) { justify-self: start; }
}
.track-cover { width: 64px; height: 64px; object-fit: cover; }
.track-grid .track-btn { width: 34px; height: 34px; }
.track-grid .track-btn svg { width: 16px; height: 16px; }
.track-main { min-width: 0; }
.track-title { font-style: italic; font-size: 17px; margin: 0 0 6px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-controls { display: flex; align-items: center; gap: 10px; }
.track-btn {
  width: 44px; height: 44px; flex: 0 0 auto; border: 0; background: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #000; padding: 0;
}
.track-btn svg { width: 19px; height: 19px; }
.track-progress {
  flex: 1; min-width: 0; appearance: none; -webkit-appearance: none;
  height: 24px; background: transparent; cursor: pointer; margin: 0;
}
.track-progress::-webkit-slider-runnable-track { height: 2px; background: #b5b5b5; }
.track-progress::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 10px; border-radius: 50%; background: #000; margin-top: -4px; }
.track-progress::-moz-range-track { height: 2px; background: #b5b5b5; }
.track-progress::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #000; }
.track-time { font-family: Raleway, sans-serif; font-size: 11px; color: #555; white-space: nowrap; }

/* EPs */
/* EP cover column measured 206px on the original desktop. */
.ep { display: grid; grid-template-columns: 210px 1fr; gap: 40px; margin-top: 44px; align-items: start; }
.ep-cover { width: 100%; }
.ep-tracks { display: flex; flex-direction: column; gap: 14px; }
/* EP rows are compact (measured ~46px pitch): 30px thumb + triangle +
   italic title. No per-track bar or time text: one shared progress shows
   inline only on the currently playing/paused row. */
.ep-track {
  display: grid; grid-template-columns: 30px 34px 1fr; gap: 4px 10px; align-items: center;
  background: none; box-shadow: none; padding: 0; width: 100%; max-width: none;
  min-height: 44px;
}
.ep-track .track-cover { width: 30px; height: 30px; }
.ep-track .track-btn { width: 34px; height: 34px; }
.ep-track .track-btn svg { width: 16px; height: 16px; }
.ep-track .track-title { margin: 0; font-size: 18px; }
.ep-track .track-progress, .ep-track .track-time { display: none; }
.ep-track.is-active { grid-template-columns: 30px 34px 1fr auto; }
.ep-track.is-active .track-time { display: block; }
.ep-track.is-active .track-progress { display: block; grid-column: 1 / -1; width: 100%; }

/* chant / spotify */
.chant-sub { text-align: center; font-style: italic; font-size: 20px; margin: 0 0 6px; }
.single-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 30px; }
.single-card { margin: 0; text-align: center; }
.single-load {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000;
}
.single-load img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.single-load .play-disc { width: 56px; height: 56px; }
.single-title { font-style: italic; font-size: 18px; margin: 10px 0 2px; }
.single-open { font-family: Raleway, sans-serif; font-size: 13px; color: #333; }
.single-frame iframe { width: 100%; height: 152px; border: 0; }

/* training */
.training { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: center; }
.training-icon { width: 110px; opacity: .55; }
.training-list { list-style: none; margin: 0; padding: 0; }
.training-list li { font-style: italic; font-size: 18px; margin: 6px 0; padding-left: 18px; position: relative; }
.training-list li::before { content: "·"; position: absolute; left: 0; }

/* clients */
.clients-band { background: #000; color: #fff; margin-top: 64px; padding: 30px 24px 26px; text-align: center; }
.clients-band h2 { font-weight: 400; font-style: italic; font-size: 19px; margin: 0 0 20px; }
.client-logos { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.client-logos img { max-height: 74px; width: auto; }
@media (max-width: 760px) {
  /* Original stacks the four logos in one column on phones. */
  .client-logos { flex-direction: column; gap: 30px; }
}

/* footer */
.site-footer { text-align: center; padding: 20px 16px 28px; font-family: Raleway, sans-serif; font-size: 14px; }
.site-footer a { color: #111; }

/* ---------- contact ---------- */
.map-band {
  margin-top: var(--header-h); background: #ececec;
  min-height: 237px; display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid #ddd; padding: 40px 20px; text-align: center;
}
.map-load {
  font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 19px;
  color: #111; background: transparent; border: 1px solid #111; border-radius: 2px;
  padding: 12px 28px; min-height: 48px; cursor: pointer;
}
.map-load:hover { background: #111; color: #fff; }
.map-band iframe { width: 100%; height: 237px; border: 0; display: block; }
.map-band.has-map { padding: 0; }
.contact-field { background: var(--field); padding: 56px 24px 72px; }
.contact-inner { max-width: 980px; margin: 0 auto; }
.contact-title { font-weight: 400; font-size: 40px; text-transform: uppercase; letter-spacing: .06em; text-align: center; color: #000; margin: 0 0 40px; }
.form-label { display: block; font-family: Raleway, sans-serif; font-size: 15px; margin: 26px 0 2px; }
.form-input, .form-area {
  display: block; width: 100%; background: transparent; border: 0;
  border-bottom: 1px solid #2b2b2b; border-radius: 0;
  font-family: Raleway, sans-serif; font-size: 15px; color: #111;
  padding: 10px 2px; min-height: 44px;
}
.form-area { min-height: 120px; resize: vertical; }
.form-input::placeholder, .form-area::placeholder { color: #3a3a3a; opacity: 1; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit {
  display: block; width: 100%; margin-top: 34px; border: 0; cursor: pointer;
  background: #000; color: #fff;
  font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 20px;
  padding: 16px; min-height: 56px;
}
.form-submit:disabled { opacity: .6; cursor: wait; }
.form-status { font-family: Raleway, sans-serif; font-size: 15px; margin: 18px 0 0; }
.form-status.ok { color: #0c4d1e; }
.form-status.err { color: #8f1d1d; }
.mailto-fallback { font-family: Raleway, sans-serif; font-size: 14px; margin: 22px 0 0; }
.mailto-fallback a { color: #111; }
.turnstile-wrap { margin-top: 22px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox video { width: min(960px, 94vw); max-height: 76vh; background: #000; }
.lightbox-credit { color: #fff; font-style: italic; margin: 14px 0 0; text-align: center; }
.lightbox-close { position: absolute; top: 14px; right: 16px; background: none; border: 1px solid #fff; color: #fff; font-size: 16px; padding: 10px 16px; min-height: 44px; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .film-grid { grid-template-columns: 1fr 1fr; }
  .bio { grid-template-columns: 220px 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .site-header { padding: 0 12px; gap: 8px; }
  .wordmark { font-size: 17px; letter-spacing: .1em; }
  .header-right { gap: 12px; }
  .lang-switch a { font-size: 14px; padding: 14px 2px; }
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 13px; padding: 14px 2px; }
  .lang-switch { gap: 5px; }
  .film-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .track-grid { grid-template-columns: 1fr; }
  .track-grid .track { justify-self: center; }
  /* Mobile hero is a short strip (measured 222px at 390 wide). */
  .hero { min-height: 225px; padding: 36px 16px; }
  .hero-name { font-size: clamp(40px, 13vw, 58px); }
  .hero-sub { font-size: 24px; }
  /* Mobile bio is centred and a touch larger (~19px on the original). */
  .bio-text p { font-size: 19px; }
  .bio { grid-template-columns: 1fr; text-align: center; }
  .bio-portrait img { max-width: 260px; margin: 0 auto; }
  .ep { grid-template-columns: 1fr; margin-top: 36px; }
  /* Mobile EP cover measured ~250px wide on the original. */
  .ep-cover { max-width: 250px; margin: 0 auto; }
  .ep-tracks { gap: 12px; }
  /* Tighten mobile vertical rhythm toward the original. */
  .section { padding-top: 40px; }
  .rule { margin: 28px auto; }
  .film-grid { gap: 32px; }
  .track-grid { gap: 24px; }
  .single-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
  .training { grid-template-columns: 1fr; text-align: center; }
  .training-icon { margin: 0 auto; }
  .training-list li { padding-left: 0; }
  .training-list li::before { position: static; content: "·  "; }
  .section { padding-top: 48px; }
}

@media (max-width: 380px) {
  /* 320-360px phones: squeeze the bar so Contact never clips. */
  .site-header { padding: 0 8px; }
  .wordmark { font-size: 15px; letter-spacing: .06em; }
  .header-right { gap: 8px; }
  .lang-switch { gap: 4px; }
  .lang-switch a { font-size: 13px; }
  .main-nav { gap: 8px; }
  .main-nav a { font-size: 12px; }
}

/* ---------- lost (404) ---------- */
.lost { max-width: 640px; margin: 0 auto; padding: 140px 24px 90px; text-align: center; }
.lost-name { font-family: Fraunces, serif; font-weight: 300; letter-spacing: .14em; margin: 0 0 24px; }
.lost-title { font-weight: 400; font-size: clamp(34px, 5vw, 54px); margin: 0 0 12px; }
.lost-text { font-style: italic; }
.lost-links a { color: #111; }
