/* Fonts: Cormorant Infant and Kumbh Sans (SIL Open Font License), hosted with the site */
@font-face {
  font-family: "Cormorant Infant";
  src: url("assets/fonts/cormorant-infant.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Infant";
  src: url("assets/fonts/cormorant-infant-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Kumbh Sans";
  src: url("assets/fonts/kumbh-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bar-compact: 7.5rem;
  --white: #ffffff;
  --plum: #66003e;
  --plum-dark: #2a0019;
  --amber: #f69c00;
  --black: #000000;
  --bg: #000000;
  --fg: #ffffff;
  --muted: #a0a0a0;
  --offwhite: #e8e5de;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --serif: "Cormorant Infant", Georgia, "Times New Roman", serif;
  --sans: "Kumbh Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  /* Clear the compact fixed header when jumping to anchors */
  scroll-padding-top: var(--bar-compact);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 300 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--white);
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

/* ── Header (full-viewport → compact) ───────────── */

.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: var(--plum-dark);
  border-bottom: 1px solid transparent;
  /* 0 = full viewport, 1 = compact bar — set by JS */
  height: calc(100dvh - (100dvh - var(--bar-compact)) * var(--bar-progress, 0));
  min-height: var(--bar-compact);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
  /* Keep sticky on mobile browsers */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Workshop image: full viewport, edge to edge */
.bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.35)),
    url("assets/header-bg.jpg") center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
  opacity: calc(1 - var(--bar-progress, 0));
}

.bar.is-compact {
  border-bottom-color: var(--line);
  height: var(--bar-compact);
  min-height: var(--bar-compact);
}

.bar.is-compact .bar-hero {
  display: none;
}

.bar.is-compact::before {
  display: none;
}

/* Holds space so content starts below the full-height intro */
.bar-spacer {
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
}

.bar-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
  height: var(--bar-compact);
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
  position: relative;
  z-index: 2;
}

.bar nav {
  display: flex;
  gap: 1.75rem;
}

.bar nav a {
  color: var(--fg);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
}

.bar nav a:hover {
  color: var(--amber);
}

/* Burger toggle — desktop hidden */
.nav-toggle {
  display: none;
  justify-self: start;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 30;
}

.nav-toggle-bar {
  display: block;
  width: 1.45rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--amber);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: var(--fg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Brand logo: large when expanded, shrinks into the compact bar */
.brand {
  position: static;
  justify-self: center;
  width: 3rem;
  height: 100%;
  z-index: 2;
}

.brand-logo {
  position: absolute;
  left: 50%;
  z-index: 2;
  width: auto;
  max-width: calc(140px + (min(85vw, 545px) - 140px) * (1 - var(--bar-progress, 0)));
  pointer-events: none;
  will-change: height, top, max-width, opacity;
  /* 50vh centre on load → compact bar centre when scrolled */
  top: calc(
    (var(--bar-compact) / 2) * var(--bar-progress, 0) +
    50vh * (1 - var(--bar-progress, 0))
  );
  transform: translate(-50%, -50%);
  /* Full size when expanded (~30% larger); ~96px tall when compact */
  height: calc(96px + (min(52vh, 365px) - 96px) * (1 - var(--bar-progress, 0)));
  object-fit: contain;
}

/* White when largest → amber when smallest */
.brand-logo--white {
  opacity: calc(1 - var(--bar-progress, 0));
}

.brand-logo--amber {
  opacity: var(--bar-progress, 0);
}

.bagbtn {
  justify-self: end;
  background: none;
  border: 0;
  color: var(--fg);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  transition: color 0.2s var(--ease);
}

.bagbtn:hover {
  color: var(--amber);
}

.bagbtn span {
  display: inline-block;
  min-width: 1.4rem;
  padding: 0.1rem 0.4rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--black);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: 1px;
}

/* Arrow + motto near the bottom edge; motto sits just above the screen edge */
.bar-hero {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  top: auto;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  padding: 0 1.5rem;
  opacity: calc(1 - var(--bar-progress, 0));
  pointer-events: none;
  width: max-content;
  max-width: min(90vw, 28rem);
  z-index: 1;
}

.hero-line {
  font: 500 clamp(1.35rem, 2.8vw, 1.75rem) / 1.35 var(--serif);
  margin: 0;
  color: var(--fg);
  letter-spacing: 0.02em;
}

/* Pulsating scroll arrow — plum circle, amber chevron (arrow stays still) */
.scroll-cue {
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 50%;
  background: var(--plum);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  animation: pulse-halo 1.2s linear infinite;
  will-change: box-shadow;
}

.scroll-cue-arrow {
  display: block;
  width: 10px;
  height: 10px;
  margin-top: -3px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg);
}

