/* Bristoe Prints storefront. Colour, radius and control tokens live in tokens.css. */
:root {
  --paper: var(--color-canvas);
  --ink: var(--color-text);
  --muted: var(--color-text-muted);
  --accent: var(--color-brand-cobalt);
  --line: var(--color-border);
  --display: Georgia, 'Times New Roman', serif;
  --gutter: clamp(16px, 5vw, 64px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; overflow-x: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: var(--focus-width) solid var(--color-focus); outline-offset: var(--focus-offset); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; color: var(--ink); }
h1 { font-size: clamp(40px, 8vw, 84px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 20px; }
h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 0; }
em { font-family: var(--display); font-style: italic; color: var(--accent); }
.skip { position: fixed; top: -80px; left: 8px; background: var(--ink); color: var(--color-on-primary); padding: 12px 16px; border-radius: var(--radius-button); z-index: 50; }
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.6; margin: 0 0 14px; color: var(--muted); }
.muted { color: var(--muted); font-size: 13px; }
.fine { font-size: 13px; color: var(--muted); }

/* Controls: pill buttons */
.primary, .secondary, .pill-small, .chip, .nav-link, .cart-button, .segmented button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--control-gap);
  min-height: var(--control-height); border-radius: var(--radius-button); font-weight: 600; font-size: 14px;
  text-decoration: none; transition: background var(--motion-control), color var(--motion-control), border-color var(--motion-control);
}
.primary { background: var(--accent); color: var(--color-on-primary); padding: 0 var(--control-padding-inline); }
.primary:hover:not(:disabled) { background: var(--color-brand-cobalt-hover); }
.secondary { border: 1.5px solid var(--ink); padding: 0 var(--control-padding-inline); background: transparent; }
.secondary:hover { background: var(--ink); color: var(--paper); }
.pill-small { background: var(--color-brand-apricot); color: var(--ink); padding: 0 18px; font-size: 13px; }
.pill-small:hover { background: var(--ink); color: var(--paper); }
.text-link { font-size: 14px; font-weight: 600; text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; }
.text-link.small { font-size: 13px; font-weight: 500; }
.wide { width: 100%; }

