/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens ── */
:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Montserrat', 'Helvetica Neue', sans-serif;
  --color-ink:    #1a1a1a;
  --color-muted:  #888;
  --color-rule:   #e8e8e8;
  --color-bg:     #fff;
}

/* ── Base ── */
html { font-size: 16px; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  background: #e8e6e1;
}

a { color: var(--color-ink); text-decoration: none; }
a:hover { color: var(--color-muted); }

hr {
  border: none;
  border-top: 1px solid var(--color-rule);
  margin: 3rem 0;
}

/* ── Navigation ── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 40px;
  background: rgba(255, 255, 255, 0);
  transition: background 0.5s ease, padding 0.4s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

/* White text over hero image, reverts when nav scrolls */
#site-nav.hero-nav .site-name,
#site-nav.hero-nav .nav-links a { color: rgba(255,255,255,0.85); }
#site-nav.hero-nav .nav-links a::after { background: rgba(255,255,255,0.85); }
#site-nav.hero-nav.scrolled .site-name,
#site-nav.hero-nav.scrolled .nav-links a { color: var(--color-ink); }
#site-nav.hero-nav.scrolled .nav-links a::after { background: var(--color-ink); }

#site-nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  padding: 14px 40px;
  border-bottom-color: var(--color-rule);
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-name {
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-ink);
  transition: color 0.2s;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-ink);
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--color-ink);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--color-ink); }

/* ── Side scroll label ── */
.scroll-label {
  position: fixed;
  left: 32px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.scroll-label.visible { opacity: 1; }

/* ── Page layout ── */
.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 40px 100px;
}

/* ── Section title (large italic serif) ── */
h1.section-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(52px, 8vw, 90px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  text-align: center;
  margin: 80px 0 60px;
}

/* ── Subheadings ── */
h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  margin: 3rem 0 1.2rem;
  color: var(--color-ink);
}

h3, .works-category {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 60px 0 8px;
}

p { margin-bottom: 1.2rem; }

/* ── Scroll animations ── */
[data-scroll] { will-change: opacity, transform; }

[data-scroll="fade-up"] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll="fade"] {
  opacity: 0;
  transition: opacity 1.1s ease;
}

[data-scroll="slide-left"] {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Curtain reveal */
.curtain-wrap {
  position: relative;
  overflow: hidden;
}

.curtain-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-bg);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.curtain-wrap.revealed::after { transform: scaleX(0); }

/* Stagger children */
[data-scroll="stagger"] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Revealed states */
[data-scroll].revealed { opacity: 1; transform: none; }

[data-scroll="stagger"].revealed > * { opacity: 1; transform: none; }

[data-scroll="stagger"].revealed > *:nth-child(1)  { transition-delay: 0.00s; }
[data-scroll="stagger"].revealed > *:nth-child(2)  { transition-delay: 0.08s; }
[data-scroll="stagger"].revealed > *:nth-child(3)  { transition-delay: 0.16s; }
[data-scroll="stagger"].revealed > *:nth-child(4)  { transition-delay: 0.24s; }
[data-scroll="stagger"].revealed > *:nth-child(5)  { transition-delay: 0.32s; }
[data-scroll="stagger"].revealed > *:nth-child(6)  { transition-delay: 0.40s; }
[data-scroll="stagger"].revealed > *:nth-child(7)  { transition-delay: 0.48s; }
[data-scroll="stagger"].revealed > *:nth-child(8)  { transition-delay: 0.56s; }
[data-scroll="stagger"].revealed > *:nth-child(9)  { transition-delay: 0.64s; }
[data-scroll="stagger"].revealed > *:nth-child(n+10) { transition-delay: 0.72s; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(20%) brightness(0.72);
  background: #1a1a1a;
}

.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-text.revealed { opacity: 1; transform: none; }

.hero-text h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0;
}

.hero-text h1 em { font-style: italic; }

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 24px;
  opacity: 0.85;
}

.hero-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: cue-bounce 2.4s ease-in-out infinite;
}

.hero-cue::after {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.35);
}

@keyframes cue-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── BIO PAGE ── */
.bio-text-photo {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

.bio-photo img {
  width: 100%;
  filter: grayscale(15%);
}

/* ── Education ── */
.edu-list {
  list-style: none;
  margin: 0 0 2rem;
}

.edu-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-rule);
  font-size: 12px;
  line-height: 1.6;
}

