:root {
  --ink: #000000;
  --ink-soft: #4A4A4A;
  --cream: #F5F2EC;
  --accent: #4A2545;
  --line: rgba(0, 0, 0, 0.13);
  --line-on-ink: rgba(245, 242, 236, 0.2);

  --display: 'Playfair Display', Georgia, serif;
  --brand: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --body: 'Public Sans', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

/* Header / nav — big name treatment, shared by every page */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.97) 20%, rgba(0,0,0,0.95) 35%,
    rgba(0,0,0,0.92) 48%, rgba(0,0,0,0.85) 58%, rgba(0,0,0,0.72) 67%,
    rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.38) 82%, rgba(0,0,0,0.24) 88%,
    rgba(0,0,0,0.13) 93%, rgba(0,0,0,0.05) 97%, rgba(0,0,0,0) 100%);
  padding-bottom: 40px;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 56px) 0;
  max-width: var(--max); margin: 0 auto;
}
.brand-block { text-decoration: none; display: block; }
.brand-name {
  font-family: var(--brand); font-weight: 700; font-style: italic; color: var(--cream);
  font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.01em; line-height: 1;
  display: block; margin: 0;
}
.brand-tagline {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245,242,236,0.75); display: block; margin: 8px 0 0;
}
.nav-links { display: flex; gap: clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a:not(.btn) {
  text-decoration: none; font-size: 14px; font-weight: 500; color: rgba(245,242,236,0.82);
  position: relative; padding: 4px 0;
}
.nav-links a:not(.btn):hover, .nav-links a:not(.btn)[aria-current="page"] { color: var(--cream); }
.nav-links a:not(.btn)[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent);
}
/* Every button on the site is this same framed, uppercase mono label —
   the header Contact link's treatment, applied everywhere a button
   appears, not just in the nav. */
.btn {
  font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; background: transparent;
  padding: 12px 24px; border-radius: 3px; border: 1px solid var(--ink); color: var(--ink);
  display: inline-block; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-accent:hover, .btn-accent[aria-current="page"] {
  background: var(--accent); border-color: var(--accent); color: var(--cream);
}

/* Header Contact link: same framed label, adapted for the black nav
   background — cream border/text instead of ink. */
.nav-links .btn-accent {
  border-color: rgba(245,242,236,0.45); color: var(--cream);
}
.nav-links .btn-accent:hover, .nav-links .btn-accent[aria-current="page"] {
  background: var(--accent); border-color: var(--accent); color: var(--cream);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cream); margin: 5px 0; }
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 96px 0 auto 0; background: var(--cream);
    flex-direction: column; align-items: flex-start;
    padding: 20px clamp(20px, 5vw, 56px) 28px; border-bottom: 1px solid var(--line);
    display: none; gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links.open a:not(.btn) { color: var(--ink-soft); }
  .nav-links.open a:not(.btn):hover, .nav-links.open a:not(.btn)[aria-current="page"] { color: var(--ink); }
}

/* Homepage header only: absolute-positioned, blends into the hero photo below */
.site-header--home {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.75) 75%, rgba(0,0,0,0) 100%);
  padding-bottom: 0;
}
.site-header--home .nav { padding-top: 28px; padding-bottom: 48px; }
@media (max-width: 780px) {
  .site-header--home .nav { padding-bottom: 20px; }
}

/* In-content page title (replaces the old page-hero banner) */
.page-title {
  font-family: var(--display); font-weight: 600; color: var(--ink);
  font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.01em; margin: 0 0 40px;
}
.page-subtitle { color: var(--ink-soft); margin: -24px 0 40px; font-size: 1.05rem; max-width: 56ch; }

/* Hero: full-bleed photo, with a quote band across the bottom.
   .hero-wrap is the positioning context for the desktop overlay; on
   mobile the quote band is a plain sibling that flows below the photo
   instead of overlaying it, so the image always stays fully visible. */
.hero-wrap { position: relative; }
.hero {
  background-color: #000; background-size: cover; background-position: 75% 18%; background-repeat: no-repeat;
  min-height: 100vh; min-height: 100dvh;
}
@media (max-width: 780px) {
  .hero { min-height: 0; height: 55vh; height: 55dvh; }
}
.hero-quote-band {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: linear-gradient(0deg,
    rgba(0,0,0,1) 0%, rgba(0,0,0,1) 12%, rgba(0,0,0,0.85) 45%,
    rgba(0,0,0,0.6) 65%, rgba(0,0,0,0) 100%);
  padding: 88px clamp(20px, 5vw, 56px) 48px; margin: 0; text-align: center;
}
@media (max-width: 780px) {
  .hero-quote-band {
    position: static; background: #000;
    padding: 28px clamp(20px, 5vw, 56px) 36px;
  }
}
.hero-quote-band {
  font-family: var(--display); font-weight: 600; color: var(--cream);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem); line-height: 1.5;
}
.hero-quote-band cite {
  display: block; font-family: var(--mono); font-style: normal; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245,242,236,0.7); margin-top: 14px;
}

