/* Steve's Goods 2027 — the prototype stylesheet (sg-homepage-2027/assets/site.css) with mechanical
   renames only, made by port-packet/transform.py. Do not hand-edit: change the prototype and re-run. */
/* Steve's Goods 2027 homepage prototype
   Palette: Composite E, turned down. Dark is the default; light is a muted oat, not white.
   Lime is reserved for one thing: the lab-report (COA) signal. */

:root {
  --sg-bg: #15111f;
  --sg-bg2: #1a1527;
  --sg-surface: #201a30;
  --sg-surface2: #2a2340;
  --sg-stage-a: #352b50;
  --sg-stage-b: #221c33;
  --sg-text: #ede6d8;
  --sg-muted: #a69eb5;
  --sg-faint: #7d7591;
  --sg-line: rgba(237, 230, 216, .11);
  --sg-line2: rgba(237, 230, 216, .2);
  --sg-accent: #e9657e;
  --sg-accent-hi: #f28a9d;
  --sg-on-accent: #1d0e17;
  --sg-butter: #e6cb72;
  --sg-lime: #cdeb4b;
  --sg-signal-bg: #100c19;
  --sg-floor: rgba(0, 0, 0, .5);
  --sg-drop: rgba(0, 0, 0, .38);
  --sg-shadow: 0 34px 70px -34px rgba(0, 0, 0, .75);
  --sg-scrim: rgba(10, 7, 16, .62);
  --sg-ease: cubic-bezier(.2, .7, .2, 1);
  --sg-ease-io: cubic-bezier(.6, 0, .2, 1);
  --sg-pad: clamp(16px, 4vw, 44px);
  --sg-max: 1260px;
  --sg-r: 22px;
  --sg-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --sg-body: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --sg-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
html[data-sg-theme="light"] {
  --sg-bg: #e7e1d4;
  --sg-bg2: #dfd8c9;
  --sg-surface: #efeadf;
  --sg-surface2: #d8d0bf;
  --sg-stage-a: #f3eee4;
  --sg-stage-b: #d9d1c1;
  --sg-text: #231b34;
  --sg-muted: #625a71;
  --sg-faint: #8a8296;
  --sg-line: rgba(35, 27, 52, .13);
  --sg-line2: rgba(35, 27, 52, .24);
  --sg-accent: #bf3f59;
  --sg-accent-hi: #a93249;
  --sg-on-accent: #fff5ee;
  --sg-butter: #a37a12;
  --sg-signal-bg: #231b34;
  --sg-floor: rgba(35, 27, 52, .3);
  --sg-drop: rgba(35, 27, 52, .26);
  --sg-shadow: 0 34px 70px -38px rgba(35, 27, 52, .45);
  --sg-scrim: rgba(35, 27, 52, .42);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--sg-bg); color: var(--sg-text);
  font: 500 16px/1.6 var(--sg-body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* faint grain so the dark never reads as flat black */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background:
    radial-gradient(900px 600px at 85% -10%, color-mix(in oklab, var(--sg-accent) 9%, transparent), transparent 70%),
    radial-gradient(800px 700px at -10% 30%, color-mix(in oklab, #7a63e0 8%, transparent), transparent 70%);
}
:where(.sgp-scope) main, .sgp-site-foot, .sgp-hdr-wrap, .sgp-announce { position: relative; z-index: 1; }
:where(.sgp-scope) img { max-width: 100%; display: block; }
:where(.sgp-scope) a { color: inherit; text-decoration: none; }
:where(.sgp-scope) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.sgp-scope) h1, :where(.sgp-scope) h2, :where(.sgp-scope) h3, :where(.sgp-scope) h4, :where(.sgp-scope) p { margin: 0; }
:where(.sgp-scope) h1, :where(.sgp-scope) h2, :where(.sgp-scope) h3 { font-family: var(--sg-display); font-weight: 700; letter-spacing: -.028em; line-height: 1.02; text-wrap: balance; }
:where(.sgp-scope) p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--sg-accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sg-accent); color: var(--sg-on-accent); }
.sgp-wrap { width: min(var(--sg-max), 100% - var(--sg-pad) * 2); margin-inline: auto; }
.sgp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sgp-eyebrow { font: 500 12px/1 var(--sg-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sg-muted); display: inline-flex; gap: 10px; align-items: center; }
.sgp-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--sg-accent); rotate: 12deg; }
.sgp-muted { color: var(--sg-muted); }
.sgp-mono { font-family: var(--sg-mono); }

/* ---------- buttons ---------- */
.sgp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1;
  background: var(--sg-accent); color: var(--sg-on-accent);
  transition: translate .25s var(--sg-ease), background .25s, box-shadow .25s;
  box-shadow: 0 10px 26px -14px var(--sg-accent);
}
.sgp-btn svg { transition: translate .3s var(--sg-ease); }
.sgp-btn:hover { translate: 0 -2px; background: var(--sg-accent-hi); }
.sgp-btn:hover svg { translate: 4px 0; }
.sgp-btn:active { translate: 0 0; }
.sgp-btn.sgp-ghost { background: transparent; color: var(--sg-text); box-shadow: inset 0 0 0 1.5px var(--sg-line2); }
.sgp-btn.sgp-ghost:hover { background: color-mix(in oklab, var(--sg-text) 7%, transparent); }
.sgp-btn.sgp-block { width: 100%; }
.sgp-btn.sgp-sm { padding: 11px 16px; font-size: 14px; }
.sgp-link { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1.5px solid var(--sg-line2); padding-bottom: 3px; transition: border-color .25s, gap .25s var(--sg-ease); }
.sgp-link:hover { border-color: var(--sg-accent); gap: 12px; }

/* ---------- the lab-report signal (only place lime is used) ---------- */
.sgp-coa {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px;
  background: var(--sg-signal-bg); color: var(--sg-lime); font: 500 11.5px/1 var(--sg-mono); letter-spacing: .04em; white-space: nowrap;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--sg-lime) 28%, transparent);
}
.sgp-coa i { width: 7px; height: 7px; border-radius: 50%; background: var(--sg-lime); box-shadow: 0 0 0 0 color-mix(in oklab, var(--sg-lime) 60%, transparent); animation: sgp-ping 2.4s infinite; }
@keyframes sgp-ping { 70%, 100% { box-shadow: 0 0 0 7px transparent; } }

/* ---------- announcement + header ---------- */
.sgp-announce { background: var(--sg-bg2); border-bottom: 1px solid var(--sg-line); font: 500 12px/1 var(--sg-mono); letter-spacing: .06em; color: var(--sg-muted); overflow: hidden; }
.sgp-announce-track { display: flex; gap: 48px; width: max-content; padding: 10px 0; animation: sgp-slide 46s linear infinite; }
.sgp-announce-track span { display: inline-flex; gap: 48px; align-items: center; white-space: nowrap; }
.sgp-announce-track span::after { content: ""; width: 5px; height: 5px; border-radius: 1px; background: var(--sg-accent); rotate: 45deg; }
.sgp-announce:hover .sgp-announce-track { animation-play-state: paused; }
@keyframes sgp-slide { to { translate: -50% 0; } }

