/* ==========================================================================
   prambachkirchen.net - Portal der musikalischen Projekte von Gerald Bauerecker
   Dunkles "Jazz-Club"-Design. Keine externen Ressourcen, keine Cookies.
   ========================================================================== */

/* --- Schriften (lokal gehostet, DSGVO-konform) --------------------------- */
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4-latin-wght-italic.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* --- Design-Tokens ------------------------------------------------------- */
:root {
  --bg: #0a0c10;
  --bg-elev: #11151c;
  --bg-elev-2: #171d26;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.20);
  --text: #ecebe6;
  --text-dim: #a3abb6;
  --brass: #e0a948;
  --brass-soft: #f2d49a;
  --brass-deep: #8a5f17;

  --font-display: 'Source Serif 4', ui-serif, Georgia, 'Times New Roman', serif;
  --font-label: 'Oswald', ui-sans-serif, 'Segoe UI', system-ui, sans-serif;
  --font-body: ui-sans-serif, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
}

/* --- Basis --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Feine Koernung ueber der ganzen Seite - gibt dem Dunkel Textur. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: var(--brass-soft);
  text-decoration-color: rgba(224, 169, 72, 0.4);
  text-underline-offset: 0.2em;
}
a:hover { color: var(--brass); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  background: var(--brass);
  color: #15100a;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

.eyebrow {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brass);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--brass), transparent);
  flex: none;
}

.lede {
  font-size: clamp(1.06rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 62ch;
  text-wrap: pretty;
}

/* --- Kopfzeile ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(10, 12, 16, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--brass-soft), var(--brass-deep));
  color: #1a1208;
  font-weight: 600;
  font-size: 0.8rem;
}
.brand-text small {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: var(--text-dim);
  font-weight: 300;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  padding: 0.6rem 0.7rem;
  font: inherit;
  cursor: pointer;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-family: var(--font-label);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.35rem 0;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover,
.site-nav a[aria-current='page'] { color: var(--text); }
.site-nav a:hover::after,
.site-nav a[aria-current='page']::after { transform: scaleX(1); }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(68svh, 620px);
  padding: clamp(5rem, 12vh, 7rem) 0 clamp(2.5rem, 6vh, 4rem);
  margin-top: -4.5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 42%;
  filter: saturate(0.9) contrast(1.06);
}
/* Drei Ebenen: links abdunkeln für den Text, Messing-Schimmer unten links,
   oben und unten in den Seitenhintergrund auslaufen. */
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 16, 0.82) 0%, rgba(10, 12, 16, 0.45) 45%,
      rgba(10, 12, 16, 0.12) 75%, transparent 100%),
    radial-gradient(70% 60% at 18% 85%, rgba(224, 169, 72, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(10, 12, 16, 0.78) 0%, rgba(10, 12, 16, 0.22) 30%,
      rgba(10, 12, 16, 0.68) 72%, var(--bg) 100%);
}
.hero-inner { max-width: 54rem; }
.hero h1 {
  font-size: clamp(2.2rem, 1.5rem + 3.6vw, 4rem);
  margin-bottom: 0.4em;
}
.hero h1 em {
  font-style: italic;
  color: var(--brass);
  font-weight: 500;
}
.hero .lede { color: #d4d8de; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--brass-soft), var(--brass));
  color: #1a1208;
}
.btn-primary:hover {
  color: #1a1208;
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--brass);
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-label);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --- Abschnitte ---------------------------------------------------------- */
.section { padding: clamp(4rem, 10vw, 7.5rem) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg), var(--bg-elev) 50%, var(--bg)); }

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.section-head h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.section-head-spaced { margin-top: clamp(3rem, 7vw, 5rem); }

/* --- Projekt-Karten ------------------------------------------------------ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}

.project {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.project:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 169, 72, 0.45);
  box-shadow: var(--shadow);
}
.project-figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elev-2);
}
.project-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.9);
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}
.project:hover .project-figure img {
  transform: scale(1.05);
  filter: saturate(1) brightness(1);
}
.project-body {
  padding: 1.5rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.7rem;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-family: var(--font-label);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tag {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  color: var(--text-dim);
}
.tag-role {
  border-color: rgba(224, 169, 72, 0.5);
  color: var(--brass);
}
.project h3 {
  font-size: 1.5rem;
  margin: 0;
}
.project h3 a {
  color: var(--text);
  text-decoration: none;
}
.project h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.project:hover h3 a { color: var(--brass-soft); }
.project p {
  color: var(--text-dim);
  font-size: 0.97rem;
  margin: 0;
}
.project-link {
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.project-link svg { transition: transform 0.3s var(--ease); }
.project:hover .project-link svg { transform: translate(3px, -3px); }

/* --- Weitere Formationen ------------------------------------------------- */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pill-list li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--text);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.pill-list li:has(a):hover {
  border-color: rgba(224, 169, 72, 0.5);
  background: rgba(224, 169, 72, 0.06);
}
.pill-list a {
  color: inherit;
  text-decoration: none;
}
.pill-list li:hover a { color: var(--brass-soft); }
.pill-list li span {
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 0.45rem;
}

