/* Winter Club Hockey Shop — spruce and cream, outdoor ice after dark. */
:root {
  --night: #041312;
  --spruce: #0b4d43;
  --spruce-d: #083d35;
  --spruce-dd: #062b26;
  --cream: #efe8d6;
  --paper: #f5f1e6;
  --khaki: #c9bf9f;
  --lamp: #f2d68d;
  --ink: #13221f;
  --muted: #56645f;
  --line: #ddd5c2;
  --edge: #cfc6af;
  --red: #c23b2c;
  --top-h: 72px;
  --gutter: clamp(16px, 4vw, 48px);
  --f-display: 'Big Shoulders Display', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-stencil: 'Big Shoulders Stencil Display', 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --f-ui: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--top-h); scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
html.locked { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--f-ui); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid #e2b85a; outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: #fff; color: var(--spruce-dd); padding: 12px 16px; font-weight: 700; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: 1344px; margin: 0 auto; padding-inline: var(--gutter); }
main:focus { outline: none; }
button svg, a svg, .eyebrow svg, .pers-h svg, .field-search svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 12.5px/1.2 var(--f-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--khaki); }
.eyebrow svg { width: 14px; height: 14px; }
.eyebrow.dark { color: var(--spruce); }
.h2 { overflow-wrap: anywhere; text-wrap: balance; font: 900 clamp(46px, 6.2vw, 92px)/.88 var(--f-display); text-transform: uppercase; letter-spacing: -.004em; color: var(--spruce-dd); margin-top: 10px; }
.sub { text-wrap: pretty; font: italic 400 clamp(17px, 1.4vw, 20px)/1.45 var(--f-serif); color: var(--muted); max-width: 42ch; }
.kicker { display: block; font: 600 11px/1.25 var(--f-ui); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 2px solid transparent; border-radius: 0; font: 800 18px/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.btn svg { width: 20px; height: 20px; stroke-width: 2; }
.btn-cream { background: var(--cream); color: var(--spruce-dd); }
.btn-cream:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(239, 232, 214, .55); }
.btn-ghost:hover { background: rgba(239, 232, 214, .1); border-color: var(--cream); }
.btn-spruce { background: var(--spruce); color: var(--cream); }
.btn-spruce:hover { background: var(--spruce-dd); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.wide { width: 100%; min-height: 56px; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--top-h); display: flex; align-items: center; gap: 28px; padding: 0 clamp(16px, 3vw, 36px); color: var(--cream); transition: background-color .35s, box-shadow .35s; }
.top.solid { background: rgba(6, 43, 38, .98); box-shadow: 0 1px 0 rgba(201, 191, 159, .22); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; min-height: 44px; }
.brand img { width: 44px; height: 44px; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-words b { font: 800 21px/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; }
.brand-words small { font: 600 10px/1 var(--f-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--khaki); margin-top: 4px; }
.menu { display: flex; gap: 2px; margin-inline: auto; }
.menu a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font: 700 16.5px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; opacity: .9; }
.menu a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--khaki); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.menu a:hover { opacity: 1; }
.menu a:hover::after, .menu a[aria-current='page']::after { transform: scaleX(1); }
.menu a[aria-current='page'] { opacity: 1; }
.tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; }
.icon-btn:hover { background: rgba(239, 232, 214, .1); }
.icon-btn svg { width: 22px; height: 22px; }
.bag-btn { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 44px; min-width: 64px; padding: 0 14px 0 12px; border-radius: 22px; border: 1.5px solid rgba(239, 232, 214, .42); background: transparent; }
.bag-btn:hover { border-color: var(--cream); }
.bag-btn svg { width: 21px; height: 21px; }
.bag-btn .count { font: 800 18px/1 var(--f-display); min-width: 1ch; text-align: center; }
.menu-btn { display: none; }
/* goal light: lit while the bag holds something, flashes on every add */
.goal-light { position: absolute; top: -6px; right: 12px; width: 14px; height: 9px; pointer-events: none; }
.gl-dome { position: absolute; inset: 0; border-radius: 7px 7px 2px 2px; background: #c9392a; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .3); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.bag-btn.has .gl-dome { opacity: 1; transform: none; }
.gl-glow { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 92, 60, .85), rgba(255, 92, 60, 0) 64%); opacity: 0; }
.bag-btn.goal .gl-glow { animation: goal 1.5s ease-out; }
.bag-btn.goal .gl-dome { animation: goalDome 1.5s steps(1); }
@keyframes goal { 0% { opacity: 0 } 8% { opacity: 1 } 30% { opacity: .15 } 45% { opacity: 1 } 68% { opacity: .2 } 84% { opacity: .9 } 100% { opacity: 0 } }
@keyframes goalDome { 0%, 30%, 68% { background: #ff6a4d } 20%, 55% { background: #c9392a } 100% { background: #c9392a } }

/* ---------- hero: the rink after dark ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1040px; overflow: hidden; color: var(--cream);
  background: linear-gradient(180deg, #030f0f 0%, #051817 30%, #0b2927 52%, #143734 64%, #16393a 100%); isolation: isolate; }
.scene { position: absolute; inset: 0; z-index: 0; }
.scene .rk { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rk-lit, .rk-bank { opacity: 0; }
.rk-trail path { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
.hero.lit .rk-lit, .hero.lit .rk-bank { opacity: 1; }
.hero.lit .rk-trail path { stroke-dashoffset: 0; }
.rk-puck { opacity: 0; }
.hero.lit .rk-puck { opacity: 1; }
.hero.intro .rk-puck { animation: fadeIn .4s 3.2s both; }
.hero.intro .rk-lit, .hero.intro .rk-bank { will-change: opacity; }
.hero.intro .rk-lit { animation: litUp 2s .35s both; }
.hero.intro .rk-bank-1 { animation: bankOn .95s .35s both; }
.hero.intro .rk-bank-2 { animation: bankOn .95s .78s both; }
.hero.intro .rk-bank-3 { animation: bankOn .95s 1.15s both; }
.hero.intro .rk-bank-4 { animation: bankOn .95s 1.5s both; }
.hero.intro .rk-trail path { animation: carve 1.5s 2.05s cubic-bezier(.45, .1, .25, 1) forwards; }
@keyframes litUp { 0% { opacity: 0 } 12% { opacity: .3 } 15% { opacity: .14 } 34% { opacity: .5 } 55% { opacity: .74 } 74% { opacity: .92 } 100% { opacity: 1 } }
@keyframes bankOn { 0% { opacity: 0 } 9% { opacity: .95 } 16% { opacity: .1 } 27% { opacity: 1 } 36% { opacity: .5 } 48%, 100% { opacity: 1 } }
@keyframes carve { to { stroke-dashoffset: 0 } }

.flakes { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.flake { position: absolute; top: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; opacity: var(--o);
  background: radial-gradient(circle, rgba(255, 255, 255, .96) 0 40%, rgba(255, 255, 255, .4) 56%, rgba(255, 255, 255, 0) 72%);
  animation: fall0 var(--d) linear var(--dl) infinite; will-change: transform; }
.flake.f1 { animation-name: fall1; }
.flake.f2 { animation-name: fall2; }
@keyframes fall0 { from { transform: translate3d(0, 0, 0) } 50% { transform: translate3d(22px, calc(var(--fall, 900px) * .5), 0) } to { transform: translate3d(-4px, var(--fall, 900px), 0) } }
@keyframes fall1 { from { transform: translate3d(0, 0, 0) } 50% { transform: translate3d(-26px, calc(var(--fall, 900px) * .5), 0) } to { transform: translate3d(8px, var(--fall, 900px), 0) } }
@keyframes fall2 { from { transform: translate3d(0, 0, 0) } 35% { transform: translate3d(14px, calc(var(--fall, 900px) * .35), 0) } 70% { transform: translate3d(-12px, calc(var(--fall, 900px) * .7), 0) } to { transform: translate3d(6px, var(--fall, 900px), 0) } }
.hero.still .flake, .hero.hidden-tab .flake { animation-play-state: paused; }
.hero.intro .flakes { animation: fadeIn 2.4s 1.2s both; }

.hero-copy { position: absolute; z-index: 3; left: 0; right: 0; top: clamp(104px, 15vh, 172px); padding-inline: var(--gutter); text-align: center; }
.hero-copy .eyebrow { color: #d6cca9; }
.hero h1 { font: 900 clamp(84px, 9.6vw, 154px)/.84 var(--f-display); letter-spacing: -.004em; text-transform: uppercase; color: #f6f0de; margin-top: 18px; text-shadow: 0 2px 30px rgba(2, 16, 15, .55); }
.hero h1 .w { display: inline-block; white-space: nowrap; }
.hero h1 .ch { display: inline-block; }
.lede { font: italic 400 clamp(18px, 1.55vw, 23px)/1.42 var(--f-serif); color: #dcd4bd; max-width: 36ch; margin: 20px auto 0; text-shadow: 0 1px 16px rgba(2, 16, 15, .7); }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero.pre .hero-copy > *, .hero.pre .flakes { opacity: 0; }
.hero.intro .hero-copy .eyebrow { animation: fadeUp .9s .25s both; }
.hero.intro h1 .ch { animation: rise .95s calc(.45s + var(--i) * 42ms) cubic-bezier(.2, .8, .2, 1) both; }
.hero.intro .lede { animation: fadeUp .9s 1.15s both; }
.hero.intro .cta { animation: fadeUp .9s 1.35s both; }
@keyframes rise { from { opacity: 0; transform: translateY(.38em) } to { opacity: 1; transform: none } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.snowbank { position: absolute; z-index: 4; left: 0; bottom: -1px; width: 100%; height: clamp(34px, 5.6vw, 84px); fill: var(--paper); }

/* ---------- around the boards ---------- */
.boards { padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 36px); }
.board-rail { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.board-rail::-webkit-scrollbar { display: none; }
.board-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); max-width: 1344px; margin: 0 auto; padding-inline: var(--gutter); position: relative; }
.board-strip::after { content: ''; position: absolute; left: var(--gutter); right: var(--gutter); bottom: -14px; height: 14px; background: linear-gradient(#e6eeec, rgba(230, 238, 236, 0)); }
.board { position: relative; display: flex; flex-direction: column; background: #fff; text-decoration: none; color: var(--cream); border-top: 10px solid var(--khaki); scroll-snap-align: start; }
.board::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 3px; background: #b3a77f; }
.board + .board { border-left: 2px solid #e1dccd; }
.board + .board::after { content: ''; position: absolute; left: -5px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: #d2ccba; box-shadow: 0 150px 0 #d2ccba; }
.board-face { display: grid; place-items: center; aspect-ratio: 4 / 5; padding: 14% 12% 8%; overflow: hidden; }
.board-face img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.board-face .board-crest { width: 78%; height: auto; }
.board-kick { display: flex; flex-grow: 1; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 68px; padding: 16px 14px 16px 16px; background: var(--spruce); border-top: 3px solid var(--spruce-d); }
.board-name { font: 900 25px/1 var(--f-stencil); letter-spacing: .03em; text-transform: uppercase; }
.board-n { font: 600 13px/1 var(--f-ui); color: var(--khaki); }
.board:hover .board-face img { transform: translateY(-5px) scale(1.04); }
.board:hover { animation: thud .5s; }
.board:hover .board-kick { background: var(--spruce-d); }
@keyframes thud { 0%, 100% { transform: none } 18% { transform: translateX(-2px) } 40% { transform: translateX(2px) } 64% { transform: translateX(-1px) } }

/* ---------- periods ---------- */
.period { padding: clamp(56px, 7vw, 104px) 0; }
.period + .period { border-top: 1px solid var(--line); }
.period-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 20px clamp(20px, 3vw, 36px); padding-bottom: 26px; margin-bottom: clamp(26px, 3vw, 40px); border-bottom: 2px solid var(--spruce-dd); }
.scoreboard { width: 108px; padding: 10px 0 12px; text-align: center; background: #07231f; border-radius: 6px; box-shadow: inset 0 0 0 3px #0f3b35, inset 0 0 0 5px #07231f, inset 0 0 0 6px #264f48; align-self: center; }
.sb-label { display: block; font: 700 10.5px/1 var(--f-ui); letter-spacing: .32em; text-transform: uppercase; color: var(--khaki); padding-left: .32em; }
.sb-digit { display: block; font: 900 78px/.9 var(--f-stencil); color: var(--lamp); margin-top: 6px; text-shadow: 0 0 22px rgba(242, 214, 141, .4); }
.scoreboard.sb-off .sb-digit { opacity: .16; text-shadow: none; }
.scoreboard.sb-off.is-in .sb-digit { animation: sbOn 1.1s .25s both; text-shadow: 0 0 22px rgba(242, 214, 141, .4); }
@keyframes sbOn { 0% { opacity: .16 } 12% { opacity: 1 } 20% { opacity: .3 } 34% { opacity: 1 } 44% { opacity: .55 } 58%, 100% { opacity: 1 } }
.link-all { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 800 18px/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; color: var(--spruce); white-space: nowrap; }
.link-all span { font: 600 13px/1 var(--f-ui); color: var(--muted); letter-spacing: 0; }
.link-all svg { width: 20px; height: 20px; transition: transform .25s; }
.link-all:hover svg { transform: translateX(4px); }
.grid-few { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }

/* ---------- pop-ups: a section each ahead of the periods, no period number; the holiday order-by line on a scoreboard plate ---------- */
.period-head.pop-head { grid-template-columns: minmax(0, 1fr) auto; }
.pop-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 11px 16px 11px 14px; border-radius: 6px; background: #07231f; box-shadow: inset 0 0 0 3px #0f3b35, inset 0 0 0 5px #07231f, inset 0 0 0 6px #264f48; color: var(--lamp); font: 600 16px/1.3 var(--f-ui); }
.pop-note svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.pop-note span { text-wrap: balance; }
.pop-note .nowrap { white-space: nowrap; }

/* ---------- tiles ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 22px; }
.tile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); min-width: 0; }
.plate { display: block; position: relative; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .25s; }
.plate img { width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tile:hover .plate { border-color: #b9ae8e; }
.tile:hover .plate img { transform: scale(1.045); }
.tile-body { display: flex; flex-direction: column; gap: 5px; padding: 14px 2px 0; flex: 1; }
.tile-title { font: 800 22px/1.02 var(--f-display); letter-spacing: .01em; text-transform: uppercase; color: var(--spruce-dd); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; min-height: 28px; }
.price { font: 600 15px/1 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.tile.is-out .price { color: var(--muted); }
.tile.is-out .plate img { opacity: .55; }
.sw { display: flex; align-items: center; gap: 5px; min-width: 0; }
.dot { width: 17px; height: 17px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.dot-img { overflow: hidden; background: #fff; }
.dot-img img { width: 100%; height: 100%; object-fit: cover; }
.sw-text { font: 500 12px/1 var(--f-ui); color: var(--muted); white-space: nowrap; }

/* ---------- the warming house ---------- */
.warm { position: relative; overflow: hidden; background: #0a312b; color: var(--cream); padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 7vw, 100px); }
.warm::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 118px); pointer-events: none; }
.warm-glow { position: absolute; right: -18vw; bottom: -46vw; width: 88vw; height: 88vw; border-radius: 50%; background: radial-gradient(circle, rgba(255, 176, 84, .24), rgba(255, 176, 84, .08) 38%, rgba(255, 176, 84, 0) 64%); pointer-events: none; }
.warm-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.warm .h2 { color: #f6f0de; }
.rail-wrap { position: relative; margin-top: clamp(36px, 5vw, 56px); }
.hooks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 30px; max-width: 1344px; margin: 0 auto; padding: 0 var(--gutter); }
.hook { position: relative; padding-top: 64px; }
.hook::before { content: ''; position: absolute; top: 0; left: -15px; right: -15px; height: 22px; background: linear-gradient(#b99862, #97773f 70%, #7a5f31); box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .55); }
.hook::after { content: ''; position: absolute; z-index: 1; top: 4px; left: 50%; width: 12px; height: 30px; margin-left: -6px; border-radius: 3px 3px 7px 7px; background: linear-gradient(90deg, #a47c34, #f0d493 45%, #b88e44); box-shadow: 0 3px 4px rgba(0, 0, 0, .4); }
.hook .tile { position: relative; background: #fff; padding: 22px 14px 16px; transform: rotate(var(--r)); transform-origin: 50% -24px; box-shadow: 0 22px 34px -16px rgba(0, 0, 0, .6); }
.hook .tile::before { content: ''; position: absolute; left: 50%; top: -30px; width: 1.5px; height: 40px; margin-left: -.75px; background: #d9cfb3; }
.hook .tile::after { content: ''; position: absolute; left: 50%; top: 7px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #0a312b; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6); }
.hook .plate { border: 0; }
.hook .tile:hover { animation: swing 1.3s cubic-bezier(.3, .6, .3, 1); }
@keyframes swing { 0% { transform: rotate(var(--r)) } 22% { transform: rotate(calc(var(--r) * -1.6)) } 48% { transform: rotate(calc(var(--r) * 1.2)) } 72% { transform: rotate(calc(var(--r) * -.5)) } 100% { transform: rotate(var(--r)) } }

/* ---------- pennant builder ---------- */
.pennant { padding: clamp(64px, 8vw, 120px) 0; }
.pen-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'stage head' 'stage form'; align-items: end; column-gap: clamp(32px, 6vw, 96px); row-gap: 0; }
.pen-stage { grid-area: stage; align-self: center; }
.pen-head { grid-area: head; }
.pen-form { grid-area: form; align-self: start; }
.pen-stage { position: relative; padding: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 40px) 22px; background: repeating-linear-gradient(90deg, #ebe4d2 0 24px, #e6dec9 24px 48px); border: 1px solid var(--line); }
.pen-svg { display: block; width: min(100%, 440px); height: auto; margin: 0 auto; overflow: visible; }
.pen-cord { stroke: #6f6450; stroke-width: 1.6; }
.pen-swing { transform-box: view-box; transform-origin: 210px 18px; }
.pen-swing.sway { animation: sway 1.3s cubic-bezier(.3, .6, .3, 1); }
@keyframes sway { 0% { transform: rotate(0) } 18% { transform: rotate(2.4deg) } 42% { transform: rotate(-1.5deg) } 68% { transform: rotate(.7deg) } 100% { transform: rotate(0) } }
.pen-name { font: 800 40px/1 var(--f-display); fill: #cfc6a8; letter-spacing: .02em; }
.pen-num { font: 800 58px/1 var(--f-display); fill: #cfc6a8; }
.pen-name.ph, .pen-num.ph { fill-opacity: .42; }
.pen-arc { font: 700 25px/1 var(--f-display); letter-spacing: .05em; }
.pen-arc2 { font: 700 27px/1 var(--f-display); letter-spacing: .06em; }
.pen-est { font: 600 12px/1 var(--f-ui); letter-spacing: .06em; }
.pen-note { margin-top: 14px; text-align: center; font: italic 400 14px/1.4 var(--f-serif); color: var(--muted); }
.pen-form { margin-top: 28px; }
.pen-fields { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 14px; }
.fld { display: block; }
.lbl { display: block; font: 600 11.5px/1.3 var(--f-ui); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.lbl b { color: var(--ink); font-weight: 700; letter-spacing: .05em; margin-left: 6px; }
.lbl em { font: italic 400 14px/1 var(--f-serif); letter-spacing: 0; text-transform: none; margin-left: 4px; }
.inp { display: block; width: 100%; height: 54px; padding: 0 14px; border: 1.5px solid var(--edge); border-radius: 0; background: #fff; color: var(--ink); font: 700 22px/1 var(--f-display); letter-spacing: .04em; -webkit-appearance: none; appearance: none; }
select.inp { font: 600 16px/1 var(--f-ui); letter-spacing: 0; text-transform: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.inp::placeholder { color: #a39b86; }
.inp:focus { outline: 3px solid rgba(11, 77, 67, .28); outline-offset: 0; border-color: var(--spruce); }
.inp.bad { border-color: var(--red); }
.hint { display: block; margin-top: 7px; font: 13px/1.35 var(--f-ui); color: var(--muted); }
.hint.bad { color: var(--red); font-weight: 600; }
.form-error { margin-top: 12px; color: #a3281b; font: 600 14px/1.4 var(--f-ui); }
.form-error:empty { display: none; }
.pen-buy { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.pen-price { font: 800 36px/1 var(--f-display); color: var(--spruce-dd); }
.pen-buy .btn { flex: 1; max-width: 340px; }
.pen-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font: 500 14px var(--f-ui); color: var(--spruce); text-underline-offset: 3px; }

/* ---------- final horn ---------- */
.finale { padding: clamp(64px, 8vw, 120px) 0 clamp(72px, 8vw, 120px); border-top: 1px solid var(--line); }
.fin-title { font: 900 clamp(66px, 11.5vw, 184px)/.84 var(--f-display); text-transform: uppercase; color: var(--spruce-dd); margin: 14px 0 clamp(32px, 4vw, 54px); }
.fin-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); border-top: 2px solid var(--spruce-dd); }
.fin-list a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--spruce-dd); font: 800 clamp(24px, 2.4vw, 32px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.fin-list em { font: 600 13px/1 var(--f-ui); font-style: normal; color: var(--muted); letter-spacing: 0; }
.fin-list svg { width: 22px; height: 22px; margin-left: auto; transition: transform .25s; }
.fin-list a:hover svg { transform: translateX(5px); }

/* ---------- footer ---------- */
.foot { background: var(--spruce-dd); color: var(--cream); padding: clamp(48px, 6vw, 80px) 0 calc(36px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: start; }
.foot-brand { display: flex; align-items: center; gap: 18px; }
.foot-brand img { width: 92px; height: 92px; }
.foot-name { font: 900 30px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.foot-sub { margin-top: 6px; font: 600 11px/1 var(--f-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--khaki); }
.foot-nav { display: flex; flex-direction: column; align-items: flex-start; }
.foot-h { font: 600 11px/1 var(--f-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--khaki); margin-bottom: 8px; }
.foot-nav a, .foot-nav .linkish { display: inline-flex; align-items: center; min-height: 40px; font: 700 18px/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: var(--cream); opacity: .9; }
.foot-nav a:hover, .foot-nav .linkish:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot-nav .linkish { text-decoration: none; }
.powered p { font: 600 11px/1 var(--f-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--khaki); margin-bottom: 12px; }
.powered a { display: inline-flex; min-height: 44px; align-items: center; }
.powered img { width: 170px; height: auto; }

/* ---------- shop view ---------- */
.shop { position: relative; padding: 0 0 clamp(64px, 8vw, 110px); min-height: 90vh; }
/* the catalog header sits on a strip of ice: a blue (spruce) line, the red line and a faceoff circle */
.sheet-band { position: relative; overflow: hidden; padding: calc(var(--top-h) + clamp(24px, 4vw, 48px)) 0 30px; margin-bottom: 30px; background: linear-gradient(#dfe9e7, #eaf1ef 60%, #e4ecea); border-bottom: 12px solid var(--spruce); box-shadow: 0 4px 0 var(--khaki); }
.sheet-band > i { position: absolute; display: block; pointer-events: none; }
.sb-blue { top: 0; bottom: 0; left: 58%; width: clamp(10px, 1.2vw, 16px); background: rgba(11, 77, 67, .42); }
.sb-red { top: 0; bottom: 0; left: 76%; width: clamp(8px, 1vw, 13px); background: rgba(194, 59, 44, .36); }
.sb-circle { top: 50%; left: 88%; width: clamp(240px, 30vw, 440px); aspect-ratio: 1; border: 4px solid rgba(194, 59, 44, .28); border-radius: 50%; transform: translate(-50%, -42%); }
.sheet-band .wrap { position: relative; }
.shop .chips-row { margin-top: clamp(30px, 4vw, 44px); }
.crumb { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 12px/1 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--spruce); text-decoration: none; }
.crumb svg { width: 18px; height: 18px; }
.shop-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0 20px; }
.shop-top .crumb { grid-column: 1 / -1; }
.shop-title { font: 900 clamp(58px, 9.4vw, 148px)/.84 var(--f-display); text-transform: uppercase; color: var(--spruce-dd); margin-top: 8px; overflow-wrap: anywhere; }
.shop-count { font: italic 400 19px/1.2 var(--f-serif); color: var(--muted); padding-bottom: 8px; }
.chips-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 28px calc(var(--gutter) * -1) 0; padding: 2px var(--gutter) 4px; }
.chips-row::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--edge); border-radius: 22px; background: #fff; color: var(--spruce-dd); font: 700 17px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.chip:hover { border-color: var(--spruce); }
.chip[aria-current='page'] { background: var(--spruce); border-color: var(--spruce); color: var(--cream); }
.toolbar { display: flex; align-items: stretch; gap: 16px; margin: 0 0 34px; }
.field-search { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 50px; border-bottom: 2px solid var(--spruce-dd); color: var(--spruce-dd); }
.field-search svg { width: 20px; height: 20px; }
.field-search input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font: 500 17px/1 var(--f-ui); color: var(--ink); outline: none; }
.field-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.field-search:focus-within { border-bottom-color: var(--spruce); box-shadow: 0 2px 0 var(--spruce); }
.field-sort select { height: 100%; min-height: 50px; border: 1.5px solid var(--edge); background-color: #fff; padding: 0 38px 0 14px; font: 600 15px/1 var(--f-ui); color: var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.empty { text-align: center; padding: 60px 0; }
.empty p { font: italic 400 22px/1.4 var(--f-serif); color: var(--muted); margin-bottom: 18px; }

/* ---------- dialogs ---------- */
.dlg { border: 0; padding: 0; margin: auto; max-width: none; max-height: none; background: var(--paper); color: var(--ink); overscroll-behavior: contain; }
.dlg::backdrop { background: rgba(2, 16, 14, .66); }
.dlg[open] { animation: dlgIn .34s cubic-bezier(.2, .8, .2, 1); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }
.x { position: absolute; z-index: 5; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); }
.x svg { width: 20px; height: 20px; }
.x:hover { border-color: var(--ink); }
.skel { height: 120px; margin-top: 20px; background: linear-gradient(90deg, #ece6d6, #f3efe4); }
.skel.short { height: 56px; width: 60%; }

.dlg-product { width: min(1140px, 94vw); height: min(780px, 92vh); overflow: hidden; }
.pd { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); height: 100%; }
.pd-gallery { display: flex; flex-direction: column; min-height: 0; background: #fff; border-right: 1px solid var(--line); }
.pd-slides { flex: 1; min-height: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pd-slides::-webkit-scrollbar { display: none; }
.pd-slide { flex: 0 0 100%; min-width: 0; display: grid; place-items: center; padding: 6%; scroll-snap-align: start; }
.pd-slide img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 8px; padding: 12px 16px 16px; overflow-x: auto; scrollbar-width: thin; }
.pd-thumbs button { flex: none; width: 62px; height: 62px; padding: 4px; border: 1.5px solid var(--line); background: #fff; }
.pd-thumbs button[aria-current='true'] { border-color: var(--spruce-dd); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; padding: 46px clamp(22px, 3vw, 44px) 0; }
.pd-title { text-wrap: balance; font: 900 clamp(36px, 3.6vw, 54px)/.9 var(--f-display); text-transform: uppercase; color: var(--spruce-dd); margin: 10px 56px 12px 0; }
.pd-price { font: 600 21px/1 var(--f-ui); font-variant-numeric: tabular-nums; }
.pd-price s { color: var(--muted); font-weight: 400; margin-right: 10px; }
.opt { display: block; margin-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { min-width: 54px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--edge); background: #fff; font: 700 18px/1 var(--f-display); letter-spacing: .05em; color: var(--ink); }
.chip-opt:hover:not(:disabled) { border-color: var(--spruce-dd); }
.chip-opt[aria-checked='true'] { background: var(--spruce-dd); border-color: var(--spruce-dd); color: var(--cream); }
.chip-opt.dim:not([aria-checked='true']) { opacity: .55; }
.chip-opt:disabled { opacity: .38; text-decoration: line-through; cursor: not-allowed; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 2px solid transparent; background: none; display: grid; place-items: center; }
.swatch:hover { border-color: var(--edge); }
.swatch[aria-checked='true'] { border-color: var(--spruce-dd); }
.swatch.dim { opacity: .5; }
.sw-dot { width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.swatch-img { width: 64px; height: 64px; border-radius: 0; background: #fff; border: 1.5px solid var(--line); padding: 4px; }
.swatch-img img { width: 100%; height: 100%; object-fit: contain; }
.swatch-img[aria-checked='true'] { border-color: var(--spruce-dd); box-shadow: inset 0 0 0 1px var(--spruce-dd); }
.pers { margin-top: 26px; padding: 4px 18px 20px; background: #fff; border: 1.5px dashed var(--edge); }
.pers-h { display: flex; align-items: center; gap: 8px; margin-top: 16px; font: 800 19px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--spruce); }
.pers-h svg { width: 18px; height: 18px; }
.pers .opt { margin-top: 16px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-buy { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 22px 0 24px; background: linear-gradient(rgba(245, 241, 230, 0), var(--paper) 22px); }
.pd-info > .form-error { margin-top: 18px; }
.qty { display: inline-flex; align-items: center; height: 54px; border: 1.5px solid var(--edge); background: #fff; flex: none; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font: 500 22px/1 var(--f-ui); }
.qty button:hover { background: #f1ece0; }
.qty output { min-width: 30px; text-align: center; font: 700 17px/1 var(--f-ui); font-variant-numeric: tabular-nums; }
.qty.sm { height: 44px; }
.add { flex: 1; min-height: 54px; }
.pd-desc { margin: 0 0 34px; border-top: 1px solid var(--line); }
.pd-desc summary { display: flex; align-items: center; min-height: 52px; font: 800 18px/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase; cursor: pointer; }
.rich { font: 15px/1.6 var(--f-ui); color: #394641; overflow-wrap: anywhere; }
.rich img { max-width: 100%; height: auto; }
.rich table { max-width: 100%; display: block; overflow-x: auto; }

.dlg-bag { margin: 0 0 0 auto; width: min(470px, 100vw); height: 100vh; height: 100dvh; }
.dlg-bag[open] { animation: slideIn .34s cubic-bezier(.2, .8, .2, 1); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0 } to { transform: none; opacity: 1 } }
.bag { display: flex; flex-direction: column; height: 100%; }
.bag-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 18px 24px; border-bottom: 2px solid var(--spruce-dd); }
.bag-head h2 { font: 900 36px/1 var(--f-display); text-transform: uppercase; color: var(--spruce-dd); display: flex; align-items: center; gap: 12px; }
.bag-head h2 span { font: 800 17px/1 var(--f-stencil); background: #07231f; color: var(--lamp); padding: 6px 8px; border-radius: 4px; }
.bag-head .x { position: static; }
.bag-lines { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 4px 24px; }
.bag-line { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.plate.sm { width: 84px; height: 84px; }
.plate.sm img { padding: 6%; }
.bl-title { font: 800 20px/1.02 var(--f-display); text-transform: uppercase; color: var(--spruce-dd); margin-top: 3px; }
.bl-meta { font: 13px/1.4 var(--f-ui); color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.bl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.bl-row strong { font: 700 16px/1 var(--f-ui); font-variant-numeric: tabular-nums; }
.rm { font-size: 13px; color: var(--muted); min-height: 36px; }
.bag-foot { padding: 18px 24px calc(22px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.sum { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; font: 600 15px/1 var(--f-ui); }
.sum strong { font: 800 30px/1 var(--f-display); color: var(--spruce-dd); }
.bag-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 24px; text-align: center; }
.bag-empty img { width: 120px; height: 120px; opacity: .9; }
.bag-empty p { font: italic 400 22px/1.3 var(--f-serif); color: var(--muted); }

.dlg-search { margin: 0 auto auto; width: 100vw; max-height: 88vh; overflow-y: auto; }
.dlg-search[open] { animation: dropIn .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes dropIn { from { transform: translateY(-24px); opacity: 0 } to { transform: none; opacity: 1 } }
.srch { max-width: 1180px; margin: 0 auto; padding: 18px var(--gutter) 34px; }
.srch-bar { display: flex; align-items: center; gap: 14px; }
.srch-bar .x { position: static; }
.field-search.big input { height: 64px; font: 800 clamp(24px, 3vw, 34px)/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; }
.field-search.big input::placeholder { color: #9d9580; }
.srch-h { margin: 26px 0 12px; font: 600 11.5px/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.srch-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.srch-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.srch-hit { display: grid; grid-template-columns: 68px minmax(0, 1fr); align-items: center; gap: 14px; padding: 8px 14px 8px 8px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.srch-hit:hover { border-color: var(--spruce); }
.srch-hit .plate.sm { width: 68px; height: 68px; border: 0; }
.srch-hit b { display: block; font: 800 19px/1.02 var(--f-display); text-transform: uppercase; color: var(--spruce-dd); margin: 3px 0 5px; }
.srch-empty { margin-top: 26px; font: italic 400 20px/1.4 var(--f-serif); color: var(--muted); }

.dlg-menu { margin: 0; width: 100vw; height: 100vh; height: 100dvh; background: var(--spruce-dd); color: var(--cream); }
.mnu { display: flex; flex-direction: column; min-height: 100%; padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
.mnu-head { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.mnu-head .x { position: static; background: transparent; color: var(--cream); border-color: rgba(239, 232, 214, .4); }
.mnu nav { display: flex; flex-direction: column; margin-top: 18px; border-top: 1px solid rgba(239, 232, 214, .2); }
.mnu nav a { display: flex; align-items: baseline; justify-content: space-between; min-height: 60px; padding: 14px 0; border-bottom: 1px solid rgba(239, 232, 214, .2); font: 900 34px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.mnu nav em { font: 600 13px/1 var(--f-ui); font-style: normal; color: var(--khaki); }
.mnu-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 28px; }
.mnu-tools svg { width: 20px; height: 20px; }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 90; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; max-width: min(440px, calc(100vw - 32px)); padding: 10px 10px 10px 10px; background: var(--spruce-dd); color: var(--cream); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); border-left: 4px solid var(--red); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s; }
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast img { width: 54px; height: 54px; flex: none; background: #fff; object-fit: contain; padding: 3px; }
.toast span { flex: 1; min-width: 0; font: 14px/1.35 var(--f-ui); }
.toast b { display: block; font: 800 17px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--lamp); margin-bottom: 3px; }
.toast button { flex: none; min-height: 44px; padding: 0 14px; border: 1.5px solid rgba(239, 232, 214, .5); background: none; font: 800 15px/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .menu { display: none; }
  .menu-btn { display: grid; }
  .board-rail { scroll-padding-inline: var(--gutter); }
  .board-strip { grid-auto-columns: 196px; max-width: none; width: max-content; }
  .board-strip::after { right: var(--gutter); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-home > :nth-child(n+7) { display: none; }
  .grid-few { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 16px; }
  .grid-few .tile-title { font-size: 19px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .hooks { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 244px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: var(--gutter); padding-bottom: 34px; margin: 0; }
  .hooks::-webkit-scrollbar { display: none; }
  .hook { scroll-snap-align: start; }
  .srch-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .dlg-product { width: 100vw; height: 100vh; height: 100dvh; margin: 0; overflow-y: auto; }
  .pd { display: block; height: auto; }
  .pd-gallery { border-right: 0; border-bottom: 1px solid var(--line); }
  .pd-slides { height: min(100vw, 62vh); flex: none; }
  .pd-info { overflow: visible; padding: 26px var(--gutter) 0; min-height: calc(100dvh - min(100vw, 62vh)); }
  .dlg-product .x { position: fixed; }
  .pd-title { margin-right: 0; }
  .pd-buy { padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); background: var(--paper); box-shadow: 0 -1px 0 var(--line); }
  .pen-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'head' 'stage' 'form'; }
  .pen-stage { margin-top: 28px; }
  .pen-svg { width: min(100%, 340px); }
}
@media (max-width: 700px) {
  :root { --top-h: 62px; }
  .top { gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .brand-words b { font-size: 18px; }
  .brand-words small { font-size: 9px; letter-spacing: .26em; }
  .tools { gap: 2px; }
  .bag-btn { min-width: 60px; padding: 0 12px 0 10px; }
  .hero { min-height: 660px; }
  .hero-copy { top: 96px; }
  .hero-copy .eyebrow { font-size: 11px; letter-spacing: .2em; gap: 9px; }
  .lede { max-width: 30ch; }
  .cta { flex-direction: column; align-items: center; }
  .cta .btn { width: min(300px, 100%); }
  .board-strip { grid-auto-columns: 62vw; }
  .board-name { font-size: 23px; }
  .period-head { grid-template-columns: auto minmax(0, 1fr); }
  .period-head.pop-head { grid-template-columns: minmax(0, 1fr); }
  .period-head .link-all { grid-column: 1 / -1; justify-self: start; }
  .scoreboard { width: 76px; padding: 8px 0 9px; }
  .sb-digit { font-size: 56px; }
  .sb-label { font-size: 9px; }
  .grid, .grid-few { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .tile-title { font-size: 19px; }
  .kicker { font-size: 10px; letter-spacing: .12em; }
  .price { font-size: 14px; }
  .dot { width: 14px; height: 14px; }
  .sw { gap: 4px; }
  .hooks { grid-auto-columns: 66vw; gap: 16px 22px; }
  .pen-fields { grid-template-columns: minmax(0, 1fr) 116px; align-items: end; }
  .pen-buy { gap: 14px; }
  .pen-price { font-size: 30px; }
  .fin-list { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .foot-brand img { width: 72px; height: 72px; }
  .toolbar { flex-direction: column; gap: 10px; }
  .sb-blue { left: 84%; }
  .sb-red { left: 94%; }
  .sb-circle { left: 104%; }
  .field-sort select { width: 100%; }
  .shop-top { grid-template-columns: minmax(0, 1fr); }
  .shop-count { padding: 8px 0 0; }
  .srch-list { grid-template-columns: minmax(0, 1fr); }
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .bag-head h2 { font-size: 32px; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 22.4vw; }
  .h2 { font-size: 12vw; }
  .period-head { column-gap: 14px; }
  .scoreboard { width: 68px; }
  .sb-digit { font-size: 50px; }
}
@media (max-width: 350px) {
  .brand-words { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .flakes { display: none; }
  .rv { opacity: 1; transform: none; }
}
