/* ==========================================================================
   Wick & Box — design system
   Tokens first, then base, layout, components, utilities.
   Safe for Safari 14+, Chrome/Edge 90+, Samsung Internet 14+, Firefox 90+.
   ========================================================================== */

:root {
  /* Brand palette */
  --noir: #0d0d0d;
  --graphite: #1f1f1f;
  --champagne: #c8a96e;
  --gold-deep: #a8864b;      /* accessible gold for small text on ivory */
  --ivory: #f2ede4;
  --sand: #eae3d8;
  --blush: #e7d4ce;
  --ink: #1a1a1a;
  --body: #4a443d;
  --muted: #7a7166;
  --line: #e2d9cb;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--ivory);
  --bg-alt: var(--sand);
  --surface: var(--white);
  --text: var(--ink);
  --text-soft: var(--body);
  --accent: var(--gold-deep);
  --border: var(--line);

  /* Type */
  --font-display: "Playfair Display", "Iowan Old Style", "Apple Garamond",
    Baskerville, Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.78rem, 0.74rem + 0.2vw, 0.86rem);
  --step-0: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.25rem + 1vw, 2rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.9vw, 3rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.2vw, 4.25rem);

  /* Space */
  --sp-1: 0.375rem;
  --sp-2: 0.75rem;
  --sp-3: 1.25rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 7rem;

  --container: 1240px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --radius: 2px;
  --header-h: 72px;
  --shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.06), 0 6px 18px rgba(26, 26, 26, 0.05);
  --shadow-md: 0 10px 34px rgba(26, 26, 26, 0.1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-soft);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 var(--sp-3);
  letter-spacing: 0.005em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 var(--sp-3); }
a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

::selection { background: var(--champagne); color: var(--noir); }

/* --------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 780px; }

.section { padding-block: clamp(3.25rem, 8vw, var(--sp-7)); }
.section--tight { padding-block: clamp(2.5rem, 6vw, var(--sp-6)); }
.section--sand { background: var(--bg-alt); }
.section--noir { background: var(--noir); color: #cfc7ba; }
.section--noir h2,
.section--noir h3 { color: var(--ivory); }

.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

.stack > * + * { margin-top: var(--sp-3); }
.center { text-align: center; }
.flow-tight p { margin-bottom: var(--sp-2); }

/* ------------------------------------------------------------ typography */
.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 var(--sp-2);
}
.section--noir .eyebrow { color: var(--champagne); }

.lead { font-size: var(--step-1); color: var(--text-soft); }
.muted { color: var(--muted); }
.script { font-family: var(--font-display); font-style: italic; }

.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin: var(--sp-3) 0;
}
.rule::before,
.rule::after {
  content: "";
  height: 1px;
  width: min(90px, 18vw);
  background: var(--champagne);
}
.rule span { color: var(--champagne); font-size: 0.7rem; }

/* --------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--noir);
  --btn-fg: var(--ivory);
  --btn-bd: var(--noir);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.85em 1.9em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink);
}
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--ivory); }
.btn--gold {
  --btn-bg: var(--champagne);
  --btn-fg: var(--noir);
  --btn-bd: var(--champagne);
}
.btn--light {
  --btn-bg: transparent;
  --btn-fg: var(--ivory);
  --btn-bd: rgba(242, 237, 228, 0.55);
}
.btn--light:hover { --btn-bg: var(--ivory); --btn-fg: var(--noir); --btn-bd: var(--ivory); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  min-height: 44px;
}
.link-arrow svg { width: 1em; height: 1em; }

/* ---------------------------------------------------------------- header */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--noir);
  color: var(--ivory);
  padding: 0.8rem 1.2rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  padding-top: env(safe-area-inset-top);
}

/* The glass sits on a pseudo-element, NOT on .site-header itself.
   An element with backdrop-filter becomes the containing block for any
   position:fixed descendant, which broke the mobile drawer in Chrome on
   Android. Keeping the filter on ::before avoids that entirely. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(242, 237, 228, 0.55);
  border-bottom: 1px solid rgba(226, 217, 203, 0);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header::before {
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
  }
}
/* No backdrop-filter support (older Samsung Internet, Firefox with the flag
   off): fall back to a near-solid bar so text stays readable. */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header::before { background: rgba(242, 237, 228, 0.96); }
}
.site-header.is-stuck::before {
  background: rgba(242, 237, 228, 0.82);
  border-bottom-color: rgba(200, 169, 110, 0.35);
  box-shadow: 0 1px 24px rgba(26, 26, 26, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { width: 40px; height: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav a {
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--champagne);
  transition: right 0.3s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 0.35rem; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.icon-btn svg { width: 21px; height: 21px; }

.cart-count {
  position: absolute;
  top: 5px;
  right: 3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--noir);
  color: var(--ivory);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.cart-count[hidden] { display: none; }

.nav-toggle { display: none; }

/* mobile drawer */
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 120;
    flex-direction: column;
    justify-content: center;
    gap: var(--sp-3);
    padding: calc(var(--header-h) + env(safe-area-inset-top) + 1rem) var(--gutter)
      calc(var(--sp-5) + env(safe-area-inset-bottom));
    background: rgba(242, 237, 228, 0.92);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    transform: translateX(8%);
    transition: opacity 0.28s var(--ease), transform 0.32s var(--ease),
      visibility 0s linear 0.32s;
  }
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .nav {
      background: rgba(242, 237, 228, 0.78);
      -webkit-backdrop-filter: blur(26px) saturate(180%);
      backdrop-filter: blur(26px) saturate(180%);
    }
  }
  @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .nav { background: var(--ivory); }
  }

  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .nav a {
    font-size: 1.15rem;
    letter-spacing: 0.2em;
    text-align: center;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav a::after { display: none; }

  /* Keep the toggle and the logo above the open drawer */
  .site-header { z-index: 130; }
  .header-inner { position: relative; z-index: 140; }

  html.nav-open,
  body.nav-open { overflow: hidden; height: 100%; touch-action: none; }
}

@media (min-width: 900px) {
  /* Desktop: the drawer styles never apply, so make sure nothing lingers */
  .nav { visibility: visible; opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: min(92svh, 860px);
  display: grid;
  align-items: center;
  color: var(--ivory);
  background: var(--noir);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(5, 5, 5, 0.94) 0%,
    rgba(10, 9, 8, 0.82) 38%,
    rgba(12, 10, 8, 0.35) 68%,
    rgba(12, 10, 8, 0.2) 100%
  );
  z-index: 1;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}
.hero .container { position: relative; z-index: 2; padding-block: var(--sp-6); }
.hero-logo { width: min(330px, 62vw); margin-bottom: var(--sp-4); }
.hero h1 {
  color: var(--ivory);
  max-width: 14ch;
  font-size: var(--step-4);
}
.hero p { color: #d9d2c6; max-width: 46ch; font-size: var(--step-1); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }

@media (max-width: 599px) {
  .hero { min-height: auto; padding-block: var(--sp-5); }
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.9) 0%,
      rgba(8, 8, 8, 0.78) 55%,
      rgba(8, 8, 8, 0.55) 100%
    );
  }
  .hero-media { object-position: 60% 50%; }
}

/* ----------------------------------------------------------- value strip */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: var(--sp-3);
  text-align: center;
}
.value h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.value p { font-size: var(--step--1); margin: 0; }
.value .mark { color: var(--champagne); font-size: 0.85rem; }

/* ----------------------------------------------------------------- cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }

.card-body { padding: var(--sp-3); display: flex; flex-direction: column; flex: 1 1 auto; gap: 0.35rem; }
.card-title { font-family: var(--font-display); font-size: var(--step-1); color: var(--ink); margin: 0; }
.card-note { font-size: var(--step--1); color: var(--muted); margin: 0; }
.card-price { font-weight: 700; color: var(--accent); margin: 0.2rem 0 0; }
.card-actions { margin-top: auto; padding-top: var(--sp-2); display: flex; gap: 0.5rem; }

.badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  background: rgba(13, 13, 13, 0.85);
  color: var(--champagne);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  font-weight: 600;
}

/* --------------------------------------------------------- feature split */
.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 767px) {
  .split--reverse > :first-child { order: 0; }
}
.split img { width: 100%; border-radius: var(--radius); }

/* ------------------------------------------------------------ collection */
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 300px;
  color: var(--ivory);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.72) 100%);
}
.tile:hover img { transform: scale(1.05); }
.tile-body { position: relative; z-index: 2; padding: var(--sp-3); margin-top: auto; }
.tile { display: flex; flex-direction: column; justify-content: flex-end; }
.tile h3 { color: var(--ivory); margin-bottom: 0.25rem; }
.tile p { color: #ded7cb; font-size: var(--step--1); margin: 0; }

/* ------------------------------------------------------------ scent chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--body);
  padding: 0.55rem 1rem;
  border-radius: 100px;
  font-size: var(--step--1);
  cursor: pointer;
  min-height: 42px;
  transition: all 0.2s var(--ease);
}
.chip[aria-pressed="true"] { background: var(--noir); color: var(--ivory); border-color: var(--noir); }

.family-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 0.5rem; }

/* ------------------------------------------------------------------ PDP */
.pdp { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.pdp-media img { width: 100%; border-radius: var(--radius); }
.pdp-price { font-size: var(--step-2); font-family: var(--font-display); color: var(--ink); }
.pdp dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.2rem; font-size: var(--step--1); margin: 0; }
.pdp dt { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; padding-top: 0.15rem; }
.pdp dd { margin: 0; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); background: var(--surface); }
.qty button { width: 44px; height: 46px; background: none; border: 0; font-size: 1.1rem; cursor: pointer; }
.qty input { width: 46px; height: 46px; text-align: center; border: 0; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ------------------------------------------------------------------ cart */
.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
}
.cart-line img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius); }
.cart-line h3 { font-size: var(--step-1); margin: 0 0 0.2rem; }
.cart-line .remove { background: none; border: 0; color: var(--muted); font-size: var(--step--1); text-decoration: underline; cursor: pointer; padding: 0.4rem 0; }
.cart-summary { background: var(--surface); border: 1px solid var(--border); padding: var(--sp-4); position: sticky; top: calc(var(--header-h) + 1rem); }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; }
.summary-row--total { border-top: 1px solid var(--border); margin-top: 0.5rem; padding-top: 0.9rem; font-size: var(--step-1); color: var(--ink); font-family: var(--font-display); }

@media (max-width: 599px) {
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line img { width: 72px; height: 72px; }
  .cart-line .line-end { grid-column: 2; display: flex; justify-content: space-between; align-items: center; }
}

/* ----------------------------------------------------------------- forms */
.field { display: block; margin-bottom: var(--sp-3); }
.field label { display: block; font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px; /* prevents iOS zoom on focus */
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--champagne); outline: none; box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.18); }
.form-note { font-size: var(--step--1); color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--noir);
  color: #b5ab9c;
  padding-block: var(--sp-6) var(--sp-4);
  padding-bottom: calc(var(--sp-4) + env(safe-area-inset-bottom));
}
.site-footer h4 { color: var(--ivory); font-size: var(--step--1); letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-sans); font-weight: 700; margin-bottom: var(--sp-2); }
.site-footer a { color: #b5ab9c; }
.site-footer a:hover { color: var(--champagne); }
.footer-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: var(--step--1); }
.footer-links a { display: inline-block; padding: 0.25rem 0; }
.footer-brand img { width: 120px; margin-bottom: var(--sp-2); }
.footer-bottom {
  border-top: 1px solid #2a2622;
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  justify-content: space-between;
  font-size: var(--step--1);
  color: #8a8175;
}

/* --------------------------------------------------------------- toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  transform: translate(-50%, 140%);
  background: var(--noir);
  color: var(--ivory);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius);
  font-size: var(--step--1);
  box-shadow: var(--shadow-md);
  z-index: 300;
  transition: transform 0.4s var(--ease);
  max-width: calc(100vw - 2rem);
  text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); }

/* --------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* -------------------------------------------------------------- utility */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.empty-state { text-align: center; padding: var(--sp-6) 0; color: var(--muted); }

/* Print: keep it readable if someone prints a page */
@media print {
  .site-header, .site-footer, .btn, .toast { display: none !important; }
  body { background: #fff; color: #000; }
}