.sgp-hdr-wrap { position: sticky; top: 0; z-index: 40; transition: translate .45s var(--sg-ease), background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.sgp-hdr-wrap.sgp-stuck { background: color-mix(in oklab, var(--sg-bg) 82%, transparent); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-color: var(--sg-line); }
.sgp-hdr-wrap.sgp-away { translate: 0 -100%; }
.sgp-hdr { display: flex; align-items: center; gap: 28px; height: 72px; }
.sgp-logo { display: inline-flex; align-items: center; gap: 11px; font: 800 21px/1 var(--sg-display); letter-spacing: -.035em; white-space: nowrap; }
.sgp-logo .sgp-mark { width: 38px; height: 38px; flex: none; transition: rotate .8s var(--sg-ease); }
.sgp-logo:hover .sgp-mark { rotate: 90deg; }
.sgp-logo:hover .sgp-mark .sgp-cube { rotate: -90deg; }
.sgp-mark .sgp-cube { transform-origin: 20px 20px; transition: rotate .8s var(--sg-ease); }
.sgp-apos { display: inline-block; width: .27em; height: .27em; border-radius: .07em; background: var(--sg-accent); rotate: 14deg; translate: 0 -.5em; margin: 0 .05em 0 .04em; }
.sgp-nav { display: flex; gap: 4px; margin-left: 8px; }
.sgp-nav > a, .sgp-nav-item > a { padding: 10px 13px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--sg-muted); transition: color .2s, background .2s; display: inline-flex; gap: 6px; align-items: center; }
.sgp-nav > a:hover, .sgp-nav-item:hover > a, .sgp-nav a[aria-current="page"] { color: var(--sg-text); background: color-mix(in oklab, var(--sg-text) 7%, transparent); }
.sgp-nav-item { position: relative; }
.sgp-nav-item > a svg { transition: rotate .3s var(--sg-ease); }
.sgp-nav-item:hover > a svg, .sgp-nav-item:focus-within > a svg { rotate: 180deg; }
.sgp-mega {
  position: absolute; top: calc(100% + 10px); left: -18px; width: 620px; padding: 12px; border-radius: 24px;
  background: var(--sg-surface); border: 1px solid var(--sg-line); box-shadow: var(--sg-shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  opacity: 0; visibility: hidden; translate: 0 8px; transition: opacity .25s, translate .3s var(--sg-ease), visibility .25s;
}
.sgp-mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.sgp-nav-item:hover .sgp-mega, .sgp-nav-item:focus-within .sgp-mega { opacity: 1; visibility: visible; translate: 0 0; }
.sgp-mega a { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; transition: background .2s; }
.sgp-mega a:hover { background: color-mix(in oklab, var(--sg-text) 6%, transparent); }
.sgp-mega .sgp-stage { width: 62px; flex: none; border-radius: 13px; }
.sgp-mega b { display: block; font: 700 16px/1.2 var(--sg-display); letter-spacing: -.01em; }
.sgp-mega small { color: var(--sg-muted); font-size: 12.5px; }
.sgp-mega .sgp-all { grid-column: 1 / -1; justify-content: space-between; font-weight: 700; font-size: 14px; padding: 14px 16px; background: color-mix(in oklab, var(--sg-text) 5%, transparent); }
.sgp-hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.sgp-icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: background .2s; }
.sgp-icon-btn:hover { background: color-mix(in oklab, var(--sg-text) 8%, transparent); }
.sgp-icon-btn svg { width: 21px; height: 21px; }
.sgp-cart-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--sg-accent); color: var(--sg-on-accent); font: 700 11px/19px var(--sg-mono); text-align: center; scale: 0; transition: scale .35s var(--sg-ease); }
.sgp-cart-count.sgp-on { scale: 1; }
.sgp-cart-count.sgp-bump { animation: sgp-bump .5s var(--sg-ease); }
@keyframes sgp-bump { 40% { scale: 1.45; } }
.sgp-theme-btn .sgp-sun, html[data-sg-theme="light"] .sgp-theme-btn .sgp-moon { display: none; }
html[data-sg-theme="light"] .sgp-theme-btn .sgp-sun { display: block; }
.sgp-theme-btn svg { transition: rotate .6s var(--sg-ease); }
.sgp-theme-btn:hover svg { rotate: 28deg; }
.sgp-menu-btn { display: none; }
.sgp-menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: translate .3s var(--sg-ease), rotate .3s var(--sg-ease); }
.sgp-menu-btn span + span { margin-top: 6px; }
.sgp-menu-open .sgp-menu-btn span:first-child { translate: 0 4px; rotate: 45deg; }
.sgp-menu-open .sgp-menu-btn span:last-child { translate: 0 -4px; rotate: -45deg; }

/* mobile menu */
.sgp-mnav { position: fixed; inset: 0; z-index: 35; background: var(--sg-bg); padding: 128px var(--sg-pad) 32px; display: flex; flex-direction: column; gap: 4px; overflow: auto;
  clip-path: circle(0 at calc(100% - 38px) 78px); visibility: hidden; transition: clip-path .6s var(--sg-ease-io), visibility .6s; }
.sgp-menu-open .sgp-mnav { clip-path: circle(150% at calc(100% - 38px) 78px); visibility: visible; }
.sgp-mnav a.sgp-big { font: 700 clamp(30px, 9vw, 42px)/1.1 var(--sg-display); letter-spacing: -.03em; padding: 9px 0; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--sg-line); opacity: 0; translate: 0 18px; transition: opacity .5s, translate .6s var(--sg-ease); transition-delay: calc(var(--sg-i) * 45ms + 150ms); }
.sgp-mnav a.sgp-big small { font: 500 12px var(--sg-mono); color: var(--sg-muted); letter-spacing: .06em; }
.sgp-menu-open .sgp-mnav a.sgp-big { opacity: 1; translate: 0 0; }
.sgp-mnav .sgp-mnav-foot .sgp-btn { white-space: nowrap; flex: none; }
.sgp-mnav .sgp-mnav-foot .sgp-btn svg { width: 18px; height: 18px; flex: none; }
.sgp-mnav .sgp-mnav-foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; color: var(--sg-muted); font-size: 14px; font-weight: 600; }

/* ---------- product stage: one treatment for every photo ---------- */
.sgp-stage {
  --sg-tint: var(--sg-accent);
  position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 18px; isolation: isolate;
  background: radial-gradient(115% 85% at 50% 28%, color-mix(in oklab, var(--sg-tint) 17%, var(--sg-stage-a)), var(--sg-stage-b) 78%);
}
.sgp-stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in oklab, var(--sg-stage-b) 70%, #000 8%) 0, transparent 34%); opacity: .55; }
.sgp-stage::after { content: ""; position: absolute; left: 50%; bottom: 10.5%; width: 52%; height: 8%; translate: -50% 0; background: radial-gradient(closest-side, var(--sg-floor), transparent); filter: blur(3px); transition: scale .6s var(--sg-ease), opacity .6s; }
.sgp-stage img {
  position: absolute; left: 50%; bottom: 14%; translate: -50% 0; max-width: 62%; max-height: 70%; width: auto; height: auto; z-index: 1;
  filter: drop-shadow(0 14px 14px var(--sg-drop)); transform-origin: 50% 100%; transition: scale .6s var(--sg-ease), translate .6s var(--sg-ease);
}
.sgp-stage.sgp-wide img { max-width: 80%; }
.sgp-vt { view-transition-name: var(--sg-vt); }
.sgp-theme-vt .sgp-vt { view-transition-name: none; }

