/* Opera Art Gallery — coming soon. "Le rideau se lève."
   Velvet green + gold leaf for the stage, cream paper for the programme. */

:root {
  --velvet-900: #18220f;
  --velvet-800: #1f2c17;
  --velvet-700: #24331d;
  --velvet-600: #2f4126;
  --velvet-500: #3e5532;
  --brand: #6b8756;          /* the logo's green */
  --gold: #d9bd77;           /* the logo's gold */
  --gold-hi: #f0dca6;
  --gold-lo: #a8893f;
  --paper: #f2ebdc;
  --paper-2: #e8dfcb;
  --ink: #1e2318;
  --ink-2: #4c5140;
  --rule: rgba(30, 35, 24, .16);

  /* Old-press faces, not the usual luxury-template pair: IM Fell (17th-century
     Fell types, digitised by Igino Marini) for display and small-cap labels,
     Libre Caslon for reading. */
  --display: "IM Fell English", "Iowan Old Style", Georgia, serif;
  --sc: "IM Fell English SC", "IM Fell English", Georgia, serif;
  --text: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;
  --arabic: "Aref Ruqaa", "Geeza Pro", serif;

  --gutter: clamp(16px, 4.5vw, 64px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-curtain: cubic-bezier(.7, 0, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--velvet-800);
  color: var(--paper);
  font: 400 1rem/1.7 var(--text);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--velvet-900); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--velvet-900); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 16px; }

/* Film grain over everything: velvet and paper both get tooth. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .085; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───────────────────────── Le rideau ───────────────────────── */
.rideau { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.rideau__pan {
  position: absolute; top: 0; bottom: 0; width: 51%;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35), transparent 22%, transparent 70%, rgba(0,0,0,.45)),
    repeating-linear-gradient(90deg,
      #1d2a15 0px, #2c3d22 18px, #415a31 34px, #2f4126 50px, #1a2512 70px);
  box-shadow: inset 0 0 120px rgba(0,0,0,.55);
  animation: 1.55s var(--ease-curtain) .35s both;
}
.rideau__pan--l { left: 0; transform-origin: 0 50%; animation-name: pan-l; }
.rideau__pan--r { right: 0; transform-origin: 100% 50%; animation-name: pan-r; }
.rideau__fringe {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background:
    repeating-linear-gradient(90deg, var(--gold) 0 2px, transparent 2px 7px),
    linear-gradient(var(--gold-lo), var(--gold));
  -webkit-mask: linear-gradient(#000 0 30%, transparent 30% 38%, #000 38%);
          mask: linear-gradient(#000 0 30%, transparent 30% 38%, #000 38%);
  opacity: .9;
}
.rideau__valance {
  position: absolute; left: 0; right: 0; top: 0; height: 11vh; min-height: 70px;
  background:
    radial-gradient(60px 34px at 50% 0, transparent 97%, var(--gold) 98% 100%, transparent 101%) 0 100% / 120px 40px repeat-x,
    repeating-linear-gradient(90deg, #1d2a15 0 30px, #34492a 30px 60px);
  box-shadow: 0 14px 30px rgba(0,0,0,.45);
  animation: valance 1.2s var(--ease-curtain) 1.25s both;
}
@keyframes pan-l {
  0% { transform: translateX(0) scaleX(1); }
  100% { transform: translateX(-12%) scaleX(.04); filter: brightness(.6); }
}
@keyframes pan-r {
  0% { transform: translateX(0) scaleX(1); }
  100% { transform: translateX(12%) scaleX(.04); filter: brightness(.6); }
}
@keyframes valance { to { transform: translateY(-105%); } }
.rideau { animation: gone 0s linear 2.6s both; }
@keyframes gone { to { visibility: hidden; } }

/* ───────────────────────── Ticket bar ───────────────────────── */
.ticket {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(242,235,220,.72);
}
.ticket__brand { font-family: var(--display); font-style: italic; letter-spacing: .04em; text-transform: none; font-size: 1rem; color: var(--gold); }
.ticket__no { display: none; }
.lang { display: flex; align-items: center; gap: 2px; }
.lang button {
  background: none; border: 0; cursor: pointer; letter-spacing: .22em; padding: 12px 6px; min-width: 44px;
  color: rgba(242,235,220,.5); transition: color .2s;
}
.lang button[aria-pressed="true"] { color: var(--gold); }
.lang button:hover { color: var(--paper); }
@media (min-width: 760px) { .ticket__no { display: block; } }

/* ───────────────────────── Ouverture ───────────────────────── */
.overture {
  --sx: 70%; --sy: 35%;
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  padding: 92px var(--gutter) 104px;
  display: grid; align-items: center;
  background:
    radial-gradient(520px 520px at var(--sx) var(--sy), rgba(217,189,119,.16), transparent 70%),
    radial-gradient(1200px 800px at 75% 30%, rgba(107,135,86,.55), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.2), transparent 30%, rgba(0,0,0,.35)),
    repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 1px, transparent 1px 64px, rgba(255,255,255,.025) 64px 65px, transparent 65px 128px),
    var(--velvet-700);
}
.dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }

.overture__grid {
  display: grid; gap: 48px; width: 100%; max-width: 1360px; margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .overture__grid { grid-template-columns: 1.15fr .85fr; align-items: end; gap: 64px; }
}

.kicker {
  margin: 0 0 22px; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ""; width: 42px; height: 1px; background: currentColor; }

.headline {
  margin: 0; font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(3.3rem, 8.6vw, 7.6rem); line-height: .9; letter-spacing: -.01em;
  font-variation-settings: "opsz" 96;
}
.headline .line { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
.headline .line > span { display: inline-block; }
.headline .l1 { padding-left: .9em; }
.headline .gold {
  color: transparent;
  background: linear-gradient(100deg, var(--gold-lo), var(--gold) 30%, var(--gold-hi) 50%, var(--gold) 70%, var(--gold-lo));
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
  animation: leaf 7s ease-in-out 3.4s infinite;
}
@keyframes leaf { 0%,100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

.arabic {
  margin: 16px 0 0; font-family: var(--arabic); font-weight: 700; color: var(--gold);
  font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; text-align: left;
}
.lede { max-width: 32rem; margin: 18px 0 0; color: rgba(242,235,220,.82); font-size: 1.04rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--h); padding: 0 28px; text-decoration: none;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  border-radius: 999px; overflow: hidden; isolation: isolate; transition: color .35s var(--ease-out);
}
.btn--gold { background: var(--gold); color: var(--velvet-900); }
.btn--gold::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-hi);
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn--gold:hover::before { transform: none; }
.btn--line { border: 1px solid rgba(217,189,119,.55); color: var(--paper); }
.btn--line::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold);
  clip-path: circle(0 at 50% 120%); transition: clip-path .55s var(--ease-out);
}
.btn--line:hover { color: var(--velvet-900); }
.btn--line:hover::before { clip-path: circle(140% at 50% 120%); }

/* The stage: the logo in a gold proscenium arch. */
.stage {
  position: relative; margin: 0; justify-self: center; width: min(100%, 360px);
  padding: 48px 30px 26px; display: grid; justify-items: center;
}
.stage__arch {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  fill: none; stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .7;
}
.stage__arch path { stroke-dasharray: 1700; stroke-dashoffset: 0; }
.stage__emblem { position: relative; width: min(56%, 190px); }
.stage__emblem img { width: 100%; filter: drop-shadow(0 10px 40px rgba(0,0,0,.35)); }
.glint {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,246,220,.95) 50%, transparent 62%) 160% 0 / 260% 100% no-repeat;
  -webkit-mask: url(../img/logo/opera-emblem-gold.svg) center / contain no-repeat;
          mask: url(../img/logo/opera-emblem-gold.svg) center / contain no-repeat;
  mix-blend-mode: screen;
  animation: glint 9s ease-in-out 3.2s infinite;
}
@keyframes glint { 0% { background-position: 160% 0; } 22%, 100% { background-position: -60% 0; } }
.stage__wordmark { width: 92%; margin-top: 26px; }
.stage__lines { width: 64%; margin-top: 14px; }