/* --- Zweispaltiger Block ------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.split-media img {
  width: 100%;
  filter: saturate(0.95) contrast(1.03);
}
.split-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1.2rem 0.9rem;
  background: linear-gradient(transparent, rgba(10, 12, 16, 0.92));
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--brass);
  line-height: 1;
}
.stat span {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --- Inhaltsseiten ------------------------------------------------------- */
.page-header {
  padding: clamp(7rem, 16vh, 10rem) 0 clamp(2.5rem, 6vw, 4rem);
  margin-top: -4.5rem;
  background:
    radial-gradient(60% 100% at 10% 0%, rgba(224, 169, 72, 0.14), transparent 70%),
    var(--bg-elev);
  border-bottom: 1px solid var(--line);
}
.page-header h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); }

.breadcrumb {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li + li::before {
  content: '/';
  margin-right: 0.5rem;
  color: var(--brass);
}
.breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--brass); }

.prose { max-width: 44rem; }
.prose h2 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  margin-top: 2.8rem;
}
.prose h3 {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}
.prose ul {
  padding-left: 1.2rem;
  color: var(--text-dim);
}
.prose li { margin-bottom: 0.45rem; }

.note {
  border-left: 2px solid var(--brass);
  background: rgba(224, 169, 72, 0.06);
  padding: 1rem 1.3rem;
  border-radius: 0 8px 8px 0;
  color: var(--text-dim);
  margin: 1.5rem 0 2rem;
}

.data-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.6rem;
  margin: 1.2rem 0 2rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
}
.data-list dt {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-top: 0.25rem;
}
.data-list dd { margin: 0; }

/* --- Repertoire-Gruppen (Musikerseite) ----------------------------------- */
.repertoire {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.repertoire article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  padding: 1.6rem 1.5rem;
}
.repertoire h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.repertoire p {
  color: var(--text-dim);
  font-size: 0.95rem;
}
.repertoire ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.95rem;
}
.repertoire li {
  padding: 0.4rem 0;
  border-top: 1px solid var(--line);
}

/* --- Zeitleiste / Workshops ---------------------------------------------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.6rem;
  border-left: 1px solid var(--line);
}
.timeline li {
  position: relative;
  padding: 0 0 1.6rem;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: -1.95rem;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brass);
}
.timeline b {
  display: block;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.timeline p {
  margin: 0.25rem 0 0;
  color: var(--text-dim);
}

/* --- Kontakt-Panel ------------------------------------------------------- */
.contact-panel {
  border: 1px solid rgba(224, 169, 72, 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(224, 169, 72, 0.12), transparent 60%),
    var(--bg-elev);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.contact-channels a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--text);
}
.contact-channels a:hover { color: var(--brass); }
.contact-channels svg {
  color: var(--brass);
  flex: none;
}
.contact-address {
  color: var(--text-dim);
  font-size: 0.93rem;
  margin-top: 0.4rem;
}

/* --- Fusszeile ----------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
  padding: clamp(3rem, 7vw, 4.5rem) 0 2rem;
  font-size: 0.93rem;
  color: var(--text-dim);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 2.5rem;
}
.site-footer h2 {
  font-family: var(--font-label);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a {
  color: var(--text-dim);
  text-decoration: none;
}
.site-footer a:hover { color: var(--brass); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* --- Einblenden beim Scrollen -------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --- Responsiv ----------------------------------------------------------- */
@media (max-width: 860px) {
  /* Schmaler Schirm: der seitliche Verlauf wuerde das Bild ganz verschlucken,
     deshalb nur von oben und unten abdunkeln und auf die Band schwenken. */
  .hero-media img { object-position: 64% 26%; }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(10, 12, 16, 0.72) 0%, rgba(10, 12, 16, 0.58) 30%,
        rgba(10, 12, 16, 0.80) 70%, var(--bg) 100%);
  }

  .split { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 12, 16, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
  }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a {
    display: block;
    padding: 0.95rem 0;
    font-size: 0.95rem;
  }
}

@media (max-width: 520px) {
  .data-list { grid-template-columns: 1fr; }
  .data-list dd { margin-bottom: 0.6rem; }
}

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

@media print {
  body::after,
  .site-header,
  .hero-media { display: none; }
  body {
    background: #fff;
    color: #000;
  }
}
