/* Hallmark · polish (keep our look) · genre playful · system: Filament Pop, the project's own, kept by request · job: buy a LogoPlate · signature: the plate printing in the scroll story */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V3 · weakest: R, the springy lift sits on every control because the owner chose it; cut the eyebrows, the run-on hero lines and the dashes instead */
/* Hallmark · waive 12 · overshoot easing on .btn and the picker controls · the owner picked springy pill buttons for LogoLabs in the Filament Pop round */
/* Hallmark · waive 24b · 10px and 22px paddings in pills and chips · LogoLabs pills are sized to the Bricolage cap height, kept from the live store */
/* Hallmark · dismissed 11 · one lift recipe on buttons and cards is the Filament Pop hard-shadow language the owner approved */
/* Hallmark · dismissed 76 · #main-img on the product page gets its photo from pdp-preview.js before the gallery is shown */
/* Hallmark · dismissed F7 · pills on chips, stickers and the top bar are the Filament Pop shape the owner picked */
/* Hallmark · dismissed 29 · the blur is the scrim behind the product intro dialog, not a glass panel */
/* v8 "Filament Pop": warm cream, rounded pills, one bold hero color, a floating pill top bar.
   Loaded after styles.css on every page; homepage-only pieces are under body.home. */
@property --hero { syntax: "<color>"; inherits: true; initial-value: #1F74B8; }
:root {
  --hero: #1F74B8;
  --paper: #FFF8E7;
  --paper-2: #F3EAD3;
  --ink: #111111;
  --muted: #4F4A40;
  --line: #E2D7BF;
  --coral: #1F74B8;
  --coral-dark: #185E96;
  --radius: 22px;
  --radius-sm: 999px;
  --font-head: "Bricolage Grotesque", "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Bricolage Grotesque", "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --white: #FFFDF8;
  --sun: #FFD600;
  --teal: #00C2C7;
  --leaf: #22B455;
  --forest: #1E7F4A;
  --brick: #C73E2B;
  --plum: #5B2A86;
  --nozzle: #FF8A00;
  --nozzle-glow: rgba(255, 138, 0, .7);
  --scrim: rgba(17, 17, 17, .78);
  --off: #DDD3BF;
  --off-line: #C9BEA6;
  --off-ink: #5F584B;
  --hint: #8C8678;
  --stone: #B9AE96;
  --sand: #CDBF9F;
  --on-ink-muted: #D9D2C2;
  --screen: #0D0D0D;
}
body { background: var(--paper); color: var(--ink); }
h1, h2 { font-weight: 800; letter-spacing: -.035em; }
.eyebrow { color: var(--coral); }

/* Top bar: a white pill floating over the page */
.site-header { background: transparent; border: 0; padding: 14px 0; box-shadow: none; }
.site-header::after { display: none; }
.site-header.is-scrolled { background: transparent; box-shadow: none; }
.site-header .wrap {
  width: min(var(--wrap), calc(100% - 32px)); padding: 6px 8px 6px 18px; min-height: 64px;
  background: var(--white); border: 2px solid var(--ink); border-radius: 999px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.site-header.is-scrolled .wrap { box-shadow: 0 6px 0 var(--ink); }
.brand-name { font: 800 19px/1 var(--font-brand); letter-spacing: .06em; }
.brand-logo { height: 38px; }
.nav { gap: 26px; }
.nav a { font: 600 16px/1 var(--font-brand); }
.nav a::after { background: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.header-actions { gap: 8px; }
.btn--header { padding: 13px 20px; font-size: 15px; }
.cart-button { background: var(--ink); color: var(--white); border: 2px solid var(--ink); border-radius: 999px; box-shadow: none; width: 48px; height: 48px; }
@media (max-width: 720px) {
  .btn--header { display: none; }
  .site-header { padding: 10px 0; }
  .site-header .wrap { width: calc(100% - 20px); padding: 8px 8px 10px 14px; border-radius: 26px; row-gap: 6px; }
  .nav { justify-content: center; gap: 24px; padding-top: 9px; border-top: 1.5px solid var(--line); }
  .brand-name { font-size: 16px; }
  .brand-logo { height: 32px; }
  .cart-button { width: 44px; height: 44px; }
}

/* Buttons: pills that hop up onto a hard shadow, and squish when pressed */
.btn, .picker-add, .cart-checkout, .form-submit, .form-next, .quickadd-button, .quickadd-link {
  background: var(--ink); color: var(--white); border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 0 0 0 var(--ink); font: 700 16px/1 var(--font-body); letter-spacing: 0;
  transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), box-shadow .18s cubic-bezier(.3, 1.6, .5, 1), background .15s ease;
}
.btn:hover, .picker-add:not([disabled]):hover, .cart-checkout:hover, .form-submit:hover, .form-next:hover,
.quickadd-button:hover, .quickadd-link:hover { background: var(--ink); transform: translateY(-4px); box-shadow: 0 6px 0 var(--coral); }
.btn:active, .picker-add:active, .cart-checkout:active, .form-submit:active { transform: translateY(2px) scale(.97); box-shadow: 0 0 0 var(--ink); }
.btn--ghost { background: var(--white); color: var(--ink); }
.btn--ghost:hover { background: var(--white); color: var(--ink); box-shadow: 0 6px 0 var(--ink); }
.picker-add[disabled] { background: var(--off); color: var(--off-ink); border-color: var(--off-line); transform: none; box-shadow: none; }

/* Cards and panels: rounded, ink-ruled */
.product-card, .studio { border: 2px solid var(--ink); border-radius: var(--radius); }
.product-card:hover { box-shadow: 0 8px 0 var(--ink); }
.studio { box-shadow: 0 10px 0 var(--ink); background: var(--white); }
.studio-canvas { border-radius: 16px; }
.studio-tabs { background: var(--paper); border: 2px solid var(--ink); }
.studio-tab[aria-selected="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.studio-chip { border-radius: 999px; }

/* Swatches lift on hover; on the homepage they ripple in once on arrival */
.studio-swatch { transition: transform .18s cubic-bezier(.3, 1.6, .5, 1); }
.studio-swatch:hover { transform: translateY(-4px) scale(1.1); }
@keyframes swatch-wave { 0% { transform: translateY(14px); opacity: 0; } 55% { transform: translateY(-8px); opacity: 1; } 100% { transform: none; opacity: 1; } }
body.home:not(.waved) .studio-swatch { animation: swatch-wave .6s cubic-bezier(.3, 1.4, .5, 1) both; }
body.home:not(.waved) .studio-swatch:nth-child(2) { animation-delay: .05s; }
body.home:not(.waved) .studio-swatch:nth-child(3) { animation-delay: .1s; }
body.home:not(.waved) .studio-swatch:nth-child(4) { animation-delay: .15s; }
body.home:not(.waved) .studio-swatch:nth-child(5) { animation-delay: .2s; }
body.home:not(.waved) .studio-swatch:nth-child(6) { animation-delay: .25s; }
body.home:not(.waved) .studio-swatch:nth-child(7) { animation-delay: .3s; }
body.home:not(.waved) .studio-swatch:nth-child(8) { animation-delay: .35s; }
body.home:not(.waved) .studio-swatch:nth-child(9) { animation-delay: .4s; }
body.home:not(.waved) .studio-swatch:nth-child(10) { animation-delay: .45s; }

/* Ticker: colored pills sliding by */
.ticker { background: var(--ink); border: 0; }
.ticker-track { padding: 16px 0; gap: 12px; font: 700 18px/1 var(--font-body); letter-spacing: 0; text-transform: none; }
.ticker-track span { padding: 12px 22px; border-radius: 999px; background: var(--sun); color: var(--ink); }
.ticker-track span::after { display: none; }
.ticker-track span:nth-child(4n+2) { background: var(--leaf); }
.ticker-track span:nth-child(4n+3) { background: var(--white); }
.ticker-track span:nth-child(4n+4) { background: var(--teal); }

/* ---------------------------------------------------------------- homepage ---- */
body.home .site-header { background: var(--hero); transition: background-color .3s ease; }
body.home.past-hero .site-header { background: transparent; }
body.home .hero { background: var(--hero); color: var(--white); border: 0; padding: 36px 0 88px; }
@keyframes hero-drift { 0%, 22% { --hero: var(--coral); } 25%, 47% { --hero: var(--forest); } 50%, 72% { --hero: var(--brick); } 75%, 97% { --hero: var(--plum); } 100% { --hero: var(--coral); } }
@media (prefers-reduced-motion: no-preference) { body.home { animation: hero-drift 48s ease-in-out infinite; } }

body.home .hero .wrap { display: block; text-align: center; }
body.home .hero h1 { color: var(--white); font-size: clamp(44px, 7.4vw, 92px); line-height: 1; letter-spacing: -.045em; }
.hero-name {
  display: block; width: min(820px, 100%); margin: 18px auto 0; text-align: center;
  font: 800 clamp(40px, 6.6vw, 80px)/1.15 var(--font-head); letter-spacing: -.04em; color: var(--ink);
  background: var(--white); border: 3px solid var(--ink); border-radius: 28px; padding: 6px 24px;
}
.hero-name::placeholder { color: var(--hint); opacity: 1; }
.hero-name:focus { outline: none; box-shadow: 0 8px 0 var(--ink); }
body.home .hero-sub { color: var(--white); max-width: 580px; margin: 24px auto 0; font-size: 20px; }
body.home .hero-actions { justify-content: center; margin-top: 28px; }
body.home .hero .btn { background: var(--white); color: var(--ink); }
body.home .hero .btn:hover { box-shadow: 0 6px 0 var(--ink); }
body.home .hero .studio .btn { background: var(--ink); color: var(--white); }
body.home .hero .studio .btn:hover { box-shadow: 0 6px 0 var(--coral); }
body.home .hero .btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
body.home .hero .btn--ghost:hover { box-shadow: 0 6px 0 var(--white); }
body.home .hero .studio { max-width: 820px; margin: 48px auto 0; text-align: left; color: var(--ink); }
body.home .hero .studio-note { color: var(--muted); }
@keyframes canvas-print { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: no-preference) { body.home .studio-canvas canvas { animation: canvas-print 1.4s steps(28, end) .3s both; } }

/* Scroll story: the Pro prints, changes color, then gets a name, as you scroll */
.scrolly { position: relative; height: 340vh; background: var(--paper); }
.scrolly-stick { position: sticky; top: 92px; height: calc(100vh - 92px); display: flex; align-items: center; overflow: hidden; }
.scrolly-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; align-items: center; width: 100%; }
.scrolly-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.scrolly-step { opacity: .35; transition: opacity .35s ease, transform .35s ease; }
.scrolly-step.is-on { opacity: 1; transform: translateX(6px); }
.scrolly-step h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; }
.scrolly-step p { margin-top: 6px; color: var(--muted); font-size: 18px; max-width: 380px; }
.scrolly-step .btn { margin-top: 16px; }
.scrolly-num { display: inline-block; font: 700 14px/1 var(--font-brand); background: var(--ink); color: var(--white); border-radius: 999px; padding: 6px 10px; margin-bottom: 10px; }
.scrolly-stage { position: relative; border: 3px solid var(--ink); border-radius: 28px; overflow: hidden; background: var(--paper-2); box-shadow: 0 10px 0 var(--ink); }
.scrolly-stage canvas { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; }
.scrolly-head { position: absolute; left: 0; right: 0; height: 4px; bottom: var(--head, 0%); background: var(--nozzle); box-shadow: 0 0 16px 3px var(--nozzle-glow); opacity: var(--head-o, 0); pointer-events: none; }
.scrolly-chip { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 9px 16px 9px 10px; font: 700 16px/1 var(--font-body); transition: opacity .3s ease, transform .3s ease; }
.scrolly-chip.is-on { opacity: 1; transform: none; }
.scrolly-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); transition: background .2s ease; }
.scrolly-bar { position: absolute; left: 0; top: 0; height: 6px; width: calc(var(--p, 0) * 100%); background: var(--ink); }
@media (max-width: 860px) {
  .scrolly-grid { grid-template-columns: 1fr; gap: 20px; }
  .scrolly-steps { order: 2; gap: 10px; }
  .scrolly-step { display: none; }
  .scrolly-step.is-on { display: block; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scrolly { height: auto; padding: 72px 0; }
  .scrolly-stick { position: static; height: auto; }
  .scrolly-step { opacity: 1; display: block; }
}

/* ---------------------------------------------------------- v2: more pages ---- */
@media (max-width: 720px) {
  .nav { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; scrollbar-width: none; gap: 20px; padding-bottom: 2px; }
  .nav::-webkit-scrollbar { display: none; }
}
.page-band { background: var(--paper); text-align: left; padding: 56px 0 40px; }
.page-band h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.045em; }
.page-band p { max-width: 640px; }
.info { padding: 8px 0 96px; }
.info .wrap > * + * { margin-top: 56px; }
.info h2 { font-size: clamp(28px, 3.6vw, 44px); }
.info-lead { color: var(--muted); font-size: 19px; max-width: 680px; margin-top: 10px; }
.fill { background: var(--sun); color: var(--ink); padding: 1px 6px; border-radius: 6px; font-weight: 700; }

