/* Zach Rubens, tenor. Shared styles. */
:root {
  --navy-deep: #0f1622;
  --navy: #141c28;
  --navy-mid: #1a2536;
  --navy-light: #223044;
  --paper: #faf8f5;
  --cream: #f0ede6;
  --ink: #12161d;
  --text: #3f444c;
  --text-light: #6e727a;
  --on-navy: #e9e4da;
  --on-navy-dim: #a9adb5;
  --gold: #a4835a;
  --gold-light: #c9a97a;
  --rule: #ddd6cc;
  --rule-navy: rgba(201,169,122,0.22);
  --serif: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 60px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  background: var(--paper);
  color: var(--text);
  font: 300 1.0625rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: #fff; padding: 8px 14px; z-index: 200; text-decoration: none; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ── Type ── */
h1, h2, h3, .serif { font-family: var(--serif); color: var(--ink); font-weight: 400; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.55rem; font-weight: 500; }
em, .ital { font-style: italic; }
.eyebrow {
  font: 500 0.7rem/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: currentColor; }
.lede { font-size: 1.2rem; color: var(--text); max-width: 60ch; }
p + p { margin-top: 1.1em; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.72rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; padding: 17px 30px; border: 1px solid var(--gold);
  background: var(--gold); color: #fff; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn.ghost { background: transparent; color: var(--gold-light); border-color: var(--rule-navy); }
.btn.ghost:hover { border-color: var(--gold-light); color: #fff; }
.btn.ghost.on-paper { color: var(--ink); border-color: var(--rule); }
.btn.ghost.on-paper:hover { border-color: var(--gold); color: var(--gold); }
.link-arrow { font: 500 0.72rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.link-arrow::after { content: '→'; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ── Nav ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,22,34,0.94);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--rule-navy);
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-navy); text-decoration: none; white-space: nowrap; }
.brand small { font: 400 0.62rem var(--sans); letter-spacing: 0.28em; color: var(--gold-light); margin-left: 12px; }
.nav-links { display: flex; gap: clamp(18px, 2.6vw, 38px); list-style: none; align-items: center; }
.nav-links a {
  font: 500 0.68rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--on-navy-dim); text-decoration: none; padding: 8px 0; position: relative; transition: color .3s;
}
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width .4s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links .nav-cta a { color: var(--gold-light); border: 1px solid var(--rule-navy); padding: 10px 16px; }
.nav-links .nav-cta a::after { display: none; }
.nav-links .nav-cta a:hover { border-color: var(--gold-light); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--on-navy); content: ''; transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .brand small { display: none; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); border-bottom: 1px solid var(--rule-navy);
    padding: 8px var(--gutter) 24px; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  }
  .nav-open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { display: block; padding: 16px 0; font-size: 0.78rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta a { margin-top: 16px; text-align: center; padding: 16px; }
}

