/* ================================================================
   NIKOLAI JURETZKA – STATIC WEBSITE
   style.css
   ================================================================ */

/* ── Local Fonts ───────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  src: url('font/Inter/woff2/Inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('font/Cormorant_Garamond/woff2/CormorantGaramond-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('font/Cormorant_Garamond/woff2/CormorantGaramond-var-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
  --color-nav-bg:    #1e1e1e;
  --color-accent:    #c9a84c;
  --nav-height: 52px;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --section-max-width: 1200px;
  --easing: cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Type scale (1 rem = 16 px, anchored on html below) ─────── */
  /* fluid headings: clamp(min, preferred-vw, max)                 */
  --fs-h1:    clamp(2rem,    4.5vw, 3.5rem);   /* 32 – 56 px  */
  --fs-h2:    clamp(1.5rem,  2.8vw, 2.25rem);  /* 24 – 36 px  */
  --fs-h3:    clamp(1.2rem,  2vw,   1.75rem);  /* 19 – 28 px  */
  --fs-h4:    1.0625rem;                       /* 17 px       */
  --fs-lead:  1.125rem;                        /* 18 px       */
  --fs-base:  1rem;                            /* 16 px       */
  --fs-sm:    0.875rem;                        /* 14 px       */
  --fs-xs:    0.75rem;                         /* 12 px       */

  /* line-heights */
  --lh-heading: 1.15;
  --lh-body:    1.75;
  --lh-tight:   1.4;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; user-select: none; }
/* Anchor rem base: 1 rem = 16 px in every browser */
html, body { height: 100%; }
html { font-size: 16px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
audio { width: 100%; accent-color: var(--color-accent); }

/* ── Base ──────────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-body);
  color: #eee;
  background: #000;
  overflow: hidden;   /* page never scrolls; only slide-content scrolls */
  height: 100vh;
}

/* ── Fixed background ──────────────────────────────────────────── */
#bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-size: auto 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  opacity: 0;
}

/* ── Header ────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  z-index: 1000;
  transition: transform 0.35s ease;
  background: rgba(0,0,0,0.45);
}

.site-header.nav-hidden { transform: translateY(-100%); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #eee;
  padding: 0.4rem 0.65rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.nav-link--burger-only { display: none; }

/* ── Main (slide stage) ────────────────────────────────────────── */
main {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none; /* slides control their own pointer-events */
}

/* ── Slides ────────────────────────────────────────────────────── */
.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 0;
  will-change: transform;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.slide.is-leaving {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* ── Slide inner (single rail: hero + content move as one unit) ─── */
.slide-inner {
  position: absolute;
  left: 0; right: 0; top: 0;
  transition: transform 0.6s var(--easing);
}

.slide.content-shown .slide-inner {
  transform: translateY(-100vh);
  transform: translateY(-100dvh);
}

.slide.no-anim .slide-inner { transition: none !important; }

/* ── Slide hero (transparent full-viewport height) ─────────────── */
.slide-hero {
  --hero-light: #ddd;
  --hero-dark: #222;
  --hero-gold-light: #e5ce8a;
  --hero-gold-dark: #80601f;
  position: relative;
  visibility: hidden;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: flex-end;
}

.slide.is-active .slide-hero[data-hero-ready="true"] { visibility: visible; }
.slide.is-active:not(.content-shown) { transition: none; }

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.slide-title-wrap {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: min(100%, 52rem);
  padding: 2rem 2.5rem 2.5rem;
  text-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}


.slide-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: 750;
  letter-spacing: 0.015em;
  color: var(--hero-light);
  line-height: var(--lh-heading);
}

.slide-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-h3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hero-gold-light);
}

/* Select gray lettering from the visible photo behind the title. */
.slide-title[data-hero-tone="dark"] {
  color: var(--hero-dark);
}

.slide-subtitle[data-hero-tone="dark"] {
  color: var(--hero-gold-dark);
}

/* Keep the lettering sharp above each text's own photo treatment. */
.slide-title, .slide-subtitle {
  position: relative;
  z-index: 0;
  -webkit-text-stroke: 0;
  background-color: transparent;
  background-image: none;
  -webkit-text-fill-color: currentColor;
  box-shadow: none;
  text-shadow: none;
  filter: none;
}

.slide-heading-block {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 100%;
  font-size: var(--fs-h3);
}