/* Testimonial (below the fold) */
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.testimonial-quote {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.5; color: var(--ink); margin: 0;
  border-left: 2px solid var(--accent); padding-left: 24px;
}
.testimonial-quote cite {
  display: block; font-family: var(--mono); font-style: normal; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 14px;
}
.testimonial-image img { width: 100%; border-radius: 4px; display: block; }
.slide-in-left { opacity: 0; transform: translateX(-64px); transition: opacity 0.7s ease, transform 0.7s ease; }
.slide-in-left.is-visible { opacity: 1; transform: translateX(0); }
@media (max-width: 860px) {
  .testimonial-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonial-image { order: -1; }
}

/* Contact: details beside the photo, whole section kept above the fold */
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-photo img {
  width: 100%; height: clamp(320px, 64vh, 640px); object-fit: cover; object-position: center 55%;
  border-radius: 4px; display: block;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-photo img { height: clamp(300px, 54vh, 540px); }
}

/* Sections */
section { padding: clamp(52px, 8vw, 88px) 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 40px; max-width: 62ch; }
.section-head h2 {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3.3vw, 2.4rem);
  margin: 14px 0 0; letter-spacing: -0.01em;
}
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 1.05rem; }
.prose { max-width: 70ch; }
.prose p { margin: 0 0 20px; color: var(--ink-soft); font-size: 1.02rem; }
.prose p:last-child { margin-bottom: 0; }

/* Bio layout */
.bio-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
@media (max-width: 780px) { .bio-grid { grid-template-columns: 1fr; } }
.bio-grid img { border-radius: 4px; width: 100%; }

/* Photo grid (Media page) */
.grid-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-tile {
  position: relative; display: block; overflow: hidden; border: 0; padding: 0; margin: 0;
  background: none; border-radius: 3px; cursor: pointer; width: 100%;
  opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s ease;
}
.photo-tile.is-visible { opacity: 1; transform: translateY(0); }
.photo-tile img { width: 100%; height: 260px; object-fit: cover; object-position: center 25%; border-radius: 3px; display: block; transition: transform 0.4s ease; }
.photo-tile:hover img, .photo-tile:focus-visible img { transform: scale(1.06); }
.photo-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 860px) {
  .grid-photos { grid-template-columns: repeat(2, 1fr); }
  .photo-tile img { height: 200px; }
}
.photo-credit { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); margin-top: 18px; }
.photo-credit a { text-decoration: underline; }

/* Lightbox (Media page) */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20, 26, 38, 0.94);
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; flex-direction: column; }
.lightbox-img { max-width: 90vw; max-height: 78vh; width: auto; height: auto; object-fit: contain; border-radius: 3px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-caption { color: var(--cream); font-family: var(--mono); font-size: 13px; text-align: center; margin: 16px 0 0; }
.lightbox-close, .lightbox-nav {
  position: absolute; background: none; border: 0; color: var(--cream);
  cursor: pointer; line-height: 1; transition: color 0.2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { color: var(--accent); }
.lightbox-close { top: 20px; right: 24px; font-size: 36px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 48px; padding: 8px 14px; }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
@media (max-width: 640px) {
  .lightbox { padding: 20px; }
  .lightbox-nav { font-size: 36px; }
  .lightbox-close { top: 10px; right: 14px; }
}

/* Repertoire */
.rep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.rep-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.rep-card h2 {
  font-family: var(--display); font-weight: 600; font-size: 1.25rem; margin: 0 0 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.rep-year { margin-bottom: 14px; }
.rep-year:last-child { margin-bottom: 0; }
.rep-year .y {
  font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.05em; display: block; margin-bottom: 4px;
}
.rep-year .items { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.7; }
.rep-year .items a { text-decoration: underline; text-decoration-color: var(--line); }
.rep-year .items a:hover { color: var(--ink); }

@media (min-width: 1024px) {
  .rep-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .rep-card { padding: 20px; }
  .rep-card h2 { font-size: 1.05rem; margin-bottom: 14px; padding-bottom: 12px; }
  .rep-year { margin-bottom: 12px; }
  .rep-year .y { font-size: 11px; }
  .rep-year .items { font-size: 0.85rem; line-height: 1.55; }
}

.btn-outline:hover, .btn-outline[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* Homepage: closing CTA pair, below the fold */
.home-cta .wrap { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* Contact */
.btn-lg { padding: 14px 30px; font-size: 12px; margin-bottom: 8px; }
.detail-list { list-style: none; margin: 32px 0 0; padding: 0; }
.detail-list li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 1.02rem; }
.detail-list li:last-child { border-bottom: 1px solid var(--line); }
.detail-list .k {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); width: 110px; flex-shrink: 0; padding-top: 3px;
}
.detail-list a { text-decoration: underline; text-decoration-color: var(--line); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(245,242,236,0.7); padding: 40px 0 32px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13.5px; }
.footer-row a { text-decoration: none; color: rgba(245,242,236,0.7); }
.footer-row a:hover { color: var(--cream); }
