/*
Theme Name: Balachandra Prabhu
Theme URI: https://www.balachandraprabhu.com/
Author: Balachandra Prabhu
Description: A bespoke, responsive WordPress theme for Hindustani classical vocalist Balachandra Prabhu, adapted from the approved static website design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: balachandra-prabhu
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --ink: #1d1720;
  --paper: #f7f2e8;
  --paper-deep: #eee5d5;
  --plum: #241027;
  --plum-soft: #351539;
  --wine: #741f3b;
  --gold: #dca63b;
  --gold-light: #f0cc7d;
  --teal: #266e73;
  --white: #fffdf8;
  --muted: #6f6670;
  --line: rgba(36, 16, 39, 0.14);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --shadow: 0 24px 70px rgba(24, 8, 27, 0.2);
  --radius: 1.25rem;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--plum);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: var(--gold); color: var(--plum); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.65rem 1rem;
  background: var(--white);
  color: var(--plum);
  border-radius: 0.4rem;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}
.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }
.section-light { background: var(--paper); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
h1 { margin-bottom: 1.65rem; font-size: clamp(3.1rem, 7vw, 6.3rem); }
h2 { margin-bottom: 1.5rem; font-size: clamp(2.6rem, 5vw, 4.8rem); }
h3 { line-height: 1.25; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow > span { width: 2.5rem; height: 1px; background: currentColor; }
.eyebrow-dark { color: var(--wine); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.site-header.is-scrolled {
  background: rgba(36, 16, 39, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 35px rgba(12, 4, 13, 0.25);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid rgba(240, 204, 125, 0.6);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-family: var(--serif); font-size: 1.06rem; letter-spacing: 0.02em; }
.brand-copy small { margin-top: 0.18rem; color: rgba(255, 253, 248, 0.62); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2rem); }
.site-nav a {
  position: relative;
  color: rgba(255, 253, 248, 0.8);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.site-nav a:not(.nav-cta)::after {
  position: absolute;
  content: "";
  left: 0;
  right: 100%;
  bottom: -0.45rem;
  height: 1px;
  background: var(--gold-light);
  transition: right 180ms ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--white); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-cta { padding: 0.7rem 1.05rem; border: 1px solid rgba(240, 204, 125, 0.6); border-radius: 99px; }
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--plum) !important; }
.nav-toggle { display: none; width: 2.8rem; height: 2.8rem; padding: 0.75rem; border: 0; background: transparent; color: var(--white); }
.nav-toggle span:not(.sr-only) { display: block; height: 1px; margin: 0.28rem 0; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: start;
  padding: 58svh 0 4.5rem;
  background: #09070f;
  color: var(--white);
}
.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 3%;
  filter: saturate(0.88) contrast(1.03);
  transform: scale(1.002);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(9, 5, 12, 0.9) 0%, rgba(12, 7, 18, 0.58) 52%, rgba(7, 4, 10, 0.08) 78%),
    linear-gradient(90deg, rgba(11, 6, 17, 0.2), rgba(18, 8, 24, 0.08) 50%, rgba(10, 6, 15, 0.2));
  pointer-events: none;
}
.hero::after {
  position: absolute;
  content: "";
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2.5rem), 1320px);
}
.hero-copy {
  max-width: min(64rem, 100%);
  margin-inline: auto;
  text-align: center;
}
.hero-copy .eyebrow { justify-content: center; }
.hero h1 {
  max-width: none;
  margin-bottom: 1.25rem;
  font-size: clamp(3.4rem, 6.5vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  white-space: nowrap;
  text-shadow: 0 10px 45px rgba(0, 0, 0, 0.35);
}
.hero h1 span, .hero h1 em { display: inline; }
.hero h1 em { margin-left: 0; color: inherit; font-weight: 400; }
.hero-lede { max-width: 39rem; margin: 0 auto 1.8rem; color: rgba(255, 253, 248, 0.76); font-size: clamp(1rem, 1.45vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 99px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--plum); }
.button-primary:hover { background: var(--gold-light); }
.button-ghost { border-color: rgba(255, 255, 255, 0.24); color: var(--white); }
.button-ghost:hover { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.06); }
.hero-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.8rem;
}
.hero-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}
.hero-socials a:hover, .hero-socials a:focus-visible { color: var(--gold-light); transform: translateY(-2px); }
.hero-socials svg { width: 1.05rem; height: 1.05rem; fill: currentColor; flex: 0 0 auto; }
.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 1.4rem;
  right: max(1.25rem, calc((100vw - 1320px) / 2));
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}
.scroll-cue span { display: block; width: 1px; height: 2.2rem; background: linear-gradient(var(--gold-light), transparent); }

.split-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); }
.section-intro p:not(.eyebrow) { max-width: 27rem; color: var(--muted); }
.prose { max-width: 48rem; }
.prose p { color: #534b53; font-family: var(--serif); font-size: 1.04rem; }
.prose .lead { color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 1rem; color: var(--wine); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; }
.text-link::after { content: ""; position: absolute; }
.text-link:hover { color: var(--teal); }

.lineage { background: var(--plum-soft); color: var(--white); }
.section-heading { max-width: 49rem; margin-bottom: clamp(2.6rem, 5vw, 4.5rem); }
.section-heading > p:last-child { max-width: 38rem; color: rgba(255, 253, 248, 0.6); }
.lineage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; background: rgba(255, 255, 255, 0.11); }
.lineage-card { position: relative; min-height: 22rem; padding: 2rem; background: var(--plum-soft); }
.lineage-card::after { position: absolute; content: ""; inset: auto 0 0; height: 0; background: rgba(220, 166, 59, 0.08); transition: height 250ms ease; }
.lineage-card:hover::after { height: 100%; }
.lineage-card > * { position: relative; z-index: 1; }
.card-number { color: rgba(255, 255, 255, 0.18); font-family: var(--serif); font-size: 2.3rem; }
.card-kicker { margin: 4rem 0 0.65rem; color: var(--gold-light); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.lineage-card h3 { margin-bottom: 1rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.lineage-card > p:last-child { margin: 0; color: rgba(255, 255, 255, 0.55); font-size: 0.86rem; }

.achievement-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); }
.timeline { border-top: 1px solid var(--line); }
.timeline article { display: grid; grid-template-columns: 6rem 1fr; gap: 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.timeline time, .time-text { padding-top: 0.15rem; color: var(--wine); font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }
.timeline h3 { margin-bottom: 0.4rem; font-family: var(--serif); font-size: 1.25rem; }
.timeline p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.music { background: #141116; color: var(--white); }
.music::before { content: ""; position: absolute; }
.music-heading { margin-inline: auto; text-align: center; }
.music-heading .eyebrow { justify-content: center; }
.music-heading > p:last-child { margin-inline: auto; }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.platform-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  min-height: 7.5rem;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 1rem;
  color: var(--white);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.platform-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.035); }
.platform-icon { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); font-family: var(--serif); font-size: 1.25rem; }
.platform-card small, .platform-card strong { display: block; }
.platform-card small { margin-bottom: 0.2rem; color: rgba(255, 255, 255, 0.45); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; }
.platform-card strong { font-size: 0.96rem; }
.platform-arrow { color: rgba(255, 255, 255, 0.36); }
.youtube .platform-icon { color: #ff4a50; }
.spotify .platform-icon { color: #46d477; }
.amazon .platform-icon { color: #59b8e8; font-weight: 700; }
.apple .platform-icon { color: #f5b1c5; }
.repertoire { margin-top: 4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.repertoire-label { color: var(--gold-light); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.repertoire ul { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.repertoire li { display: flex; gap: 1rem; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.09); font-family: var(--serif); font-size: 1.05rem; }
.repertoire li span { color: rgba(255, 255, 255, 0.25); font-family: var(--sans); font-size: 0.68rem; }

.section-heading-dark > p:last-child { color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 17rem; gap: 1rem; }
.gallery-item { position: relative; grid-column: span 4; overflow: hidden; margin: 0; padding: 0; border: 0; border-radius: 0.75rem; background: var(--paper-deep); cursor: zoom-in; }
.gallery-item-wide { grid-column: span 8; }
.gallery-item-tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.75,.2,1), filter 400ms ease; }
.gallery-item:hover img { transform: scale(1.035); filter: saturate(1.08); }
.gallery-item:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.gallery-item:nth-child(2) img { object-position: 50% 22%; }
.gallery-item:nth-child(3) img { object-position: 50% 28%; }
.gallery-item:nth-child(4) img { object-position: 50% 21%; }
.gallery-item:nth-child(5) img { object-position: 50% 29%; }
.lightbox {
  width: min(90vw, 70rem);
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(10, 4, 11, 0.9); backdrop-filter: blur(8px); }
.lightbox img { max-width: 100%; max-height: 88vh; margin: auto; border-radius: 0.75rem; box-shadow: var(--shadow); }
.lightbox-close { position: absolute; z-index: 2; top: -2.75rem; right: 0; width: 2.3rem; height: 2.3rem; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; background: rgba(0, 0, 0, 0.4); color: var(--white); cursor: pointer; font-size: 1.45rem; line-height: 1; }

.press-kit { background: linear-gradient(135deg, var(--plum-soft), var(--plum)); color: var(--white); }
.press-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: clamp(3rem, 8vw, 8rem); }
.press-copy > p:not(.eyebrow) { max-width: 40rem; color: rgba(255, 255, 255, 0.62); }
.press-actions { display: grid; gap: 0.75rem; margin-top: 2.4rem; }
.download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.8rem;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.download-card:hover { transform: translateX(4px); border-color: rgba(240, 204, 125, 0.45); background: rgba(255, 255, 255, 0.04); }
.file-icon { display: grid; width: 3rem; height: 3.4rem; place-items: center; border-radius: 0.3rem; background: var(--wine); color: var(--white); font-size: 0.64rem; font-weight: 900; letter-spacing: 0.06em; }
.download-card strong, .download-card small { display: block; }
.download-card strong { font-family: var(--serif); font-size: 1.05rem; }
.download-card small { margin-top: 0.18rem; color: rgba(255, 255, 255, 0.44); font-size: 0.7rem; }
.download-arrow { color: var(--gold-light); font-size: 1.3rem; }
.rider-summary { padding: clamp(1.8rem, 4vw, 3rem); border: 1px solid rgba(240, 204, 125, 0.28); background: rgba(255, 255, 255, 0.035); }
.summary-tag { color: var(--gold-light); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.rider-summary h3 { margin: 0.8rem 0 1.6rem; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.rider-summary dl { margin: 0; }
.rider-summary dl div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.rider-summary dt { color: rgba(255, 255, 255, 0.42); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.rider-summary dd { margin: 0; font-size: 0.88rem; }
.rider-summary > p { margin: 1.3rem 0 0; color: rgba(255, 255, 255, 0.4); font-size: 0.72rem; font-style: italic; }

.contact { position: relative; overflow: hidden; background: var(--wine); color: var(--white); }
.contact-pattern { position: absolute; inset: 0; opacity: 0.18; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.5) 1px, transparent 0); background-size: 28px 28px; mask-image: linear-gradient(to right, transparent, black); }
.contact-inner { position: relative; display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: end; gap: clamp(3rem, 8vw, 8rem); }
.contact-inner > div:first-child > p:last-child { max-width: 36rem; color: rgba(255, 255, 255, 0.65); }
.contact-links { border-top: 1px solid rgba(255, 255, 255, 0.25); }
.contact-links a { display: grid; grid-template-columns: 6rem 1fr auto; align-items: center; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.25); text-decoration: none; }
.contact-links small { color: rgba(255, 255, 255, 0.48); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-links strong { overflow-wrap: anywhere; font-family: var(--serif); font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 400; }
.contact-links a span { color: var(--gold-light); transition: transform 180ms ease; }
.contact-links a:hover span { transform: translate(3px, -3px); }

.site-footer { padding: 2rem 0; background: #100b11; color: var(--white); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand-footer .brand-mark { width: 2.3rem; height: 2.3rem; }
.footer-inner > p { margin: 0; color: rgba(255, 255, 255, 0.42); font-size: 0.7rem; }
.footer-socials { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.footer-socials a { color: rgba(255, 255, 255, 0.58); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; }
.footer-socials a:hover, .footer-socials a:focus-visible { color: var(--gold-light); }
.back-to-top { color: rgba(255, 255, 255, 0.58); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; }
.back-to-top:hover { color: var(--gold-light); }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.75,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .reveal-delay-small { transition-delay: 80ms; }
.js .reveal-delay, .js .reveal-delay-medium { transition-delay: 150ms; }
.js .reveal-delay-large { transition-delay: 220ms; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 1000px) {
  .nav-toggle { display: block; z-index: 2; }
  .site-nav {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1.3rem;
    background: rgba(36, 16, 39, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .site-nav a { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
  .nav-cta { margin-top: 0.4rem; padding: 0.7rem 1.4rem; }
  .nav-open .site-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-open .nav-toggle span:nth-of-type(2) { transform: translateY(5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-of-type(3) { opacity: 0; }
  .nav-open .nav-toggle span:nth-of-type(4) { transform: translateY(-5px) rotate(-45deg); }
  .hero h1 { font-size: clamp(3.2rem, 7.8vw, 5.4rem); }
  .lineage-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-auto-rows: 15rem; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 4.5rem; }
  .container { width: min(calc(100% - 1.5rem), var(--container)); }
  .header-inner { min-height: 4.5rem; }
  .brand-copy small { display: none; }
  .hero { min-height: 100svh; padding: 47svh 0 4.2rem; }
  .hero-inner { width: min(calc(100% - 1.5rem), 1320px); }
  .hero-background { object-position: 58% 10%; }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(9, 5, 12, 0.94) 0%, rgba(12, 7, 18, 0.66) 43%, rgba(7, 4, 10, 0.15) 77%),
      linear-gradient(90deg, rgba(11, 6, 17, 0.34), transparent 72%);
  }
  .hero-copy { padding-top: 0; }
  .hero h1 { font-size: clamp(2.5rem, 10.5vw, 4.9rem); }
  .hero-lede { font-size: 1rem; }
  .scroll-cue { display: none; }
  .split-layout, .achievement-grid, .press-grid, .contact-inner { grid-template-columns: 1fr; }
  .lineage-grid { grid-template-columns: 1fr; }
  .lineage-card { min-height: auto; }
  .card-kicker { margin-top: 2rem; }
  .timeline article { grid-template-columns: 4.5rem 1fr; gap: 1rem; }
  .platform-grid { grid-template-columns: 1fr; }
  .repertoire ul { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 17rem; }
  .gallery-item, .gallery-item-wide { grid-column: span 1; }
  .gallery-item-tall { grid-row: span 2; }
  .gallery-item-wide:last-child { grid-column: span 2; }
  .contact-links a { grid-template-columns: 4.5rem 1fr auto; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding-block: 4.5rem; }
  h1 { font-size: 3.15rem; }
  h2 { font-size: 2.65rem; }
  .button { width: 100%; }
  .hero { padding-bottom: 3rem; }
  .hero-background { object-position: 53% 8%; }
  .hero h1 { font-size: clamp(2.15rem, 10.3vw, 3.1rem); }
  .hero-socials { gap: 0.8rem 1rem; }
  .hero-socials a { font-size: 0.61rem; }
  .gallery-grid { grid-auto-rows: 13rem; gap: 0.6rem; }
  .rider-summary dl div { grid-template-columns: 1fr; gap: 0.25rem; }
  .contact-links a { grid-template-columns: 1fr auto; gap: 0.2rem 0.8rem; }
  .contact-links small { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* WordPress integration */
.admin-bar .site-header { top: 32px; }
.wp-content-area { min-height: 70vh; padding-top: 8rem; }
.wp-content-area .entry-header { max-width: 52rem; margin-bottom: 2rem; }
.wp-content-area .entry-title { color: var(--plum); }
.wp-content-area .entry-content { max-width: 52rem; }
.wp-content-area .entry-content > * { max-width: 100%; }
.wp-content-area .entry-content a { color: var(--wine); }
.alignwide { width: min(100%, var(--container)); margin-inline: auto; }
.alignfull { width: 100%; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  z-index: 100000; top: 5px; left: 5px; width: auto; height: auto;
  padding: 15px 23px 14px; clip: auto !important;
  background: var(--white); color: var(--plum); font-weight: 700;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
