/* 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; }

: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 1fr; 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;
}
.lang-wrap { justify-self: center; }
.lang-select {
  appearance: none; -webkit-appearance: none;
  font-family: "Bodoni Moda", serif; font-style: italic; font-size: 19px;
  color: #000; background: #fff;
  border: 1px solid #9a9a9a; border-radius: 2px;
  padding: 6px 34px 6px 16px; min-height: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.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; margin-left: .35em; 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-text p { font-style: italic; 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; }
.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 rows (hers: thumb + title + play + hairline + time) */
.track-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 56px; margin-top: 30px; }
.track {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 6px 12px; align-items: center;
  padding: 10px 4px; border-bottom: 1px solid #eee;
}
.track-cover { width: 56px; height: 56px; object-fit: cover; }
.track-title { font-style: italic; font-size: 16px; margin: 0; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-btn {
  grid-row: span 2; width: 44px; height: 44px; border: 0; background: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #000; padding: 0;
}
.track-btn svg { width: 20px; height: 20px; }
.track-progress {
  grid-column: 2; appearance: none; -webkit-appearance: none; width: 100%; height: 20px; background: transparent; cursor: pointer; margin: 0;
}
.track-progress::-webkit-slider-runnable-track { height: 1px; background: #999; }
.track-progress::-webkit-slider-thumb { -webkit-appearance: none; width: 9px; height: 9px; border-radius: 50%; background: #000; margin-top: -4px; }
.track-progress::-moz-range-track { height: 1px; background: #999; }
.track-progress::-moz-range-thumb { width: 9px; height: 9px; border: 0; border-radius: 50%; background: #000; }
.track-time { grid-column: 3; font-family: Raleway, sans-serif; font-size: 12px; color: #333; white-space: nowrap; }
.track-meta { grid-column: 2 / 4; display: flex; align-items: center; gap: 10px; }

/* EPs */
.ep { display: grid; grid-template-columns: 230px 1fr; gap: 40px; margin-top: 44px; align-items: start; }
.ep-cover { width: 100%; }
.ep-tracks { display: flex; flex-direction: column; }
.ep-tracks .track { grid-template-columns: 44px 1fr auto; }
.ep-tracks .track-cover { width: 44px; height: 44px; }

/* 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-size: 20px; 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; }

/* footer */
.site-footer { text-align: center; padding: 26px 16px 40px; 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-band p { font-style: italic; font-size: 20px; margin: 0 0 10px; }
.map-band a { font-family: Raleway, sans-serif; font-size: 14px; color: #111; }
.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-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; }
.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 14px; gap: 8px; }
  .wordmark { font-size: 18px; }
  .lang-select { font-size: 16px; padding: 6px 28px 6px 10px; }
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 13px; padding: 14px 2px; }
  .film-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .track-grid { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; text-align: center; }
  .bio-portrait img { max-width: 260px; margin: 0 auto; }
  .ep { grid-template-columns: 1fr; }
  .ep-cover { max-width: 320px; margin: 0 auto; }
  .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 { display: none; }
  .section { padding-top: 48px; }
}