/* ---------- product card ---------- */
.sgp-card { display: flex; flex-direction: column; gap: 14px; position: relative; min-width: 0; }
.sgp-card:hover .sgp-stage img { scale: 1.06; translate: -50% -2%; }
.sgp-card:hover .sgp-stage::after { scale: .86 1; opacity: .7; }
.sgp-card .sgp-tag { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; font: 500 11px/1 var(--sg-mono); letter-spacing: .06em; text-transform: uppercase; background: color-mix(in oklab, var(--sg-bg) 70%, transparent); backdrop-filter: blur(8px); color: var(--sg-text); }
.sgp-card h3 { font-size: 18.5px; line-height: 1.15; letter-spacing: -.015em; }
.sgp-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sgp-card .sgp-spec { color: var(--sg-muted); font-size: 13.5px; line-height: 1.45; margin-top: 5px; }
.sgp-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.sgp-price { font: 500 15px/1 var(--sg-mono); letter-spacing: -.01em; }
.sgp-price small { color: var(--sg-muted); font-size: 12px; }
.sgp-add { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 16px; border-radius: 999px; font-weight: 700; font-size: 13.5px; box-shadow: inset 0 0 0 1.5px var(--sg-line2); transition: background .25s, color .25s, box-shadow .25s, scale .2s; }
.sgp-add svg { width: 14px; height: 14px; transition: rotate .4s var(--sg-ease); }
.sgp-add:hover { background: var(--sg-text); color: var(--sg-bg); box-shadow: none; }
.sgp-add:hover svg { rotate: 90deg; }
.sgp-add:active { scale: .94; }
.sgp-add.sgp-done { background: var(--sg-accent); color: var(--sg-on-accent); box-shadow: none; }
.sgp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 22px; }

/* ---------- sections ---------- */
.sgp-sec { padding: clamp(64px, 9vw, 124px) 0; }
.sgp-sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(26px, 4vw, 46px); flex-wrap: wrap; }
.sgp-sec-head h2 { font-size: clamp(32px, 4.6vw, 58px); margin-top: 16px; max-width: 16ch; }
.sgp-sec-head p { max-width: 42ch; color: var(--sg-muted); }

/* hero */
.sgp-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.sgp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(20px, 4vw, 60px); }
.sgp-hero h1 { font-size: clamp(46px, 6.1vw, 90px); font-weight: 800; letter-spacing: -.034em; line-height: .95; margin: 24px 0 26px; }
.sgp-hero h1 .sgp-line { display: block; overflow: hidden; padding-bottom: .17em; margin-bottom: -.17em; }
.sgp-hero h1 .sgp-line > span { display: inline-block; }
.sgp-hero h1 em { font-style: normal; color: var(--sg-accent); }
.sgp-js .sgp-hero h1 .sgp-line > span { translate: 0 108%; transition: translate 1s var(--sg-ease); transition-delay: calc(var(--sg-i) * 110ms + 120ms); }
.sgp-js .sgp-ready .sgp-hero h1 .sgp-line > span { translate: 0 0; }
.sgp-hero .sgp-lede { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--sg-muted); max-width: 46ch; }
.sgp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sgp-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--sg-line); font: 500 12px/1.4 var(--sg-mono); letter-spacing: .05em; color: var(--sg-muted); }
.sgp-hero-meta b { color: var(--sg-text); font-weight: 500; }
.sgp-js .sgp-hero .sgp-fade { opacity: 0; translate: 0 16px; transition: opacity .8s, translate .9s var(--sg-ease); transition-delay: calc(var(--sg-i) * 90ms + 420ms); }
.sgp-js .sgp-ready .sgp-hero .sgp-fade { opacity: 1; translate: 0 0; }

.sgp-hero-art { position: relative; aspect-ratio: 1 / 1.02; --sg-px: 0; --sg-py: 0; --sg-sy: 0; }
.sgp-ring { position: absolute; inset: 3%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--sg-accent) 15%, var(--sg-stage-a)) 0, var(--sg-stage-b) 62%, transparent 63%); }
.sgp-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: sgp-spin 70s linear infinite; }
.sgp-ring text { font: 500 12.5px var(--sg-mono); letter-spacing: .32em; fill: var(--sg-muted); }
.sgp-ring .sgp-ro { fill: none; stroke: var(--sg-line2); stroke-width: 1; }
.sgp-ring .sgp-ri { fill: none; stroke: var(--sg-line); stroke-width: 1; stroke-dasharray: 2 7; }
@keyframes sgp-spin { to { rotate: 360deg; } }
.sgp-h-prod { position: absolute; translate: calc(var(--sg-px) * var(--sg-d) * 1px) calc(var(--sg-py) * var(--sg-d) * 1px + var(--sg-sy) * var(--sg-d) * -.5px); transition: translate .5s cubic-bezier(.2, .8, .2, 1); will-change: translate; }
.sgp-h-prod img { width: 100%; filter: drop-shadow(0 30px 26px var(--sg-drop)); animation: sgp-bob 7s ease-in-out infinite; animation-delay: var(--sg-dl, 0s); }
@keyframes sgp-bob { 50% { translate: 0 -2.2%; rotate: var(--sg-rot, .6deg); } }
.sgp-h-prod.sgp-a { --sg-d: 14; width: 25%; left: 9%; top: 27%; --sg-dl: -2s; --sg-rot: -1deg; }
.sgp-h-prod.sgp-b { --sg-d: 34; width: 32%; left: 34%; top: 14%; z-index: 3; }
.sgp-h-prod.sgp-c { --sg-d: 20; width: 25%; right: 9%; top: 29%; z-index: 2; --sg-dl: -4s; --sg-rot: 1.2deg; }
.sgp-js .sgp-h-prod img { opacity: 0; scale: .9; transition: opacity .9s, scale 1.2s var(--sg-ease); transition-delay: calc(var(--sg-i) * 140ms + 300ms); }
.sgp-js .sgp-ready .sgp-h-prod img { opacity: 1; scale: 1; }
.sgp-hero-floor { position: absolute; left: 16%; right: 8%; bottom: 9%; height: 9%; background: radial-gradient(closest-side, var(--sg-floor), transparent); filter: blur(10px); }
.sgp-h-chip { position: absolute; z-index: 4; --sg-d: 54; translate: calc(var(--sg-px) * var(--sg-d) * 1px) calc(var(--sg-py) * var(--sg-d) * 1px); transition: translate .5s cubic-bezier(.2, .8, .2, 1); }
.sgp-h-chip.sgp-one { left: -2%; bottom: 9%; }
.sgp-h-chip.sgp-two { right: -5%; top: 1%; --sg-d: 34; }
.sgp-tagcard { display: flex; gap: 12px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 18px; background: color-mix(in oklab, var(--sg-surface) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--sg-line); box-shadow: var(--sg-shadow); font-size: 13px; font-weight: 700; line-height: 1.25; }
.sgp-tagcard .sgp-stage { width: 46px; border-radius: 11px; flex: none; }
.sgp-tagcard small { display: block; font: 500 12px var(--sg-mono); color: var(--sg-muted); margin-top: 2px; }