.slide-hero-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.4rem;
  margin-top: 0.3rem;
}
.slide-hero-cat {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hero-ink, #fffaf0);
  cursor: pointer;
  padding: 0.2rem 0.6rem;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
}

.slide-hero-cat:hover, .slide-hero-cat:focus-visible {
  border-color: currentColor;
  text-decoration: underline;
}

/* Category links retain their adaptive contrast against the visible photo crop. */
.hero-ink, .hero-ink * {
  color: var(--hero-ink, #fffaf0) !important;
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.hero-ink {
  background: var(--hero-wash, rgba(0,0,0,0.3));
  box-shadow: 0 0 3px 1px var(--hero-wash, rgba(0,0,0,0.3));
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ── Slide content ─────────────────────────────────────────────── */
.slide-content {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(0, 0, 0, 0.82);
  padding: calc(var(--nav-height) + 1rem) 2rem 4rem;
}

/* category nav */
.cat-nav {
  display: flex;
  overflow-x: auto;
  padding: 0 0 0.4rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,168,76,0.25);
}

.cat-nav-btn {
  padding: 0.4rem 1rem;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-lead);
  color: #aaa;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.cat-nav-btn:hover { color: #ddd; }
.cat-nav-btn.active { color: var(--color-accent); border-bottom-color: var(--color-accent); }

/* body layout */
.slide-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  max-width: var(--section-max-width);
  margin: 0 auto;
}

.slide-body > * { min-width: 0; }

/* text */
.slide-text { overflow-wrap: break-word; }

.slide-text h1 { font-family: var(--font-heading); font-size: var(--fs-h1); font-weight: 700; line-height: var(--lh-heading); margin-bottom: 1.2rem; color: #eee; }
.slide-text h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  color: #eee;
  position: relative;
}
.slide-text h3 { font-family: var(--font-heading); font-size: var(--fs-h3); font-weight: 600; line-height: var(--lh-tight); margin-bottom: 0.9rem; color: #eee; }
.slide-text h4 { font-family: var(--font-body);    font-size: var(--fs-h4); font-weight: 700; line-height: var(--lh-tight); margin-bottom: 0.7rem; color: #eee; }
.slide-text h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 3px;
  background: var(--color-accent);
}
.slide-text p { font-size: var(--fs-base); margin-bottom: 0.9rem; color: #ddd; line-height: var(--lh-body); }
.slide-text ul { margin: 0.8rem 0 1.2rem; }
.slide-text ul li {
  padding: 0.25rem 0 0.25rem 1.2rem;
  position: relative;
  color: #ddd;
  font-size: var(--fs-base);
  line-height: var(--lh-body);
}
.slide-text ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.press-quotes {
  border-left: 3px solid var(--color-accent);
  padding: 0.7rem 1rem;
  margin: 0 0 1.2rem;
  font-style: italic;
  font-size: var(--fs-sm);
  color: #aaa;
  line-height: var(--lh-body);
  background: rgba(201,168,76,0.05);
  border-radius: 0 3px 3px 0;
}

.person-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  font-style: italic;
  color: var(--color-accent);
  margin: 1.4rem 0 0.3rem;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding-bottom: 0.2rem;
}

/* audio */
.audio-player {
  border-left: 3px solid var(--color-accent);
  padding: 0.7rem 1rem;
  background: rgba(201,168,76,0.06);
  border-radius: 0 4px 4px 0;
  margin-bottom: 0.9rem;
}
.audio-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}
.yt-player:not([hidden]) { margin-bottom: 0.75rem; }
.yt-player iframe { display: block; width: 100%; min-height: 200px; border: 0; }
.yt-status { font-size: var(--fs-xs); }
.yt-status:empty { display: none; }
.yt-play-btn:disabled { cursor: wait; opacity: 0.6; }
.yt-custom-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.yt-play-btn {
  flex-shrink: 0;
  background: none;
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  font-size: var(--fs-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
  line-height: 1;
}
.yt-play-btn:hover { background: var(--color-accent); color: #000; }
.yt-time {
  flex-shrink: 0;
  font-size: var(--fs-xs);
  color: #aaa;
  font-variant-numeric: tabular-nums;
  min-width: 2.4rem;
  text-align: center;
}
.yt-seek {
  flex: 1;
  height: 3px;
  accent-color: var(--color-accent);
  cursor: pointer;
  min-width: 0;
}

/* photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-content: start;
  align-items: start;
}
.photo-item {
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.photo-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.photo-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.4s; }
.photo-item:hover img { transform: scale(1.04); }
.photo-item--wide { grid-column: 1 / -1; }
.photo-item--wide img { aspect-ratio: 16 / 9; }
/* Originals keep their proportions; sparse grid placement preserves media order. */
.photo-item--original img { display: block; height: auto; aspect-ratio: auto; object-fit: contain; }
.photo-item--original:hover img { transform: none; }
.photo-grid > .audio-player { grid-column: 1 / -1; min-width: 0; }
.photo-grid audio { max-width: 100%; }

.photo-caption { font-size: var(--fs-xs); color: #777; text-align: center; padding: 0.3rem 0.3rem 0.3rem; }

.play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  pointer-events: none;
}
/* ── Nav separator (burger menu only) ──────────────────────────── */
.nav-sep {
  display: none; /* hidden in desktop nav */
  height: 1px;
  background: rgba(255,255,255,0.13);
  margin: 0.35rem 1rem;
}

/* ── Simple page (generic) ────────────────────────────────────────── */
.simple-inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding-bottom: 3rem;
}
.simple-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: #eee;
  margin-bottom: 1rem;
  line-height: var(--lh-heading);
}
.simple-inner p { font-size: var(--fs-base); color: #ccc; line-height: var(--lh-body); margin-bottom: 0.8rem; }
.simple-inner h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: #eee;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.simple-inner a { color: var(--color-accent); transition: color 0.2s; }
.simple-inner a:hover { color: #fff; }

/* ── Referenzen page ─────────────────────────────────────────────── */
.referenzen-inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding-bottom: 3rem;
}
.referenzen-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: #eee;
  margin-bottom: 1rem;
  line-height: var(--lh-heading);
}

.client-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  list-style: none;
  margin-bottom: 1.5rem;
}
.client-grid li {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  line-height: 1.35;
  font-size: var(--fs-sm);
  color: #ccc;
}
/* suppress the gold-dot bullet that slide-text ul li::before would add */
.client-grid li::before { display: none !important; }