.cue {
  position: absolute; left: var(--gutter); bottom: 28px; z-index: 2;
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(242,235,220,.7);
  min-height: 44px;
}
.cue i { position: relative; width: 1px; height: 46px; background: rgba(217,189,119,.3); overflow: hidden; }
.cue i::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold);
  animation: drip 2.4s var(--ease-out) infinite;
}
@keyframes drip { to { top: 110%; } }
.vertical {
  position: absolute; right: 14px; top: 50%; margin: 0; z-index: 1;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font-size: .62rem; letter-spacing: .42em; text-transform: uppercase; color: rgba(217,189,119,.4);
  white-space: nowrap; display: none;
}
@media (min-width: 760px) { .vertical { display: block; } }

/* Opening sequence: runs once, after the curtain. */
.js .headline .line > span { transform: translateY(105%); animation: rise 1.2s var(--ease-out) both; }
.js .headline .l1 > span { animation-delay: 1.45s; }
.js .headline .l2 > span { animation-delay: 1.57s; }
.js .headline .l3 > span { animation-delay: 1.69s; }
.js .kicker, .js .arabic, .js .lede, .js .ctas { animation: fade-up 1s var(--ease-out) both; }
.js .kicker { animation-delay: 1.3s; }
.js .arabic { animation-delay: 1.95s; }
.js .lede { animation-delay: 2.05s; }
.js .ctas { animation-delay: 2.15s; }
.js .stage__emblem img { animation: unveil 1.8s var(--ease-out) 1.1s both; }
.js .stage__arch path { animation: draw 2.2s var(--ease-out) .9s both; }
.js .stage__wordmark { animation: wipe 1.3s var(--ease-out) 1.9s both; }
.js .stage__lines { animation: fade-up 1s var(--ease-out) 2.3s both; }
.js .cue, .js .vertical { animation: fade 1s ease 2.6s both; }
@keyframes rise { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); transform: translateY(14px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes draw { from { stroke-dashoffset: 1700; } to { stroke-dashoffset: 0; } }

/* ───────────────────────── Le papier (programme) ───────────────────────── */
.paper {
  position: relative; color: var(--ink);
  background:
    radial-gradient(900px 500px at 10% 0, rgba(255,255,255,.5), transparent 70%),
    linear-gradient(var(--paper), var(--paper-2));
  padding: 110px var(--gutter) 90px;
}
.paper--lieux { padding-top: 40px; background: linear-gradient(var(--paper-2), #e2d8c2); }
.perforation {
  position: absolute; left: 0; right: 0; top: -9px; height: 18px;
  background: radial-gradient(circle at 9px 9px, var(--velvet-700) 6px, transparent 6.5px) 0 0 / 22px 18px repeat-x;
}
.act-head { max-width: 1360px; margin: 0 auto 56px; }
.act-head--row { display: grid; gap: 18px; }
@media (min-width: 900px) { .act-head--row { grid-template-columns: 1fr 1fr; align-items: end; } }
.act-no {
  margin: 0 0 12px; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2);
}
.act-no em { font-style: normal; color: var(--gold-lo); }
.act-no--gold { color: rgba(242,235,220,.7); }
.act-no--gold em { color: var(--gold); }
.act-title {
  margin: 0; font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(3.2rem, 9.4vw, 7.8rem); line-height: .95; letter-spacing: -.015em;
  font-variation-settings: "opsz" 96;
}
.act-intro { max-width: 30rem; margin: 18px 0 0; color: var(--ink-2); font-size: 1.02rem; }

/* La distribution */
.cast { list-style: none; margin: 0 auto; padding: 0; max-width: 1360px; border-top: 1px solid var(--ink); }
.cast li { border-bottom: 1px solid var(--rule); }
.cast summary {
  list-style: none; cursor: pointer; position: relative;
  display: grid; align-items: baseline; gap: 4px 18px;
  grid-template-columns: 2.4rem 1fr auto;
  grid-template-areas: "no name dates" "no role role";
  padding: 18px 0 16px; min-height: 64px;
}
.cast summary::-webkit-details-marker { display: none; }
.cast__no { grid-area: no; font-family: var(--display); font-style: italic; color: var(--gold-lo); font-size: .95rem; }
.cast__name {
  grid-area: name; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.55rem, 4.6vw, 3.3rem); line-height: 1.05; letter-spacing: -.01em;
  transition: transform .5s var(--ease-out), color .3s;
  font-variation-settings: "opsz" 72;
}
.cast__role { grid-area: role; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.cast__dates { grid-area: dates; font-family: var(--display); font-style: italic; font-size: 1rem; color: var(--ink-2); white-space: nowrap; }
@media (min-width: 900px) {
  .cast summary {
    grid-template-columns: 4rem 1.4fr 1fr 10rem; grid-template-areas: "no name role dates";
    padding: 22px 0;
  }
  .cast__dates { text-align: right; }
}
.cast summary::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--gold-lo); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .7s var(--ease-out);
}
@media (hover: hover) {
  .cast summary:hover .cast__name { transform: translateX(14px); color: var(--velvet-600); font-style: italic; }
  .cast summary:hover::after { transform: scaleX(1); }
}
.cast details[open] .cast__name { font-style: italic; color: var(--velvet-600); }
.cast__more {
  display: grid; gap: 18px; grid-template-columns: 96px 1fr; align-items: start;
  padding: 2px 0 24px 2.4rem;
}
.cast__more p { margin: 0; max-width: 38rem; color: var(--ink-2); }
@media (min-width: 900px) { .cast__more { padding-left: 4rem; grid-template-columns: 120px 1fr; } }