/* press bar: logos are one-colour masks, so they take the theme's ink */
.sgp-press { border-block: 1px solid var(--sg-line); background: var(--sg-bg2); }
.sgp-press-in { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.sgp-press .sgp-eyebrow { flex: none; }
.sgp-press-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.sgp-press-track { display: flex; width: max-content; animation: sgp-slide 64s linear infinite; }
.sgp-press-track > div { display: flex; align-items: center; }
.sgp-press:hover .sgp-press-track { animation-play-state: paused; }
.sgp-plogo { flex: none; width: var(--sg-w); height: var(--sg-h); margin: 26px clamp(24px, 3.2vw, 46px); background: var(--sg-text); opacity: .62; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; transition: opacity .3s; }
.sgp-plogo:hover { opacity: 1; }

/* trophy case (concentrates) */
.sgp-trophies { padding-bottom: 0; }
.sgp-trophies .sgp-sec-head h2 { max-width: 14ch; }
.sgp-trophy-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.sgp-trophy.sgp-won { grid-column: span 2; border-color: color-mix(in oklab, var(--sg-butter) 46%, var(--sg-line)); }
.sgp-trophy.sgp-won .sgp-medal { width: min(46%, 170px); }
.sgp-trophy .sgp-link { justify-self: center; margin-top: 8px; font-size: 14px; }
.sgp-trophy { margin: 0; display: grid; justify-items: center; align-content: start; text-align: center; padding: 26px 14px 22px; border-radius: var(--sg-r); background: var(--sg-surface); border: 1px solid var(--sg-line); transition: border-color .3s, translate .5s var(--sg-ease); }
.sgp-trophy:hover { border-color: var(--sg-line2); translate: 0 -4px; }
.sgp-trophy .sgp-medal { width: min(72%, 150px); aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 18px; background: radial-gradient(closest-side, color-mix(in oklab, var(--sg-butter) 30%, transparent), transparent 74%); }
.sgp-trophy img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px var(--sg-drop)); transition: rotate .7s var(--sg-ease), scale .7s var(--sg-ease); }
.sgp-trophy:hover img { rotate: -7deg; scale: 1.07; }
.sgp-trophy figcaption { display: grid; gap: 5px; }
.sgp-trophy .sgp-yr { font: 500 11px/1.3 var(--sg-mono); letter-spacing: .1em; color: var(--sg-muted); }
.sgp-trophy b { font: 700 19px/1.15 var(--sg-display); letter-spacing: -.012em; }
.sgp-trophy small { font-size: 13px; color: var(--sg-muted); }
.sgp-medalcard img { width: 46px; height: 46px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 6px var(--sg-drop)); }

/* category bento */
.sgp-bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, minmax(250px, 1fr)); gap: 16px; }
.sgp-tile { position: relative; overflow: hidden; border-radius: var(--sg-r); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; isolation: isolate;
  background: radial-gradient(120% 95% at 72% 30%, color-mix(in oklab, var(--sg-tint) 19%, var(--sg-stage-a)), var(--sg-stage-b) 76%); transition: translate .5s var(--sg-ease); }
.sgp-tile:first-child { grid-row: span 2; }
.sgp-tile:hover { translate: 0 -4px; }
.sgp-tile h3 { font-size: clamp(24px, 2.5vw, 34px); }
.sgp-tile:first-child h3 { font-size: clamp(34px, 4vw, 54px); }
.sgp-tile p { color: var(--sg-muted); font-size: 14px; max-width: 22ch; margin-top: 8px; }
.sgp-tile .sgp-from { font: 500 12.5px/1 var(--sg-mono); display: inline-flex; align-items: center; gap: 10px; letter-spacing: .03em; }
.sgp-tile .sgp-from i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sg-text); color: var(--sg-bg); transition: translate .4s var(--sg-ease), rotate .4s var(--sg-ease); }
.sgp-tile:hover .sgp-from i { rotate: -45deg; }
.sgp-tile img { position: absolute; z-index: -1; right: 5%; bottom: 8%; max-height: 74%; max-width: 44%; width: auto; filter: drop-shadow(0 18px 16px var(--sg-drop)); transition: scale .7s var(--sg-ease), rotate .7s var(--sg-ease); transform-origin: 50% 100%; }
.sgp-tile:first-child img { max-height: 62%; max-width: 62%; right: 50%; translate: 50% 0; bottom: 15%; }
.sgp-tile:hover img { scale: 1.07; rotate: -3deg; }
.sgp-tile::after { content: ""; position: absolute; z-index: -2; right: 3%; bottom: 5%; width: 46%; height: 9%; background: radial-gradient(closest-side, var(--sg-floor), transparent); filter: blur(5px); }
.sgp-tile:first-child::after { right: 22%; width: 56%; bottom: 12%; }

/* shelf tabs */
.sgp-tabs { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--sg-surface); border: 1px solid var(--sg-line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.sgp-tabs::-webkit-scrollbar { display: none; }
.sgp-tabs button { position: relative; z-index: 1; padding: 10px 17px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--sg-muted); white-space: nowrap; transition: color .3s; }
.sgp-tabs button[aria-selected="true"] { color: var(--sg-bg); }
.sgp-tabs .sgp-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--sg-text); }
.sgp-tabs.sgp-live .sgp-pill { transition: translate .45s var(--sg-ease), width .45s var(--sg-ease); }
.sgp-shot .sgp-tabs .sgp-pill { transition: none !important; }
.sgp-tabs button small { font: 500 11px var(--sg-mono); opacity: .7; margin-left: 5px; }

/* how it's made */
.sgp-made { background: var(--sg-bg2); border-block: 1px solid var(--sg-line); }
.sgp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: s; }
.sgp-steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1.5px; background: var(--sg-line2); transform-origin: 0 50%; scale: 0 1; transition: scale 1.6s var(--sg-ease-io) .2s; }
.sgp-steps.sgp-in::before { scale: 1 1; }
.sgp-step { position: relative; }
.sgp-step .sgp-n { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--sg-bg2); border: 1.5px solid var(--sg-line2); font: 500 15px var(--sg-mono); position: relative; rotate: -4deg; transition: rotate .5s var(--sg-ease), background .3s, color .3s; }
.sgp-step:hover .sgp-n { rotate: 4deg; background: var(--sg-accent); color: var(--sg-on-accent); border-color: transparent; }
.sgp-step h3 { font-size: 26px; margin: 26px 0 10px; }
.sgp-step p { color: var(--sg-muted); max-width: 36ch; }
.sgp-step .sgp-where { font: 500 12px var(--sg-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sg-butter); margin-top: 16px; display: block; }

