/* ==========================================================================
   Knitting Dreams — core styles
   Structure: tokens → base → layout → header/hero → sections → cards →
              overlays → motion. Breakpoints live in responsive.css.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --cream: #F7F3ED;
  --white: #FFFDF9;
  --dark: #22201D;
  --brown: #7A6857;
  --beige: #D8C9B8;
  --accent: #A97952;
  --gold: #B49363;

  /* derived */
  --sand: #EFE7DC;          /* card wells, newsletter */
  --ink-2: #4A433C;         /* body text on cream (7.9:1) */
  --line: rgba(34, 32, 29, .14);
  --line-light: rgba(247, 243, 237, .18);
  --dark-2: #2C2925;

  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: 'Manrope', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 10vw, 144px);
  --gap: clamp(16px, 2vw, 28px);
  --header-h: 76px;
  --announce-h: 36px;
  --radius: 2px;
  --radius-lg: 4px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t: .45s;

  --stitch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12'%3E%3Cpath d='M1.5 1.5 9 10.5 16.5 1.5' fill='none' stroke='%23B49363' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
  --knit-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20'%3E%3Cpath d='M2 2 12 10 22 2M2 12l10 8 10-8' fill='none' stroke='%23D8C9B8' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --knit-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20'%3E%3Cpath d='M2 2 12 10 22 2M2 12l10 8 10-8' fill='none' stroke='%23413A33' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--dark);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--beige); color: var(--dark); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.philosophy :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--gold); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.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: absolute; left: 12px; top: -60px; z-index: 200; background: var(--dark); color: var(--cream); padding: 10px 16px; border-radius: var(--radius); transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.1rem, 4.2vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  font-variation-settings: 'opsz' 96;
  text-wrap: balance;
}
.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow--light { color: var(--gold); }
.section-sub { color: var(--ink-2); max-width: 46ch; margin-top: 14px; font-size: 1.02rem; }
.lead { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; font-weight: 350; color: var(--dark); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(36px, 4.5vw, 64px); flex-wrap: wrap; }
.section-head .h2 { max-width: 24ch; }
.section-foot { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn .i { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--block { width: 100%; }

.btn--dark { background: var(--dark); color: var(--cream); }
.btn--dark::before { background: var(--accent); }
.btn--light { background: var(--cream); color: var(--dark); }
.btn--light::before { background: var(--white); }
.btn--outline-light { border-color: rgba(255, 253, 249, .6); color: var(--white); }
.btn--outline-light::before { background: var(--white); }
.btn--outline-light:hover, .btn--outline-light:focus-visible { color: var(--dark); border-color: var(--white); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out), color var(--t);
}
.text-link .i { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.text-link:hover { background-size: 35% 1px; color: var(--accent); }
.text-link:hover .i { transform: translateX(5px); }
.text-link--light { color: var(--cream); }
.text-link--light:hover { color: var(--gold); }
.link-btn { font-size: .85rem; text-decoration: underline; text-underline-offset: 4px; color: var(--ink-2); padding: 8px 0; }
.link-btn:hover { color: var(--accent); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  transition: background-color .25s, color .25s;
}
.icon-btn:hover { background: rgba(34, 32, 29, .06); }
.round-btn {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  border: 1px solid var(--line); border-radius: 50%;
  transition: background-color .3s, color .3s, border-color .3s, opacity .3s;
}
.round-btn:hover:not(:disabled) { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.round-btn:disabled { opacity: .35; cursor: default; }
.slider-controls { display: flex; gap: 10px; }

.badge {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: var(--white);
  font-size: .66rem; font-weight: 600; line-height: 18px; text-align: center;
}
.badge.bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Announcement ---------- */
.announce {
  height: var(--announce-h); display: grid; place-items: center;
  background: var(--dark); color: var(--beige);
  font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding-inline: 16px; text-align: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header::after { /* soft legibility veil over the hero */
  content: ''; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(34, 32, 29, .38), transparent);
  transition: opacity .45s var(--ease);
}
.site-header.is-solid { background: rgba(247, 243, 237, .94); color: var(--dark); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(1px)) { .site-header.is-solid { background: rgba(247, 243, 237, .82); backdrop-filter: saturate(1.4) blur(14px); } }
.site-header.is-solid::after { opacity: 0; }
.header-inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.menu-toggle { display: none; }

.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo-word { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; letter-spacing: -.01em; font-variation-settings: 'opsz' 48; white-space: nowrap; }
.logo-sub { font-size: .56rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; margin-top: 6px; opacity: .7; }

.primary-nav ul { display: flex; justify-content: center; gap: clamp(18px, 2.4vw, 38px); }
.primary-nav a {
  position: relative; display: block; padding: 10px 0;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.site-header:not(.is-solid) .icon-btn:hover { background: rgba(255, 253, 249, .14); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(640px, calc(100svh - var(--announce-h)));
  margin-top: calc(-1 * var(--header-h));
  display: flex; align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.6s var(--ease-out); }
.is-loaded .hero-media img { transform: scale(1); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(34, 32, 29, .62) 0%, rgba(34, 32, 29, .22) 55%, rgba(34, 32, 29, 0) 80%),
    linear-gradient(0deg, rgba(34, 32, 29, .55) 0%, rgba(34, 32, 29, 0) 55%);
}
.hero-thread { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-thread path {
  fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.8s var(--ease) .9s;
  opacity: .9;
}
.is-loaded .hero-thread path { stroke-dashoffset: 0; }

.hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: clamp(48px, 7vw, 96px);
}
.hero-copy { max-width: 880px; }
.hero-eyebrow { color: var(--beige); }
.hero-eyebrow span { display: inline-block; }
.hero-title {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(3rem, 7.4vw, 7.4rem);
  line-height: .98;
  letter-spacing: -.028em;
  font-variation-settings: 'opsz' 144;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); }
.hero-title .line:nth-child(2) > span { transition-delay: .12s; font-style: normal; }
.is-loaded .hero-title .line > span { transform: none; }
.hero-text { font-size: clamp(1.02rem, 1.35vw, 1.18rem); max-width: 42ch; margin-top: 26px; color: rgba(255, 253, 249, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-eyebrow, .hero-text, .hero-actions { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease-out) .5s, transform 1s var(--ease-out) .5s; }
.hero-text { transition-delay: .62s; }
.hero-actions { transition-delay: .74s; }
.is-loaded .hero-eyebrow, .is-loaded .hero-text, .is-loaded .hero-actions { opacity: 1; transform: none; }

.hero-card {
  flex: none;
  display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 16px;
  width: 340px; padding: 12px 18px 12px 12px;
  background: rgba(255, 253, 249, .94); color: var(--dark);
  border-radius: var(--radius-lg);
  opacity: 0; transform: translateY(20px);
  transition: opacity 1s var(--ease-out) 1.4s, transform 1s var(--ease-out) 1.4s, background-color .3s;
}
.is-loaded .hero-card { opacity: 1; transform: none; }
.hero-card:hover { background: var(--white); }
.hero-card-media { width: 84px; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.hero-card-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-card-label { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.hero-card-name { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-card-price { font-size: .88rem; color: var(--ink-2); }
.hero-card-arrow { transition: transform var(--t) var(--ease); }
.hero-card:hover .hero-card-arrow { transform: translateX(4px); }

/* ---------- Media wells + missing-image pattern ---------- */
/* :where() keeps this base rule at zero specificity so component rules
   (.hero-media, .story-detail, .edit-slide…) can position their wells. */
:where(.media) { position: relative; overflow: hidden; background: var(--sand); }
img:not([src]) { visibility: hidden; } /* no alt-text flash before JS fills a slot */
.media--dark { background: var(--dark-2); }
.media img.is-broken { visibility: hidden; }
.media.is-missing { background-color: var(--sand); background-image: var(--knit-light); background-size: 24px 20px; }
.media--dark.is-missing { background-color: var(--dark-2); background-image: var(--knit-dark); }
.media.is-missing[data-name]::after {
  content: attr(data-name);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 80%; text-align: center;
  font-family: var(--serif); font-size: 1.05rem; line-height: 1.3; color: var(--brown);
  background: var(--sand); padding: 8px 10px; border-radius: var(--radius);
}

/* ---------- Marquee ---------- */
.marquee { background: var(--dark); color: var(--cream); overflow: hidden; border-top: 1px solid var(--line-light); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex: none; }
.marquee-group li {
  display: flex; align-items: center; white-space: nowrap;
  padding-block: 22px;
  font-family: var(--serif); font-style: italic; font-weight: 320;
  font-size: clamp(1.25rem, 2.2vw, 1.9rem); letter-spacing: -.005em;
}
.marquee-group li::after {
  content: ''; width: 18px; height: 12px; margin-inline: clamp(28px, 3.4vw, 52px);
  background: var(--stitch) center / contain no-repeat;
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Product grid + card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) var(--gap); }

.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.card-link { position: absolute; inset: 0; display: block; -webkit-user-drag: none; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), opacity .7s var(--ease); -webkit-user-drag: none; user-select: none; }
.card-img-alt { opacity: 0; }
.card:hover .card-img-main { transform: scale(1.05); }
.card:hover .card-img-alt { opacity: 1; transform: scale(1.03); }

.card-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 10px; border-radius: var(--radius);
  background: var(--white); color: var(--dark);
  font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.card-badge--sale { background: var(--accent); color: var(--white); }

.card-actions { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.card-actions .icon-btn {
  width: 40px; height: 40px; background: rgba(255, 253, 249, .92); color: var(--dark);
  opacity: 0; transform: translateX(8px);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out), background-color .25s, color .25s;
}
.card-actions .icon-btn:nth-child(2) { transition-delay: .05s; }
.card-actions .icon-btn:hover { background: var(--dark); color: var(--cream); }
.card-actions .i { width: 18px; height: 18px; }
.card:hover .card-actions .icon-btn, .card:focus-within .card-actions .icon-btn, .card-actions .icon-btn[aria-pressed="true"] { opacity: 1; transform: none; }
.icon-btn[aria-pressed="true"] .i { fill: var(--accent); stroke: var(--accent); }
.card-actions .icon-btn[aria-pressed="true"]:hover .i { fill: var(--cream); stroke: var(--cream); }

.card-cta {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  min-height: 46px; border-radius: var(--radius);
  background: var(--dark); color: var(--cream);
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .5s var(--ease-out), background-color .3s;
}
.card:hover .card-cta, .card:focus-within .card-cta { opacity: 1; transform: none; }
.card-cta:hover { background: var(--accent); }
.card-cta.is-done { background: var(--accent); }

.card-body { padding-top: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brown); }
.card-title { font-family: var(--serif); font-weight: 400; font-size: 1.22rem; line-height: 1.25; letter-spacing: -.005em; }
.card-title a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.card-title a:hover { background-size: 100% 1px; }
.card-desc { font-size: .9rem; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { margin-top: auto; padding-top: 4px; font-weight: 600; font-size: .98rem; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.card-price del { font-weight: 400; color: var(--brown); font-size: .88rem; }
.card-price ins { text-decoration: none; color: var(--accent); }

.card-skeleton { aspect-ratio: 4 / 6.2; border-radius: var(--radius); background: linear-gradient(100deg, var(--sand) 40%, #F4EEE6 50%, var(--sand) 60%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.story-media { grid-column: 1 / span 6; position: relative; padding-bottom: 12%; padding-right: 10%; }
.story-main { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.story-main img, .story-detail img { width: 100%; height: 100%; object-fit: cover; }
.story-detail {
  position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 5;
  border: 10px solid var(--cream); border-radius: var(--radius-lg);
}
.story-copy { grid-column: 8 / span 5; }
.story-copy .h2 { margin-bottom: 28px; }
.story-copy p + p { margin-top: 18px; color: var(--ink-2); }
.story-copy .text-link { margin-top: 36px; }

/* ---------- Values ---------- */
.values { padding-bottom: var(--section-y); }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.value { padding: 40px 28px 8px 0; }
.value + .value { padding-left: 28px; border-left: 1px solid var(--line); }
.value-icon { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.value h3 { font-family: var(--serif); font-weight: 400; font-size: 1.32rem; line-height: 1.25; margin-bottom: 10px; }
.value p { color: var(--ink-2); font-size: .95rem; max-width: 30ch; }

/* ---------- Categories ---------- */
.categories { background: var(--white); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(220px, 21vw, 330px);
  gap: var(--gap);
}
.cat-card { display: block; border-radius: var(--radius); color: var(--white); isolation: isolate; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out); z-index: -2; }
.cat-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(34, 32, 29, .72) 0%, rgba(34, 32, 29, .12) 55%, rgba(34, 32, 29, .04) 100%);
  transition: background-color .6s var(--ease);
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card:hover::before { background-color: rgba(34, 32, 29, .18); }
.cat-card.is-missing { color: var(--dark); }
.cat-card.is-missing::before { background: linear-gradient(0deg, rgba(247, 243, 237, .96) 0%, rgba(247, 243, 237, .4) 60%, transparent 100%); }
.cat-card--candles { grid-column: 1 / span 6; grid-row: span 2; }
.cat-card--crochet { grid-column: 7 / span 3; }
.cat-card--decor { grid-column: 10 / span 3; }
.cat-card--gifting { grid-column: 7 / span 6; }
.cat-card--aurisg { grid-column: 1 / span 8; }
.cat-card--sale { grid-column: 9 / span 4; }
.cat-info { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.4vw, 34px); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cat-name { font-family: var(--serif); font-weight: 350; font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.05; letter-spacing: -.015em; }
.cat-card--candles .cat-name { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.cat-count { font-size: .78rem; letter-spacing: .08em; opacity: .85; min-height: 1em; }
.cat-count:empty { display: none; }
.cat-explore { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.cat-explore .i { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.cat-card:hover .cat-explore .i { transform: translateX(8px); }

/* ---------- Scroller (best sellers) ---------- */
.scroller {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--gap)) / 4);
  gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 4px;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }

/* ---------- The Edit ---------- */
.edit { background: var(--sand); }
.edit-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.edit-media { grid-column: 1 / span 7; position: relative; aspect-ratio: 5 / 6; border-radius: var(--radius); overflow: hidden; background: var(--beige); }
.edit-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.edit-slide.is-active { opacity: 1; }
.edit-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease-out); }
.edit-slide.is-active img { transform: scale(1); }
.edit-slide-tag {
  position: absolute; left: 20px; bottom: 20px;
  padding: 10px 16px; background: rgba(255, 253, 249, .94); border-radius: var(--radius);
  font-size: .82rem; display: flex; gap: 12px;
}
.edit-slide-tag strong { font-family: var(--serif); font-weight: 400; font-size: 1rem; }
.edit-copy { grid-column: 9 / span 4; }
.edit-list { margin-top: 44px; counter-reset: edit; border-top: 1px solid var(--line); }
.edit-item a {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 12px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  transition: color .35s var(--ease), padding .45s var(--ease-out);
}
.edit-num { font-family: var(--serif); font-size: .95rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.edit-name { font-family: var(--serif); font-weight: 350; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.15; letter-spacing: -.01em; }
.edit-price { font-size: .92rem; font-weight: 600; white-space: nowrap; }
.edit-item.is-active a, .edit-item a:hover { color: var(--accent); padding-left: 10px; }

/* ---------- Philosophy ---------- */
.philosophy { background: var(--dark); color: var(--cream); }
.phil-title {
  text-wrap: balance;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 8.6vw, 9.2rem);
  line-height: .94; letter-spacing: -.035em;
  font-variation-settings: 'opsz' 144;
  max-width: 13ch;
}
.stitch-rule { height: 12px; margin-block: clamp(40px, 5vw, 72px); background: var(--stitch) left center / 18px 12px repeat-x; opacity: .8; }
.phil-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.phil-media { grid-column: 1 / span 8; aspect-ratio: 16 / 10; border-radius: var(--radius); }
.phil-media img { width: 100%; height: 100%; object-fit: cover; }
.phil-copy { grid-column: 10 / span 3; }
.phil-lead { font-family: var(--serif); font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.5; font-weight: 320; margin-bottom: 18px; }
.phil-copy p:not(.phil-lead) { color: rgba(247, 243, 237, .72); font-size: .95rem; }
.phil-copy .text-link { margin-top: 32px; }

/* ---------- Loop slider (collection) ---------- */
.loop { --per-view: 4; }
.loop-viewport { overflow: hidden; touch-action: pan-y; cursor: grab; }
.loop-viewport.is-dragging { cursor: grabbing; }
.loop-viewport.is-dragging a, .loop-viewport.is-dragging button { pointer-events: none; }
.loop-track { display: flex; gap: var(--gap); will-change: transform; }
.loop-track > .card { flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view)); }
.loop-track img { pointer-events: none; }

/* ---------- Love (statements) ---------- */
.love-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.love-head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px); }
.love-list { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.love-item a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.love-text {
  text-wrap: pretty;
  font-family: var(--serif); font-weight: 320; font-size: clamp(1.35rem, 2.5vw, 2.2rem); line-height: 1.2; letter-spacing: -.012em;
  transition: color .4s var(--ease), transform .5s var(--ease-out);
}
.love-thumb { width: 72px; aspect-ratio: 1; border-radius: 50%; opacity: 0; transform: scale(.7) rotate(-8deg); transition: opacity .4s var(--ease), transform .6s var(--ease-out); }
.love-thumb img { width: 100%; height: 100%; object-fit: cover; }
.love-item a:hover .love-text, .love-item a:focus-visible .love-text { color: var(--accent); transform: translateX(8px); }
.love-item a:hover .love-thumb, .love-item a:focus-visible .love-thumb { opacity: 1; transform: none; }

/* ---------- Social ---------- */
.social { padding-top: 0; }
.social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.social-tile a { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); color: var(--white); }
.social-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.social-tile a::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(34, 32, 29, 0); transition: background-color .45s var(--ease); }
.social-tile .i { position: absolute; left: 50%; top: 50%; z-index: 2; width: 34px; height: 34px; transform: translate(-50%, -50%) scale(.7); opacity: 0; transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.social-tile a:hover::before, .social-tile a:focus-visible::before { background: rgba(34, 32, 29, .42); }
.social-tile a:hover img { transform: scale(1.07); }
.social-tile a:hover .i, .social-tile a:focus-visible .i { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- Journal ---------- */
.journal { background: var(--white); }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) var(--gap); }
.post { display: flex; flex-direction: column; }
.post-media { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.post:hover .post-media img { transform: scale(1.05); }
.post-meta { display: flex; gap: 16px; margin-top: 20px; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brown); }
.post-meta span + span::before { content: ''; display: inline-block; width: 14px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 16px; }
.post-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.2; margin-top: 10px; letter-spacing: -.01em; }
.post-title a:hover { color: var(--accent); }
.post-excerpt { color: var(--ink-2); font-size: .94rem; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post .text-link { margin-top: 20px; align-self: flex-start; }

/* ---------- Trust ---------- */
.trust { padding-block: clamp(56px, 6vw, 88px); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); }
.trust-item { padding: clamp(24px, 2.6vw, 40px); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { width: 38px; height: 38px; fill: none; stroke: var(--dark); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.trust-item h3 { font-family: var(--serif); font-weight: 400; font-size: 1.18rem; margin-bottom: 8px; }
.trust-item p { font-size: .9rem; color: var(--ink-2); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--sand); padding-block: var(--section-y); }
.nl-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.nl-media { grid-column: 1 / span 5; aspect-ratio: 4 / 5; border-radius: var(--radius); }
.nl-media img { width: 100%; height: 100%; object-fit: cover; }
.nl-copy { grid-column: 7 / span 6; }
.nl-copy .h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 12ch; }
.nl-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 40px; max-width: 560px; }
.nl-form input {
  min-height: 52px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--dark); background: transparent;
  font-size: 1rem; border-radius: 0;
}
.nl-form input::placeholder { color: var(--brown); }
.nl-form input:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.form-status { grid-column: 1 / -1; font-size: .88rem; min-height: 1.4em; color: var(--ink-2); }
.form-status.is-error { color: #9A3B2E; }
.form-status.is-ok { color: #3F5B3A; }
.fine-print { font-size: .78rem; color: var(--brown); margin-top: 10px; max-width: 52ch; }
.fine-print a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--cream); padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gap); }
.footer-brand { grid-column: 1 / span 4; }
.footer-statement { font-family: var(--serif); font-weight: 320; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.35; max-width: 22ch; }
.footer-form { margin-top: 36px; max-width: 380px; }
.footer-form label { display: block; font-size: .84rem; color: rgba(247, 243, 237, .7); margin-bottom: 10px; }
.footer-form-row { display: flex; border-bottom: 1px solid rgba(247, 243, 237, .4); }
.footer-form-row:focus-within { border-bottom-color: var(--gold); }
.footer-form input { flex: 1; min-width: 0; min-height: 48px; background: transparent; border: 0; color: var(--cream); }
.footer-form input::placeholder { color: rgba(247, 243, 237, .5); }
.footer-form input:focus { outline: none; }
.footer-form .icon-btn:hover { background: rgba(247, 243, 237, .1); }
.footer-form .form-status { color: rgba(247, 243, 237, .75); margin-top: 8px; }
.footer-form .form-status.is-error { color: #E7A89B; }
.footer-form .form-status.is-ok { color: var(--gold); }
.footer-cols { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gap); }
.footer-h { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-cols li + li { margin-top: 10px; }
.footer-cols a { font-size: .92rem; color: rgba(247, 243, 237, .82); display: inline-flex; align-items: center; gap: 10px; transition: color .25s; }
.footer-cols a:hover { color: var(--white); }
.footer-social .i { width: 18px; height: 18px; }
.footer-word {
  font-family: var(--serif); font-weight: 300; font-variation-settings: 'opsz' 144;
  font-size: clamp(3.4rem, 14.2vw, 14.5rem); line-height: .82; letter-spacing: -.045em;
  color: var(--dark-2); -webkit-text-stroke: 1px rgba(180, 147, 99, .38);
  white-space: nowrap; margin-top: clamp(56px, 7vw, 100px); user-select: none;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; border-top: 1px solid var(--line-light); font-size: .8rem; color: rgba(247, 243, 237, .6); }

/* ---------- Overlays ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(34, 32, 29, .42); opacity: 0; transition: opacity .45s var(--ease); }
.scrim.is-visible { opacity: 1; }

.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 100;
  width: min(440px, 100%);
  display: flex; flex-direction: column;
  background: var(--cream); color: var(--dark);
  visibility: hidden;
  transition: transform .6s var(--ease-out), visibility 0s linear .6s;
}
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; visibility: visible; transition: transform .6s var(--ease-out), visibility 0s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 18px 28px; border-bottom: 1px solid var(--line); }
.drawer-title { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.drawer-title span { font-family: var(--sans); font-size: .9rem; color: var(--brown); }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 28px; }
.drawer-foot { padding: 20px 28px 28px; border-top: 1px solid var(--line); display: grid; gap: 10px; justify-items: center; }
.drawer-foot[hidden] { display: none; }
.subtotal { width: 100%; display: flex; justify-content: space-between; align-items: baseline; font-size: 1rem; }
.subtotal strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.drawer-foot .fine-print { justify-self: start; margin: 0 0 6px; }

.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-media { width: 84px; aspect-ratio: 4 / 5; border-radius: var(--radius); }
.line-media img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; }
.line-name a:hover { color: var(--accent); }
.line-price { font-size: .88rem; color: var(--ink-2); margin-top: 4px; }
.line-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.line-total { font-weight: 600; font-size: .95rem; }
.line-controls { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.line-remove { font-size: .78rem; color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.line-remove:hover { color: #9A3B2E; }
.line-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.btn--small { min-height: 38px; padding: 0 16px; font-size: .7rem; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); height: 38px; }
.qty button { width: 34px; height: 100%; display: grid; place-items: center; }
.qty button:hover { color: var(--accent); }
.qty .i { width: 14px; height: 14px; }
.qty input, .qty output { width: 34px; text-align: center; border: 0; background: transparent; font-weight: 600; font-size: .9rem; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.empty { text-align: center; padding: 56px 8px; display: grid; justify-items: center; gap: 12px; }
.empty-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--accent); margin-bottom: 8px; }
.empty-mark .i { width: 26px; height: 26px; }
.empty h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; }
.empty p { color: var(--ink-2); font-size: .94rem; max-width: 30ch; }
.empty .btn { margin-top: 12px; }

.mobile-nav { width: min(380px, 88vw); }
.mobile-nav-list { padding: 16px 28px; flex: 1; overflow-y: auto; }
.mobile-nav-list a { display: block; padding: 14px 0; font-family: var(--serif); font-size: 1.7rem; font-weight: 350; border-bottom: 1px solid var(--line); }
.mobile-nav-foot { display: flex; gap: 22px; flex-wrap: wrap; padding: 22px 28px 32px; font-size: .88rem; color: var(--ink-2); }
.mobile-nav-foot .link-btn { text-decoration: none; padding: 0; font-size: .88rem; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal-panel {
  position: relative; width: min(980px, 100%); max-height: min(720px, calc(100dvh - 48px));
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  background: var(--cream); border-radius: var(--radius-lg);
  opacity: 0; transform: translateY(24px) scale(.98);
  transition: opacity .4s var(--ease), transform .6s var(--ease-out);
}
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(255, 253, 249, .9); }
.qv-media { min-height: 100%; aspect-ratio: 4 / 5; }
.qv-media img { width: 100%; height: 100%; object-fit: cover; }
.qv-body { padding: clamp(28px, 4vw, 52px); overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.qv-title { font-family: var(--serif); font-weight: 350; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.015em; }
.qv-price { font-size: 1.2rem; font-weight: 600; display: flex; gap: 10px; align-items: baseline; }
.qv-price del { font-weight: 400; font-size: 1rem; color: var(--brown); }
.qv-price ins { text-decoration: none; color: var(--accent); }
.qv-desc { color: var(--ink-2); }
.qv-buy { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.qv-buy .qty { height: 52px; }
.qv-buy .btn { flex: 1; min-width: 180px; }
.qv-note { font-size: .88rem; color: var(--brown); }
.qv-body .text-link { align-self: flex-start; margin-top: 6px; }

.search-overlay {
  position: fixed; left: 0; right: 0; top: 0; z-index: 100;
  background: var(--cream); padding-block: 22px 40px;
  max-height: 100dvh; overflow-y: auto;
  transform: translateY(-100%); visibility: hidden;
  transition: transform .55s var(--ease-out), visibility 0s linear .55s;
}
.search-overlay.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease-out), visibility 0s; }
.search-form { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--dark); padding-bottom: 10px; }
.search-icon { width: 26px; height: 26px; color: var(--brown); }
.search-form input { border: 0; background: transparent; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 320; padding: 8px 0; min-width: 0; }
.search-form input::placeholder { color: var(--beige); }
.search-form input:focus { outline: none; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-label { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brown); margin: 26px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; transition: background-color .25s, color .25s; }
.chip:hover { background: var(--dark); color: var(--cream); }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 6px 24px; margin-top: 18px; }
.search-results:empty { display: none; }
.result a { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius); }
.result a:hover, .result.is-active a { background: var(--sand); }
.result-media { width: 56px; aspect-ratio: 1; border-radius: var(--radius); }
.result-media img { width: 100%; height: 100%; object-fit: cover; }
.result-name { font-family: var(--serif); font-size: 1.05rem; line-height: 1.2; }
.result-name mark { background: none; color: var(--accent); }
.result-cat { font-size: .74rem; color: var(--brown); }
.result-price { font-weight: 600; font-size: .9rem; }
.search-meta { margin-top: 16px; font-size: .9rem; color: var(--ink-2); }
.search-meta a { text-decoration: underline; text-underline-offset: 3px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--dark); color: var(--cream); padding: 14px 22px; border-radius: var(--radius-lg);
  font-size: .9rem; max-width: calc(100% - 32px);
  transition: opacity .35s var(--ease), transform .5s var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none;
  width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--dark); color: var(--cream);
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  opacity: 0; scale: .4; transition: opacity .3s var(--ease), scale .4s var(--ease-out);
}
.cursor.is-active { opacity: 1; scale: 1; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee-group { flex-wrap: wrap; justify-content: center; }
  .hero-thread path { stroke-dashoffset: 0; }
}
