/* ═══════════════════════════════════════════════════════
   Reinhart Jansen Fotografie — style.css
   Aesthetic: Refined dark editorial / luxury photography
═══════════════════════════════════════════════════════ */

/* v260302 1145 */

/* =========================
   LOCAL FONTS
========================= */

/* Cormorant Garamond */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-v16-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-v16-latin-300italic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-v16-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Jost */
@font-face {
  font-family: 'Jost';
  src: url('fonts/jost-v15-latin-200.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('fonts/jost-v15-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('fonts/jost-v15-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Nunito */
@font-face {
  font-family: 'Nunito';
  src: url('fonts/nunito-v32-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito';
  src: url('fonts/nunito-v32-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito';
  src: url('fonts/nunito-v32-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

/* Slideshow page — lock scroll on html + body */
html, body { width: 100%; height: 100%; overflow: hidden; }

/* Content pages — restore scroll on BOTH html and body */
html:has(body.page) { overflow: auto; height: auto; }
body.page            { overflow-y: auto; height: auto; }

:root {
  --bg:          #0a0908;
  --fg:          #ece7df;
  --accent:      #c8a46a;
  --accent-dim:  rgba(200,164,106,0.35);
  --glass:       rgba(10,9,8,0.55);
  --glass-light: rgba(236,231,223,0.06);
  --muted:       rgba(236,231,223,0.38);
  --border:      rgba(200,164,106,0.18);
  --nav-w:       280px;
  --radius:      2px;
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Nunito', sans-serif;
  --slide-dur:    700ms;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
}

/* ── Floating Logo ─────────────────────────────────── */
.logo-wrap {
  position: fixed;
  top: 24px;
  left: 28px;
  z-index: 300;
  display: block;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.logo-wrap:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

.logo-img {
  height: 52px;       /* adjust to actual logo proportions */
  width: auto;
  display: block;
  /* subtle drop shadow so the logo floats above any image */
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.7)) drop-shadow(0 0 1px rgba(0,0,0,0.9));
}

/* ── Hamburger ─────────────────────────────────────── */
.hamburger {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 400;
  width: 44px;
  height: 44px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
  /* only visible on mobile, but also sits on desktop as a fallback */
}

/* Hide hamburger on desktop */
@media (min-width: 768px) {
  .hamburger { display: none; }
}

.hamburger__bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  border-radius: 1px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease, width 0.3s ease;
  transform-origin: center;
}

/* Open state */
.hamburger.is-open .hamburger__bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.is-open .hamburger__bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger.is-open .hamburger__bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── Navigation overlay (mobile) ───────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 350;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* ── Nav panel ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 360;
  width: var(--nav-w);
  height: 100%;
  background: rgba(10,9,8,0.97);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
}

.nav.is-open {
  transform: translateX(0);
}

/* Desktop: always visible, slim top bar style */
@media (min-width: 768px) {
  .nav {
    top: 24px;
    right: 28px;
    bottom: auto;
    height: auto;
    width: auto;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: none;
    transition: none;
    padding: 0 6px;
  }
}

.nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 60px 48px;
}

@media (min-width: 768px) {
  .nav__list {
    flex-direction: row;
    gap: 0;
    padding: 0;
    align-items: center;
  }
}

.nav__link {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.25s ease;
  position: relative;
}

@media (min-width: 768px) {
  .nav__link {
    padding: 10px 18px;
    border: none;
    font-size: 0.62rem;
  }
  .nav__link::after {
    content: '';
    position: absolute;
    bottom: 6px; left: 18px; right: 18px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
  }
  .nav__link:hover::after,
  .nav__link--active::after {
    transform: scaleX(1);
  }
}

.nav__link:hover,
.nav__link--active {
  color: var(--fg);
}

/* ── Slideshow wrapper ─────────────────────────────── */
.slideshow {
  position: fixed;
  inset: 0;
  background: var(--bg);
  overflow: hidden;   /* clip the strip */
}

/* ── Scroll-snap strip ─────────────────────────────── */
/* JS adds .strip--h (horizontal) or .strip--v (vertical) */
#slideshowTrack {
  position: absolute;
  inset: 0;
  display: flex;
  /* smooth scroll for programmatic navigation;
     native touch scrolling is always instant & fluid    */
  scroll-behavior: smooth;
  /* snap to each page */
  scroll-snap-type: x mandatory;   /* overridden below for vertical */
  -webkit-overflow-scrolling: touch;
  /* hide scrollbars visually but keep scrolling */
  scrollbar-width: none;
}
#slideshowTrack::-webkit-scrollbar { display: none; }

/* Horizontal strip (landscape) */
#slideshowTrack.strip--h {
  flex-direction: row;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  width: 100%;
  height: 100%;
  align-items: stretch;
}

/* Vertical strip (portrait / phone) */
#slideshowTrack.strip--v {
  flex-direction: column;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  width: 100%;
  height: 100%;
}

/* ── Each snap page ────────────────────────────────── */
.snap-page {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex-shrink: 0;
  /* dimensions set by JS per-page */
}

/* ── Each photo cell ───────────────────────────────── */
/* Cell width × height are set by JS to match the photo's
   natural aspect ratio, so object-fit:cover == no crop  */
.photo-cell {
  flex-shrink: 0;
  overflow: hidden;
  display: block;
  outline: 3px solid #000;
  outline-offset: -1px;
}

.photo-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fills the aspect-ratio-correct cell exactly */
  user-select: none;
  -webkit-user-drag: none;
}

/* Subtle top/bottom vignette so UI chrome stays readable */
.slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.22) 0%,
    transparent 15%,
    transparent 80%,
    rgba(0,0,0,0.30) 100%
  );
  pointer-events: none;
  z-index: 3;
}

/* ── Prev / Next buttons ───────────────────────────── */
.slideshow__btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  width: 48px;
  height: 48px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.2s ease, transform 0.2s ease;
}

.slideshow:hover .slideshow__btn {
  opacity: 1;
}

.slideshow__btn--prev { left: 20px; }
.slideshow__btn--next { right: 20px; }

.slideshow__btn:hover {
  background: rgba(200,164,106,0.2);
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 480px) {
  .slideshow__btn { display: none; }
}

/* ── Progress bar ──────────────────────────────────── */
.slideshow__progress {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 200;
}

.slideshow__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width linear;
}

/* ── Counter ───────────────────────────────────────── */
.slideshow__counter {
  position: fixed;
  bottom: 20px;
  right: 28px;
  z-index: 200;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 200;
  letter-spacing: 0.25em;
  color: var(--muted);
  user-select: none;
}

/* ── Dot navigation ────────────────────────────────── */
.slideshow__dots {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 90vw;
  flex-wrap: wrap;
  justify-content: center;
}

/* If there are many images, hide dots and only show progress bar */
.slideshow__dots.has-many {
  display: none;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.dot.is-active {
  background: var(--accent);
  transform: scale(1.5);
}

.dot:hover {
  background: var(--fg);
}

/* ── Autoplay toggle ───────────────────────────────── */
.slideshow__autoplay {
  position: fixed;
  bottom: 14px;
  left: 28px;
  z-index: 200;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease, border-color 0.25s ease;
  padding: 0;
}

.slideshow__autoplay:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ═══════════════════════════════════════════════════════
   CONTENT PAGES  (about, contact, expo)
═══════════════════════════════════════════════════════ */

/* html:has(body.page) and body.page overflow rules are at the top of this file */

/* ── Page wrapper ──────────────────────────────────── */
.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 100px; /* clear the fixed logo + nav */
}

/* ── Page hero / title band ────────────────────────── */
.page-hero {
  padding: 64px 0 48px;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.page-hero__label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
}

.page-hero__title em {
  font-style: italic;
  color: var(--accent);
}

/* ── Content container ─────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .page-wrap { padding-top: 100px; }
}

/* On mobile, logo + nav scroll with the page on content pages (not the slideshow) */
@media (max-width: 767px) {
  body.page .logo-wrap  { position: absolute; }
  body.page .hamburger  { position: absolute; }
  body.page .nav        { position: absolute; }
  body.page .nav-overlay { position: fixed; } /* overlay still needs to cover screen */
}

/* ── Divider ───────────────────────────────────────── */
.divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 32px 0;
}

/* ── Body text ─────────────────────────────────────── */
.prose {
  max-width: 640px;
}