/* Halo ring only — no scale/breathing on the button or chevron */
@keyframes pulse-halo {
  0% { box-shadow: 0 0 0 0 rgba(102, 0, 62, 0.5); }
  100% { box-shadow: 0 0 0 14px rgba(102, 0, 62, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
}

.btn {
  display: inline-block;
  background: var(--plum);
  color: var(--white);
  border: 1px solid var(--plum);
  padding: 0.85rem 2.1rem;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}

/* ── Sections ───────────────────────────────────── */

h2 {
  font: 500 clamp(1.85rem, 3.6vw, 2.5rem) / 1.2 var(--serif);
  color: var(--amber);
  margin: 0 0 1.75rem;
  letter-spacing: 0.01em;
}

.shop {
  padding: 2.5rem clamp(1.25rem, 4vw, 2.75rem) 5rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Product grid ───────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2.75rem 1.75rem;
  align-items: start;
}

.card {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  width: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.card .thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform 0.55s var(--ease);
}

.card:hover img {
  transform: scale(1.32);
}

.card h3 {
  font: 500 1.2rem / 1.3 var(--serif);
  margin: 0.35rem 0 0.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--fg);
  transition: color 0.2s var(--ease);
  min-height: calc(1.3em * 2); /* keep price line aligned whether title is 1 or 2 lines */
}

.card h3 em,
.pd h3 em {
  font-style: italic;
  font-weight: inherit;
}

.card:hover h3 {
  color: var(--amber);
}

.card .price {
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ── About / Contact ────────────────────────────── */

.about {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.about h2 {
  text-align: center;
}

.about p {
  margin: 0 0 1.15rem;
  color: var(--fg);
  text-align: justify;
  font-style: normal;
}

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

.about .about-sub {
  font-style: normal;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 2rem 0 1rem;
  color: var(--fg);
  text-align: center;
}

/* ── Footer ─────────────────────────────────────── */

footer {
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
  font: italic 400 1.05rem var(--serif);
  color: var(--muted);
}

footer p {
  margin: 0;
}

/* ── Product dialog ─────────────────────────────── */

dialog {
  border: 0;
  padding: 0;
  max-width: min(900px, 94vw);
  width: 100%;
  max-height: 92vh;
  overflow: auto;
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.pd {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.25rem;
  padding: 1.75rem;
  position: relative;
}

.pd .main {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #111;
}

.thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.thumbs button {
  border: 1px solid transparent;
  padding: 0;
  background: none;
  width: 64px;
  height: 64px;
  transition: border-color 0.2s var(--ease);
}

.thumbs button[aria-current="true"] {
  border-color: var(--amber);
}

.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd h3 {
  font: 500 1.65rem / 1.25 var(--serif);
  margin: 0 0 0.4rem;
  padding-right: 5.5rem;
  color: var(--fg);
}

.pd .price {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.pd .desc {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--fg);
}

.pd label {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 1.15rem 0 0.35rem;
  color: var(--fg);
}

.pd select,
.pd input {
  font: inherit;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  width: 100%;
  max-width: 15rem;
  color: var(--fg);
  transition: border-color 0.2s var(--ease);
}

.pd select:focus,
.pd input:focus {
  border-color: var(--amber);
  outline: none;
}

.pd .meta {
  font-size: 0.92rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.pd .btn {
  margin-top: 1.5rem;
}

.x {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
  z-index: 2;
}

.x:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* ── Bag drawer ─────────────────────────────────── */

#scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 30;
}

#drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100vw);
  background: var(--bg);
  z-index: 40;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.06);
}

#drawer[hidden],
#scrim[hidden] {
  display: none;
}

.dhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.dhead h2 {
  margin: 0;
  font-size: 1.5rem;
}

.dhead button {
  background: none;
  border: 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 0;
  transition: color 0.2s var(--ease);
}

.dhead button:hover {
  color: var(--amber);
}

#lines {
  flex: 1;
  overflow: auto;
  padding: 0.5rem 1.5rem 1rem;
}

#lines > p {
  color: var(--muted);
  margin: 1.5rem 0;
  text-align: center;
}

.line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.line:last-child {
  border-bottom: 0;
}

.line img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: #111;
}

.line h4 {
  font: 500 1.05rem / 1.3 var(--serif);
  margin: 0 0 0.15rem;
}

