/* ==========================================================================
   Canadian Made Finds — main stylesheet
   Warm Canadian heritage: cream paper, forest green, maple red.
   ========================================================================== */

:root {
  /* Colour tokens */
  --paper: #f7f2e8;
  --paper-2: #efe7d8;
  --card: #fffdf8;
  --ink: #1d1b17;
  --ink-2: #4a463e;
  --ink-3: #6e685d;
  --line: #ddd3c1;
  --forest: #1f3a2e;
  --forest-2: #2c4f3f;
  --pine: #13261e;
  --maple: #b4372b;
  --maple-dark: #8f2a21;
  --gold: #c08a3e;
  --on-dark: #f7f2e8;
  --on-dark-2: #c9d3cc;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing (spacious density) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;
  --section: clamp(4.5rem, 10vw, 8.5rem);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1240px;
  --max-prose: 680px;

  --radius-s: 6px;
  --radius: 14px;
  --radius-l: 24px;

  --shadow-s: 0 1px 2px rgba(29, 27, 23, 0.06), 0 2px 8px rgba(29, 27, 23, 0.05);
  --shadow: 0 2px 6px rgba(29, 27, 23, 0.06), 0 18px 40px -18px rgba(29, 27, 23, 0.28);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 900ms;

  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--maple); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.18; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }

em, i { font-style: italic; }
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 350; }

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

::selection { background: var(--maple); color: #fff; }

.screen-reader-text,
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.1rem; border-radius: var(--radius-s);
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 1rem; color: var(--paper); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--max-prose) + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--maple);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: ""; width: 1.75rem; height: 1px; background: currentColor;
}
.eyebrow--plain::before { display: none; }

.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 38em; }
.muted { color: var(--ink-3); }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-5); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: 0; max-width: 16em; }
.section-head p { margin: 0; max-width: 30em; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--maple);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 0.95rem/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--maple-dark);
  transform: translateY(101%);
  transition: transform 420ms var(--ease-out);
  border-radius: inherit;
}
.btn:hover { color: var(--btn-fg); box-shadow: 0 10px 24px -12px rgba(143, 42, 33, 0.7); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: scale(0.98); }
.btn .icon { width: 1.05em; height: 1.05em; transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(3px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: currentColor; }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { --btn-fg: var(--paper); box-shadow: none; }

.btn--light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn--light::after { background: #fff; }
.btn--light:hover { --btn-fg: var(--ink); box-shadow: none; }

.btn--forest { --btn-bg: var(--forest); }
.btn--forest::after { background: var(--pine); }

.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size var(--dur) var(--ease-out), color var(--dur-fast);
}
.text-link:hover { color: var(--maple); background-size: 40% 1px; }
.text-link .icon { width: 1em; height: 1em; transition: transform var(--dur) var(--ease-out); }
.text-link:hover .icon { transform: translateX(4px); }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--ink);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform 420ms var(--ease-out);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }

.has-hero .site-header:not(.is-scrolled) { color: #fff; }
.site-header.is-scrolled {
  background: rgba(247, 242, 232, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

/* Keep the header below the WordPress toolbar when signed in */
.admin-bar .site-header { top: 32px; }
.admin-bar .progress { top: 32px; }
.admin-bar .site-header.is-hidden { transform: translateY(calc(-100% - 32px)); }
@media (max-width: 782px) {
  .admin-bar .site-header, .admin-bar .progress { top: 46px; }
  .admin-bar .site-header.is-hidden { transform: translateY(calc(-100% - 46px)); }
}
@media (max-width: 600px) {
  .admin-bar .site-header, .admin-bar .progress { top: 0; }
  .admin-bar .site-header:not(.is-scrolled) { top: 46px; }
}
body:not(.has-hero) .site-header { background: rgba(247, 242, 232, 0.92); box-shadow: 0 1px 0 var(--line); }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand__mark { width: 30px; height: 30px; color: var(--maple); transition: transform 600ms var(--ease-out); }
.has-hero .site-header:not(.is-scrolled) .brand__mark { color: #fff; }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); }
.brand__name { font-family: var(--font-display); font-size: 1.28rem; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.brand__name em { font-style: italic; font-weight: 350; }
.custom-logo { max-height: 44px; width: auto; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.primary-nav a {
  position: relative; display: inline-block; padding-block: 0.5rem;
  font-size: 0.93rem; font-weight: 500; text-decoration: none; color: inherit;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 420ms var(--ease-out);
}
.primary-nav a:hover { color: inherit; }
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header-cta { display: inline-flex; }
.header-cta .btn { min-height: 42px; padding: 0.7rem 1.15rem; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; margin-right: -10px;
  align-items: center; justify-content: center;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 24px; height: 14px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 420ms var(--ease-out), top 420ms var(--ease-out), opacity var(--dur-fast);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6.25px; }
.nav-toggle__bars span:nth-child(3) { top: 12.5px; }
.nav-open .nav-toggle__bars span:nth-child(1) { top: 6.25px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { top: 6.25px; transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--forest);
  color: var(--on-dark);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 2.2rem) 2.4rem);
  visibility: hidden;
  transition: clip-path 700ms var(--ease-in-out), visibility 0s linear 700ms;
}
.nav-open .mobile-nav { clip-path: circle(150% at calc(100% - 2.2rem) 2.4rem); visibility: visible; transition: clip-path 700ms var(--ease-in-out), visibility 0s; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { overflow: hidden; border-bottom: 1px solid rgba(247, 242, 232, 0.14); }
.mobile-nav li > a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; min-height: 56px;
  font-family: var(--font-display); font-size: clamp(1.75rem, 7vw, 2.4rem); line-height: 1.1;
  color: var(--on-dark); text-decoration: none;
  transform: translateY(110%);
  transition: transform 700ms var(--ease-out);
}
.nav-open .mobile-nav li > a { transform: none; }
.nav-open .mobile-nav li:nth-child(2) a { transition-delay: 60ms; }
.nav-open .mobile-nav li:nth-child(3) a { transition-delay: 120ms; }
.nav-open .mobile-nav li:nth-child(4) a { transition-delay: 180ms; }
.nav-open .mobile-nav li:nth-child(5) a { transition-delay: 240ms; }
.nav-open .mobile-nav li:nth-child(6) a { transition-delay: 300ms; }
.mobile-nav__foot { font-size: 0.9rem; color: var(--on-dark-2); }
.mobile-nav__foot a { color: var(--on-dark); text-decoration: underline; }
.nav-open .site-header { color: var(--on-dark) !important; background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-open .site-header .brand__mark { color: var(--on-dark); }
.nav-open { overflow: hidden; }

@media (max-width: 900px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 901px) {
  .mobile-nav { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--pine);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  transform: scale(1.12);
  animation: kenburns 22s var(--ease-out) forwards;
  will-change: transform;
}
@keyframes kenburns { to { transform: scale(1.0); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 17, 0.55) 0%, rgba(10, 22, 17, 0) 28%),
    linear-gradient(0deg, rgba(10, 22, 17, 0.82) 0%, rgba(10, 22, 17, 0.35) 42%, rgba(10, 22, 17, 0) 70%);
}
.hero__content { position: relative; z-index: 1; width: 100%; padding-block: calc(var(--header-h) + 3rem) clamp(3rem, 8vh, 6rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--space-7); }
.hero h1 { color: #fff; max-width: 11.5em; margin-bottom: var(--space-5); font-weight: 350; }
.hero h1 em { font-style: italic; font-weight: 300; color: #f3d9b8; }
.hero .lead { color: rgba(255, 255, 255, 0.88); margin-bottom: var(--space-6); max-width: 32em; }
.hero .eyebrow { color: #f3d9b8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero__credit {
  position: absolute; right: var(--gutter); bottom: 1rem; z-index: 1;
  font-size: 0.72rem; color: rgba(255, 255, 255, 0.6); text-decoration: none;
}
.hero__credit:hover { color: #fff; }

/* Rotating seal */
.seal { position: relative; width: 148px; height: 148px; flex: none; color: #fff; }
.seal svg.seal__ring { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal__ring text { font: 600 10.5px/1 var(--font-body); letter-spacing: 3.2px; text-transform: uppercase; fill: currentColor; }
.seal__center { position: absolute; inset: 0; display: grid; place-items: center; }
.seal__center svg { width: 46px; height: 46px; color: #f3d9b8; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.5rem; z-index: 1; transform: translateX(-50%);
  width: 1px; height: 54px; background: rgba(255, 255, 255, 0.25); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: #fff; animation: cue 2.2s var(--ease-in-out) infinite;
}
@keyframes cue { to { top: 110%; } }

@media (max-width: 760px) {
  .hero { min-height: 92svh; }
  .hero__grid { grid-template-columns: 1fr; }
  .seal { display: none; }
  .scroll-cue { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* Split-word headline animation */
.split-line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-word { display: inline-block; transform: translateY(105%); transition: transform 1100ms var(--ease-out); }
.is-split.is-in .split-word { transform: none; }

/* --------------------------------------------------------------------------
   Marquee strip
   -------------------------------------------------------------------------- */
.marquee {
  background: var(--forest); color: var(--on-dark);
  overflow: hidden; white-space: nowrap;
  padding-block: 1.05rem;
  border-block: 1px solid rgba(0, 0, 0, 0.1);
}
.marquee__track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: inline-flex; align-items: center; }
.marquee__item { display: inline-flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; font-family: var(--font-display); font-size: clamp(1.05rem, 2vw, 1.35rem); font-style: italic; font-weight: 350; }
.marquee__item svg { width: 16px; height: 16px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Reveal-on-scroll (only when JS is running)
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Image wipe reveal. The clip sits on the <img>, never on the observed wrapper:
   a fully clipped wrapper reads as "not visible" to IntersectionObserver and would never reveal. */
.js [data-reveal="image"] { opacity: 1; transform: none; }
.js [data-reveal="image"] img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.18);
  transition: clip-path 1300ms var(--ease-out), transform 1800ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal="image"].is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* --------------------------------------------------------------------------
   Featured guide (Start here)
   -------------------------------------------------------------------------- */
.feature {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;
}
.feature__collage { position: relative; aspect-ratio: 1 / 1.02; }
.feature__collage figure { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); }
.feature__collage img { width: 100%; height: 100%; object-fit: cover; }
.feature__collage .c1 { left: 0; top: 4%; width: 62%; aspect-ratio: 4 / 5; z-index: 1; }
.feature__collage .c2 { right: 0; top: 0; width: 44%; aspect-ratio: 1 / 1; }
.feature__collage .c3 { right: 6%; bottom: 0; width: 50%; aspect-ratio: 5 / 4; z-index: 2; }
.feature__tag {
  position: absolute; left: 6%; bottom: 6%; z-index: 3;
  background: var(--card); border-radius: 999px; box-shadow: var(--shadow-s);
  padding: 0.6rem 1rem 0.6rem 0.7rem; display: inline-flex; gap: 0.5rem; align-items: center;
  font-size: 0.85rem; font-weight: 600;
}
.feature__tag svg { width: 22px; height: 22px; color: var(--maple); }
.feature__body h2 { margin-bottom: var(--space-5); }
.feature__meta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-5) 0 var(--space-6); padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.8rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  font-size: 0.82rem; font-weight: 500; color: var(--ink-2);
  white-space: nowrap;
}
.chip svg { width: 15px; height: 15px; color: var(--forest-2); }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature__collage { max-width: 560px; width: 100%; }
}

/* --------------------------------------------------------------------------
   Category tiles
   -------------------------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.cat-tile {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 4 / 5;
  color: #fff; text-decoration: none; background: var(--forest);
  isolation: isolate;
}
.cat-grid .cat-tile:nth-child(1) { grid-row: span 2; aspect-ratio: auto; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.cat-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(0deg, rgba(10, 22, 17, 0.78) 0%, rgba(10, 22, 17, 0.1) 55%, rgba(10, 22, 17, 0) 100%);
  transition: opacity var(--dur) var(--ease-out);
}
.cat-tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1rem, 2.4vw, 1.6rem); display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.cat-tile h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.65rem); color: #fff; }
.cat-tile__count { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; margin-bottom: 0.35rem; font-family: var(--font-body); }
.cat-tile__arrow {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.cat-tile__arrow svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.cat-tile:hover { color: #fff; }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile:hover .cat-tile__arrow { background: #fff; color: var(--ink); }
.cat-tile:hover .cat-tile__arrow svg { transform: rotate(-45deg); }

@media (max-width: 860px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid .cat-tile:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}
/* Small tiles on phones: smaller type, no arrow circle, darker scrim so text reads on bright photos */
@media (max-width: 600px) {
  .cat-tile::after { background: linear-gradient(0deg, rgba(10, 22, 17, 0.86) 0%, rgba(10, 22, 17, 0.35) 60%, rgba(10, 22, 17, 0.05) 100%); }
  .cat-tile__body { padding: 0.85rem; }
  .cat-tile h3 { font-size: 1.08rem; line-height: 1.2; }
  .cat-tile__count { font-size: 0.68rem; letter-spacing: 0.1em; white-space: nowrap; }
  .cat-grid .cat-tile:not(:first-child) .cat-tile__arrow { display: none; }
}

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.6vw, 2rem); }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.find-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}
.find-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.find-card__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--paper-2); }
.find-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.find-card:hover .find-card__media img { transform: scale(1.06); }
.find-card__badge { position: absolute; left: 0.9rem; top: 0.9rem; z-index: 1; }
.find-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.4rem 1.5rem; }
.find-card__brand { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.4rem; }
.find-card h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.find-card h3 a { text-decoration: none; }
.find-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.find-card p { color: var(--ink-2); font-size: 0.97rem; margin-bottom: 1.1rem; }
.find-card__meta { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--ink-2); }
.find-card__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.find-card__meta svg { width: 15px; height: 15px; color: var(--forest-2); }
.find-card__price { font-weight: 600; color: var(--ink); }