.referenzen-note {
  font-size: var(--fs-sm);
  color: #ccc;
  margin-top: 0.5rem;
}

/* ── Kontakt page ─────────────────────────────────────────────── */
.kontakt-inner {
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 3rem;
}
.kontakt-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: #eee;
  margin-bottom: 1rem;
  line-height: var(--lh-heading);
}
.kontakt-inner p {
  font-size: var(--fs-base);
  color: #ccc;
  line-height: var(--lh-body);
  margin-bottom: 0.8rem;
}
.kontakt-card {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--color-accent);
  background: rgba(201,168,76,0.06);
  border-radius: 0 6px 6px 0;
}
.kontakt-name {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: #eee !important;
  margin-bottom: 0.3rem !important;
}
.kontakt-card a {
  color: var(--color-accent);
  transition: color 0.2s;
}
.kontakt-card a:hover { color: #fff; }

/* Contact: one clear typographic scale for name, telephone and email. */
#kontakt .simple-inner { max-width: 800px; }
#kontakt .simple-title { margin-bottom: 1.25rem; }
#kontakt .simple-inner > p {
  max-width: 65ch;
  color: #bfc3c6;
  font-size: 1rem;
  line-height: 1.85;
}
#kontakt .kontakt-card {
  max-width: 36rem;
  margin-top: 2rem;
  padding: 1.5rem 0 0;
  border: 0;
  border-top: 1px solid #34434d;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
#kontakt .kontakt-card p {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: #eeefed;
  margin: 0;
}
#kontakt .kontakt-card .kontakt-name {
  padding-bottom: 0;
  margin-bottom: .6rem !important;
  border-bottom: 0;
}
#kontakt .kontakt-card a {
  display: inline-block;
  padding: .3rem 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(82,118,140,.5);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}
#kontakt .kontakt-card a:hover { color: #d8c184; text-decoration-color: currentColor; }
#kontakt .kontakt-card a:focus-visible { outline: 2px solid #d8c184; outline-offset: 5px; border-radius: 2px; }


