/* ============================================================
   Sushi Bar Sakura — Steampunk Brass theme
   ============================================================ */

:root {
  --burgundy-900: #3a0e18;
  --burgundy-800: #5c1424;
  --burgundy-700: #7a1b30;
  --rose-500: #c97b86;
  --rose-300: #e3b4bb;
  --champagne-100: #f6ecd9;
  --champagne-200: #efdfc2;
  --brass-500: #b4893f;
  --brass-400: #cda45c;
  --brass-700: #8a6526;
  --copper-600: #a85c35;
  --ink: #2a1512;
  --paper: #fbf5ea;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Consolas", monospace;

  --radius: 14px;
  --shadow-paper: 0 10px 30px -12px rgba(58, 14, 24, 0.35), 0 2px 6px rgba(58, 14, 24, 0.12);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  line-height: 1.1;
  color: var(--burgundy-900);
}

p { margin: 0 0 1em; }

a {
  color: var(--copper-600);
  text-decoration: none;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  left: -9999px;
}

/* honeypot field */
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }

:focus-visible {
  outline: 3px solid var(--copper-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ Buttons ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 1.5em;
  border-radius: 999px;
  border: 1.5px solid var(--burgundy-900);
  background: transparent;
  color: var(--burgundy-900);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  min-height: 44px;
  transition: color 0.35s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  width: 100%;
  background: var(--burgundy-900);
  z-index: -1;
  transition: left 0.35s ease;
}
.btn:hover::before, .btn:focus-visible::before { left: 0; }
.btn:hover, .btn:focus-visible { color: var(--champagne-100); }

.btn-primary {
  background: var(--burgundy-900);
  color: var(--champagne-100);
  border-color: var(--burgundy-900);
}
.btn-primary::before { background: var(--copper-600); }
.btn-primary:hover, .btn-primary:focus-visible { color: var(--champagne-100); }

.btn-ghost-dark {
  border-color: var(--champagne-200);
  color: var(--champagne-100);
}
.btn-ghost-dark::before { background: var(--champagne-200); }
.btn-ghost-dark:hover, .btn-ghost-dark:focus-visible { color: var(--burgundy-900); }

.btn-sm { padding: 0.5em 1.1em; font-size: 0.88rem; min-height: 38px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid rgba(58,14,24,0.12);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.65rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--burgundy-900);
}
.logo svg.mark { width: 42px; height: 42px; flex-shrink: 0; }
.logo svg.word { height: 20px; width: 128px; flex-shrink: 0; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.main-nav ul {
  display: flex;
  gap: 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a {
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  background: var(--copper-600);
  transition: width 0.3s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--copper-600); }

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  position: relative;
}
.cart-link svg { width: 24px; height: 24px; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--copper-600);
  color: #fff;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 0 4px;
  transition: transform 0.25s ease;
}
.cart-count.bump { transform: scale(1.45); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    height: 100vh;
    background: var(--burgundy-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.5rem 2rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s ease;
    z-index: 60;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 1.1rem; font-size: 1.1rem; }
  .main-nav a { color: var(--champagne-100); }
  .main-nav a::after { background: var(--brass-400); }
  .nav-toggle { display: inline-flex; }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(58,14,24,0.5);
    opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 55;
  }
  .nav-scrim.open { opacity: 1; visibility: visible; }
}

/* ============ Footer ============ */
.site-footer {
  background: var(--burgundy-900);
  color: var(--champagne-100);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.site-footer h3 {
  color: var(--champagne-100);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--rose-300); }
.site-footer a:hover { color: var(--champagne-100); }
.footer-brand p { color: var(--rose-300); max-width: 32ch; }
.newsletter-form { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 10rem;
  padding: 0.65em 0.9em;
  border-radius: 999px;
  border: 1.5px solid var(--rose-300);
  background: transparent;
  color: var(--champagne-100);
  accent-color: var(--brass-400);
}
.newsletter-form input::placeholder { color: var(--rose-300); }
.footer-bottom {
  border-top: 1px solid rgba(246,236,217,0.18);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--rose-300);
}
.form-msg { font-size: 0.9rem; margin-top: 0.5rem; min-height: 1.3em; }
.form-msg.ok { color: #d9f2cf; }
.form-msg.err { color: #ffd0d0; }

/* ============ Hero / Home composition ============ */
.hero {
  position: relative;
  padding: 3rem 0 2rem;
  overflow: hidden;
}
.hero-collage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  position: relative;
}
@media (max-width: 860px) {
  .hero-collage { grid-template-columns: 1fr; }
}
.hero-text { position: relative; z-index: 3; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--copper-600);
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin-bottom: 0.6rem;
}
.hero-title em { font-style: normal; color: var(--copper-600); }
.hero-sub { font-size: 1.15rem; max-width: 36ch; color: var(--burgundy-800); }
.hero-ctas { display: flex; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(0.18) saturate(1.15);
}
.hero-visual .hero-svg-overlay {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  mix-blend-mode: multiply;
  opacity: 0.9;
}
.hero-sticker {
  position: absolute;
  bottom: -18px; left: -18px;
  width: 108px; height: 108px;
  z-index: 4;
  filter: drop-shadow(0 6px 10px rgba(58,14,24,0.3));
}
@media (max-width: 860px) {
  .hero-sticker { width: 84px; height: 84px; left: -10px; bottom: -10px; }
}