.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.38rem 0.7rem 0.38rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--maple-dark);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em;
  box-shadow: var(--shadow-s);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.badge svg { width: 14px; height: 14px; color: var(--maple); }
.badge--forest { color: var(--forest); }
.badge--forest svg { color: var(--forest-2); }

/* --------------------------------------------------------------------------
   Labels explainer (Why Canadian Made Finds)
   -------------------------------------------------------------------------- */
.why { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.why__media { position: sticky; top: calc(var(--header-h) + 2rem); border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 5; }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__media figcaption {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(255, 253, 248, 0.94); border-radius: var(--radius);
  padding: 1rem 1.15rem; font-size: 0.92rem; color: var(--ink-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.why__media figcaption strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 450; font-size: 1.15rem; margin-bottom: 0.2rem; }

.label-list { list-style: none; margin: var(--space-6) 0 var(--space-6); padding: 0; display: grid; gap: 1rem; }
.label-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center;
  padding: 1.35rem 1.5rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
}
.label-item__stat { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.3rem); line-height: 1; color: var(--forest); min-width: 3.3ch; font-variant-numeric: tabular-nums; }
.label-item__stat small { font-size: 0.45em; vertical-align: super; margin-left: 1px; }
.label-item h3 { font-size: 1.2rem; margin-bottom: 0.25rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.label-item p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
.label-item--no { background: transparent; border-style: dashed; }
.label-item--no .label-item__stat { color: var(--ink-3); }
.verdict { display: inline-flex; align-items: center; gap: 0.3rem; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.55rem; border-radius: 999px; }
.verdict svg { width: 13px; height: 13px; }
.verdict--yes { background: #e2ece5; color: var(--forest); }
.verdict--no { background: #f3e1dd; color: var(--maple-dark); }

@media (max-width: 860px) {
  .why { grid-template-columns: 1fr; }
  .why__media { position: relative; top: 0; aspect-ratio: 16 / 11; }
}

/* --------------------------------------------------------------------------
   Founder note
   -------------------------------------------------------------------------- */
.founder { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.founder__media { position: relative; }
.founder__media figure { margin: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 5; }
.founder__media img { width: 100%; height: 100%; object-fit: cover; }
.founder__stamp {
  position: absolute; right: -1.5rem; bottom: 2rem;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--maple); color: #fff;
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.15;
  box-shadow: var(--shadow);
  transform: rotate(-8deg);
}
.founder blockquote { margin: 0 0 var(--space-5); font-family: var(--font-display); font-weight: 350; font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.25; letter-spacing: -0.01em; }
.founder blockquote::before { content: "\201C"; display: block; font-size: 4rem; line-height: 0.6; color: var(--maple); margin-bottom: 0.5rem; }
.founder__sig { display: flex; align-items: center; gap: 1rem; margin-bottom: var(--space-6); color: var(--ink-2); }
.founder__sig strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 450; font-size: 1.3rem; }

@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; }
  .founder__media { max-width: 440px; }
  .founder__stamp { right: 1rem; width: 104px; height: 104px; font-size: 0.95rem; }
}

