/* ==========================================================================
   Bakkerij Van Roey — Shared Design System
   styles.css — one file every page links to.
   Tokens · typography · layout · components · site chrome · motion · utilities
   Mobile-first: base rules target small screens; min-width queries scale up.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Yeseva+One&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Open+Sans:wght@400;500;600;700&display=swap");

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — warm, cream/cocoa artisanal bakery */
  --color-primary: #a85b1e;          /* deep caramel — buttons, links, accents */
  --color-primary-dark: #7e4210;
  --color-primary-light: #c98a3c;    /* amber caramel */
  --color-secondary: #6e4b36;        /* cocoa brown */
  --color-secondary-dark: #4a3125;
  --color-accent: #e8b7c4;           /* soft celebration pink */
  --color-accent-strong: #d98ba0;

  /* Surfaces */
  --color-bg: #fbf6ee;               /* cream page base */
  --color-surface: #ffffff;
  --color-surface-alt: #f4ead9;
  --color-surface-deep: #3b2a20;

  /* Text */
  --color-text: #3b2a20;             /* chocolate brown */
  --color-text-muted: #6e4b36;
  --color-text-soft: #8a7365;
  --color-text-invert: #fbf6ee;
  --color-text-invert-muted: #e4d5c3;

  /* Borders & states */
  --color-border: #e4d5c3;
  --color-border-strong: #cdb79d;
  --color-focus: #0693e3;
  --color-success: #2f7d4f;
  --color-warning: #b8860b;
  --color-danger: #b3372f;

  /* Type */
  --font-display: "Yeseva One", Georgia, "Times New Roman", serif;
  --font-heading: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Lora", Georgia, serif;
  --font-ui: "Open Sans", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-xs: 0.8125rem;   /* 13px */
  --fs-sm: 0.9375rem;   /* 15px */
  --fs-base: 1rem;      /* 16px */
  --fs-md: 1.125rem;    /* 18px */
  --fs-lg: 1.375rem;    /* 22px */
  --fs-xl: 1.75rem;     /* 28px */
  --fs-2xl: 2.25rem;    /* 36px */
  --fs-3xl: 3rem;       /* 48px */
  --fs-4xl: 3.75rem;    /* 60px */

  --lh-tight: 1.15;
  --lh-heading: 1.25;
  --lh-body: 1.7;
  --lh-ui: 1.4;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --tracking-wide: 0.06em;
  --tracking-wider: 0.12em;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6rem;

  /* Container widths */
  --container: 1140px;
  --container-narrow: 760px;
  --container-wide: 1360px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(59, 42, 32, 0.06), 0 1px 3px rgba(59, 42, 32, 0.08);
  --shadow-md: 0 4px 12px rgba(59, 42, 32, 0.10), 0 2px 4px rgba(59, 42, 32, 0.06);
  --shadow-lg: 0 12px 28px rgba(59, 42, 32, 0.14), 0 4px 8px rgba(59, 42, 32, 0.07);
  --shadow-xl: 0 24px 48px rgba(59, 42, 32, 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 160ms;
  --duration: 280ms;
  --duration-slow: 520ms;

  --z-header: 100;
  --z-overlay: 200;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}
a:hover { color: var(--color-primary-dark); }

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

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: var(--space-7) 0;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  color: var(--color-text);
  text-wrap: balance;
}

h1 {
  font-family: var(--font-display);
  font-weight: var(--fw-normal);
  font-size: clamp(2.25rem, 6vw, var(--fs-4xl));
  line-height: var(--lh-tight);
}
h2 { font-size: clamp(1.75rem, 4vw, var(--fs-3xl)); }
h3 { font-size: clamp(1.375rem, 2.6vw, var(--fs-xl)); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); font-family: var(--font-ui); font-weight: var(--fw-semibold); }
h6 {
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-muted);
}

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.lead {
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.blockquote {
  margin: var(--space-6) 0;
  padding: var(--space-5) var(--space-6);
  border-left: 4px solid var(--color-primary-light);
  background: var(--color-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container-narrow { max-width: var(--container-narrow); }
.container-wide { max-width: var(--container-wide); }

.section { padding-block: var(--space-8); }
.section--tight { padding-block: var(--space-6); }
.section--alt { background: var(--color-surface-alt); }
.section--deep {
  background: var(--color-surface-deep);
  color: var(--color-text-invert);
}
.section--deep h1,
.section--deep h2,
.section--deep h3 { color: var(--color-text-invert); }
.section--deep .lead { color: var(--color-text-invert-muted); }

.section__head {
  max-width: 46rem;
  margin-bottom: var(--space-7);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.divider {
  height: 1px;
  background: var(--color-border);
  border: 0;
  margin: 0;
}

/* Flex / grid helpers */
.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.auto-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}
.stack > * + * { margin-top: var(--space-4); }
.split {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.split > * { flex: 1 1 0; }

/* --------------------------------------------------------------------------
   5. SITE CHROME — header / nav / footer (reused verbatim on every page)
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -4rem;
  z-index: calc(var(--z-header) + 1);
  padding: var(--space-3) var(--space-5);
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: top var(--duration) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); }

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(251, 246, 238, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

/* Utility bar: hours + phone + order CTA */
.site-topbar {
  background: var(--color-secondary-dark);
  color: var(--color-text-invert);
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
}
.site-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-2);
  text-align: center;
}
.site-topbar a { color: var(--color-text-invert); }
.site-topbar a:hover { color: var(--color-accent); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-4);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: var(--color-text);
  line-height: 1.1;
}
.brand:hover { color: var(--color-primary); }
.brand__name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-normal);
  letter-spacing: 0.01em;
}
.brand__tagline {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Mobile nav toggle (hamburger) */
.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.site-nav__toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 14px;
}
.site-nav__toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--duration) var(--ease-out), opacity var(--duration-fast) ease;
}
.site-header.is-open .site-nav__toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .site-nav__toggle-bars span:nth-child(2) { opacity: 0; }
.site-header.is-open .site-nav__toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Checkbox fallback: works with pure CSS if pages prefer no JS */
.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }

.site-nav { width: 100%; }
.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: var(--space-1);
}
.site-nav__link {
  display: block;
  padding: var(--space-3) var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  border-radius: var(--radius-sm);
}
.site-nav__link:hover {
  color: var(--color-primary);
  background: var(--color-surface-alt);
}
.site-nav__link[aria-current="page"] {
  color: var(--color-primary);
  box-shadow: inset 0 -2px 0 var(--color-primary-light);
}

.site-header.is-open .site-nav__list,
.site-nav.is-open .site-nav__list,
.nav-toggle-input:checked ~ .site-nav .site-nav__list {
  display: flex;
}

.site-header__order { display: none; }

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-ui);
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease,
    color var(--duration-fast) ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-primary {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.btn-secondary {
  color: #fff;
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}
.btn-secondary:hover {
  background: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  color: #fff;
}

.btn-ghost {
  color: var(--color-primary);
  background: transparent;
  border-color: var(--color-primary);
}
.btn-ghost:hover {
  color: #fff;
  background: var(--color-primary);
}

.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--fs-base); }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--fs-xs); }
.btn-block { display: flex; width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* --------------------------------------------------------------------------
   7. CARDS, BADGES, PRODUCT PIECES
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card__media {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  background: var(--color-surface-alt);
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  flex: 1;
}
.card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
}
.card__text { margin: 0; color: var(--color-text-muted); font-size: var(--fs-sm); }
.card__price {
  margin-top: auto;
  font-family: var(--font-ui);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}
.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-secondary-dark);
  background: var(--color-accent);
  border-radius: var(--radius-pill);
}
.badge--muted { background: var(--color-surface-alt); color: var(--color-text-muted); }
.badge--primary { background: var(--color-primary-light); color: #fff; }

.tag-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.notice {
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-muted);
}

/* Forms */
.field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.label { font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.input,
.textarea,
.select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font: inherit;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(168, 91, 30, 0.18);
  outline: none;
}
.textarea { min-height: 8rem; resize: vertical; }

/* --------------------------------------------------------------------------
   8. SITE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-surface-deep);
  color: var(--color-text-invert-muted);
  font-family: var(--font-ui);
  padding-top: var(--space-9);
}
.site-footer a { color: var(--color-text-invert); }
.site-footer a:hover { color: var(--color-accent); }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-8);
}
.site-footer__col { display: flex; flex-direction: column; gap: var(--space-3); }
.site-footer__brand {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--color-text-invert);
}
.site-footer__title {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0;
}
.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--fs-sm);
}
.site-footer__text { margin: 0; font-size: var(--fs-sm); }
.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-block: var(--space-5);
  border-top: 1px solid rgba(228, 213, 195, 0.2);
  font-size: var(--fs-xs);
  color: var(--color-text-invert-muted);
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.site-footer__social { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* --------------------------------------------------------------------------
   9. MOTION — reusable classes matching the reference feel
   -------------------------------------------------------------------------- */