/* Header and footer */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px var(--gutter); border-bottom: 1px solid var(--line); background: var(--paper); }
.wordmark { display: inline-block; line-height: 0; position: relative; }
.wordmark img { width: clamp(108px, 24vw, 162px); height: auto; }
.site-header nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 0 14px; font-weight: 500; }
.nav-link:hover { background: var(--color-surface); }
.cart-button { background: var(--ink); color: var(--paper); padding: 0 16px; }
.cart-button:hover { background: var(--accent); }
.count { background: var(--color-brand-apricot); color: var(--ink); min-width: 24px; height: 24px; border-radius: 12px; display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px; }
.site-footer { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; padding: 40px var(--gutter); border-top: 1px solid var(--line); background: var(--color-surface-soft); font-size: 14px; }
.site-footer p { margin: 0; color: var(--muted); }
.site-footer span { color: var(--ink); font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 4px; }
.footer-links a { min-height: 32px; display: inline-flex; align-items: center; }
.site-footer small { grid-column: 1 / -1; color: var(--muted); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 560px; }
.hero-copy { padding: clamp(36px, 6vw, 80px) var(--gutter); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero-description { font-size: clamp(16px, 1.5vw, 19px); max-width: 520px; margin-bottom: 28px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.hero-facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; font-weight: 600; }
.hero-facts li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; }
.hero-stage { position: relative; background: var(--color-brand-apricot); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 24px 96px; }
.stage-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--color-grid) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid) 1px, transparent 1px); background-size: 44px 44px; }
.hero-stage > img { position: relative; width: min(100%, 520px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-surface); box-shadow: 0 24px 40px var(--color-shadow); }
.stage-caption { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stage-caption .eyebrow { display: block; margin: 0 0 2px; font-size: 10px; color: var(--ink); }
.stage-caption strong { font: 24px/1.15 var(--display); font-weight: 400; }
.stage-caption .pill-small { background: var(--ink); color: var(--paper); }
.stage-caption .pill-small:hover { background: var(--accent); }
.ticker { display: flex; gap: 28px; justify-content: center; align-items: center; border-block: 1px solid var(--line); overflow: hidden; white-space: nowrap; padding: 14px 20px; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.ticker b { font-size: 20px; font-weight: 400; color: var(--accent); }

/* Collection */
.section { padding: clamp(44px, 8vw, 96px) var(--gutter); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-heading > p { color: var(--muted); margin: 0; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; border-block: 1px solid var(--line); padding: 16px 0; flex-wrap: wrap; }
.shop-toolbar p { margin: 0; color: var(--muted); font-size: 14px; }
.segmented { display: inline-flex; border: 1.5px solid var(--ink); padding: 3px; border-radius: var(--radius-button); gap: 3px; }
.segmented button { padding: 0 20px; min-height: 40px; }
.segmented button[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.browse-tools { display: flex; justify-content: space-between; align-items: center; gap: 14px 20px; padding: 18px 0 8px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); padding: 0 16px; font-size: 13px; font-weight: 500; background: var(--paper); }
.chip:hover { border-color: var(--accent); }
.chip.feature { background: var(--color-brand-apricot); border-color: var(--color-brand-apricot); color: var(--ink); font-weight: 700; }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.search-sort { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search input, .sort select { min-height: var(--control-height); border: 1px solid var(--line); border-radius: var(--radius-button); background: var(--color-surface-soft); padding: 0 18px; font-size: 14px; }
.search input { width: 220px; max-width: 100%; }
.sort select { padding-right: 12px; }
.catalog-caption { font-size: 13px; color: var(--muted); padding: 10px 0 18px; margin: 0; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.product { min-width: 0; display: flex; flex-direction: column; }
.product-view { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: var(--radius-surface); overflow: hidden; background: var(--color-surface); border: 1px solid var(--line); }
.product-view[data-tone='1'] { background: var(--color-surface-warm); }
.product-view[data-tone='2'] { background: var(--color-surface-soft); }
.product-view img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; display: block; }
.product-view:hover img { transform: scale(1.04); }
.product-view .model-canvas { position: absolute; inset: 0; pointer-events: none; visibility: hidden; }
.product-view.is-3d .model-canvas { visibility: visible; }
.product-view.is-3d img { visibility: hidden; }
.product-badge { position: absolute; top: 10px; left: 10px; font-size: 10px; letter-spacing: .1em; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-button); background: var(--color-brand-apricot); color: var(--ink); }
.product-meta { padding: 12px 2px 8px; flex: 1; }
.product h3 { font: 400 20px/1.2 var(--display); letter-spacing: -.01em; margin: 0 0 4px; }
.title-button { text-align: left; font: inherit; letter-spacing: inherit; color: inherit; }
.title-button:hover { color: var(--accent); }
.product .colors { font-size: 13px; margin: 0 0 4px; }
.product .facts { font-size: 12px; color: var(--muted); margin: 0; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font: 400 26px/1 var(--display); letter-spacing: -.02em; }
#empty { text-align: center; padding: 48px 0; }
#catalog-error { color: var(--ink); background: var(--color-surface-warm); padding: 16px 20px; border-radius: var(--radius-field); }

/* Process, printed, FAQ */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 8vw, 110px); background: var(--color-surface-soft); border-top: 1px solid var(--line); }
.process-intro > p:last-child { color: var(--muted); max-width: 380px; margin: 22px 0 0; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 1px solid var(--line); padding: 22px 0; }
.steps li > span { font: 600 11px/1 monospace; letter-spacing: .14em; color: var(--muted); }
.steps h3 { font: 400 26px/1.2 var(--display); letter-spacing: -.01em; margin: 10px 0; }
.steps p { color: var(--muted); max-width: 420px; margin: 0; }
.printed { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 8vw, 110px); align-items: center; }
.printed p { color: var(--muted); max-width: 460px; margin: 18px 0 26px; }
.printed-art { height: clamp(240px, 36vw, 380px); background: var(--color-brand-apricot); border-radius: var(--radius-surface); position: relative; overflow: hidden; display: grid; place-items: center; }
.layer { position: absolute; width: 56%; height: 42%; border-radius: 34%; border: 2px solid var(--color-brand-cobalt-hover); }
.layer-1 { transform: translateY(54px); background: var(--color-brand-cobalt-light); opacity: .35; }
.layer-2 { transform: translateY(36px); background: var(--color-brand-cobalt); opacity: .5; }
.layer-3 { transform: translateY(18px); background: var(--color-brand-cobalt-hover); opacity: .65; }
.layer-4 { background: var(--color-brand-navy); }
.printed-art span { position: absolute; z-index: 2; font-weight: 800; letter-spacing: .16em; font-size: 12px; text-align: center; color: var(--color-on-primary); }
.faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 8vw, 110px); border-top: 1px solid var(--line); }
.questions details { border-top: 1px solid var(--line); padding: 4px 0; }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions summary { cursor: pointer; font-weight: 600; min-height: 48px; display: flex; align-items: center; }
.questions p { color: var(--muted); max-width: 560px; }
.signoff { text-align: center; padding: 56px var(--gutter); background: var(--color-brand-apricot); }
.signoff span { display: block; font-size: 30px; color: var(--accent); }
.signoff p { font: 400 clamp(28px, 4vw, 44px)/1.15 var(--display); letter-spacing: -.02em; }
.signoff em { color: var(--ink); }
.noscript { padding: 16px var(--gutter); background: var(--color-surface-warm); margin: 0; }