/* Arch frames: the logo's own silhouette, reused for every portrait. */
.arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 4px 4px; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, var(--velvet-500), var(--velvet-800));
  box-shadow: inset 0 0 0 1px rgba(217,189,119,.55);
}
.arch img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(1.02);
  mix-blend-mode: luminosity;
}
.arch::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(217,189,119,.28), rgba(36,51,29,.45));
  mix-blend-mode: multiply;
}
.arch > span {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-style: italic; font-weight: 400; color: var(--gold);
  font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: .04em;
}
.arch--photo { background: linear-gradient(160deg, var(--gold), var(--gold-lo)); }
.arch--photo > span { display: none; }

/* The floating loge (desktop hover). */
.loge {
  position: fixed; left: 0; top: 0; z-index: 60; width: 220px; pointer-events: none;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.85) rotate(-3deg);
  transition: opacity .35s var(--ease-out), transform .5s var(--ease-out);
}
.loge.is-on { opacity: 1; }
.loge .arch { box-shadow: inset 0 0 0 1px rgba(217,189,119,.7), 0 30px 60px -20px rgba(20,28,14,.6); }
.loge small {
  display: block; margin-top: 10px; text-align: center; font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-2);
}
@media (hover: none) { .loge { display: none; } }

/* ───────────────────────── Les lieux ───────────────────────── */
.promenade {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(74vw, 380px); gap: clamp(18px, 3vw, 40px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 10px var(--gutter) 30px; margin: 0 calc(var(--gutter) * -1);
  scroll-padding-inline: var(--gutter); scrollbar-width: none; cursor: grab;
}
.promenade::-webkit-scrollbar { display: none; }
.promenade.is-drag { cursor: grabbing; scroll-snap-type: none; }
.promenade.is-drag * { pointer-events: none; }
.salle { margin: 0; scroll-snap-align: start; }
.salle:nth-child(even) { margin-top: 56px; }
.salle__frame {
  position: relative; aspect-ratio: 4 / 5.2; border-radius: 999px 999px 3px 3px; overflow: hidden;
  background:
    radial-gradient(70% 50% at 50% 18%, rgba(255,250,236,.9), transparent 70%),
    linear-gradient(180deg, #efe7d5, #d9ceb5);
  box-shadow:
    inset 0 0 0 10px #f6f0e3, inset 0 0 0 11px rgba(30,35,24,.25),
    0 40px 50px -30px rgba(30,35,24,.45);
  display: grid; place-items: center;
  transition: transform .8s var(--ease-out);
}
.salle__frame img:not(.salle__ghost) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.salle__ghost { width: 34%; margin-top: 22%; opacity: .1; transition: opacity 1.2s ease; }
.salle__hook {
  /* the picture wire hanging from its nail, waiting for a work */
  position: absolute; top: 15%; left: 50%; width: 52%; height: 9%; transform: translateX(-50%);
  background:
    linear-gradient(to top right, transparent calc(50% - .6px), rgba(30,35,24,.28) 50%, transparent calc(50% + .6px)) 0 0 / 50% 100% no-repeat,
    linear-gradient(to top left, transparent calc(50% - .6px), rgba(30,35,24,.28) 50%, transparent calc(50% + .6px)) 100% 0 / 50% 100% no-repeat;
}
.salle__hook::before {
  content: ""; position: absolute; left: 50%; top: -4px; width: 7px; height: 7px; margin-left: -3.5px;
  border-radius: 50%; background: var(--gold-lo); box-shadow: 0 2px 3px rgba(30,35,24,.35);
}
.salle.is-lit .salle__ghost { opacity: .22; }
@media (hover: hover) { .salle:hover .salle__frame { transform: translateY(-8px); } }
.cartel {
  margin-top: 18px; padding-left: 14px; border-left: 1px solid var(--gold-lo);
  font-family: var(--display); font-size: 1.3rem; line-height: 1.2;
}
.cartel b { font-style: italic; font-weight: 500; color: var(--gold-lo); }
.cartel small {
  display: block; font-family: var(--text); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2); margin-top: 6px;
}
.cartel .cartel__soon { color: var(--gold-lo); }
.salle.has-photo .cartel__soon, .salle.has-photo .salle__ghost, .salle.has-photo .salle__hook { display: none; }
.promenade__rail { max-width: 1360px; margin: 4px auto 0; height: 1px; background: var(--rule); position: relative; }
.promenade__rail i {
  position: absolute; left: 0; top: -1px; height: 3px; width: 20%; background: var(--ink);
  transform-origin: 0 50%; transition: width .2s linear;
}

/* ───────────────────────── Entracte ───────────────────────── */
.entracte {
  position: relative; padding: 120px var(--gutter);
  background:
    radial-gradient(800px 500px at 85% 20%, rgba(107,135,86,.45), transparent 70%),
    var(--velvet-600);
}
.entracte__grid {
  max-width: 1200px; margin: 0 auto; display: grid; gap: 48px; align-items: center;
}
@media (min-width: 900px) { .entracte__grid { grid-template-columns: 300px 1fr; gap: 90px; } }
.entracte__portrait { width: min(62vw, 300px); justify-self: center; }
.entracte__portrait .arch > span { font-size: 3.2rem; }
.entracte__role { margin: 14px 0 0; text-align: center; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.quote { margin: 64px 0 0; position: relative; }
.quote::before {
  content: "“"; position: absolute; left: -.06em; top: -.42em;
  font-family: var(--display); font-size: 9rem; line-height: 1; color: var(--gold); opacity: .28;
}
.quote p {
  margin: 0 0 .5em; font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 3.9vw, 3rem); line-height: 1.18; letter-spacing: -.01em;
  font-variation-settings: "opsz" 60;
}
.quote .quote__small {
  font-family: var(--text); font-style: normal; font-size: 1.05rem; line-height: 1.6;
  color: rgba(242,235,220,.78); max-width: 34rem; margin-top: 1.4em;
}
.signature { margin: 34px 0 0; display: inline-grid; color: var(--gold); }
.signature span { font-family: var(--display); font-style: italic; font-size: clamp(1.9rem, 4.2vw, 2.8rem); font-weight: 400; }
.signature svg { width: 100%; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; }
.signature path { stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 2.2s var(--ease-out) .5s; }
.signature.is-in path { stroke-dashoffset: 0; }

/* ───────────────────────── Finale ───────────────────────── */
.finale {
  position: relative; overflow: hidden; padding: 120px var(--gutter) 0;
  background:
    radial-gradient(900px 600px at 20% 0, rgba(62,85,50,.7), transparent 70%),
    var(--velvet-900);
}
.finale > * { max-width: 1360px; margin-left: auto; margin-right: auto; }
.finale__title {
  margin-top: 0; margin-bottom: 70px; font-family: var(--display); font-weight: 400;
  font-size: clamp(2.6rem, 7.6vw, 6.6rem); line-height: 1; letter-spacing: -.025em;
  font-variation-settings: "opsz" 96;
}
.finale__title em { color: var(--gold); }
.infos { display: grid; gap: 0; margin-bottom: 0; border-top: 1px solid rgba(217,189,119,.35); }
@media (min-width: 700px) { .infos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .infos { grid-template-columns: repeat(4, 1fr); } }
.infos > div { padding: 26px 24px 28px 0; border-bottom: 1px solid rgba(217,189,119,.18); }
.infos dt { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.infos dd { margin: 0; font-size: 1.05rem; line-height: 1.7; color: rgba(242,235,220,.9); overflow-wrap: anywhere; }
.infos a { text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease-out); padding: 6px 0; }
.infos a:hover { background-size: 100% 1px; color: var(--gold-hi); }
.finale__mark { margin-top: 80px; padding-bottom: 0; }
.finale__mark img {
  width: 100%; max-width: none; opacity: .72;
  -webkit-mask: linear-gradient(#000 35%, transparent 92%); mask: linear-gradient(#000 35%, transparent 92%);
  transform: translateY(18%);
}

.credits {
  background: var(--velvet-900); color: rgba(242,235,220,.5); font-size: .74rem; line-height: 1.7;
  padding: 26px var(--gutter) 34px; border-top: 1px solid rgba(217,189,119,.14);
  display: grid; gap: 6px;
}
.credits p { margin: 0; max-width: 1360px; }
.credits a { color: rgba(242,235,220,.72); text-underline-offset: 3px; }
@media (min-width: 900px) {
  .credits { grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
}

/* Labels: Fell small caps, as printed on a programme, instead of spaced-out sans capitals. */
.ticket, .kicker, .act-no, .cast__role, .btn, .cue, .vertical, .cartel small,
.infos dt, .entracte__role, .loge small, .portrait-credit {
  font-family: var(--sc); text-transform: none; font-weight: 400;
}
.ticket { font-size: .95rem; letter-spacing: .06em; }
.lang button { letter-spacing: .06em; font-family: var(--sc); }
.kicker { font-size: 1.05rem; letter-spacing: .08em; }
.act-no { font-size: 1.02rem; letter-spacing: .07em; }
.cast__role { font-size: .98rem; letter-spacing: .05em; }
.btn { font-size: 1.08rem; letter-spacing: .06em; }
.cue { font-size: 1rem; letter-spacing: .08em; }
.vertical { font-size: .9rem; letter-spacing: .3em; }
.cartel small { font-size: .95rem; letter-spacing: .05em; }
.infos dt { font-size: 1.02rem; letter-spacing: .08em; }
.entracte__role { font-size: 1rem; letter-spacing: .14em; }
.loge small, .portrait-credit { font-size: .72rem; letter-spacing: .03em; line-height: 1.35; }
.portrait-credit { display: block; margin-top: 6px; color: var(--ink-2); opacity: .75; }

/* Phones: the emblem takes the stage first, the words follow. */
@media (max-width: 959px) {
  .overture__grid { gap: 28px; }
  .stage { order: -1; width: min(82%, 300px); padding: 40px 24px 20px; }
  .overture { padding-top: 76px; }
}
@media (max-width: 959px) {
  .js .kicker { animation-delay: 2.2s; }
  .js .headline .l1 > span { animation-delay: 2.35s; }
  .js .headline .l2 > span { animation-delay: 2.47s; }
  .js .headline .l3 > span { animation-delay: 2.59s; }
  .js .arabic { animation-delay: 2.8s; }
  .js .lede { animation-delay: 2.9s; }
  .js .ctas { animation-delay: 3s; }
  .js .stage__emblem img { animation-delay: .95s; }
  .js .stage__wordmark { animation-delay: 1.65s; }
  .js .stage__lines { animation-delay: 1.95s; }
}
/* The founder's arch sits in the middle of the column on phones. */
@media (max-width: 899px) {
  .entracte__portrait { margin: 0 auto; }
  .entracte__role { text-align: center; }
}

/* ───────────────────────── Scroll reveals ───────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ───────────────────────── Reduced motion ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rideau, .dust { display: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .headline .line > span { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .signature path { stroke-dashoffset: 0; }
}