/* ── Lightbox ──────────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: #090a0b;
  z-index: 2000;
  grid-template-rows: minmax(0, 1fr) 2.75rem;
  justify-items: center;
  gap: 1rem; padding: 64px 76px 20px;
}
.lightbox.is-open { display: grid; }
.lightbox-media { width: 100%; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lightbox-media img { height: var(--lb-image-height, 100%); width: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; cursor: zoom-out; }
.lightbox-media iframe { width: min(100%, 900px); height: min(100%, 506px); border: none; }
.lightbox-caption { color: rgba(255,255,255,0.7); font-size: var(--fs-sm); text-align: center; width: 100%; max-width: 600px; max-height: 100%; overflow-y: auto; font-style: italic; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed; background: rgba(255,255,255,0.12); border: none; color: #fff;
  cursor: pointer; border-radius: 50%; width: 44px; height: 44px;
  font-size: 1.6rem; line-height: 44px; text-align: center; transition: background 0.2s; z-index: 2001;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); font-size: 2rem; }

/* On narrow screens, put navigation below the image to retain its width. */
@media (max-width: 600px) {
  .lightbox { padding: 64px 16px 76px; gap: 12px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; }
  .lightbox-prev { left: calc(50% - 54px); }
  .lightbox-next { right: calc(50% - 54px); }
}

/* ── Hamburger – always visible, absolutely pinned top-right ────── */
.hamburger {
  display: flex;
  flex-direction: column; justify-content: space-between;
  position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  width: 32px; height: 23px;
  background: none; border: none; cursor: pointer; padding: 0;
  z-index: 1001;
  /*opacity: 0.45;*/
  transition: opacity 0.2s;
}
.hamburger:hover { opacity: 0.85; }
.hamburger span {
  display: block; width: 100%; height: 3px;
  background-color: var(--color-accent); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s; transform-origin: center;
}
.hamburger.is-active { opacity: 0.9; }
.hamburger.is-active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ── Burger dropdown (shared across all breakpoints) ───────────── */
/* The dropdown is always hidden until .is-open; hamburger is always shown */
/* When the burger is clicked the nav becomes a full-width dropdown */
.site-nav.is-open {
  position: fixed;
  top: var(--nav-height); right: 0;
  background: var(--color-nav-bg);
  display: flex;
  flex-direction: column; align-items: stretch;
  padding: 0.5rem 0 1rem;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.4) transparent;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  z-index: 999;
  /* slide-in animation */
  animation: navSlideIn 0.25s ease forwards;
}
@keyframes navSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.site-nav.is-open .nav-link {
  padding: 0.85rem 1.5rem;
  border-bottom: none;
  border-left: 3px solid transparent;
  color: #ccc;
  display: block; /* show burger-only links */
}
.site-nav.is-open .nav-link.active { border-left-color: var(--color-accent); background: rgba(201,168,76,0.08); }
.site-nav.is-open .nav-link--burger-only { display: block; }
.site-nav.is-open .nav-sep { display: block; }
.site-nav.is-open::-webkit-scrollbar { width: 6px; }
.site-nav.is-open::-webkit-scrollbar-track { background: transparent; }
.site-nav.is-open::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.4); border-radius: 3px; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1400px) {
  .site-nav:not(.is-open) { display: none; }
  .site-header { justify-content: center; }
}

.site-header:has(.site-nav.is-open) { background: var(--color-nav-bg); }

@media (max-width: 900px) {
  .slide-body { grid-template-columns: 1fr; gap: 2rem; padding-top: var(--nav-height); }
  .photo-grid { gap: 0.6rem; }
  .slide-title-wrap { padding: 2rem 1.25rem 1.75rem; }
}

@media (max-width: 600px) {
  :root {
    --nav-height: 48px;
    --fs-h1: clamp(1.75rem, 8vw, 2.5rem);
    --fs-h2: clamp(1.25rem, 6vw, 1.75rem);
    --fs-h3: clamp(1.1rem,  5vw, 1.4rem);
  }
  .site-header { padding: 0 1.25rem; }
  .slide-content { padding: calc(var(--nav-height) + 1rem) 1.25rem 4rem; }
  .slide-logo { max-height: 80px; }
  .slide-title-wrap { padding: 2rem 1.25rem 1.5rem; text-align: left; align-items: flex-start; }
  .slide--simple .slide-content { padding-top: calc(var(--nav-height) + 0.5rem); }
}

.site-message { padding: 5rem 1.5rem; max-width: 700px; margin: auto; pointer-events: auto; }
.photo-item[role="button"]:focus-visible, .nav-link:focus-visible, .cat-nav-btn:focus-visible {
  outline: 2px solid var(--color-accent); outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