/* Dialogs */
dialog { border: 0; padding: 28px; border-radius: var(--radius-surface); background: var(--paper); color: var(--ink); width: min(960px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; box-shadow: 0 30px 80px var(--color-shadow); }
dialog::backdrop { background: var(--color-overlay); }
#cart { width: min(560px, calc(100vw - 24px)); }
.close { position: absolute; top: 12px; right: 12px; width: var(--control-height); height: var(--control-height); border-radius: 50%; background: var(--color-surface); font-size: 26px; line-height: 1; display: grid; place-items: center; z-index: 2; }
.close:hover { background: var(--ink); color: var(--paper); }
.detail-body, #detail-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; }
.detail-image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: var(--radius-surface); background: var(--color-surface); display: block; }
.model-stage { position: relative; width: 100%; aspect-ratio: 1; max-height: 55svh; border-radius: var(--radius-surface); overflow: hidden; background: var(--color-surface); }
.model-stage img { height: 100%; }
.model-canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; outline-offset: -3px; }
.model-canvas:active { cursor: grabbing; }
.model-canvas.moving-parts { cursor: move; }
.model-stage .model-canvas { position: absolute; inset: 0; }
.model-stage.is-3d img { visibility: hidden; }
.model-stage.is-loading::after { content: 'Loading 3D model'; position: absolute; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: var(--radius-button); background: var(--paper); font-size: 12px; }
.model-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.model-control { min-height: var(--control-height); padding: 0 16px; border: 1.5px solid var(--ink); border-radius: var(--radius-button); font-size: 13px; font-weight: 600; }
.model-control:hover, .model-control[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.model-hint { margin-top: 8px; }
.detail-info h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; padding-right: 40px; }
.detail-description { color: var(--muted); }
.offers { display: grid; gap: 10px; margin: 18px 0; }
.offer { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; background: var(--color-surface-soft); border-radius: var(--radius-field); padding: 14px 16px; }
.offer > div { display: flex; flex-direction: column; min-width: 0; }
.offer .price { text-align: right; }
.offer button { grid-column: 1 / -1; }
.specs { margin: 0 0 14px; display: grid; gap: 0; }
.specs div { display: flex; gap: 14px; border-top: 1px solid var(--line); padding: 8px 0; }
.specs dt { width: 112px; flex: none; color: var(--muted); font-size: 14px; }
.specs dd { margin: 0; font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.detail-info h3 { font-size: 15px; margin: 14px 0 6px; }
.parts { margin: 0 0 14px; padding-left: 20px; font-size: 14px; columns: 1; }
.cart-lines { list-style: none; padding: 0; margin: 20px 0 0; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; grid-template-areas: 'img info price' 'img ctrl ctrl'; gap: 4px 14px; padding: 14px 0; border-top: 1px solid var(--line); align-items: start; }
.cart-line img { grid-area: img; width: 72px; height: 72px; object-fit: contain; background: var(--color-surface); border-radius: 14px; border: 1px solid var(--line); }
.cart-info { grid-area: info; display: flex; flex-direction: column; min-width: 0; }
.cart-info strong { overflow-wrap: anywhere; }
.line-price { grid-area: price; font: 400 20px/1.2 var(--display); text-align: right; }
.cart-controls { grid-area: ctrl; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-button); }
.qty button { width: var(--control-height); height: var(--control-height); border-radius: 50%; font-size: 20px; }
.qty button:hover:not(:disabled) { background: var(--color-surface); }
.qty output { min-width: 28px; text-align: center; font-weight: 600; }
.summary { margin: 14px 0; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; text-align: right; }
.summary .total { border-top: 1px solid var(--ink); margin-top: 6px; padding-top: 12px; font-size: 18px; }
.summary .total dt { color: var(--ink); font-weight: 600; }
.summary .total dd { font-weight: 700; }
.cart-actions { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 18px; }
.empty-cart { padding: 24px 0; color: var(--muted); }
#toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 24px); background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: var(--radius-button); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; max-width: calc(100vw - 32px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Standalone pages */
.page { padding: clamp(32px, 6vw, 72px) var(--gutter); max-width: 1120px; margin: 0 auto; }
.h-small { font: 400 26px/1.2 var(--display); margin-bottom: 8px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.order-box { background: var(--color-surface-soft); border-radius: var(--radius-surface); padding: 24px; position: sticky; top: 16px; }
#pay-message { min-height: 1.5em; margin: 12px 0 8px; font-weight: 600; color: var(--ink); }
#checkout-empty p { color: var(--muted); }
.policies section { border-top: 1px solid var(--line); padding: 24px 0; }
.policies h2 { font-size: 28px; margin-bottom: 12px; }
.policies ul { margin: 0; padding-left: 20px; max-width: 680px; }
.policies li { margin-bottom: 8px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.toc a { border: 1px solid var(--line); border-radius: var(--radius-button); min-height: var(--control-height); padding: 0 16px; display: inline-flex; align-items: center; text-decoration: none; font-size: 14px; }
.toc a:hover { background: var(--color-surface); }

@media (max-width: 1000px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero, .process, .printed, .faq, .checkout-grid, #detail-body { grid-template-columns: 1fr; }
  .hero-stage { min-height: 440px; }
  .order-box { position: static; }
  .site-footer { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .nav-link:not(:last-of-type) { display: none; }
  .site-header nav .nav-link { padding: 0 8px; }
  .product h3 { font-size: 17px; }
  .product .colors { font-size: 12px; }
  .product-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .price { font-size: 22px; }
  .product-foot .pill-small { width: 100%; }
  .browse-tools, .search-sort { flex-direction: column; align-items: stretch; }
  .search input, .sort select { width: 100%; }
  .segmented { display: flex; width: 100%; } .segmented button { flex: 1; padding: 0 8px; }
  .ticker { justify-content: flex-start; gap: 20px; }
  dialog { padding: 20px 16px; }
  .hero-stage { padding: 20px 16px 88px; min-height: 0; }
  .stage-caption { left: 16px; right: 16px; }
  .stage-caption strong { font-size: 20px; }
  .section-heading { align-items: flex-start; }
  .printed-art { order: -1; }
  .cart-line { grid-template-columns: 56px 1fr auto; }
  .cart-line img { width: 56px; height: 56px; }
}
/* The finished logo is the default. Decorations exist only when motion is allowed.
   Each print finishes in 2.4s; hover or keyboard focus adds a brief spaghetti mishap. */
@media screen and (prefers-reduced-motion: no-preference) {
  @keyframes print-reveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
  @keyframes print-reveal-hover { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
  @keyframes print-nozzle { from { transform: translateY(100%); } to { transform: translateY(0); } }
  @keyframes print-nozzle-hover { from { transform: translateY(100%); } to { transform: translateY(0); } }
  @keyframes print-nozzle-fade { 0% { opacity: 0; } 5%, 92% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes print-nozzle-fade-hover { 0% { opacity: 0; } 5%, 92% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes print-scan { from { background-position-x: 0%; } to { background-position-x: 100%; } }
  @keyframes print-scan-hover { from { background-position-x: 0%; } to { background-position-x: 100%; } }
  @keyframes print-spaghetti { 0%, 35%, 100% { opacity: 0; } 45%, 80% { opacity: 1; } }
  .site-header .wordmark::after {
    /* The nozzle tip follows the reveal edge. Full-height transform avoids layout shifts. */
    content: ""; position: absolute; inset: -18px 0 18px; opacity: 0; pointer-events: none;
    background: url("assets/print-nozzle.svg") no-repeat 0% 0% / 24px 18px;
  }
  .site-header .wordmark::before {
    content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
    background: url("assets/print-spaghetti.svg") no-repeat 65% 55% / 48px 32px;
    z-index: 1;
  }
  /* Once on shop page load. No continuous animation or JavaScript timer. */
  .shop-home .site-header .wordmark img { animation: print-reveal 2.4s steps(12, jump-start); }
  .shop-home .site-header .wordmark::after {
    animation: print-nozzle 2.4s steps(12, jump-start), print-nozzle-fade 2.4s linear,
      print-scan .2s ease-in-out 12 alternate;
  }
  /* Replays on hover and keyboard focus on every page. Listing the load animation first on the
     shop page keeps it from restarting when hover begins or ends. */
  .site-header .wordmark:hover img, .site-header .wordmark:focus-visible img { animation: print-reveal-hover 2.4s steps(12, jump-start); }
  .site-header .wordmark:hover::after, .site-header .wordmark:focus-visible::after {
    animation: print-nozzle-hover 2.4s steps(12, jump-start), print-nozzle-fade-hover 2.4s linear,
      print-scan-hover .2s ease-in-out 12 alternate;
  }
  .site-header .wordmark:hover::before, .site-header .wordmark:focus-visible::before {
    animation: print-spaghetti 2.4s linear;
  }
  .shop-home .site-header .wordmark:hover img, .shop-home .site-header .wordmark:focus-visible img {
    animation: print-reveal 2.4s steps(12, jump-start), print-reveal-hover 2.4s steps(12, jump-start);
  }
  .shop-home .site-header .wordmark:hover::after, .shop-home .site-header .wordmark:focus-visible::after {
    animation: print-nozzle 2.4s steps(12, jump-start), print-nozzle-fade 2.4s linear,
      print-nozzle-hover 2.4s steps(12, jump-start), print-nozzle-fade-hover 2.4s linear,
      print-scan .2s ease-in-out 12 alternate, print-scan-hover .2s ease-in-out 12 alternate;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