/* lot lookup */
.sgp-lot { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.sgp-lot h2 { font-size: clamp(32px, 4.6vw, 58px); margin: 16px 0 18px; }
.sgp-lot-card { border-radius: 28px; background: var(--sg-surface); border: 1px solid var(--sg-line); padding: clamp(20px, 3vw, 34px); box-shadow: var(--sg-shadow); position: relative; overflow: hidden; }
.sgp-lot-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: repeating-linear-gradient(90deg, var(--sg-line2) 0 8px, transparent 8px 14px); }
.sgp-lot-form { display: flex; gap: 10px; margin-top: 18px; }
.sgp-field { flex: 1; min-width: 0; height: 54px; border-radius: 16px; background: var(--sg-bg); border: 1.5px solid var(--sg-line2); padding: 0 18px; color: var(--sg-text); font: 500 16px var(--sg-mono); letter-spacing: .04em; transition: border-color .25s, box-shadow .25s; }
.sgp-field::placeholder { color: var(--sg-faint); }
.sgp-field:focus { outline: none; border-color: var(--sg-accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--sg-accent) 22%, transparent); }
.sgp-lot-try { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; font: 500 12px var(--sg-mono); color: var(--sg-muted); align-items: center; }
.sgp-lot-try button { padding: 6px 10px; border-radius: 8px; border: 1px dashed var(--sg-line2); transition: border-color .2s, color .2s; }
.sgp-lot-try button:hover { color: var(--sg-text); border-color: var(--sg-accent); }
.sgp-lot-out { margin-top: 0; border-radius: 18px; background: var(--sg-bg); border: 0 solid var(--sg-line); overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--sg-ease); }
.sgp-lot-out.sgp-show { grid-template-rows: 1fr; margin-top: 18px; border-width: 1px; }
.sgp-lot-out > div { min-height: 0; }
.sgp-lot-out .sgp-inner { padding: 18px; display: grid; gap: 12px; }
.sgp-lot-row { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--sg-line); }
.sgp-lot-row span:first-child { color: var(--sg-muted); }
.sgp-lot-row span:last-child { font-family: var(--sg-mono); font-size: 13px; text-align: right; }
.sgp-scan { height: 3px; background: linear-gradient(90deg, transparent, var(--sg-lime), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: sgp-scan 1s linear infinite; }
@keyframes sgp-scan { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.sgp-demo-note { font: 500 11.5px/1.5 var(--sg-mono); color: var(--sg-faint); }

/* bundles */
.sgp-bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sgp-bundle { border-radius: var(--sg-r); background: var(--sg-surface); border: 1px solid var(--sg-line); padding: 20px; display: flex; flex-direction: column; gap: 18px; position: relative; transition: translate .5s var(--sg-ease), border-color .3s; }
.sgp-bundle:hover { translate: 0 -4px; border-color: var(--sg-line2); }
.sgp-bundle.sgp-feature { grid-column: span 2; }
.sgp-fan { display: flex; padding: 6px 0 0 6px; }
.sgp-fan .sgp-stage { width: 84px; border-radius: 16px; margin-left: -18px; box-shadow: -8px 0 18px -10px rgba(0, 0, 0, .5); transition: translate .5s var(--sg-ease), rotate .5s var(--sg-ease); transition-delay: calc(var(--sg-i) * 30ms); }
.sgp-fan .sgp-stage:first-child { margin-left: 0; }
.sgp-bundle.sgp-feature .sgp-fan .sgp-stage { flex: 1 1 0; width: auto; min-width: 0; max-width: 150px; margin-left: -14px; }
.sgp-bundle.sgp-feature .sgp-fan .sgp-stage:first-child { margin-left: 0; }
.sgp-bundle:hover .sgp-fan .sgp-stage { translate: calc(var(--sg-i) * 5px) -5px; rotate: calc((var(--sg-i) - 1.5) * 1.5deg); }
.sgp-bundle h3 { font-size: 24px; }
.sgp-bundle h3 a::after { content: ""; position: absolute; inset: 0; }
.sgp-bundle p { color: var(--sg-muted); font-size: 14px; margin-top: 6px; }
.sgp-bundle-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.sgp-bundle .sgp-price s { color: var(--sg-faint); margin-left: 8px; font-size: 13px; }
.sgp-save { font: 500 11.5px/1 var(--sg-mono); padding: 6px 9px; border-radius: 8px; background: color-mix(in oklab, var(--sg-butter) 18%, transparent); color: var(--sg-butter); letter-spacing: .03em; }

/* story */
.sgp-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 6vw, 90px); align-items: center; }
.sgp-story-art { position: relative; aspect-ratio: 4 / 4.4; border-radius: 30px; overflow: hidden; background: radial-gradient(110% 80% at 50% 30%, color-mix(in oklab, #9b82f5 16%, var(--sg-stage-a)), var(--sg-stage-b) 78%); }
.sgp-story-art img { position: absolute; filter: drop-shadow(0 22px 18px var(--sg-drop)); }
.sgp-story-art img:nth-of-type(1) { width: 28%; left: 12%; bottom: 16%; }
.sgp-story-art img:nth-of-type(2) { width: 30%; left: 35%; bottom: 14%; z-index: 2; }
.sgp-story-art img:nth-of-type(3) { width: 34%; right: 7%; bottom: 13%; z-index: 3; }
.sgp-story-art .sgp-stamp { position: absolute; top: 22px; left: 22px; font: 500 11.5px/1.5 var(--sg-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sg-muted); }
.sgp-story-art::after { content: ""; position: absolute; left: 8%; right: 5%; bottom: 9%; height: 9%; background: radial-gradient(closest-side, var(--sg-floor), transparent); filter: blur(8px); }
.sgp-story h2 { font-size: clamp(32px, 4.4vw, 56px); margin: 16px 0 22px; }
.sgp-story p { color: var(--sg-muted); max-width: 50ch; margin-bottom: 14px; }
.sgp-note { margin: 26px 0; padding: 22px 24px; border-radius: 20px; background: var(--sg-surface); border: 1px solid var(--sg-line); font: 600 clamp(18px, 1.8vw, 22px)/1.4 var(--sg-display); letter-spacing: -.01em; color: var(--sg-text); position: relative; }
.sgp-note cite { display: block; margin-top: 12px; font: 500 12px var(--sg-mono); letter-spacing: .08em; color: var(--sg-muted); font-style: normal; }
.sgp-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 14px 36px; justify-content: start; margin-top: 28px; }
.sgp-facts b { display: block; font: 800 clamp(32px, 3.6vw, 46px)/1 var(--sg-display); letter-spacing: -.04em; }
.sgp-facts span { font: 500 12px var(--sg-mono); letter-spacing: .06em; color: var(--sg-muted); text-transform: uppercase; }

/* journal */
.sgp-journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sgp-post { border-radius: var(--sg-r); padding: 24px; min-height: 290px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--sg-line); background: var(--sg-surface); position: relative; overflow: hidden; transition: translate .5s var(--sg-ease), border-color .3s; }
.sgp-post:hover { translate: 0 -4px; border-color: var(--sg-line2); }
.sgp-post .sgp-big { position: absolute; right: 16px; top: -30px; font: 800 170px/1 var(--sg-display); letter-spacing: -.02em; color: color-mix(in oklab, var(--sg-text) 5%, transparent); transition: translate .7s var(--sg-ease), color .4s; }
.sgp-post:hover .sgp-big { translate: -8px 10px; color: color-mix(in oklab, var(--sg-accent) 24%, transparent); }
.sgp-post .sgp-k { font: 500 11.5px var(--sg-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sg-muted); position: relative; }
.sgp-post h3 { font-size: 26px; line-height: 1.08; position: relative; max-width: 15ch; }
.sgp-post p { color: var(--sg-muted); font-size: 14px; margin-top: 10px; position: relative; }
.sgp-post .sgp-link { margin-top: 18px; font-size: 14px; align-self: start; }

/* newsletter */
.sgp-news { border-radius: 34px; padding: clamp(28px, 5vw, 64px); background: radial-gradient(90% 140% at 100% 0, color-mix(in oklab, var(--sg-accent) 20%, var(--sg-surface)), var(--sg-surface) 62%); border: 1px solid var(--sg-line); display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px 48px; align-items: center; position: relative; overflow: hidden; }
.sgp-news h2 { font-size: clamp(30px, 4vw, 52px); }
.sgp-news p { color: var(--sg-muted); margin-top: 12px; max-width: 40ch; }
.sgp-news form { display: flex; gap: 10px; }
.sgp-news .sgp-ok { font: 500 13px/1.5 var(--sg-mono); color: var(--sg-muted); margin-top: 12px; min-height: 1.5em; }

/* footer */
.sgp-site-foot { border-top: 1px solid var(--sg-line); background: var(--sg-bg2); padding: 64px 0 28px; margin-top: 40px; }
.sgp-foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.sgp-foot-grid h4 { font: 500 12px var(--sg-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sg-muted); margin-bottom: 16px; }
.sgp-foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sgp-foot-grid li a { font-weight: 600; font-size: 14.5px; color: var(--sg-text); opacity: .86; transition: opacity .2s, color .2s; }
.sgp-foot-grid li a:hover { opacity: 1; color: var(--sg-accent); }
.sgp-foot-brand p { color: var(--sg-muted); font-size: 14px; max-width: 34ch; margin-top: 16px; }
.sgp-foot-word { font: 800 clamp(48px, 13.6vw, 204px)/.84 var(--sg-display); letter-spacing: -.03em; overflow: hidden; padding-bottom: .06em; margin: 56px 0 26px; color: color-mix(in oklab, var(--sg-text) 7%, transparent); white-space: nowrap; user-select: none; }
.sgp-legal { border-top: 1px solid var(--sg-line); padding-top: 22px; display: grid; gap: 12px; font-size: 12.5px; color: var(--sg-faint); line-height: 1.6; }
.sgp-legal .sgp-row { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
.sgp-proto { margin-top: 18px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--sg-line2); font: 500 11.5px/1.6 var(--sg-mono); color: var(--sg-muted); }

/* ---------- drawers, overlays ---------- */
.sgp-scrim { position: fixed; inset: 0; z-index: 50; background: var(--sg-scrim); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.sgp-scrim.sgp-on { opacity: 1; visibility: visible; }
.sgp-drawer { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--sg-bg); border-left: 1px solid var(--sg-line); display: flex; flex-direction: column; translate: 102% 0; transition: translate .55s var(--sg-ease); box-shadow: var(--sg-shadow); }
.sgp-drawer.sgp-on { translate: 0 0; }
.sgp-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--sg-line); }
.sgp-drawer-head h2 { font-size: 24px; }
.sgp-drawer-body { flex: 1; overflow: auto; padding: 8px 22px; }
.sgp-drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--sg-line); display: grid; gap: 12px; background: var(--sg-bg2); }
.sgp-cline { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--sg-line); align-items: center; animation: sgp-lineIn .5s var(--sg-ease) both; animation-delay: calc(var(--sg-i) * 50ms); }
@keyframes sgp-lineIn { from { opacity: 0; translate: 24px 0; } }
.sgp-cline .sgp-stage { border-radius: 14px; }
.sgp-cline b { font: 700 15.5px/1.2 var(--sg-display); display: block; }
.sgp-cline small { color: var(--sg-muted); font-size: 12.5px; }
.sgp-cline .sgp-right { text-align: right; display: grid; gap: 8px; justify-items: end; }
.sgp-qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--sg-line2); }
.sgp-qty button { width: 30px; height: 30px; display: grid; place-items: center; font-weight: 700; border-radius: 50%; transition: background .2s; }
.sgp-qty button:hover { background: color-mix(in oklab, var(--sg-text) 10%, transparent); }
.sgp-qty span { min-width: 22px; text-align: center; font: 500 13px var(--sg-mono); }
.sgp-qty.sgp-lg button { width: 44px; height: 50px; } .sgp-qty.sgp-lg span { min-width: 30px; font-size: 15px; }
.sgp-sum { display: flex; justify-content: space-between; font-weight: 700; font-size: 17px; }
.sgp-sum span:last-child { font-family: var(--sg-mono); font-weight: 500; }
.sgp-fine { font-size: 12.5px; color: var(--sg-muted); line-height: 1.5; }
.sgp-empty { text-align: center; padding: 60px 10px; color: var(--sg-muted); display: grid; gap: 16px; justify-items: center; }
.sgp-empty .sgp-cube { width: 70px; height: 70px; border-radius: 20px; background: var(--sg-surface2); rotate: -8deg; display: grid; place-items: center; font-size: 28px; animation: sgp-bob 5s ease-in-out infinite; }

