@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:300;font-display:swap;src:url("../fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2");}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");}
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:400;font-display:swap;src:url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");}
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:500;font-display:swap;src:url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");}
@font-face{font-family:"Jost";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/jost-latin-400-normal.woff2") format("woff2");}
@font-face{font-family:"Jost";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/jost-latin-500-normal.woff2") format("woff2");}
@font-face{font-family:"Jost";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/jost-latin-600-normal.woff2") format("woff2");}
/* NOVA Theatre Arts — minimal, Chanel-like. Ivory paper, black Cormorant Garamond headings, Jost text; gold only for lines, icons and short labels. */
:root {
  --paper: #FFFEF7;
  --paper-2: #F6F2E6;
  --ink: #141210;
  --ink-soft: #4F4A42;
  --rule: #E2DCCB;
  --gold: #8A6A2A;          /* labels on ivory: darker gold for legible contrast */
  --gold-bright: #CDA75A;   /* lines/icons on dark */
  --night: #141210;
  --night-ink: #F4EFE3;
  --night-soft: #BDB4A3;
  --display: "Cormorant Garamond", Cormorant, Garamond, Georgia, serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-weight: 400; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold-bright); color: var(--ink); }
[id] { scroll-margin-top: 110px; }

.wrap { max-width: calc(var(--wrap) + 96px); margin-inline: auto; padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); } }

/* ---------- type: H1 64–80, H2 38–48, H3 22–28, body 16–18 (desktop) ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h3, h4 { font-weight: 500; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.75rem); line-height: 1.04; max-width: 16ch; }
h2 { font-size: clamp(2.1rem, 3.4vw, 2.9rem); line-height: 1.1; max-width: 22ch; }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.65rem); line-height: 1.2; }
h4 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0; max-width: 64ch; }
.lede { font-size: 1.14rem; line-height: 1.6; }
.muted { color: var(--ink-soft); }
strong { font-weight: 600; }

.eyebrow, .label, .past-tag, .level, .label-line { font-family: var(--body); font-weight: 600; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); line-height: 1.6; }
.eyebrow { display: inline-flex; align-items: center; gap: .65em; }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: currentColor; flex: none; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.label-line span { color: var(--ink-soft); }
.stack { display: flex; flex-direction: column; gap: 1.2rem; }
.stack-sm { display: flex; flex-direction: column; gap: .8rem; }
.note { font-size: .9rem; color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .85em 1.6em; border: 1px solid var(--ink); font: 500 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink); background: transparent; transition: background .25s, color .25s, border-color .25s; cursor: pointer; }
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--paper); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover, .btn.solid:focus-visible { background: var(--gold); border-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- header: centred logo, menu at left (Chanel-like) ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) { .bar { height: 88px; padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.brand { justify-self: center; display: block; line-height: 0; }
.brand img.word { height: 34px; width: auto; }
@media (min-width: 760px) { .brand img.word { height: 42px; } }
.menu-btn, .menu-close {
  justify-self: start; display: inline-flex; align-items: center; gap: .8rem; background: none; border: 0; padding: 10px 0; cursor: pointer; color: var(--ink);
  font: 500 .75rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
}
.menu-label { display: none; }
@media (min-width: 760px) { .menu-label { display: inline; } }
.site-header.over-film { position: absolute; left: 0; right: 0; top: 0; background: transparent; border-bottom: 0; color: #FFFEF7; padding-top: env(safe-area-inset-top, 0px); }
.site-header.over-film .menu-btn { color: #FFFEF7; }

.menu-overlay { position: fixed; inset: 0; z-index: 100; background: var(--paper); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); overflow-y: auto; }
.menu-overlay[hidden] { display: none; }
.menu-links { display: flex; flex-direction: column; gap: .4rem; padding: clamp(2rem, 6vh, 4rem) max(20px, env(safe-area-inset-left, 0px)) 2rem; align-items: center; text-align: center; }
.menu-links a { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.25; text-decoration: none; color: var(--ink); }
.menu-links a:hover { color: var(--gold); }
.menu-links a[aria-current="page"] { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.menu-mail { margin: auto auto 2.5rem; font-size: .8rem; letter-spacing: .14em; color: var(--ink-soft); text-align: center; }
html.menu-open { overflow: hidden; }

/* ---------- home: full-screen film ---------- */
.film-hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; background: var(--night); overflow: hidden; color: #FFFEF7; }
.film-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,7,.38) 0%, rgba(10,9,7,0) 22%, rgba(10,9,7,0) 55%, rgba(10,9,7,.5) 100%); pointer-events: none; }
.film-copy { position: absolute; left: 0; right: 0; bottom: clamp(5.5rem, 13vh, 9rem); display: flex; flex-direction: column; align-items: center; gap: 1.6rem; text-align: center; padding-inline: 20px; }
.film-copy h1 { font-family: var(--body); font-weight: 500; font-size: clamp(1.15rem, 2.6vw, 2.1rem); letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; color: #FFFEF7; max-width: none; }
.btn.light { background: #FFFEF7; color: var(--ink); border-color: #FFFEF7; }
.btn.light:hover, .btn.light:focus-visible { background: transparent; color: #FFFEF7; }
.film-controls { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; gap: .4rem; }
.film-controls button { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: #FFFEF7; cursor: pointer; }
.film-mute .i-on, .film-mute[aria-pressed="true"] .i-off { display: none; }
.film-mute[aria-pressed="true"] .i-on { display: block; }
.film-toggle .i-play { display: none; }
.film-hero.is-paused .film-toggle .i-play { display: block; }
.film-hero.is-paused .film-toggle .i-pause { display: none; }

.eyebrow-line { font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); line-height: 2; }
.eyebrow-line span { color: var(--ink-soft); }

.enquire-link { justify-self: end; font: 500 .75rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: .8em 1.1em; border: 1px solid currentColor; }
.bar-end { justify-self: end; }
.site-header.over-film .enquire-link { color: #FFFEF7; }
@media (max-width: 760px) { .enquire-link { display: none; } }

/* ---------- sections: 72–112px desktop, 48–72 phone ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section.tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.rule-top { border-top: 1px solid var(--rule); }

/* title + intro side by side, tops aligned */
.head-grid { display: grid; gap: 1.4rem 4rem; align-items: start; }
@media (min-width: 900px) { .head-grid { grid-template-columns: 58fr 42fr; } }
.head-grid > * { min-width: 0; }
.page-head { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.display-line { font-family: var(--display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.2; max-width: 20ch; text-wrap: balance; }
.pull { font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.35; border-left: 1px solid var(--gold-bright); padding-left: 1.1rem; }

.photo { position: relative; overflow: hidden; background: var(--paper-2); margin: 0; }
.photo picture { display: block; width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ar-43 { aspect-ratio: 4 / 3; }
.ar-wide { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .ar-wide { aspect-ratio: 21 / 9; } }

/* ---------- cards ---------- */
.cards { display: grid; gap: 2rem 1.75rem; }
@media (min-width: 640px) { .cards-4, .cards-3, .cards-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: .7rem; min-width: 0; border-top: 1px solid var(--ink); padding-top: 1.2rem; }
.cards.with-img .card { border-top: 0; padding-top: 0; }
.cards.with-img .card .photo { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.card .idx { font: 600 .75rem/1 var(--body); letter-spacing: .18em; color: var(--gold); }

/* ---------- programme overview ---------- */
.pcards { display: grid; gap: 1.75rem; }
@media (min-width: 640px) { .pcards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pcards { grid-template-columns: repeat(5, 1fr); } }
.pcard { display: flex; flex-direction: column; gap: .7rem; text-decoration: none; min-width: 0; border-top: 1px solid var(--ink); padding-top: 1.2rem; }
.pcard .photo { margin-bottom: .4rem; }
.pcard p { font-size: 1rem; color: var(--ink-soft); }
.pcard .who { font-size: .95rem; color: var(--ink); }
.pcard .who span { display: block; font: 600 .7rem/1.6 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.pcard .more { margin-top: auto; padding-top: .4rem; font: 500 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--gold-bright); align-self: flex-start; padding-bottom: .35em; }
.pcard:hover h3 { color: var(--gold); }

.programme { display: grid; gap: 1.6rem 4.5rem; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--rule); align-items: center; }
@media (min-width: 900px) { .programme { grid-template-columns: 1fr 1fr; } .programme.flip > div:first-child { order: 2; } }
.programme > * { min-width: 0; }
.programme h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }

/* ---------- training levels ---------- */
.level { display: flex; align-items: center; gap: .8rem; color: var(--ink); }
.level span { color: var(--gold); }
.module { display: grid; gap: 1.2rem 4rem; padding-top: 2rem; border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .module { grid-template-columns: 5fr 7fr; } }
.module > * { min-width: 0; }
.module dl { margin: 0; display: grid; }
.module dl div { padding-block: 1rem; border-bottom: 1px solid var(--rule); display: grid; gap: .25rem; }
@media (min-width: 640px) { .module dl div { grid-template-columns: 240px 1fr; gap: 1.5rem; } }
.module dt { font-weight: 600; font-size: 1rem; }
.module dd { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* ---------- dark moment ---------- */
.night { background: var(--night); color: var(--night-ink); padding-block: clamp(4.5rem, 9vw, 7rem); }
.night .wrap { display: grid; gap: 1.6rem; justify-items: center; text-align: center; }
.night img.night-mark { width: 64px; height: auto; margin-bottom: .6rem; }
.night blockquote { margin: 0 0 .6rem; font-family: var(--display); font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.08; max-width: 18ch; text-wrap: balance; }
.night p { color: var(--night-soft); max-width: 56ch; margin-inline: auto; }

/* ---------- past programme ---------- */
.past-tag { display: inline-block; align-self: flex-start; border: 1px solid var(--gold); padding: .45em .9em; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.pill-list li { border: 1px solid var(--rule); padding: .5em 1em; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.mosaic .photo { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 140px; gap: 14px; }
  .mosaic .photo { aspect-ratio: auto; }
  .mosaic .m1 { grid-column: span 4; grid-row: span 4; }
  .mosaic .m2, .mosaic .m3, .mosaic .m4, .mosaic .m5, .mosaic .m6 { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 899px) { .mosaic .m1, .mosaic .photo:last-child { grid-column: span 2; aspect-ratio: 16 / 9; } }

/* ---------- journey: row on desktop, column on phone ---------- */
.journey { list-style: none; padding: 0; margin: 0; display: grid; }
@media (min-width: 1000px) { .journey { grid-template-columns: repeat(5, 1fr); column-gap: 1.6rem; } }
.journey li { padding-block: 1.4rem; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.journey .n { font: 600 .8rem/1 var(--body); letter-spacing: .18em; color: var(--gold); }
.journey h4 { font-size: 1.4rem; }
.journey p { font-size: 1rem; color: var(--ink-soft); }
.journey-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.6rem; }
.enquire-band { background: var(--paper-2); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--ink); padding-block: 3.5rem 2.2rem; }
.site-footer .top { display: grid; gap: 2.4rem; }
@media (min-width: 860px) { .site-footer .top { grid-template-columns: 1fr auto; align-items: start; } }
.site-footer .top > * { min-width: 0; }
.footer-brand img { width: 130px; height: auto; }
.footer-mail { font-size: 1rem; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: .7rem 3rem; }
@media (min-width: 600px) { .footer-nav { grid-template-columns: repeat(3, auto); } }
.footer-nav a { text-decoration: none; font: 500 .8rem/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--gold); }
.legal { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); font-size: .82rem; color: var(--ink-soft); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .reveal.d1 { animation-delay: .06s; } .reveal.d2 { animation-delay: .14s; }
  @keyframes rise { from { opacity: .001; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- phones: H1 38–46, H2 30–36, H3 20–24, body ≥ 16 ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.35rem; }
  h4 { font-size: 1.3rem; }
  .lede { font-size: 1.06rem; }
  .display-line { font-size: 1.6rem; }
  .programme h2 { font-size: 1.9rem; }
  .night blockquote { font-size: 2.1rem; }
  .menu-links a { font-size: 1.9rem; }
  .card p, .pcard p, .module dd, .journey p { font-size: 1rem; }
}
/* tap-to-play fallback when the browser blocks autoplay (e.g. iPhone Low Power Mode, in-app browsers) */
.film-start { display: none; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; z-index: 2; }
.film-hero.needs-tap .film-start { display: grid; place-items: center; }
.film-hero.needs-tap .film-copy { z-index: 3; }
.film-start-icon { width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(255,254,247,.9); background: rgba(10,9,7,.28); position: relative; margin-bottom: 18vh; }
.film-start-icon::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%,-50%); border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #FFFEF7; }
.film-controls { z-index: 3; }

/* ---------- film: always show the whole frame (no cropping) ---------- */
/* Full screen on computers, cropping only the edges that hold nothing important:
   the film's NOVA x CANTABILE mark sits top-right and the subtitles sit centre, so
   wider-than-16:9 screens lose only the bottom, narrower ones lose only the left. */
.film-hero { height: 100vh; height: 100svh; min-height: 0; }
.film-hero video { object-fit: cover; object-position: 100% 50%; }
@media (min-aspect-ratio: 16/9) { .film-hero video { object-position: 50% 0%; } }
/* squarer screens (iPad, 5:4 monitors): cropping would cut the subtitles, so show the whole frame instead */
@media (max-aspect-ratio: 31/20) and (min-width: 761px) { .film-hero { height: 56.25vw; } .film-hero video { object-fit: contain; } }
.site-header .word-dark { display: none; }
@media (max-width: 760px) {
  /* phones: header sits above the film, tagline sits below it */
  .site-header.over-film { position: sticky; top: env(safe-area-inset-top, 0px); background: var(--paper); border-bottom: 1px solid var(--rule); color: var(--ink); padding-top: 0; }
  .site-header.over-film .menu-btn { color: var(--ink); }
  .site-header.over-film .word-light { display: none; }
  .site-header.over-film .word-dark { display: inline; }
  .film-hero { height: auto; aspect-ratio: auto; overflow: visible; background: var(--paper); color: var(--ink); }
  .film-hero video { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--night); }
  .film-shade { display: none; }
  .film-start { height: auto; aspect-ratio: 16 / 9; bottom: auto; }
  .film-start-icon { margin-bottom: 0; width: 64px; height: 64px; }
  .film-controls { top: calc(56.25vw - 50px); bottom: auto; right: 8px; }
  .film-copy { position: static; padding: 2.4rem 20px 3rem; gap: 1.2rem; }
  .film-copy h1 { color: var(--ink); font-size: 1.05rem; }
  .film-copy .btn.light { background: var(--ink); color: var(--paper); border-color: var(--ink); }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* page heads: title runs full width (≤ 2 lines on desktop), intro sits below, tops aligned */
.page-head .head-grid { grid-template-columns: 1fr; gap: 1.6rem; }
.page-head h1 { max-width: 30ch; font-size: clamp(2.5rem, 4.8vw, 4.25rem); }
.page-head .head-grid > .stack-sm:last-child { max-width: 68ch; }