/* ticker */
.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(58,14,24,0.15);
  border-bottom: 1px solid rgba(58,14,24,0.15);
  padding: 0.8rem 0;
  background: var(--champagne-200);
  margin-top: 2.5rem;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: ticker-scroll 32s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--burgundy-800);
  white-space: nowrap;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 0.6rem; }
.ticker-track svg { width: 14px; height: 14px; color: var(--copper-600); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ============ Sections generic ============ */
.section { padding: 4rem 0; position: relative; }
.section-dark { background: var(--burgundy-900); color: var(--champagne-100); }
.section-dark h2, .section-dark h3 { color: var(--champagne-100); }
.section-header { max-width: 60ch; margin-bottom: 2.5rem; }
.section-header .kicker {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--copper-600);
  display: block;
  margin-bottom: 0.5rem;
}
.section-dark .section-header .kicker { color: var(--brass-400); }

.divider {
  width: 100%;
  height: 28px;
  display: block;
  color: var(--brass-500);
}

/* ============ Grain overlay ============ */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.045;
  z-index: 999;
  mix-blend-mode: multiply;
}

/* ============ Reveal ============ */
.reveal { opacity: 1; }
.reveal.js-hidden {
  opacity: 0;
  transform: translateY(26px);
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.7s ease, transform 0.7s ease, clip-path 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0% 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal.js-hidden { transition: none; opacity: 1; transform: none; clip-path: none; }
}

/* ============ Cards / grid ============ */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--champagne-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
  border: 1px solid rgba(58,14,24,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px -14px rgba(58,14,24,0.4); }
.card-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.08); }
.card-body { padding: 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 0; }
.card-price { font-family: var(--font-mono); font-weight: 700; color: var(--copper-600); font-size: 1.05rem; }
.card-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  background: var(--champagne-200);
  color: var(--burgundy-800);
  border: 1px solid var(--brass-500);
}

/* home collage shapes */
.collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  position: relative;
}
.collage-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-paper); }
.collage-item img { width: 100%; height: 100%; object-fit: cover; }
.collage-a { grid-column: 1 / 4; grid-row: 1 / 3; aspect-ratio: 1/1; }
.collage-b { grid-column: 4 / 7; grid-row: 1 / 2; aspect-ratio: 16/10; align-self: start; margin-top: 1.5rem; }
.collage-c { grid-column: 4 / 7; grid-row: 2 / 3; aspect-ratio: 16/9; }
.collage-caption {
  position: absolute; left: 0.9rem; bottom: 0.9rem;
  background: var(--champagne-100);
  color: var(--burgundy-900);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  box-shadow: var(--shadow-paper);
}
@media (max-width: 760px) {
  .collage { grid-template-columns: 1fr 1fr; }
  .collage-a { grid-column: 1/3; grid-row: 1/2; }
  .collage-b { grid-column: 1/2; grid-row: 2/3; margin-top: 0; }
  .collage-c { grid-column: 2/3; grid-row: 2/3; }
}

/* ============ Planner (signature feature) ============ */
.planner {
  background: var(--champagne-100);
  border: 1.5px solid var(--brass-500);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-paper);
  position: relative;
}
.planner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .planner-grid { grid-template-columns: 1fr; } }
.planner-field { margin-bottom: 1.1rem; }
.planner-field label { display: block; font-weight: 700; margin-bottom: 0.4rem; }
.planner-field input[type="number"],
.planner-field select {
  width: 100%;
  padding: 0.65em 0.8em;
  border-radius: 8px;
  border: 1.5px solid var(--brass-500);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  accent-color: var(--copper-600);
  min-height: 44px;
}
.planner-check { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.planner-check input { width: 20px; height: 20px; accent-color: var(--copper-600); }
.planner-result { border-left: 2px dashed var(--brass-500); padding-left: 2rem; }
@media (max-width: 760px) { .planner-result { border-left: none; padding-left: 0; border-top: 2px dashed var(--brass-500); padding-top: 1.5rem; } }
.planner-result ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.5rem; }
.planner-result li { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.95rem; border-bottom: 1px dotted rgba(58,14,24,0.25); padding-bottom: 0.3rem; }
.planner-total { font-weight: 700; font-size: 1.2rem; display: flex; justify-content: space-between; margin-top: 0.8rem; }
.planner-gauge { width: 100%; height: 90px; margin-bottom: 1rem; }