.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: how; }
.how-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: start; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; }
.how-step::before { counter-increment: how; content: counter(how, decimal-leading-zero); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--hero); color: var(--white); font: 800 18px/1 var(--font-brand); }
.how-step:nth-child(2)::before { background: var(--forest); }
.how-step:nth-child(3)::before { background: var(--brick); }
.how-step:nth-child(4)::before { background: var(--plum); }
.how-step:nth-child(5)::before { background: var(--ink); }
.how-step h3 { font-size: 24px; font-weight: 800; }
.how-step p { color: var(--muted); margin-top: 6px; font-size: 17px; }
.how-step a { font-weight: 700; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 24px; }
.spec-card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.spec-card img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border-bottom: 2px solid var(--ink); }
.spec-card-body { padding: 22px 24px 24px; }
.spec-card h3 { font-size: 26px; font-weight: 800; display: flex; justify-content: space-between; gap: 12px; }
.spec-list { margin: 14px 0 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); row-gap: 8px; font-size: 16px; }
.spec-list dt { color: var(--muted); font-weight: 600; }
.spec-list dd { margin: 0; }
.media-frame { border: 3px solid var(--ink); border-radius: 28px; overflow: hidden; box-shadow: 0 10px 0 var(--ink); background: var(--paper-2); }
.media-frame video, .media-frame img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; }

.faq-group h2 { margin-bottom: 14px; font-size: clamp(24px, 3vw, 34px); }
.faq-item { background: var(--white); border: 2px solid var(--ink); border-radius: 20px; margin-top: 12px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font: 700 19px/1.3 var(--font-body); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 999px; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary::after { content: "–"; }
.faq-item > div { padding: 0 22px 20px; color: var(--muted); font-size: 17px; }
.faq-item > div p + p { margin-top: 10px; }
.faq-item a { color: var(--ink); font-weight: 700; }

.plate-toggle { display: inline-flex; gap: 6px; padding: 4px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); margin-top: 18px; }
.plate-toggle button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 700 15px var(--font-body); cursor: pointer; color: var(--ink); }
.plate-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 22px; }
.color-tile { display: block; text-decoration: none; color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), box-shadow .18s; }
.color-tile:hover { transform: translateY(-4px); box-shadow: 0 6px 0 var(--ink); }
.color-tile-media { aspect-ratio: 5 / 3; background: var(--paper-2); border-bottom: 2px solid var(--ink); }
.color-tile-media canvas, .color-tile-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.color-tile-name { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 700; }
.color-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink); flex: 0 0 auto; }
.text-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.text-swatch { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.contact-card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.contact-card h2 { font-size: 26px; }
.contact-card p { color: var(--muted); font-size: 17px; }
.contact-card .btn { margin-top: auto; }
.policy { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px; }
.policy h2 { font-size: 28px; }
.policy p, .policy li { color: var(--muted); font-size: 17px; margin-top: 10px; }
.policy ul { padding-left: 20px; margin: 0; }

/* First-visit intro on the product page: the plate prints, runs through its colors, gets a name */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: var(--scrim); backdrop-filter: blur(4px); animation: intro-in .3s ease both; }
.intro.is-closing { animation: intro-out .25s ease both; }
@keyframes intro-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-out { to { opacity: 0; } }
.intro-card { position: relative; width: min(880px, 100%); background: var(--white); border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 12px 0 var(--ink); overflow: hidden; animation: intro-pop .45s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes intro-pop { from { transform: translateY(30px) scale(.96); } to { transform: none; } }
.intro-stage { position: relative; background: var(--paper-2); border-bottom: 3px solid var(--ink); }
.intro-stage canvas { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; }
.intro-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 46px; height: 46px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.intro-close svg { width: 20px; height: 20px; }
.intro-close:hover { box-shadow: 0 4px 0 var(--ink); transform: translateY(-2px); }
.intro-body { padding: 20px 24px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.intro-caption { font: 800 clamp(22px, 3vw, 30px)/1.15 var(--font-head); letter-spacing: -.03em; }
.intro-sub { color: var(--muted); margin-top: 4px; }
.intro-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ------------------------------------------- v3: shop, product, teams pages ---- */
/* Colored page band (same drifting hero color as the homepage) */
.band-pop { background: var(--hero); color: var(--white); padding: 40px 0 64px; }
.band-pop h1 { color: var(--white); font-size: clamp(44px, 7vw, 88px); line-height: .98; letter-spacing: -.05em; }
.band-pop p { color: var(--white); font-size: 20px; margin-top: 16px; max-width: 620px; }
.band-pop .eyebrow { color: var(--white); opacity: .85; }
body.pg-shop .site-header, body.pg-teams .site-header { transition: background-color .3s ease; }
body.pg-shop .site-header:not(.is-scrolled), body.pg-teams .site-header:not(.is-scrolled) { background: var(--hero); }
@media (prefers-reduced-motion: no-preference) { body.pg-shop, body.pg-teams { animation: hero-drift 48s ease-in-out infinite; } }

.stickers { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.stickers li { font: 800 17px/1 var(--font-body); color: var(--ink); background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; padding: 12px 18px; box-shadow: 0 4px 0 var(--ink); }
.stickers li:nth-child(2) { background: var(--white); rotate: -2deg; }
.stickers li:nth-child(3) { background: var(--teal); rotate: 1.5deg; }
.stickers li:nth-child(4) { background: var(--leaf); rotate: -1deg; }

/* Shop cards */
body.pg-shop .page-body { padding: 56px 0 24px; }
body.pg-shop .product-grid { gap: 28px; }
body.pg-shop .product-card { background: var(--white); border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 10px 0 var(--ink); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s cubic-bezier(.3, 1.6, .5, 1); }
body.pg-shop .product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 0 var(--ink); border-color: var(--ink); }
body.pg-shop .product-card-media { border-bottom: 3px solid var(--ink); }
body.pg-shop .product-card-body { padding: 24px 26px 26px; }
body.pg-shop .product-card-title h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.03em; }
body.pg-shop .product-card-title .price { font: 800 20px/1 var(--font-body); color: var(--ink); background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; white-space: nowrap; }
body.pg-shop .product-card-desc { display: none; }
body.pg-shop .ribbon { background: var(--sun); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; font: 800 14px/1 var(--font-body); padding: 8px 12px; transform: rotate(-4deg); box-shadow: 0 3px 0 var(--ink); }

/* Compare table */
.compare-sec { padding: 72px 0 24px; }
.compare-sec h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 22px; }
.compare { background: var(--white); border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 10px 0 var(--ink); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; border-top: 2px solid var(--line); }
.compare-row > span { padding: 16px 22px; font-size: 17px; }
.compare-row > span:first-child { font-weight: 700; }
.compare-head { border-top: 0; background: var(--ink); color: var(--white); }
.compare-head > span { font: 800 20px/1 var(--font-body); padding: 18px 22px; }
.compare .yes, .compare .no { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.compare .yes::before, .compare .no::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); flex: 0 0 auto; }
.compare .yes::before { background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.compare .no { color: var(--muted); font-weight: 600; }
.compare .no::before { background: var(--paper-2); border-color: var(--stone); }
.compare-foot { background: var(--paper); }
.compare-foot .btn { padding: 14px 20px; font-size: 15px; }

/* Team discount band (shop) and tiers (teams hero) */
.team-band { padding: 64px 0 96px; }
.team-band .wrap { background: var(--ink); color: var(--white); border-radius: 32px; padding: 40px 44px; display: grid; grid-template-columns: minmax(0, 1.2fr) auto auto; gap: 28px 36px; align-items: center; }
.team-band h2 { color: var(--white); font-size: clamp(30px, 3.6vw, 44px); }
.team-band p { color: var(--on-ink-muted); margin-top: 8px; font-size: 18px; }
.team-band .btn { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.team-band .btn:hover { background: var(--sun); box-shadow: 0 6px 0 var(--white); }
.tiers { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.tiers li { display: grid; justify-items: center; gap: 4px; min-width: 104px; padding: 14px 16px; border-radius: 22px; border: 2px solid var(--ink); background: var(--sun); color: var(--ink); }
.tiers li:nth-child(2) { background: var(--teal); }
.tiers li:nth-child(3) { background: var(--leaf); }
.tiers b { font: 800 34px/1 var(--font-head); letter-spacing: -.04em; }
.tiers span { font: 700 14px/1.1 var(--font-body); }
.team-band .tiers li { border-color: var(--white); }
.tiers--hero { margin-top: 30px; }
.tiers--hero li { min-width: 150px; padding: 18px 22px; box-shadow: 0 6px 0 var(--ink); }
.tiers--hero li:nth-child(1) { rotate: -2deg; }
.tiers--hero li:nth-child(3) { rotate: 2deg; }
.tiers--hero b { font-size: clamp(40px, 5vw, 56px); }
.tiers--hero span { font-size: 16px; }

/* Product page */
body.pg-product .crumbs { padding: 24px 0 18px; gap: 8px; }
body.pg-product .crumbs a, body.pg-product .crumbs > span:not(.sep) { background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px; font-weight: 600; color: var(--ink); }
body.pg-product .crumbs a:hover { text-decoration: none; box-shadow: 0 3px 0 var(--ink); }
body.pg-product .gallery-main { border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 10px 0 var(--ink); }
body.pg-product .thumb { border-radius: 12px; border: 2px solid var(--ink); overflow: hidden; }
body.pg-product .lineup { border: 3px solid var(--ink); border-radius: 24px; box-shadow: 0 8px 0 var(--ink); background: var(--white); }
body.pg-product .lineup-tile { border: 2px solid var(--ink); border-radius: 14px; }
body.pg-product .buy { background: var(--white); border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 12px 0 var(--ink); top: 96px; }
body.pg-product .buy h1 { font-size: clamp(34px, 3.8vw, 48px); letter-spacing: -.045em; line-height: 1; }
body.pg-product .buy .price { display: inline-block; font: 800 24px/1 var(--font-body); color: var(--ink); background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; padding: 9px 16px; margin: 16px 0 22px; }
body.pg-product .picker-legend { font: 800 15px/1 var(--font-body); letter-spacing: .02em; }
body.pg-product .picker-choice { border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; }
body.pg-product .picker-choice[aria-pressed="true"], body.pg-product .picker-choice[aria-checked="true"], body.pg-product .picker-choice.is-selected { background: var(--ink); color: var(--white); }
body.pg-product .picker-choice--swatch { border: 2px solid var(--ink); width: 40px; height: 40px; }
body.pg-product .picker-textarea, body.pg-product .picker-quantity { border: 2px solid var(--ink); }
body.pg-product .picker-add { min-height: 54px; font-size: 17px; }
body.pg-product .bulk-note { margin-bottom: 18px; }
.perks { list-style: none; margin: 20px 0 0; padding: 14px 16px; display: grid; gap: 10px; background: var(--paper); border: 2px dashed var(--sand); border-radius: 18px; }
.perks li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.perks svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--coral); }
body.pg-product .logo-card { border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 10px 0 var(--ink); }
.logo-card-head { margin-bottom: 18px; }
.logo-card-head h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 10px; }
.logo-card-head p { color: var(--muted); margin-top: 6px; }
.step-pill { display: inline-block; font: 800 14px/1 var(--font-body); background: var(--ink); color: var(--white); border-radius: 999px; padding: 7px 12px; }

/* Teams page */
body.pg-teams .team { padding-top: 64px; }
body.pg-teams .team .section-head { text-align: left; margin-left: 0; }
body.pg-teams .team-panel { background: var(--white); border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 10px 0 var(--ink); }
body.pg-teams .team-names { border: 2px solid var(--ink); border-radius: 16px; }
body.pg-teams .team-card { border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--white); }
body.pg-teams .team-card:hover { box-shadow: 0 6px 0 var(--ink); }
body.pg-teams .team-summary { border: 2px solid var(--ink); border-radius: 18px; }
body.pg-teams .team-logo { border: 2px solid var(--ink); border-radius: 18px; }
body.pg-teams .form-card { border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 10px 0 var(--ink); }

@media (max-width: 860px) {
  .team-band .wrap { grid-template-columns: 1fr; padding: 30px 24px; width: auto; margin: 0 16px; }
  .compare-row > span { padding: 13px 14px; font-size: 15px; }
  .compare-head > span { font-size: 17px; padding: 15px 14px; }
}
@media (max-width: 640px) {
  .band-pop { padding: 28px 0 44px; }
  .band-pop p { font-size: 18px; }
  .stickers li { font-size: 15px; padding: 10px 14px; }
  .compare-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .compare-foot { grid-template-columns: 1fr 1fr; }
  .compare-foot > span:first-child { display: none; }
  .compare-foot > span { padding: 14px 8px; }
  .compare-foot .btn { width: 100%; justify-content: center; padding: 13px 8px; font-size: 14px; white-space: nowrap; }
  .tiers span { white-space: nowrap; font-size: 12px; }
  .tiers--hero { gap: 10px; }
  .tiers--hero li { min-width: 0; flex: 1 1 0; padding: 14px 8px; }
  .tiers--hero span { font-size: 13px; }
  .tiers li { min-width: 0; flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.pg-shop .product-card, .stickers li, .tiers li { transition: none; }
}


/* ------------------------------------------------- v4: Hallmark polish ---- */
html, body { overflow-x: clip; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
p { text-wrap: pretty; }
::selection { background: var(--sun); color: var(--ink); }
html { caret-color: var(--ink); scrollbar-color: var(--ink) var(--paper-2); }
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; transition: none; }
:where(.band-pop, .hero, .team-band) :where(a, button, input):focus-visible { outline-color: var(--white); }
:where(button, .btn):disabled { cursor: not-allowed; }
.design-meta { font: 700 16px/1.3 var(--font-body); color: var(--muted); margin-bottom: 8px; }
.intro .scrolly-chip:not(.is-on) { opacity: 0; transform: translateY(8px); }