.sgp-search { position: fixed; inset: 0; z-index: 70; display: grid; place-items: start center; padding: 9vh var(--sg-pad) 0; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.sgp-search.sgp-on { opacity: 1; visibility: visible; }
.sgp-search-box { position: relative; width: min(680px, 100%); background: var(--sg-surface); border: 1px solid var(--sg-line2); border-radius: 24px; box-shadow: var(--sg-shadow); overflow: hidden; translate: 0 -14px; scale: .98; transition: translate .4s var(--sg-ease), scale .4s var(--sg-ease); }
.sgp-search.sgp-on .sgp-search-box { translate: 0 0; scale: 1; }
.sgp-search-in { display: flex; align-items: center; gap: 12px; padding: 6px 18px; border-bottom: 1px solid var(--sg-line); }
.sgp-search-in input { flex: 1; height: 56px; background: none; border: 0; color: var(--sg-text); font: 600 18px var(--sg-body); outline: none; min-width: 0; }
.sgp-search-in kbd { font: 500 11px var(--sg-mono); padding: 5px 7px; border-radius: 6px; border: 1px solid var(--sg-line2); color: var(--sg-muted); }
.sgp-search-res { max-height: 56vh; overflow: auto; padding: 8px; }
.sgp-search-res a { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 14px; }
.sgp-search-res a:hover, .sgp-search-res a.sgp-sel { background: color-mix(in oklab, var(--sg-text) 7%, transparent); }
.sgp-search-res .sgp-stage { width: 50px; border-radius: 11px; flex: none; }
.sgp-search-res b { font: 700 15.5px var(--sg-display); display: block; }
.sgp-search-res small { color: var(--sg-muted); font-size: 12.5px; }
.sgp-search-res .sgp-price { margin-left: auto; }
.sgp-search-res .sgp-none { padding: 26px; color: var(--sg-muted); text-align: center; }

.sgp-gate { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--sg-pad); background: color-mix(in oklab, var(--sg-bg) 90%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: opacity .5s, visibility .5s; }
.sgp-gate.sgp-off { opacity: 0; visibility: hidden; }
.sgp-gate-card { width: min(440px, 100%); text-align: center; padding: 38px 30px 30px; border-radius: 30px; background: var(--sg-surface); border: 1px solid var(--sg-line2); box-shadow: var(--sg-shadow); animation: sgp-gateIn .7s var(--sg-ease) both; }
@keyframes sgp-gateIn { from { opacity: 0; translate: 0 26px; scale: .96; } }
.sgp-gate-card .sgp-mark { width: 64px; height: 64px; margin: 0 auto 18px; }
.sgp-gate-card h2 { font-size: 32px; margin-bottom: 10px; }
.sgp-gate-card p { color: var(--sg-muted); font-size: 14.5px; }
.sgp-gate-card .sgp-row { display: flex; gap: 10px; margin-top: 24px; }
.sgp-gate-card .sgp-row .sgp-btn { flex: 1; }

.sgp-toast { position: fixed; z-index: 80; left: 50%; bottom: 26px; translate: -50% calc(100% + 60px); visibility: hidden; padding: 13px 18px; border-radius: 999px; background: var(--sg-text); color: var(--sg-bg); font-weight: 700; font-size: 14px; box-shadow: var(--sg-shadow); transition: translate .5s var(--sg-ease), visibility 0s .5s; display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.sgp-toast.sgp-on { translate: -50% 0; visibility: visible; transition: translate .5s var(--sg-ease), visibility 0s; }
.sgp-flyer { position: fixed; z-index: 85; pointer-events: none; }

/* ---------- reveal ---------- */
.sgp-js [data-reveal] { opacity: 0; translate: 0 24px; transition: opacity .8s var(--sg-ease), translate .9s var(--sg-ease); transition-delay: calc(var(--sg-i, 0) * 70ms); }
.sgp-js [data-reveal].sgp-in { opacity: 1; translate: 0 0; }

/* ---------- shop page ---------- */
.sgp-page-head { padding: clamp(34px, 6vw, 76px) 0 clamp(22px, 3vw, 36px); }
.sgp-page-head h1 { font-size: clamp(44px, 6.4vw, 88px); font-weight: 800; letter-spacing: -.034em; margin: 18px 0 14px; }
.sgp-page-head p { color: var(--sg-muted); max-width: 52ch; font-size: 17px; }
.sgp-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; position: sticky; top: 76px; z-index: 20; padding: 10px 0; }
.sgp-select { height: 46px; padding: 0 40px 0 16px; border-radius: 999px; background: var(--sg-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; border: 1px solid var(--sg-line); color: var(--sg-text); font: 700 14px var(--sg-body); appearance: none; -webkit-appearance: none; }
.sgp-count-note { font: 500 12px var(--sg-mono); color: var(--sg-muted); letter-spacing: .05em; }

/* ---------- product page ---------- */
.sgp-crumbs { font: 500 12px var(--sg-mono); letter-spacing: .05em; color: var(--sg-muted); padding: 22px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.sgp-crumbs a:hover { color: var(--sg-text); }
.sgp-pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 72px); padding: 22px 0 40px; align-items: start; }
.sgp-pdp-art { position: sticky; top: 96px; }
.sgp-pdp-art .sgp-stage { border-radius: 32px; }
.sgp-pdp-art .sgp-stage img { max-height: 72%; max-width: 60%; }
.sgp-pdp-art .sgp-stage.sgp-wide img { max-width: 78%; }
.sgp-pdp-art .sgp-fan-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sgp-pdp-art .sgp-fan-big.sgp-n4 { grid-template-columns: repeat(2, 1fr); }
.sgp-pdp-art .sgp-fan-big .sgp-stage { border-radius: 20px; }
.sgp-pdp-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.sgp-pdp h1 { font-size: clamp(36px, 4.6vw, 62px); font-weight: 800; letter-spacing: -.032em; margin: 14px 0 12px; }
.sgp-pdp .sgp-spec-line { color: var(--sg-muted); font-size: 17px; }
.sgp-pdp-price { font: 500 30px/1 var(--sg-mono); letter-spacing: -.03em; margin: 26px 0 22px; display: flex; align-items: baseline; gap: 12px; }
.sgp-pdp-price s { font-size: 17px; color: var(--sg-faint); }
.sgp-pdp-price .sgp-num { display: inline-block; }
.sgp-pdp-price .sgp-num.sgp-flip { animation: sgp-flip .45s var(--sg-ease); }
@keyframes sgp-flip { from { opacity: 0; translate: 0 12px; } }
.sgp-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.sgp-opts label { cursor: pointer; }
.sgp-opts input { position: absolute; opacity: 0; pointer-events: none; }
.sgp-opts span { display: grid; gap: 4px; padding: 12px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--sg-line2); font-weight: 700; font-size: 14.5px; transition: box-shadow .2s, background .2s; min-width: 86px; }
.sgp-opts span small { font: 500 12px var(--sg-mono); color: var(--sg-muted); }
.sgp-opts input:checked + span { box-shadow: inset 0 0 0 2px var(--sg-accent); background: color-mix(in oklab, var(--sg-accent) 11%, transparent); }
.sgp-opts input:focus-visible + span { outline: 2px solid var(--sg-accent); outline-offset: 3px; }
.sgp-buy { display: flex; gap: 10px; align-items: stretch; }
.sgp-buy .sgp-btn { flex: 1; height: 50px; }
.sgp-assure { display: grid; gap: 9px; margin: 22px 0 6px; font-size: 14px; color: var(--sg-muted); }
.sgp-assure div { display: flex; gap: 10px; align-items: center; }
.sgp-assure svg { width: 17px; height: 17px; flex: none; color: var(--sg-text); }
.sgp-acc { border-top: 1px solid var(--sg-line); margin-top: 22px; }
.sgp-acc details { border-bottom: 1px solid var(--sg-line); }
.sgp-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 700 18px var(--sg-display); letter-spacing: -.01em; }
.sgp-acc summary::-webkit-details-marker { display: none; }
.sgp-acc summary i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--sg-line2); font-style: normal; transition: rotate .4s var(--sg-ease), background .2s; }
.sgp-acc details[open] summary i { rotate: 45deg; background: var(--sg-text); color: var(--sg-bg); }
.sgp-acc .sgp-body { padding: 0 0 20px; color: var(--sg-muted); font-size: 15px; display: grid; gap: 12px; }
.sgp-acc table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sgp-acc td { padding: 9px 0; border-bottom: 1px dashed var(--sg-line); vertical-align: top; }
.sgp-acc tr:last-child td { border: 0; }
.sgp-acc td:first-child { color: var(--sg-muted); width: 38%; }
.sgp-acc td:last-child { color: var(--sg-text); }
.sgp-thc-note { padding: 16px 18px; border-radius: 16px; background: var(--sg-surface); border: 1px solid var(--sg-line); color: var(--sg-text); font-size: 14.5px; }
.sgp-thc-note b { display: block; font: 500 11.5px var(--sg-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sg-butter); margin-bottom: 6px; }
.sgp-buybar { display: none; }