/* ============ Product / detail / catalog ============ */
.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.4em 1em;
  border-radius: 999px;
  border: 1.5px solid var(--burgundy-900);
  background: transparent;
  color: var(--burgundy-900);
  cursor: pointer;
  min-height: 38px;
}
.filter-btn.active { background: var(--burgundy-900); color: var(--champagne-100); }

.product-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}
.product-strip .card { scroll-snap-align: start; }
@media (min-width: 760px) {
  .product-strip { display: none; }
}
.catalog-grid { display: none; }
@media (min-width: 760px) {
  .catalog-grid { display: grid; }
}

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-paper); aspect-ratio: 4/3; }
.product-detail .media img { width: 100%; height: 100%; object-fit: cover; }
.qty-row { display: flex; align-items: center; gap: 0.8rem; margin: 1.5rem 0; }
.qty-row button {
  width: 44px; height: 44px; border-radius: 8px; border: 1.5px solid var(--burgundy-900);
  background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--burgundy-900);
}
.qty-row input { width: 4rem; text-align: center; height: 44px; border-radius: 8px; border: 1.5px solid var(--brass-500); font-size: 1.1rem; }

/* ============ Cart / checkout ============ */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.cart-table th, .cart-table td { text-align: left; padding: 0.8rem 0.6rem; border-bottom: 1px solid rgba(58,14,24,0.15); }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-row-main { display: flex; gap: 0.8rem; align-items: center; }
.cart-table .remove-btn { background: none; border: none; color: var(--copper-600); cursor: pointer; font-family: var(--font-mono); text-decoration: underline; min-height: 44px; }
.cart-summary { display: flex; justify-content: flex-end; }
.cart-summary-box { min-width: 280px; }
.cart-summary-box .line { display: flex; justify-content: space-between; padding: 0.4rem 0; }
.cart-summary-box .total { font-weight: 700; font-size: 1.3rem; border-top: 2px solid var(--burgundy-900); padding-top: 0.6rem; margin-top: 0.4rem; }
.empty-cart { text-align: center; padding: 3rem 1rem; }

.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; margin-top: 2rem; }
@media (max-width: 860px) { .checkout-grid { grid-template-columns: 1fr; } }

/* ============ Forms ============ */
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-weight: 700; margin-bottom: 0.4rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 0.7em 0.9em;
  border-radius: 8px;
  border: 1.5px solid var(--brass-500);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  min-height: 44px;
  accent-color: var(--copper-600);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field .err-msg { color: var(--copper-600); font-size: 0.85rem; display: none; margin-top: 0.3rem; }
.form-field.invalid input, .form-field.invalid textarea, .form-field.invalid select { border-color: #b4283c; }
.form-field.invalid .err-msg { display: block; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

/* ============ Badge / seal ============ */
.seal { width: 130px; height: 130px; color: var(--brass-500); }

/* ============ FAQ ============ */
.faq-item { border-bottom: 1px solid rgba(58,14,24,0.15); padding: 1rem 0; }
.faq-item summary {
  font-family: var(--font-display);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0.4rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item p { padding-top: 0.5rem; color: var(--burgundy-800); }

/* ============ Legal pages ============ */
.legal-content { max-width: 70ch; }
.legal-content h2 { margin-top: 2rem; font-size: 1.3rem; }
.legal-content ul { padding-left: 1.2rem; }

/* ============ Cookie banner ============ */
.cookie-banner {
  position: fixed;
  bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 640px;
  margin: 0 auto;
  background: var(--burgundy-900);
  color: var(--champagne-100);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.5);
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--brass-500);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 260px; font-size: 0.92rem; color: var(--champagne-100); }
.cookie-banner a { color: var(--brass-400); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* ============ 404 ============ */
.page-404 { text-align: center; padding: 5rem 1rem; }
.page-404 svg { width: 180px; height: 180px; margin-bottom: 1rem; }

/* toast for cart add */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--burgundy-900);
  color: var(--champagne-100);
  padding: 0.8em 1.3em;
  border-radius: 10px;
  box-shadow: var(--shadow-paper);
  z-index: 300;
  font-weight: 600;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* continuous subtle element: rotating gear */
.gear-spin { animation: gear-spin 18s linear infinite; transform-origin: 50% 50%; transform-box: fill-box; }
.header-actions { display: flex; align-items: center; gap: 0.9rem; }
@keyframes gear-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .gear-spin { animation: none; }
}

.icon { width: 1.4em; height: 1.4em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--burgundy-900); color: var(--champagne-100);
  padding: 0.6em 1em; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }
