/* VON AU. Fullscreen slideshow / video with an overlay menu. */
@font-face {
  font-family: "Brandon Grotesque";
  src: url('../fonts/Brandon-Grotesque-Web-Regular.woff2') format('woff2'),
       url('../fonts/Brandon-Grotesque-Web-Regular.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Brandon Grotesque";
  src: url('../fonts/Brandon-Grotesque-Web-Bold.woff2') format('woff2'),
       url('../fonts/Brandon-Grotesque-Web-Bold.woff') format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --fade: 3s;          /* cross-fade duration between slides */
  --panel: rgba(0, 0, 0, 0.7);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #000; color: #fff; font-family: "Brandon Grotesque", "Helvetica Neue", Arial, sans-serif; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }
img, video { display: block; }
a { color: inherit; text-decoration: none; border-bottom: 3px solid transparent; }
a:hover, a:focus-visible, a[aria-current="page"] { border-bottom-color: #fff; }

/* ---------- Fullscreen stage ---------- */
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; }

.slideshow { list-style: none; position: absolute; inset: 0; }
.slideshow li {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity var(--fade) ease-in-out;
}
.slideshow li.is-active { opacity: 1; }
.slideshow img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.slideshow h3 {
  position: absolute; left: 0; right: 0; bottom: 30px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 1.1rem;
}

.stage video { width: 100%; height: 100%; object-fit: cover; }

/* Previous / next arrows (shown only when JavaScript runs) */
.slide-nav {
  position: absolute; top: 50%; z-index: 2;
  transform: translateY(-50%);
  display: none;
  width: 56px; height: 96px;
  padding: 24px 16px;
  background: none; border: 0; cursor: pointer;
  color: #fff;
  opacity: 0.7;
  transition: opacity .2s;
  filter: drop-shadow(0 0 6px rgba(0,0,0,.45));
}
.slide-nav svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.5; }
.slide-nav:hover, .slide-nav:focus-visible { opacity: 1; }
.slide-nav:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.slide-prev { left: 0.5rem; }
.slide-next { right: 0.5rem; }
.js .slide-nav { display: block; }

/* ---------- Menu ---------- */
.menu { position: relative; z-index: 1; text-align: center; padding-top: 0.5rem; }
.menu details > summary { list-style: none; cursor: pointer; }
.menu details > summary::-webkit-details-marker { display: none; }

.menu-root > summary {
  display: inline-block;
  padding: 20px;
  border-bottom: 3px solid transparent;
}
.menu-root > summary img { width: 200px; height: auto; }
.menu-root > summary:hover,
.menu-root > summary:focus-visible,
.menu-root[open] > summary { border-bottom-color: #fff; }

.menu-panel {
  margin: 0 5%;
  padding: 1rem 0 2rem;
  background: var(--panel);
}
.menu-panel > details > summary {
  display: inline-block;
  margin: 1rem 0 0.5rem;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.3em;
  border-bottom: 3px solid transparent;
}
.menu-panel > details > summary:hover,
.menu-panel > details > summary:focus-visible,
.menu-panel > details[open] > summary { border-bottom-color: #fff; }

.collections { list-style: none; font-weight: 700; font-size: 2.5rem; letter-spacing: 0.3em; line-height: 1.3; }

.menu-panel p {
  font-size: 1.5rem;
  line-height: 1.35;
  max-width: 32em;
  margin: 0 auto 1.2em;
  padding: 0 5%;
}
.menu-panel h4 { font-weight: 700; letter-spacing: 0.2em; font-size: 1.2rem; margin: 2rem 0 0.5rem; }
.rule { width: 12rem; margin: 1.5rem auto; border: 0; border-top: 1px solid rgba(255,255,255,.6); }
.small { font-size: 1rem !important; opacity: 0.8; }

@media (max-width: 600px) {
  .slide-nav { width: 44px; height: 80px; padding: 20px 12px; }
  .menu { padding-top: 2.25rem; }   /* room for the back link */
  .menu-root > summary img { width: 150px; }
  .menu-panel > details > summary { font-size: 1.4rem; }
  .collections { font-size: 1.8rem; }
  .menu-panel p { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { --fade: 0.01s; }
}