/* ---------- lab reports / text pages ---------- */
.sgp-lr-table { width: 100%; border-collapse: collapse; }
.sgp-lr-table th { text-align: left; font: 500 11.5px var(--sg-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sg-muted); padding: 12px 10px; border-bottom: 1px solid var(--sg-line2); }
.sgp-lr-table td { padding: 12px 10px; border-bottom: 1px solid var(--sg-line); font-size: 14.5px; vertical-align: middle; }
.sgp-lr-table tr { transition: background .2s; }
.sgp-lr-table tbody tr:hover { background: color-mix(in oklab, var(--sg-text) 4%, transparent); }
.sgp-lr-table .sgp-p { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.sgp-lr-table .sgp-stage { width: 44px; border-radius: 10px; flex: none; }
.sgp-pending { display: inline-flex; gap: 8px; align-items: center; font: 500 12px var(--sg-mono); color: var(--sg-muted); }
.sgp-pending i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--sg-muted); }
.sgp-prose { max-width: 68ch; display: grid; gap: 18px; font-size: 17px; color: var(--sg-muted); }
.sgp-prose h2 { font-size: 30px; color: var(--sg-text); margin-top: 18px; }
.sgp-prose strong { color: var(--sg-text); }
.sgp-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sgp-box { border-radius: var(--sg-r); padding: 24px; background: var(--sg-surface); border: 1px solid var(--sg-line); }
.sgp-box h3 { font-size: 22px; margin-bottom: 8px; }
.sgp-box p { color: var(--sg-muted); font-size: 14.5px; }
.sgp-box .sgp-k { font: 500 12px var(--sg-mono); color: var(--sg-butter); letter-spacing: .1em; display: block; margin-bottom: 18px; }