.prose p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(236,231,223,0.75);
  margin-bottom: 1.4em;
}

.prose p:last-child { margin-bottom: 0; }

.prose strong {
  font-weight: 400;
  color: var(--fg);
}

/* ── Two-column layout ─────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ── Section ───────────────────────────────────────── */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section:first-child { border-top: none; }

.section__label {
  font-size: 0.58rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section__label::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--border);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
}

/* ── About: portrait image ─────────────────────────── */
.portrait-wrap {
  position: relative;
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.5s ease;
}
.portrait-wrap img:hover { filter: grayscale(0%); }

.portrait-wrap::after {
  content: none;
}

/* ── Contact form ──────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 560px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

.form__input,
.form__textarea {
  background: var(--glass-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  width: 100%;
  transition: border-color 0.25s ease, background 0.25s ease;
  outline: none;
  -webkit-appearance: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: rgba(236,231,223,0.2);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--accent);
  background: rgba(200,164,106,0.04);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.form__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  align-self: flex-start;
}

.form__btn:hover {
  background: var(--accent);
  color: var(--bg);
}

.form__btn svg {
  transition: transform 0.25s ease;
}
.form__btn:hover svg { transform: translateX(4px); }

/* Success message */
.form__success {
  display: none;
  padding: 16px 20px;
  border: 1px solid rgba(200,164,106,0.4);
  border-radius: var(--radius);
  background: rgba(200,164,106,0.06);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ── Contact info cards ────────────────────────────── */
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-item__label {
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
}

.info-item__value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--fg);
  line-height: 1.4;
}

.info-item__value a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s ease;
}
.info-item__value a:hover { color: var(--accent); }

/* ── Expo entry: two-column card ───────────────────── */
.expo-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 768px) {
  .expo-entry {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Photo column */
.expo-entry__photos {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.expo-entry__photo-wrap {
  overflow: hidden;
  position: relative;
}

.expo-entry__photo-wrap img {
  width: 100%;
  display: block;
  filter: grayscale(12%);
  transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

.expo-entry__photo-wrap:hover img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* Info column */
.expo-entry__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.expo-badge {
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}

.expo-badge--current {
  color: var(--bg);
  background: var(--accent);
}

.expo-badge--past {
  color: var(--muted);
  border: 1px solid var(--border);
}

.expo-entry__period {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.expo-entry__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 8px;
}

.expo-entry__location {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
}

/* Venue info box */
.expo-venue {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  background: rgba(200,164,106,0.03);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Expo list (timeline) ──────────────────────────── */
.expo-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.expo-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
  transition: background 0.2s ease;
}

.expo-row:first-child { border-top: 1px solid var(--border); }

.expo-row__year {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}

.expo-row__body {}

.expo-row__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 4px;
}

.expo-row__meta {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ── Page footer ───────────────────────────────────── */
.page-footer {
  margin-top: auto;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.page-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.page-footer__copy {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.page-footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.page-footer__links a {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-footer__links a:hover { color: var(--accent); }

/* ── Prose inline links ────────────────────────────── */
.prose-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,164,106,0.4);
  transition: border-color 0.2s ease;
}
.prose-link:hover { border-color: var(--accent); }

/* ── Testimonial grid ──────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
  margin-top: 8px;
}

.testi-card {
  padding: 28px 24px;
  background: var(--glass-light);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s ease;
}

.testi-card:hover {
  background: rgba(200,164,106,0.05);
}

.testi-card__quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.65;
  color: var(--fg);
  flex: 1;
}

.testi-card__name {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--fg);
}

.testi-card__source {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Reveal animations ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Empty state ───────────────────────────────────── */
.empty-state {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--muted);
  z-index: 10;
  text-align: center;
  padding: 24px;
}

.empty-state code {
  font-family: monospace;
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

/* ── Touch swipe hint (mobile, shown briefly) ──────── */
.swipe-hint {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  opacity: 0;
  animation: swipeHintAnim 3s ease 1.5s forwards;
}

@keyframes swipeHintAnim {
  0%   { opacity: 0; transform: translateX(-50%) translateY(6px); }
  20%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-4px); }
}

/* ── Loading state ─────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}
.loader.fade-out {
  opacity: 0;
  pointer-events: none;
}
.loader__ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }