@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --cream: #F7F4EF;
  --ink: #1A1814;
  --ink-soft: #4A4640;
  --ink-muted: #8A8480;
  --accent: #2D5FA6;
  --accent-warm: #C4622D;
  --rule: rgba(26,24,20,0.12);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------- Nav ---------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  border-bottom: 0.5px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 10;
}
.nav-name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-name .mark { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 640px) {
  nav { padding: 1rem 1.25rem; flex-wrap: wrap; row-gap: 0.6rem; }
  .nav-name { white-space: nowrap; }
  .nav-links { gap: 0.9rem; flex-wrap: wrap; width: 100%; }
  .nav-links a { font-size: 12.5px; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 460px;
  border-bottom: 0.5px solid var(--rule);
}
.hero-text {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 0.5px solid var(--rule);
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.1rem;
}
.hero-name {
  font-family: var(--serif);
  font-size: 60px;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero-name em { font-style: italic; color: var(--accent); }
.hero-desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 1.75rem;
}
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 100px;
  border: 0.5px solid var(--rule);
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  background: transparent;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.tag:hover { border-color: var(--ink-soft); color: var(--ink); }
.tag.accent { background: var(--accent); color: white; border-color: var(--accent); }
.tag.accent:hover { color: white; border-color: var(--accent); opacity: 0.9; }

.hero-visual {
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink) url('hero_piano.jpg') center 20% / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,9,7,0.92) 0%, rgba(10,9,7,0.55) 45%, rgba(10,9,7,0.08) 75%);
  z-index: 1;
}
.piano-keys {
  position: absolute; bottom: 0; left: 0; right: 0; height: 170px;
  display: flex; align-items: flex-end; padding: 0 2.5rem 2rem; opacity: 0.13;
}
.key-w { flex: 1; height: 130px; background: white; border-radius: 0 0 4px 4px; margin: 0 1px; }
.key-b { width: 30px; height: 78px; background: rgba(255,255,255,0.35); border-radius: 0 0 3px 3px; margin: 0 -15px; z-index: 1; position: relative; }
.hero-quote { position: relative; z-index: 2; }
.hero-quote-text { font-family: var(--serif); font-size: 24px; font-style: italic; color: white; line-height: 1.4; margin-bottom: 0.75rem; }
.hero-quote-source { font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; min-height: unset; }
  .hero-text { border-right: none; border-bottom: 0.5px solid var(--rule); padding: 2.75rem 1.5rem; }
  .hero-name { font-size: 44px; }
  .hero-visual { min-height: 220px; padding: 2rem 1.5rem; }
}

/* ---------- Highlights strip ---------- */
.highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 0.5px solid var(--rule);
}
.highlight {
  padding: 1.75rem 3rem;
  border-right: 0.5px solid var(--rule);
  display: flex;
  gap: 1.1rem;
  align-items: center;
}
.highlight-photo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 0.5px solid var(--rule);
}
.highlight:last-child { border-right: none; }
.highlight-icon {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--accent-warm);
  flex-shrink: 0;
  margin-top: 2px;
}
.highlight-label { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.highlight-body { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.highlight-body strong { font-weight: 500; color: var(--ink); }

@media (max-width: 800px) {
  .highlights { grid-template-columns: 1fr; }
  .highlight { border-right: none; border-bottom: 0.5px solid var(--rule); padding: 1.5rem; }
  .highlight:last-child { border-bottom: none; }
}

/* ---------- Section ---------- */
.section { padding: 3rem; border-bottom: 0.5px solid var(--rule); }
.section:last-of-type { border-bottom: none; }
.section-header { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2rem; }
.section-title { font-family: var(--serif); font-size: 30px; letter-spacing: -0.01em; color: var(--ink); }
.section-sub { font-size: 14.5px; color: var(--ink-soft); margin-top: -1.25rem; margin-bottom: 2rem; max-width: 560px; line-height: 1.65; }

@media (max-width: 800px) {
  .section { padding: 2.5rem 1.5rem; }
  .section-title { font-size: 24px; }
}

/* ---------- Repertoire grid ---------- */
.repertoire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 0.5px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.piece { padding: 1.1rem 1.4rem; border-bottom: 0.5px solid var(--rule); border-right: 0.5px solid var(--rule); transition: background 0.15s; }
.piece:hover { background: rgba(26,24,20,0.03); }
.piece:nth-child(even) { border-right: none; }
.piece:nth-last-child(-n+2) { border-bottom: none; }
.piece-composer { font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.piece-title { font-family: var(--serif); font-size: 16px; color: var(--ink); line-height: 1.3; margin-bottom: 2px; }
.piece-note { font-size: 12.5px; color: var(--ink-muted); }
.piece-note.upcoming { color: var(--accent-warm); font-style: italic; }

@media (max-width: 640px) {
  .repertoire-grid { grid-template-columns: 1fr; }
  .piece { border-right: none !important; }
}

/* ---------- Video grid (music page) ---------- */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; }
.video-card.featured { grid-column: 1 / -1; }
.video-card.featured .video-frame { max-width: 640px; margin: 0 auto 0.85rem; }
.video-card { display: flex; flex-direction: column; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--ink); margin-bottom: 0.85rem; border: 0.5px solid var(--rule); }
.video-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-frame img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(10,9,7,0.65); border: 1.5px solid rgba(255,255,255,0.85);
  color: white; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding-left: 3px; transition: background 0.2s, transform 0.2s;
}
.play-btn:hover { background: var(--accent); transform: translate(-50%, -50%) scale(1.06); }
.video-title { font-family: var(--serif); font-size: 17px; margin-bottom: 2px; }
.video-meta { font-size: 12.5px; color: var(--ink-muted); }
.video-desc { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; line-height: 1.5; }

@media (max-width: 700px) {
  .video-grid { grid-template-columns: 1fr; }
}

.archive-note {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 0.5px solid var(--rule);
  font-size: 14px;
  color: var(--ink-soft);
}
.archive-note a { color: var(--accent); text-decoration: none; border-bottom: 0.5px solid var(--accent); }

/* ---------- Elsewhere photo row ---------- */
.photo-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 560px; margin-top: 2rem; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; height: auto; border-radius: 10px; border: 0.5px solid var(--rule); display: block; object-fit: cover; aspect-ratio: 3 / 4; }
.photo-row figcaption { font-size: 12px; color: var(--ink-muted); margin-top: 0.5rem; letter-spacing: 0.02em; }

@media (max-width: 560px) {
  .photo-row { grid-template-columns: 1fr 1fr; max-width: 100%; }
}

/* ---------- About strip ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 260px; gap: 2.5rem; align-items: start; }
.about-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 0.5px solid var(--rule); border-radius: 10px; overflow: hidden; }
.about-item { padding: 1.75rem 1.5rem; border-right: 0.5px solid var(--rule); }
.about-item:last-child { border-right: none; }
.about-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.4rem; }
.about-value { font-family: var(--serif); font-size: 18px; color: var(--ink); line-height: 1.3; }
.about-sub { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }

@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-strip { grid-template-columns: 1fr; }
  .about-item { border-right: none; border-bottom: 0.5px solid var(--rule); }
  .about-item:last-child { border-bottom: none; }
}

/* ---------- Footer ---------- */
footer {
  padding: 1.75rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-name { font-family: var(--serif); font-size: 14px; color: var(--ink-muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 12.5px; color: var(--ink-muted); text-decoration: none; letter-spacing: 0.03em; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 640px) { footer { padding: 1.5rem; } }