/* ---------- view transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: sgp-vtOut .28s var(--sg-ease-io) both; }
::view-transition-new(root) { animation: sgp-vtIn .5s var(--sg-ease) both; }
@keyframes sgp-vtOut { to { opacity: 0; } }
@keyframes sgp-vtIn { from { opacity: 0; translate: 0 14px; } }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: var(--sg-ease); }
.sgp-theme-vt::view-transition-old(root), .sgp-theme-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.sgp-theme-vt::view-transition-new(root) { z-index: 2; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .sgp-grid { grid-template-columns: repeat(3, 1fr); }
  .sgp-nav > a.sgp-opt { display: none; }
}
@media (max-width: 900px) {
  .sgp-nav { display: none; }
  .sgp-menu-btn { display: grid; align-content: center; }
  .sgp-hdr { height: 64px; gap: 12px; }
  .sgp-logo { font-size: 19px; } .sgp-logo .sgp-mark { width: 34px; height: 34px; }
  .sgp-theme-btn.sgp-desk { display: none; }
  .sgp-hero-grid { grid-template-columns: 1fr; }
  .sgp-hero-art { max-width: 520px; width: 100%; margin: 6px auto 0; }
  .sgp-bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .sgp-tile:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 300px; }
  .sgp-tile:first-child img { right: 6%; translate: 0 0; max-width: 46%; max-height: 80%; bottom: 8%; }
  .sgp-tile:first-child::after { right: 4%; width: 46%; bottom: 5%; }
  .sgp-steps { grid-template-columns: 1fr; gap: 34px; }
  .sgp-steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 1.5px; height: auto; transform-origin: 50% 0; scale: 1 0; }
  .sgp-step { padding-left: 82px; } .sgp-step .sgp-n { position: absolute; left: 0; top: 0; } .sgp-step h3 { margin-top: 0; padding-top: 8px; }
  .sgp-lot, .sgp-story, .sgp-news, .sgp-pdp { grid-template-columns: 1fr; }
  .sgp-pdp-art { position: static; }
  .sgp-bundles { grid-template-columns: 1fr 1fr; } .sgp-bundle.sgp-feature { grid-column: 1 / -1; }
  .sgp-journal, .sgp-three { grid-template-columns: 1fr; } .sgp-post { min-height: 230px; }
  .sgp-foot-grid { grid-template-columns: 1fr 1fr; } .sgp-foot-brand { grid-column: 1 / -1; }
  .sgp-toolbar { top: 66px; }
  .sgp-press-in { flex-direction: column; gap: 0; padding-top: 22px; } .sgp-press-view { width: 100%; flex: none; } .sgp-plogo { margin-block: 20px 24px; }
  .sgp-trophy-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(var(--sg-pad) * -1); padding: 4px var(--sg-pad) 10px; scrollbar-width: none; }
  .sgp-trophy-grid::-webkit-scrollbar { display: none; } .sgp-trophy { scroll-snap-align: start; } .sgp-trophy.sgp-won { grid-column: auto; } .sgp-trophy.sgp-won .sgp-medal { width: min(72%, 150px); }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .sgp-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .sgp-card h3 { font-size: 16px; } .sgp-card .sgp-spec { font-size: 12.5px; }
  .sgp-add { height: 36px; padding: 0 11px 0 13px; } .sgp-add .sgp-lbl { display: none; } .sgp-add { width: 36px; padding: 0; justify-content: center; }
  .sgp-card .sgp-tag { top: 8px; left: 8px; font-size: 10px; }
  /* shelf becomes a swipe rail */
  .sgp-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--sg-pad) * -1); padding: 0 var(--sg-pad) 8px; scrollbar-width: none; }
  .sgp-rail::-webkit-scrollbar { display: none; }
  .sgp-rail .sgp-card { flex: 0 0 64%; scroll-snap-align: start; }
  .sgp-hero h1 { font-size: clamp(44px, 13.4vw, 64px); }
  .sgp-hero-meta { margin-top: 28px; }
  .sgp-h-chip.sgp-two { display: none; } .sgp-h-chip.sgp-one { left: 0; bottom: 6%; }
  .sgp-tile { min-height: 210px; padding: 16px; } .sgp-tile p { display: none; }
  .sgp-tile img { max-width: 52%; max-height: 62%; }
  .sgp-tile:first-child { min-height: 240px; } .sgp-tile:first-child p { display: block; }
  .sgp-bundles { grid-template-columns: 1fr; } .sgp-bundle.sgp-feature .sgp-fan .sgp-stage, .sgp-fan .sgp-stage { width: 68px; margin-left: -20px; }
  .sgp-lot-form, .sgp-news form { flex-direction: column; } .sgp-lot-form .sgp-btn, .sgp-news form .sgp-btn { height: 52px; }
  .sgp-lot-form .sgp-field, .sgp-news form .sgp-field { flex: none; width: 100%; height: 52px; }
  .sgp-tile:not(:first-child) { min-height: 224px; }
  .sgp-tile:not(:first-child) img { right: 50%; translate: 50% 0; bottom: 60px; max-height: 46%; max-width: 62%; }
  .sgp-tile:not(:first-child)::after { right: 20%; width: 60%; bottom: 54px; }
  .sgp-post .sgp-big { font-size: 120px; top: -18px; right: 10px; }
  .sgp-facts { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .sgp-foot-word { margin: 40px 0 20px; }
  .sgp-lr-table th:nth-child(2), .sgp-lr-table td:nth-child(2) { display: none; }
  .sgp-buybar { display: flex; position: fixed; z-index: 30; left: 10px; right: 10px; bottom: 10px; padding: 10px 10px 10px 18px; border-radius: 999px; background: color-mix(in oklab, var(--sg-surface) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--sg-line2); box-shadow: var(--sg-shadow); align-items: center; justify-content: space-between; gap: 12px; translate: 0 140%; transition: translate .5s var(--sg-ease); }
  .sgp-buybar.sgp-on { translate: 0 0; }
  .sgp-buybar b { font: 700 15px/1.1 var(--sg-display); display: block; } .sgp-buybar small { font: 500 12px var(--sg-mono); color: var(--sg-muted); }
  .sgp-toolbar { position: static; }
}

/* screenshots + reduced motion: everything visible, nothing moving */
.sgp-shot [data-reveal], .sgp-shot .sgp-hero .sgp-fade, .sgp-shot .sgp-h-prod img, .sgp-shot .sgp-hero h1 .sgp-line > span { opacity: 1 !important; translate: 0 0 !important; scale: 1 !important; transition: none !important; }
.sgp-shot .sgp-steps::before { scale: 1 1 !important; }
.sgp-shot *, .sgp-shot *::before, .sgp-shot *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .sgp-js [data-reveal], .sgp-js .sgp-hero .sgp-fade, .sgp-js .sgp-h-prod img, .sgp-js .sgp-hero h1 .sgp-line > span { opacity: 1; translate: 0 0; scale: 1; }
  .sgp-steps::before { scale: 1 1; }
  @view-transition { navigation: none; }
}