/* --------------------------------------------------------------------------
   CTA band (Pinterest)
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; color: #fff; background: var(--pine); }
.cta-band__media { position: absolute; inset: -12% 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 22, 17, 0.85) 0%, rgba(10, 22, 17, 0.55) 55%, rgba(10, 22, 17, 0.25) 100%); }
.cta-band__inner { position: relative; z-index: 1; padding-block: clamp(5rem, 12vw, 9rem); }
.cta-band h2 { color: #fff; max-width: 12em; }
.cta-band p { color: rgba(255, 255, 255, 0.86); max-width: 30em; margin-bottom: var(--space-6); }
.cta-band .eyebrow { color: #f3d9b8; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--pine); color: var(--on-dark-2); padding-block: clamp(3.5rem, 8vw, 6rem) 2rem; font-size: 0.95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #f3d9b8; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(2, 1fr); gap: var(--space-7); padding-bottom: var(--space-7); border-bottom: 1px solid rgba(247, 242, 232, 0.14); }
.footer-brand .brand { color: var(--on-dark); margin-bottom: var(--space-4); }
.footer-brand .brand__mark { color: #e2725f; }
.footer-brand p { max-width: 26em; }
.footer-col h2 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.footer-col a { display: inline-block; padding-block: 0.35rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-5); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.footer-disclosure { font-style: italic; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* --------------------------------------------------------------------------
   Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 14em; margin-bottom: var(--space-5); }
.page-hero .lead { margin-bottom: 0; }
.page-hero--media { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.page-hero__image { margin: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 5 / 4; }
.page-hero__image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .page-hero--media { grid-template-columns: 1fr; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0 0 var(--space-5); padding: 0; font-size: 0.85rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--maple); }

.disclosure-note {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.9rem 1.1rem; border-radius: var(--radius-s);
  background: var(--paper-2); border-left: 3px solid var(--gold);
  font-size: 0.9rem; color: var(--ink-2);
}
.disclosure-note svg { width: 18px; height: 18px; color: var(--gold); margin-top: 0.15rem; }
.disclosure-note p { margin: 0; }

/* --------------------------------------------------------------------------
   Prose (WordPress page/post content)
   -------------------------------------------------------------------------- */
.prose { max-width: var(--max-prose); }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-top: 2.2em; margin-bottom: 0; }
.prose h3 { margin-top: 1.8em; margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--maple); }
.prose a { color: var(--maple-dark); }
.prose a:hover { color: var(--maple); }
.prose blockquote { margin-inline: 0; padding-left: 1.4rem; border-left: 2px solid var(--maple); font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45; }
.prose img, .prose figure { border-radius: var(--radius); }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: 0.85rem; color: var(--ink-3); margin-top: 0.6rem; }
.prose table, .label-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }
.prose th, .prose td, .label-table th, .label-table td { text-align: left; padding: 0.95rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th, .label-table th { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; background: var(--paper-2); }
.prose tr:last-child td, .label-table tr:last-child td { border-bottom: 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.5em; }
.prose .wp-block-button__link { border-radius: 999px; background: var(--maple); color: #fff; padding: 0.85rem 1.5rem; text-decoration: none; font-weight: 600; }
.alignwide { max-width: min(1000px, 100vw - 2 * var(--gutter)); }
.wp-caption-text, .wp-element-caption { font-size: 0.85rem; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Gift guide
   -------------------------------------------------------------------------- */
.guide-hero { position: relative; padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem)); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.guide-hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.guide-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); margin-bottom: var(--space-5); }
.guide-hero__media { position: relative; margin: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3.3; }
.guide-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.guide-hero__facts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: var(--space-5) 0; padding: 0; list-style: none; }
@media (max-width: 860px) { .guide-hero__grid { grid-template-columns: 1fr; } }

.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 120; height: 3px; background: transparent; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--maple); transform-origin: left; transform: scaleX(0); }

.guide-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); font-size: 0.92rem; }
.toc__title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; border-left: 1px solid var(--line); }
.toc li { counter-increment: toc; }
.toc a {
  position: relative; display: flex; gap: 0.7rem; padding: 0.45rem 0 0.45rem 1rem; margin-left: -1px;
  color: var(--ink-2); text-decoration: none; border-left: 2px solid transparent; line-height: 1.35;
  transition: color var(--dur-fast), border-color var(--dur) var(--ease-out), background-color var(--dur);
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--ink-3); font-size: 0.8rem; padding-top: 0.1rem; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--maple); font-weight: 600; }
.toc a.is-active::before { color: var(--maple); }

.toc-mobile { display: none; margin-bottom: var(--space-6); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.toc-mobile summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; min-height: 48px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary svg { transition: transform var(--dur) var(--ease-out); }
.toc-mobile[open] summary svg { transform: rotate(180deg); }
.toc-mobile ol { margin: 0; padding: 0 1.2rem 1rem 2.6rem; }
.toc-mobile li { padding: 0.3rem 0; }
.toc-mobile a { text-decoration: none; color: var(--ink-2); }

@media (max-width: 1000px) {
  .guide-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .toc-mobile { display: block; }
}

.guide-intro { font-size: 1.12rem; color: var(--ink-2); max-width: 40em; margin-bottom: var(--space-7); }

.entry {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.entry:nth-of-type(even) .entry__media { order: 2; }
.entry__media { position: relative; margin: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--paper-2); }
.entry__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease-out); }
.entry__media:hover img { transform: scale(1.04); }
.entry__media .badge { position: absolute; left: 1rem; top: 1rem; z-index: 1; }
.entry__num { display: block; font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 0.9; color: var(--maple); margin-bottom: var(--space-3); }
.entry__brand { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.4rem; }
.entry h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: var(--space-4); }
.entry__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 var(--space-5); border-block: 1px solid var(--line); }
.entry__facts div { padding: 0.85rem 0; }
.entry__facts div + div { padding-left: 1.1rem; border-left: 1px solid var(--line); }
.entry__facts dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.2rem; }
.entry__facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.entry__why { font-size: 1.07rem; color: var(--ink); }
.entry__maker { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink-2); font-size: 0.95rem; margin-bottom: var(--space-6); }
.entry__maker svg { width: 18px; height: 18px; color: var(--forest-2); margin-top: 0.2rem; }
.entry__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.entry__retailer { font-size: 0.82rem; color: var(--ink-3); }

.placeholder { background: repeating-linear-gradient(-45deg, rgba(192, 138, 62, 0.14) 0 6px, transparent 6px 12px); border-radius: 4px; padding: 0 0.25rem; color: var(--maple-dark); font-weight: 500; }

@media (max-width: 760px) {
  .entry { grid-template-columns: 1fr; }
  .entry:nth-of-type(even) .entry__media { order: 0; }
  .entry__media { aspect-ratio: 4 / 3.4; }
  .entry__actions .btn { width: 100%; }
}

/* Recap */
.recap { margin-top: var(--space-7); padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--card); border-radius: var(--radius-l); box-shadow: var(--shadow-s); }
.recap h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.recap-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.recap-table th, .recap-table td { padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--line); text-align: left; }
.recap-table th { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.recap-table td:first-child { color: var(--ink-3); font-variant-numeric: tabular-nums; width: 2.5rem; }
.recap-table td:last-child, .recap-table th:last-child { text-align: right; white-space: nowrap; padding-left: 0.75rem; }
.recap-table a { text-decoration: none; font-weight: 500; }
.recap-table tr:last-child td { border-bottom: 0; }

.callout { display: grid; grid-template-columns: 1fr auto; gap: var(--space-5); align-items: center; margin-top: var(--space-6); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-l); background: var(--forest); color: var(--on-dark); }
.callout h2, .callout h3 { color: #fff; margin-bottom: 0.4rem; }
.callout p { margin: 0; color: var(--on-dark-2); }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }

/* Single find */
.single-find { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.single-find__media { position: sticky; top: calc(var(--header-h) + 1.5rem); margin: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 1 / 1.05; background: var(--paper-2); }
.single-find__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .single-find { grid-template-columns: 1fr; } .single-find__media { position: relative; top: 0; } }

/* Empty state */
.empty { text-align: center; padding: var(--space-8) var(--space-5); border: 1px dashed var(--line); border-radius: var(--radius-l); color: var(--ink-2); }
.empty svg { width: 48px; height: 48px; color: var(--maple); margin: 0 auto var(--space-4); }

/* Pagination */
.pagination { margin-top: var(--space-7); display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 0.8rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Search form */
.search-form { display: flex; gap: 0.5rem; max-width: 480px; }
.search-form input[type="search"] { flex: 1; min-height: 48px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: inherit; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.center { text-align: center; }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }
.stack-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .hero__media img { transform: none; }
  .js [data-reveal], .js [data-reveal="image"], .js [data-reveal="image"] img, .split-word { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track { animation: none; }
}