@keyframes bvr-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes bvr-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(15px); }
}
@keyframes bvr-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(15px); }
}
@keyframes bvr-toss {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(6deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-6deg); }
  100% { transform: rotate(0deg); }
}
@keyframes bvr-zoom {
  0% { transform: scale(1); }
  25% { transform: scale(0.9); }
  50% { transform: scale(1); }
  75% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
@keyframes bvr-orbit {
  0% { opacity: 1; transform: rotate(180deg); animation-timing-function: ease-out; }
  7% { opacity: 1; transform: rotate(300deg); animation-timing-function: linear; }
  30% { opacity: 0.7; transform: rotate(410deg); animation-timing-function: ease-in-out; }
  39% { opacity: 0.5; transform: rotate(645deg); animation-timing-function: linear; }
  70% { opacity: 0.3; transform: rotate(770deg); animation-timing-function: ease-out; }
  75% { opacity: 0.1; transform: rotate(900deg); animation-timing-function: ease-out; }
  76% { opacity: 0; transform: rotate(900deg); }
  100% { opacity: 0; transform: rotate(900deg); }
}
@keyframes bvr-stripes {
  0% { background-position: 40px 0; }
  100% { background-position: 0 0; }
}
@keyframes bvr-plane {
  0% { transform: perspective(120px); }
  50% { transform: perspective(120px) rotateY(180deg); }
  100% { transform: perspective(120px) rotateY(180deg) rotateX(180deg); }
}
@keyframes bvr-scale-out {
  0% { transform: scale(0); }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes bvr-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}
@keyframes bvr-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bvr-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes bvr-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Scroll reveal: add .reveal then .is-visible (via JS/IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible,
.reveal--visible { opacity: 1; transform: none; }

.fade-up { animation: bvr-fade-up var(--duration-slow) var(--ease-out) both; }
.fade-in { animation: bvr-fade-in var(--duration-slow) var(--ease-out) both; }
.fade-up--delay-1 { animation-delay: 120ms; }
.fade-up--delay-2 { animation-delay: 240ms; }
.fade-up--delay-3 { animation-delay: 360ms; }

.float { animation: bvr-float 3s var(--ease-in-out) infinite; }
.drift { animation: bvr-drift 3s var(--ease-in-out) infinite; }
.toss { animation: bvr-toss 2.4s var(--ease-in-out) infinite; }
.zoom-pulse { animation: bvr-zoom 2.4s var(--ease-in-out) infinite; }
.spin { animation: bvr-spin 1.4s linear infinite; }
.orbit { animation: bvr-orbit 2.4s linear infinite; }
.spin-plane { animation: bvr-plane 1.2s var(--ease-in-out) infinite; }

/* Reference-motion aliases -------------------------------------------------
   The source site exposed these utility names; map them onto the shared
   keyframes above so any page can use the same vocabulary. */
.fa-spin { animation: bvr-spin 1.4s linear infinite; }
.fw-spinner-rotate-plane { animation: bvr-plane 1.2s var(--ease-in-out) infinite; }
.fw-spinner-double-bounce { animation: bvr-bounce 1.4s var(--ease-in-out) infinite both; }
.fw-spinner-rect { animation: bvr-stripes 1s linear infinite; }
.progress-bar-stripes { animation: bvr-stripes 1s linear infinite; }
.vertical-moving { animation: bvr-float 3s var(--ease-in-out) infinite; }
.horizontal-moving { animation: bvr-drift 3s var(--ease-in-out) infinite; }
.tossing-moving { animation: bvr-toss 2.4s var(--ease-in-out) infinite; }
.zoom-moving { animation: bvr-zoom 2.4s var(--ease-in-out) infinite; }

.marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
  gap: var(--space-6);
}
.marquee__track {
  display: flex;
  flex-shrink: 0;
  gap: var(--space-6);
  min-width: 100%;
  animation: bvr-marquee 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* Loading spinners */
.spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: bvr-spin 0.8s linear infinite;
}
.spinner--dots { display: inline-flex; gap: 6px; border: 0; width: auto; height: auto; }
.spinner--dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: bvr-bounce 1.4s var(--ease-in-out) infinite both;
}
.spinner--dots span:nth-child(2) { animation-delay: -0.32s; }
.spinner--dots span:nth-child(3) { animation-delay: -0.16s; }

.progress-striped {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 75%,
    transparent
  );
  background-size: 40px 40px;
  animation: bvr-stripes 1s linear infinite;
}

/* --------------------------------------------------------------------------
   10. UTILITIES
   -------------------------------------------------------------------------- */
.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;
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mt-6 { margin-top: var(--space-6); }
.rounded { border-radius: var(--radius-lg); }
.shadow { box-shadow: var(--shadow-md); }

/* --------------------------------------------------------------------------
   11. RESPONSIVE — min-width queries (mobile-first)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-6); }
  .section { padding-block: var(--space-10); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { flex-direction: row; align-items: center; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  /* Desktop nav: hide toggle, lay links out inline */
  .site-nav__toggle { display: none; }
  .site-header__inner { padding-block: var(--space-5); }
  .site-nav { width: auto; }
  .site-nav__list {
    display: flex !important;
    flex-direction: row;
    gap: var(--space-2);
  }
  .site-nav__link { padding: var(--space-2) var(--space-4); }
  .site-header__order { display: inline-flex; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-8); }
}

@media (min-width: 1280px) {
  .section { padding-block: var(--space-11); }
}

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

@media print {
  .site-header,
  .site-footer,
  .site-nav__toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