/* ── Hero (home) ── */
.hero { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); min-height: min(88vh, 860px); }
.hero-copy { padding: clamp(56px, 9vw, 120px) var(--gutter) clamp(56px, 7vw, 96px); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.hero h1 { color: #fff; font-weight: 300; margin-bottom: 18px; }
.hero h1 .last { display: block; font-style: italic; color: var(--gold-light); padding-left: 0.6em; }
.hero .voice { font: 500 0.75rem/1.6 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: var(--on-navy-dim); margin-bottom: 30px; }
.hero .pitch { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; color: var(--on-navy); max-width: 30ch; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo { position: relative; min-height: 420px; }
.hero-photo picture, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-photo::before { /* blend photo into the navy column; no visible seam */
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(20,28,40,0.55) 18%, rgba(20,28,40,0) 42%),
              linear-gradient(0deg, rgba(15,22,34,0.55) 0%, rgba(15,22,34,0) 30%);
}
.next-up {
  margin-top: 52px; border-top: 1px solid var(--rule-navy); padding-top: 22px;
  display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: baseline; max-width: 460px;
}
.next-up .label { grid-column: 1 / -1; font: 500 0.66rem var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); }
.next-up .date { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: #fff; }
.next-up .date small { display: block; font: 500 0.66rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-navy-dim); margin-top: 6px; }
.next-up .what { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: #fff; line-height: 1.25; }
.next-up .what span { display: block; font: 300 0.88rem/1.5 var(--sans); font-style: normal; color: var(--on-navy-dim); margin-top: 4px; }
.next-up a { color: var(--gold-light); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; min-height: 0; aspect-ratio: 4 / 4.2; }
  .hero-photo::before { background: linear-gradient(0deg, var(--navy) 0%, rgba(20,28,40,0.4) 22%, rgba(20,28,40,0) 50%); }
  .hero-copy { padding-top: 8px; margin-top: -90px; }
}

/* ── Page header (inner pages) ── */
.page-head { background: var(--navy); color: var(--on-navy); padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.page-head::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid var(--rule-navy); }
.page-head h1 { color: #fff; font-weight: 300; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-head h1 em { color: var(--gold-light); }
.page-head p { color: var(--on-navy-dim); max-width: 58ch; margin-top: 20px; font-size: 1.1rem; }

/* ── Sections ── */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.tight { padding: clamp(48px, 7vw, 80px) 0; }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: var(--on-navy); }
.section.navy h2, .section.navy h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.two-col { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Credits strip */
.credits { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 28px 0; }
.credits ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; }
.credits li { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); letter-spacing: 0.02em; }
.credits li::before { content: '·'; color: var(--gold); margin-right: 14px; }
.credits p { text-align: center; font: 500 0.66rem var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-light); margin-bottom: 14px; }

/* Quote */
.quote { text-align: center; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.35; font-style: italic; color: #fff; max-width: 32ch; margin: 0 auto; }
.quote blockquote::before { content: '“'; display: block; font-size: 4rem; line-height: 0.6; color: var(--gold); margin-bottom: 18px; font-style: normal; }
.quote cite { display: block; margin-top: 26px; font: 500 0.7rem var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); font-style: normal; }

/* ── Programme list (performances) ── */
.programme { list-style: none; border-top: 1px solid var(--rule); }
.programme li { display: grid; grid-template-columns: 150px 1fr auto; gap: 8px 40px; padding: 34px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.programme .when { font-family: var(--serif); color: var(--ink); font-size: 1.9rem; line-height: 1; }
.programme .when small { display: block; font: 500 0.66rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); margin-top: 8px; }
.programme .work { font-family: var(--serif); font-size: 1.7rem; font-style: italic; color: var(--ink); line-height: 1.2; }
.programme .detail { margin-top: 8px; font-size: 0.95rem; color: var(--text); }
.programme .role { display: inline-block; margin-top: 10px; font: 500 0.64rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.programme .act { align-self: center; }
@media (max-width: 760px) {
  .programme li { grid-template-columns: 1fr; }
  .programme .act { align-self: start; margin-top: 8px; }
}

/* ── Repertoire index ── */
.rep-group + .rep-group { margin-top: clamp(48px, 6vw, 72px); }
.rep-group h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.rep-group > p { color: var(--text-light); margin-bottom: 22px; font-size: 0.95rem; }
.rep { list-style: none; border-top: 1px solid var(--rule); }
.rep li { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); gap: 4px 28px; padding: 16px 0; border-bottom: 1px dotted var(--rule); align-items: baseline; }
.rep .composer { font: 500 0.74rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-light); }
.rep .title { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); line-height: 1.3; }
.rep .title .note { color: var(--text-light); font-size: 1.05rem; font-style: italic; }
.tag { font: 500 0.6rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--rule); color: var(--text-light); white-space: nowrap; }
.tag.performed { border-color: var(--gold); color: var(--gold); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-bottom: 40px; font-size: 0.9rem; color: var(--text-light); }
@media (max-width: 640px) { .rep li { grid-template-columns: 1fr; } }

/* ── Cards ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.card { background: var(--paper); padding: 40px 34px; display: flex; flex-direction: column; gap: 14px; }
.card .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.card h3 { font-size: 1.7rem; }
.card p { font-size: 0.98rem; flex: 1; }
.section.cream .card { background: var(--cream); }
.section.navy .cards { background: var(--rule-navy); border-color: var(--rule-navy); }
.section.navy .card { background: var(--navy); }
.section.navy .card p { color: var(--on-navy-dim); }

/* ── Media ── */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .4s; }
.yt:hover img { opacity: 1; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(15,22,34,.55); backdrop-filter: blur(4px); transition: background .3s, transform .4s var(--ease); }
.yt .play::after { content: ''; position: absolute; left: 32px; top: 26px; border-style: solid; border-width: 13px 0 13px 20px; border-color: transparent transparent transparent #fff; }
.yt:hover .play { background: var(--gold); transform: scale(1.06); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 760px) { .media-grid { grid-template-columns: 1fr; } }
.media-item figcaption { margin-top: 14px; }
.media-item .work { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ink); }
.media-item .detail { font-size: 0.9rem; color: var(--text-light); }
.section.navy .media-item .work { color: #fff; }
.section.navy .media-item .detail { color: var(--on-navy-dim); }
.audio iframe { width: 100%; height: 166px; border: 0; }

/* ── Press kit ── */
.bio-block { border: 1px solid var(--rule); padding: 30px; background: #fff; position: relative; }
.bio-block + .bio-block { margin-top: 24px; }
.bio-block h3 { font-size: 1.2rem; margin-bottom: 12px; }
.bio-block .copy-btn { position: absolute; top: 24px; right: 24px; font: 500 0.62rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; background: none; border: 1px solid var(--rule); padding: 8px 12px; cursor: pointer; color: var(--text-light); }
.bio-block .copy-btn:hover { border-color: var(--gold); color: var(--gold); }
.facts { list-style: none; }
.facts li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 0.98rem; }
.facts li b { font: 500 0.68rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-light); padding-top: 4px; }

/* ── Contact ── */
.contact-form { display: grid; gap: 16px; }
.contact-form label { font: 500 0.66rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); display: grid; gap: 8px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 300 1rem var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--rule);
  padding: 14px 16px; border-radius: 0; width: 100%; transition: border-color .3s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.direct { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); word-break: break-all; }

/* CTA band */
.cta-band { background: var(--navy-deep); color: var(--on-navy); text-align: center; padding: clamp(72px, 9vw, 112px) 0; }
.cta-band h2 { color: #fff; font-weight: 300; margin-bottom: 18px; }
.cta-band h2 em { color: var(--gold-light); }
.cta-band p { color: var(--on-navy-dim); max-width: 52ch; margin: 0 auto 34px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-dim); border-top: 1px solid var(--rule-navy); padding: 48px 0 40px; font-size: 0.88rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--on-navy-dim); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* Draft markers: content Zach still needs to supply. Remove before launch. */
.todo { outline: 1.5px dashed #d08a2c; outline-offset: 4px; position: relative; cursor: help; }
.todo-block { outline-offset: 8px; margin-top: 18px; }
.todo-block::after {
  content: attr(data-todo); position: absolute; top: -20px; right: -8px;
  font: 600 0.58rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  background: #d08a2c; color: #fff; padding: 4px 7px;
}
.todo-inline::after {
  content: '?'; position: absolute; top: -9px; right: -11px; width: 15px; height: 15px; border-radius: 50%;
  background: #d08a2c; color: #fff; font: 700 10px/15px var(--sans); text-align: center; font-style: normal;
}
.draft-bar { background: #d08a2c; color: #fff; text-align: center; font: 500 0.78rem/1.4 var(--sans); padding: 9px 16px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.rep-group h2 + .rep { margin-top: 22px; }