.line small {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.qty {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.qty button {
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.qty button:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.qty .rm {
  width: auto;
  height: auto;
  border: 0;
  background: none;
  text-decoration: none;
  margin-left: auto;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.2rem 0;
}

.qty .rm:hover {
  color: var(--amber);
}

.dfoot {
  padding: 1.15rem 1.5rem 1.5rem;
  border-top: 1px solid var(--line);
}

.total {
  display: flex;
  justify-content: space-between;
  font: 500 1.35rem var(--serif);
  margin: 0;
}

.note {
  font-size: 0.88rem;
  margin: 0.35rem 0 1.15rem;
  color: var(--muted);
}

.dfoot .btn {
  width: 100%;
  text-align: center;
}

.dfoot .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.err {
  color: var(--amber);
  font-weight: 400;
  font-size: 0.9rem;
  margin: 0.7rem 0 0;
}

/* ── Responsive ─────────────────────────────────── */

@media (max-width: 720px) {
  :root {
    --bar-compact: 6rem;
  }

  .bar-top {
    padding: 0 1rem;
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: block;
  }

  /* Full-screen menu panel — must escape .bar transform/overflow when open */
  .bar nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    height: 100vh;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: rgba(102, 0, 62, 0.72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .bar nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .bar nav a {
    font-size: 1.75rem;
    color: var(--white);
  }

  .bar nav a:hover {
    color: var(--amber);
  }

  /* Let the menu cover the full page even when the header is compact */
  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .bar {
    overflow: visible;
    transform: none;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    /* Keep bar height stable; menu is fixed to the viewport */
    height: var(--bar-compact);
    min-height: var(--bar-compact);
  }

  body.nav-open .nav-toggle {
    z-index: 50;
  }

  .brand-logo {
    height: calc(72px + (min(47vh, 286px) - 72px) * (1 - var(--bar-progress, 0)));
    max-width: calc(110px + (min(90vw, 416px) - 110px) * (1 - var(--bar-progress, 0)));
  }

  .bar-hero {
    gap: 1.35rem;
    padding: 0 1.25rem;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
  }

  .card h3 {
    font-size: 1.05rem;
  }

  .pd {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }

  .x {
    right: 0.75rem;
    top: 0.75rem;
  }

  .about {
    padding: 2.75rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card,
  .card img,
  .btn,
  .bagbtn,
  .bar nav a {
    transition: none;
  }
}

/* ── Order confirmation, footer links, legal pages ── */
.thanks {
  border: 1px solid var(--amber);
  padding: 1rem 1.25rem;
  margin: 0 0 2.5rem;
  text-align: center;
}
.thanks[hidden] { display: none; }

footer .legal {
  font: 300 0.85rem/1.6 var(--sans);
  font-style: normal;
  margin-top: 0.75rem;
}
footer nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.75rem;
  font: 300 0.9rem var(--sans);
}

.doc {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.doc h1 {
  font: 500 clamp(2rem, 4vw, 2.6rem) / 1.2 var(--serif);
  color: var(--fg);
  margin: 0 0 1.5rem;
  text-align: center;
}
.doc h2 { font-size: 1.4rem; margin: 2.25rem 0 0.75rem; }
.doc p, .doc li { margin: 0 0 1rem; }
.doc ul { padding-left: 1.25rem; }

/* ── Reviews carousel ── */
.reviews {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
.reviews[hidden] { display: none; }
.rsum {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 1rem 3rem;
  color: var(--offwhite);
}
.stars { display: inline-flex; gap: 2px; }
.rview {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  /* Hide scrollbar — still scrollable by touch / trackpad / drag */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rview::-webkit-scrollbar { display: none; }
.rview:active { cursor: grabbing; }
.rtrack {
  display: flex;
  width: max-content;
}
.review {
  flex: 0 0 min(520px, 86vw);
  margin: 0 3.5rem 0 0;
  text-align: left;
  cursor: pointer;
}
.review blockquote,
.rdlg blockquote {
  margin: 0;
  font: 500 clamp(1.4rem, 2.3vw, 1.7rem) / 1.35 var(--serif);
  color: #ffffff;
  white-space: pre-line;
}
.review blockquote {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review .stars, .rdlg .stars { margin: 0 0 0.9rem; }
.rview img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.rthumb { display: block; width: 72px; height: 72px; object-fit: cover; margin: 1rem 0 0; }
.rname { margin: 1rem 0 0; font-style: italic; color: var(--offwhite); }
.rdate { margin: 0; font-style: normal; font-size: 0.9rem; color: var(--offwhite); }

/* Full review window */
#rd { max-width: min(680px, 94vw); }
.rdlg { position: relative; padding: 3.5rem clamp(1.25rem, 4vw, 2.5rem) 2.25rem; text-align: left; }
.rphoto { display: block; width: min(320px, 100%); aspect-ratio: 1; object-fit: cover; margin: 1.5rem 0 0; }

@media (prefers-reduced-motion: reduce) {
  .rview { -webkit-mask-image: none; mask-image: none; }
  /* Duplicate sets stay visible so the loop still works; JS disables auto-drift only */
}

/* ── Compact header on the information pages ── */
a.bagbtn { text-decoration: none; }
.doc { padding-top: calc(var(--bar-compact) + 2.5rem); }
