/* ════════════════════════════════════════════════════════════════════════
   pixelpastry.cafe — old-web cross-stitch shop
   Sage-and-blossom palette sampled from the tulip wallpaper. Warm-sage ink
   (#2f4034) is the only structural dark — never pure black. Token-driven:
   restyle the whole site from the :root custom properties below.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  /* core / neutrals */
  --ink:        #2f4034;   /* text + borders + dark bars */
  --ink-soft:   #5a6b5c;   /* body paragraphs */
  --ink-mute:   #8f9c86;   /* mono captions / meta */
  --sage:       #7d9a78;   /* eyebrow labels, status dot */
  --paper:      #fffafa;   /* the sheet */
  --aida:       #f7ecde;   /* thumbnail wells, inset panels, footer */
  --page-bg:    #ecd9d9;   /* behind the wallpaper */
  --wood-dark:  #2d1f17;   /* counter backing */

  /* blossom accents (from the tulips) */
  --rose:       #ef6f8e;   /* primary CTA */
  --hotpink:    #d4506e;   /* script accent, prices, "new!", .cafe */
  --coral:      #f4a987;
  --butter:     #f2d98f;   /* "free" badge, ::selection, stats */
  --mint:       #9ecdb0;   /* secondary CTA, progress bar */
  --sky:        #a9c6e0;
  --lav:        #d6c2e6;   /* washi tape, button-wall swatch */
  --link:       #a784b8;   /* text links */
  --numeral:    #cdb6c6;   /* big section index numerals */

  /* tag chips (mapped to real catalog categories) */
  --tag-anime:          var(--lav);
  --tag-pokemon:        var(--butter);
  --tag-digital-circus: var(--sky);
  --tag-games:          var(--mint);
  --tag-cartoons:       var(--coral);
  --tag-seasonal:       var(--rose);
  --tag-original:       var(--sage);

  /* type */
  --display: 'Fraunces', Georgia, serif;
  --ui:      'Inter Tight', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;
  --hand:    'Caveat', cursive;
  --pixel:   'VT323', ui-monospace, monospace;

  /* misc */
  --r-sheet: 18px; --r-card: 14px; --r-panel: 12px; --r-pill: 999px;
  --rule:    rgba(47,64,52,.16);
  --rule-2:  rgba(47,64,52,.22);
  --shadow-card: 0 1px 0 rgba(74,51,41,.06), 0 6px 14px rgba(74,51,41,.1);
  --shadow-lift: 0 2px 0 rgba(74,51,41,.06), 0 16px 28px rgba(74,51,41,.16);
  --shadow-sheet: 0 2px 0 rgba(47,64,52,.06), 0 22px 50px rgba(74,51,41,.22);
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ui);
  color: var(--ink);
  background-color: var(--page-bg);
  background-image: url('../img/tulips-banner.avif');
  background-repeat: repeat;
  background-size: 720px auto;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--butter); color: var(--ink); }
a { color: var(--link); }

/* the stitched-x cursor trail canvas */
.cursor-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 10000;
  background: var(--ink); color: var(--paper);
  padding: 8px 14px; border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 12px; text-decoration: none;
}
.skip-link:focus { left: 50%; transform: translateX(-50%); }

/* ─── shell ─── */
.page-pad {
  min-height: 100vh;
  padding: 0 clamp(32px, 8vw, 56px);   /* margins on the sides only — wider on small screens */
  display: flex;
  justify-content: center;
}
.sheet {
  width: 100%; max-width: 900px;
  min-height: 100vh;                    /* run top to bottom */
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  box-shadow: 0 0 60px rgba(74,51,41,.16);
  overflow: hidden;
}
.content { flex: 1 0 auto; }            /* push the footer to the bottom */

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 9px 18px;
  background: rgba(255,250,250,.96);
  backdrop-filter: saturate(1.1);
  border-bottom: 1.5px solid var(--ink);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.nav-logo img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 2px 6px rgba(74,51,41,.3); }
.nav-word-link { text-decoration: none; color: var(--ink); }
.nav-word { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.nav-word .dot { color: var(--hotpink); }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* header menu — a no-JS disclosure dropdown so every page is reachable */
.nav-menu { position: relative; }
.nav-menu > summary {
  list-style: none; cursor: pointer; user-select: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: lowercase;
  color: var(--ink); background: var(--paper);
  padding: 6px 12px; border: 1.5px solid var(--ink); border-radius: var(--r-pill);
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::marker { content: ""; }
.nav-menu[open] > summary { background: var(--ink); color: var(--paper); }
.nav-menu-links {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  display: flex; flex-direction: column; min-width: 172px; padding: 6px;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
}
.nav-menu-links a {
  padding: 9px 12px; border-radius: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: lowercase;
  color: var(--ink); text-decoration: none;
}
.nav-menu-links a:hover { background: var(--aida); color: var(--ink); }

/* main content area */
.content { padding: 30px 32px 8px; }

/* section heads */
.sec-head { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 18px; }
.sec-num {
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: 34px; line-height: 1; color: var(--numeral);
}
.sec-head .grow { flex: 1; }
.sec-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); }
.sec-title { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(30px,4vw,42px); margin: 2px 0 0; color: var(--ink); }
.sec-link { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--link); text-decoration: none; white-space: nowrap; align-self: center; }
.sec-intro { font-size: 15px; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; margin: 0 0 20px; }

/* ─── buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 17px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink); border-radius: var(--r-pill);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-style .15s;
}
.btn-rose  { background: var(--rose);  box-shadow: 2px 2px 0 var(--ink); }
.btn-mint  { background: var(--mint);  box-shadow: 2px 2px 0 var(--ink); }
.btn-ghost { background: transparent;  border-style: dashed; }
.btn-rose:hover, .btn-mint:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); }
.btn-ghost:hover { border-style: solid; box-shadow: 2px 2px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(1px,1px); box-shadow: 1px 1px 0 var(--ink); }
.btn:focus-visible { outline: 2.5px solid var(--link); outline-offset: 3px; }

/* ─── home: carrd-style link hub ─── */
.hub-main { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.hub { width: 100%; max-width: 420px; margin: 0 auto; padding: 24px 0 8px; display: flex; flex-direction: column; align-items: center; }
.hub-hoop { position: relative; margin-bottom: 20px; }
.hub-hoop .hoop { width: 172px; height: 172px; padding: 14px; }
.hub-name { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(34px,8vw,48px); letter-spacing: -.01em; margin: 0; color: var(--ink); }
.hub-name .dot { color: var(--hotpink); }
.hub-tag { font-size: 15px; line-height: 1.5; color: var(--ink-soft); max-width: 34ch; margin: 10px 0 24px; }
.hub-links { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.hub-link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: lowercase;
  color: var(--ink); text-decoration: none;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--r-pill);
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.hub-link:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); }
.hub-link:active { transform: translate(1px,1px); box-shadow: 1px 1px 0 var(--ink); }
.hub-link:focus-visible { outline: 2.5px solid var(--link); outline-offset: 3px; }
.hub-link.etsy { background: var(--rose); }
.hub-socials { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; margin-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.hub-socials a { color: var(--link); text-decoration: none; }
.hub-socials a:hover { color: var(--ink); }
.hub-socials .sep { color: var(--ink-mute); }
.hub-foot { padding: 10px 0 6px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hub-foot-note { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin: 0; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 280px; }
.tape {
  position: absolute; width: 104px; height: 26px; opacity: .85; border-radius: 1px; z-index: 3;
  box-shadow: 0 2px 4px rgba(74,51,41,.15);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.45) 0 6px, transparent 6px 12px), var(--mint);
}
.tape-mint { top: 18px; left: 24px; transform: rotate(-16deg); }
.tape-lav  { bottom: 30px; right: 18px; transform: rotate(20deg);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.45) 0 6px, transparent 6px 12px), var(--lav); }
.scribble-hi {
  position: absolute; top: -6px; right: 6px; transform: rotate(-7deg); z-index: 4; line-height: 1;
  font-family: var(--hand); font-weight: 600; font-size: 21px; color: var(--hotpink);
}
.scribble-hi .arrow { display: inline-block; transform: rotate(64deg); }
.hoop {
  position: relative; width: 248px; height: 248px; border-radius: 50%; padding: 18px;
  animation: ppc-bob 6s ease-in-out infinite;
  background: radial-gradient(circle at 30% 30%, #d4a574, #b88456 70%, #8a5d3a 100%);
  box-shadow: inset 0 0 0 3px #6b4429, inset 0 3px 0 rgba(255,220,180,.5), inset 0 -3px 0 rgba(0,0,0,.25), 0 16px 30px rgba(74,51,41,.3);
}
.hoop-fabric { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--aida); box-shadow: inset 0 0 30px rgba(180,140,100,.2); }
.hoop-fabric img { width: 100%; height: 100%; object-fit: cover; }
.scribble-cap {
  position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%) rotate(-2deg); white-space: nowrap;
  font-family: var(--hand); font-weight: 500; font-size: 17px; color: var(--sage);
}
.scribble-cap span { font-size: 12px; color: var(--ink-mute); }
@keyframes ppc-bob { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-6px) rotate(-1.5deg); } }

/* dot-blink (used by the guestbook live indicator) */
@keyframes ppc-blink { 50% { opacity: .25; } }

/* ─── pattern cards ─── */
.featured-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 36px; }
.catalog-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 16px; margin-bottom: 18px; }

.card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); overflow: hidden; cursor: pointer;
  padding: 0; font: inherit; color: inherit; width: 100%;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card:focus-visible { outline: 2.5px solid var(--link); outline-offset: 3px; }
.card-thumb { position: relative; aspect-ratio: 1/1; background: var(--aida); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-thumb svg { width: 86%; height: 86%; display: block; }
.card-stamp {
  position: absolute; top: 9px; left: 9px; z-index: 2;
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  background: rgba(255,250,250,.85); padding: 3px 7px; border-radius: 3px; border: 1px dashed var(--rule-2);
}
.card-new { position: absolute; top: 8px; right: 11px; z-index: 2; font-family: var(--hand); font-weight: 700; font-size: 23px; color: var(--hotpink); transform: rotate(8deg); }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 21px; line-height: 1.05; color: var(--ink); }
.card-meta { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 3px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 11px; border-top: 1px dashed rgba(47,64,52,.2); }
.card-tag { font-family: var(--mono); font-size: 9px; letter-spacing: .06em; color: var(--ink-soft); }
.card-price { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 17px; color: var(--hotpink); }
/* featured cards are a touch smaller */
.featured-grid .card-title { font-size: 19px; }
.featured-grid .card-price { font-size: 16px; }

/* ─── catalog filter ─── */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px dashed var(--rule-2); }
.filter-label { font-family: var(--hand); font-weight: 600; font-size: 19px; color: var(--hotpink); margin-right: 4px; }
.filter-pill {
  cursor: pointer; padding: 6px 13px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: lowercase;
  color: var(--ink-soft); background: transparent; border: 1px solid var(--rule-2); border-radius: var(--r-pill);
  transition: all .15s var(--ease);
}
.filter-pill:hover { color: var(--ink); border-color: var(--ink-soft); }
.filter-pill.active { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.filter-pill:focus-visible { outline: 2.5px solid var(--link); outline-offset: 2px; }
.filter-count { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--ink-mute); }

/* ─── about ─── */
.about-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 22px; margin-bottom: 30px; align-items: start; }
.about-card { position: relative; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 22px 24px; }
.about-tape { position: absolute; top: -12px; left: 24px; width: 108px; height: 26px; transform: rotate(-4deg); opacity: .9; border-radius: 1px; box-shadow: 0 2px 4px rgba(74,51,41,.15);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.45) 0 6px, transparent 6px 12px), var(--lav); }
.about-card h3 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 24px; margin: 6px 0 12px; color: var(--ink); }
.about-card p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 12px; }
.about-card p:last-child { margin-bottom: 0; }
.about-card a { color: var(--link); text-underline-offset: 3px; }
.steps { display: flex; flex-direction: column; gap: 11px; }
.step { display: flex; gap: 13px; align-items: flex-start; background: var(--aida); border: 1px solid rgba(47,64,52,.14); border-radius: var(--r-panel); padding: 13px 14px; }
.step-num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); font-family: var(--display); font-style: italic; font-weight: 600; font-size: 16px; color: var(--ink); }
.step h4 { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 17px; margin: 1px 0 3px; color: var(--ink); }
.step p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }

/* ─── freebies ─── */
.free-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 18px; margin-bottom: 30px; }
.free-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden; }
.free-badge { position: absolute; top: 11px; right: 11px; z-index: 2; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--butter); padding: 3px 9px; border-radius: var(--r-pill); border: 1.5px solid var(--ink); }
.free-thumb { aspect-ratio: 1/1; background: var(--aida); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.free-thumb img, .free-thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.free-thumb.pdf { font-family: var(--display); font-style: italic; color: var(--ink-mute); font-size: 20px; }
.free-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.free-body h4 { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 21px; margin: 0 0 6px; color: var(--ink); }
.free-body p { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 12px; }
.free-meta { display: flex; justify-content: space-between; margin-top: auto; margin-bottom: 12px; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.free-dl { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; background: var(--mint); color: var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1.5px solid var(--ink); border-radius: var(--r-pill); box-shadow: 2px 2px 0 var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.free-dl:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); }
.free-dl.soon { background: transparent; border-style: dashed; box-shadow: none; color: var(--ink-soft); cursor: default; }

/* ─── guestbook ─── */
.gb-frame { position: relative; background: var(--aida); border: 1.5px solid var(--rule-2); border-radius: 16px; padding: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 16px rgba(74,51,41,.1); margin-bottom: 14px; }
.gb-head { display: flex; align-items: center; gap: 8px; padding: 4px 8px 11px; }
.gb-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px rgba(125,154,120,.25); animation: ppc-blink 1.6s steps(1) infinite; }
.gb-live { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.gb-host { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--ink-mute); }
.gb-embed { border-radius: 10px; overflow: hidden; background: var(--paper); border: 1px solid var(--rule); }
.gb-embed iframe { width: 100%; height: 560px; border: 0; display: block; background: var(--paper); }
.gb-note { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin: 0; }

/* ─── footer ─── */
.footer { margin-top: 14px; padding: 26px 32px 30px; background: var(--aida); border-top: 1.5px dashed var(--rule-2); display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 26px; }
.footer h4 { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 18px; margin: 0 0 8px; color: var(--ink); }
.footer p { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.footer-links a { color: var(--link); text-underline-offset: 3px; }
.footer-tended { margin: 13px 0 0; font-family: var(--mono); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-mute); }
.pp-buttons { display: grid; grid-template-columns: repeat(2, 88px); gap: 8px; }
.pp-button { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 31px; color: var(--ink); border: 1.5px solid var(--ink); text-decoration: none; font-family: var(--pixel); font-size: 18px; letter-spacing: .04em; box-shadow: inset 1px 1px 0 rgba(255,255,255,.6), inset -1px -1px 0 rgba(0,0,0,.2); transition: filter .15s var(--ease); }
.pp-button:hover { filter: brightness(1.05); color: var(--ink); }
.pp-button.rose  { background: var(--rose); }
.pp-button.coral { background: var(--coral); }
.pp-button.mint  { background: var(--mint); }
.pp-button.lav   { background: var(--lav); }
.pp-note { margin: 11px 0 0; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--ink-mute); }

/* ─── lightbox ─── */
.lb-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(40,30,30,.5); }
.lb-overlay[hidden] { display: none; }
.lb-card { position: relative; display: grid; grid-template-columns: 300px 1fr; width: 100%; max-width: 720px; background: var(--paper); border-radius: var(--r-sheet); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.lb-close { position: absolute; top: 12px; right: 12px; z-index: 3; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: transform .2s var(--ease); }
.lb-close:hover { transform: rotate(90deg); }
.lb-thumb { background: var(--aida); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lb-thumb img.lb-photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-panel); display: block; }
.lb-thumb svg { width: 100%; height: auto; max-width: 240px; }
.lb-body { padding: 26px 26px 24px; overflow: auto; }
.lb-meta { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 5px; }
.lb-title { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 32px; margin: 0 0 10px; color: var(--ink); }
.lb-blurb { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 16px; }
.lb-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-bottom: 16px; }
.lb-spec { display: flex; justify-content: space-between; padding-bottom: 5px; border-bottom: 1px dashed rgba(47,64,52,.2); }
.lb-spec dt { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); margin: 0; }
.lb-spec dd { font-family: var(--mono); font-size: 11px; color: var(--ink); margin: 0; }
.lb-spec.price dd { color: var(--hotpink); }
.lb-pal-label { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.lb-swatches { display: flex; gap: 7px; margin-bottom: 20px; flex-wrap: wrap; }
.lb-swatch { width: 30px; height: 30px; border-radius: 7px; border: 1px solid rgba(47,64,52,.2); }
.lb-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* chips tint by tag (used on lightbox meta + anywhere a .chip appears) */
.chip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--r-pill); font-family: var(--mono); font-size: 10px; color: var(--ink); border: 1px solid rgba(47,64,52,.2); background: var(--tag-original); }
.chip[data-tag="anime"]          { background: var(--tag-anime); }
.chip[data-tag="pokemon"]        { background: var(--tag-pokemon); }
.chip[data-tag="digital-circus"] { background: var(--tag-digital-circus); }
.chip[data-tag="games"]          { background: var(--tag-games); }
.chip[data-tag="cartoons"]       { background: var(--tag-cartoons); }
.chip[data-tag="seasonal"]       { background: var(--tag-seasonal); }
.chip[data-tag="original"]       { background: var(--tag-original); }

/* ─── responsive ─── */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 240px; }
  .featured-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .lb-card { grid-template-columns: 1fr; max-width: 420px; }
  .lb-thumb { max-height: 320px; }
  .footer { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 480px) {
  .content { padding: 24px 18px 8px; }
  .featured-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .nav-word { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
}