.edu-list .years { color: var(--color-muted); font-variant-numeric: tabular-nums; }
.edu-list .inst { font-weight: 400; display: block; }
.edu-list .degree { color: #666; font-size: 11px; display: block; margin-top: 2px; }

/* ── Awards ── */
.award-list {
  list-style: none;
  margin: 0 0 2rem;
}

.award-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-rule);
  font-size: 12px;
}

.award-list .yr {
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

/* ── Memberships ── */
.member-list {
  list-style: none;
  margin: 0 0 2rem;
}

.member-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-rule);
  font-size: 12px;
}

/* ── WORKS PAGE ── */
.works-list {
  list-style: none;
  padding: 0;
  margin: 0 0 60px;
}

.work-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-rule);
  gap: 20px;
  transition: background 0.2s ease, padding-left 0.2s ease, padding-right 0.2s ease, margin 0.2s ease;
}

.work-item:first-child { border-top: 1px solid var(--color-rule); }

.work-item:hover {
  background: #fafafa;
  padding-left: 8px;
  padding-right: 8px;
  margin: 0 -8px;
}

.work-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  flex-shrink: 0;
}

.work-meta {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  text-align: right;
  line-height: 1.6;
}

/* ── RECORDINGS PAGE ── */
.album-list {
  display: flex;
  flex-direction: column;
}

.album-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-rule);
}

.album-item:first-child { border-top: 1px solid var(--color-rule); }

.album-item.placeholder {
  opacity: 0.28;
  pointer-events: none;
  filter: blur(0.3px);
}

.album-thumb {
  width: 64px;
  height: 64px;
  background: #ccc;
  flex-shrink: 0;
}

.album-title {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
}

.album-label {
  display: block;
  font-size: 11px;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ── CONTACT PAGE ── */
.contact-intro {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--color-ink);
}

.contact-email-link {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-rule);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.contact-email-link:hover {
  border-color: var(--color-ink);
  color: var(--color-ink);
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 60px 40px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #bbb;
  border-top: 1px solid var(--color-rule);
  margin-top: 100px;
}

.site-footer a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover { color: var(--color-ink); }

/* ── Float photos (editorial, bio page) ── */
.float-photo {
  margin: 0;
}

.float-photo.left {
  float: left;
  width: 220px;
  margin-right: 36px;
  margin-top: 4px;
  margin-bottom: 28px;
}

.float-photo.right {
  float: right;
  width: 220px;
  margin-left: 36px;
  margin-top: 4px;
  margin-bottom: 28px;
}

.float-photo img {
  width: 100%;
  filter: grayscale(15%);
  object-fit: cover;
}

.float-photo figcaption {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-top: 8px;
  text-align: center;
  line-height: 1.5;
}

.bio-clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* Large centered accent photo */
.bio-accent-photo {
  width: 100%;
  max-width: 500px;
  margin: 20px auto 60px;
  display: block;
}

.bio-accent-photo img {
  width: 100%;
  filter: grayscale(12%);
}

.bio-accent-photo figcaption {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-top: 10px;
  text-align: center;
}

/* ── PARALLAX BANDS ── */
.parallax-band {
  position: relative;
  height: 70vh;
  min-height: 400px;
  overflow: hidden;
}

.parallax-band img {
  position: absolute;
  left: 0;
  top: -15%;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
  background: #2a2a2a;
}

/* Subtle dark overlay so text sections breathe cleanly after the band */
.parallax-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(255,255,255,0.08) 0%,
    rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .scroll-label { display: none; }
}

@media (max-width: 680px) {
  #site-nav { padding: 16px 20px; }
  #site-nav.scrolled { padding: 12px 20px; }

  .page-content { padding: 100px 20px 60px; }

  h1.section-title { margin: 60px 0 40px; }

  .bio-text-photo {
    grid-template-columns: 1fr;
  }

  .bio-photo { order: -1; }

  .float-photo.left,
  .float-photo.right {
    float: none;
    width: 100%;
    margin: 0 0 24px 0;
  }

  .work-item { flex-direction: column; gap: 4px; }
  .work-meta { text-align: left; }

  .edu-list li { grid-template-columns: 80px 1fr; }

  .nav-links { gap: 20px; }
}

@media (max-width: 480px) {
  .nav-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .page-content { padding: 120px 16px 60px; }
}
