@font-face { font-family: "EASyText"; src: url("../fonts/EASyText.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "ugh"; src: url("../fonts/ugh.ttf") format("truetype"); font-display: swap; }

:root {
  --ink: #111111;
  --paper: #ffffff;
  --grotesk: "Archivo", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --pixel: "EASyText", ui-monospace, Menlo, monospace;
  --line: 1.5px;
  --fs: clamp(44px, 10.4vw, 170px);
  --header-h: 66px;
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--grotesk); -webkit-font-smoothing: antialiased; }
body.win-open { overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--pixel); font-size: 18px; line-height: 1; text-transform: lowercase;
  padding: 8px 16px 7px; border: var(--line) solid currentColor; border-radius: 999px;
  background: var(--paper); color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease-pop);
}
.pill:hover { transform: translateY(-2px); }
/* plain label pills (no link/button behind them) stay still */
.pill:not(a):not(button) { cursor: default; }
.pill:not(a):not(button):hover { transform: none; }
.pill:focus-visible, .row-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.pill[aria-expanded="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill--name { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- header + dropdowns ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
  padding: 14px 16px; pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.nav { display: flex; gap: 8px; }
.drop { position: relative; }
.panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(360px, calc(100vw - 32px));
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: 20px; padding: 18px;
  box-shadow: 6px 6px 0 var(--ink); transform-origin: top right;
  opacity: 0; visibility: hidden; transform: scale(.85) translateY(-8px);
  transition: opacity .18s, transform .35s var(--ease-pop), visibility 0s .35s;
}
.panel.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .35s var(--ease-pop), visibility 0s; }
.panel-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.panel-photos img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: var(--line) solid var(--ink); border-radius: 10px; }
.panel-lead { font-size: 26px; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 14px; }
.panel-meta { font-family: var(--pixel); font-size: 15px; margin: 0 0 4px; opacity: .75; }
.panel-meta--top { margin-bottom: 12px; }
.panel-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.panel-links .pill { font-size: 16px; }
.panel-links .pill:hover { background: var(--hover); color: var(--hover-ink); border-color: var(--ink); }

/* ---------- index rows ---------- */
main { padding: var(--header-h) 0 72px; }
.rows { list-style: none; margin: 0; padding: 0; border-top: var(--line) solid var(--ink); }
.row { position: relative; overflow: hidden; border-bottom: var(--line) solid var(--ink); }
.row::before {
  content: ""; position: absolute; inset: 0; background: var(--c);
  transform: scaleY(0); transform-origin: bottom; transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.row:hover::before, .row:has(.row-btn:focus-visible)::before { transform: scaleY(1); }
.row-btn {
  position: relative; z-index: 2; display: block; height: calc(var(--fs) * .8);
  padding: 0 16px; text-decoration: none; color: var(--ink); transition: color .25s;
}
.row:hover .row-btn, .row:has(.row-btn:focus-visible) .row-btn { color: #ffffff; }
.row-inner .tag { margin-left: 8px; }
.row-inner .row-title + .tag { margin-left: .16em; }
.row-inner { display: inline-flex; align-items: center; height: 100%; white-space: nowrap; will-change: transform; }
.row-title {
  font-size: var(--fs); line-height: 1; font-weight: 400; text-transform: uppercase;
  letter-spacing: -.035em; font-stretch: 90%; transform: translateY(.04em);
}
.tag {
  font-family: var(--pixel); font-size: 15px; line-height: 1; text-transform: lowercase;
  padding: 6px 12px 5px; border: var(--line) solid currentColor; border-radius: 999px;
}

/* ---------- critters ---------- */
.critter { display: block; line-height: 0; pointer-events: none; }
.critter svg { display: block; width: 100%; height: 100%; overflow: visible; }
.critter-eyes { transform-box: fill-box; transform-origin: center; animation: blink 4.6s infinite var(--blink-delay, 0s); }
.critter-body { transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes blink { 0%, 90%, 96%, 100% { transform: scaleY(1); } 92%, 94% { transform: scaleY(.12); } }
@keyframes wiggle { 0% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

.row-critter {
  position: absolute; z-index: 3; bottom: -1px; right: var(--x, 12%);
  height: min(78%, 92px); transform: translateY(102%); transition: transform .45s steps(5);
}
.row.is-peek .row-critter { transform: translateY(55%); }
.row:hover .row-critter, .row:has(.row-btn:focus-visible) .row-critter { transform: translateY(4%); }
.row:hover .critter-body, .win-critter .critter-body { animation: wiggle .6s steps(1) infinite; }

/* ---------- footer ---------- */
.site-footer {
  position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 16px 8px; background: var(--paper); border-top: var(--line) solid var(--ink);
  font-family: var(--pixel); font-size: 13px; text-transform: lowercase;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-links { display: flex; gap: 12px; }


/* ---------- pop-up window ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: 80; background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s;
}
.backdrop.is-on { opacity: 1; }
.win-wrap {
  position: fixed; inset: 0; margin: auto; z-index: 90;
  width: min(1120px, calc(100vw - 48px)); height: min(820px, calc(100dvh - 150px));
}
.win-critter { position: absolute; left: 62%; bottom: calc(100% - 12px); height: 72px; z-index: 0; }
.window {
  position: absolute; inset: 0; z-index: 1; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr);
  background: var(--c); color: var(--on); border: 2px solid var(--ink); border-radius: 22px;
  box-shadow: 8px 8px 0 var(--ink); overflow: hidden;
}
.window .pill { background: transparent; color: inherit; border-color: currentColor; }
.window .pill--solid { background: var(--on); color: var(--c); }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 2px solid currentColor; }
.win-spacer { flex: 1; }
.win-close { font-size: 22px; padding: 4px 13px 5px; }
/* close buttons get focus on open — no ring around them */
.win-close:focus-visible, .v-close:focus-visible { outline: none; }
/* desktop: text column and media column scroll independently */
.win-body { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); min-height: 0; overflow: hidden; }
.win-side { container-type: inline-size; min-height: 0; overflow: auto; padding: 18px 18px 24px; display: flex; flex-direction: column; gap: 10px; }
.win-side, .win-media { overscroll-behavior: contain; }
.win-title {
  /* sized to the side column so the longest word (PHOTOGRAPHY) always fits */
  font-size: clamp(26px, 14cqi, 54px); line-height: .9; font-weight: 400; text-transform: uppercase;
  letter-spacing: -.035em; font-stretch: 85%; margin: 0 0 10px; overflow-wrap: break-word;
}
.toggle { align-self: flex-start; }
.toggle .dot { width: 12px; height: 12px; border: var(--line) solid currentColor; border-radius: 50%; transition: background .2s; }
.toggle[aria-expanded="true"] .dot { background: currentColor; }
.reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.reveal.is-open { grid-template-rows: 1fr; }
.reveal > div { overflow: hidden; }
.reveal p { margin: 4px 2px 8px; font-size: 17px; line-height: 1.35; }
.credits { margin: 4px 2px 8px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 15px; }
.credits dt { font-family: var(--pixel); opacity: .75; }
.credits dd { margin: 0; }

.win-media { padding: 18px 18px 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; min-height: 0; overflow: auto; }
.media { margin: 0; }
.media img, .media video, .media iframe, .ph { display: block; width: 100%; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); }
.media figcaption { font-family: var(--pixel); font-size: 13px; margin-top: 6px; opacity: .8; }
.ph {
  aspect-ratio: var(--r, 4/3); display: grid; place-items: center; color: var(--on);
  background-color: color-mix(in srgb, var(--c) 88%, var(--on));
  background-image: radial-gradient(color-mix(in srgb, var(--on) 30%, transparent) 1px, transparent 1.6px);
  background-size: 10px 10px;
}
.ph span { font-family: var(--pixel); font-size: 14px; padding: 6px 12px 5px; border: var(--line) solid currentColor; border-radius: 999px; background: var(--c); }

.win-media img[data-v] { cursor: zoom-in; }
.media-row { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 10px; align-items: start; }
.media-row img { border-radius: 10px; }
/* a row with a single image (e.g. an album cover before more photos are added) */
.media-row > img:only-child { grid-column: 1 / -1; width: auto; max-width: 100%; max-height: 70vh; justify-self: start; }
.media-row--seamless { gap: 0; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; }
.media-row--seamless img { border: 0; border-radius: 0; }
.win-link { white-space: nowrap; }
/* idle: white pill, black text — hover reverts to the window's outline pill */
.window .win-link { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.window .win-link:hover { background: transparent; color: var(--on); border-color: currentColor; }
/* internal story link: flashes white ↔ black while idle, holds solid black on hover */
.window .win-link--story { animation: story-blink 1.4s ease-in-out infinite; }
.window .win-link--story:hover { animation: none; background: var(--ink); color: var(--paper); border-color: var(--ink); }
@keyframes story-blink {
  0%, 40%   { background: var(--paper); color: var(--ink); border-color: var(--paper); }
  50%, 90%  { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  100%      { background: var(--paper); color: var(--ink); border-color: var(--paper); }
}

/* showcase: product shot (A) spanning two rows, two stories (B, C), profile button under them */
.showcase {
  display: grid; gap: 12px;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr) minmax(0, 4fr); /* ≈ keeps A near 3:4 next to 9:16 stories */
  grid-template-rows: auto auto auto;
}
.sc-main { grid-row: 1 / span 3; min-height: 0; display: flex; align-items: flex-end; justify-content: center; }
/* cut-out product shot: no frame, sits straight on the window colour and fills the slot */
.showcase .sc-main img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; border: 0; border-radius: 0; background: none; }
.sc-side, .sc-prof { margin: 0; min-width: 0; }
.sc-side img { aspect-ratio: 9 / 16; object-fit: cover; }
/* small white captions: one shared line under both stories, one under the profile button */
.showcase figcaption, .sc-sidecap { font-family: var(--pixel); font-size: 12px; line-height: 1.25; color: var(--on); opacity: .85; }
.showcase figcaption { margin-top: 6px; }
.sc-sidecap { grid-column: 2 / span 2; margin: -9px 0 0; text-align: center; }
/* every caption in a window that has a showcase (fotomatika) is centred */
.win-media:has(.showcase) figcaption { text-align: center; }
.sc-prof { grid-column: 2 / span 2; }
.sc-profile {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 20px; border: 2px solid var(--ink); border-radius: 14px;
  background: var(--paper); color: var(--ink); cursor: pointer;
  transition: transform .25s var(--ease-pop), box-shadow .25s;
}
.sc-profile:hover, .sc-profile:focus-visible { transform: translateY(-3px); box-shadow: 4px 4px 0 var(--ink); }
.sc-profile:focus-visible { outline: 2px solid var(--on); outline-offset: 3px; }
.sc-profile .sc-avatar {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--ink); background: var(--paper);
}
.sc-handle { min-width: 0; font-family: var(--pixel); font-size: 22px; line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.thumb { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; transition: transform .25s var(--ease-pop); }
.thumb:hover { transform: translateY(-4px) rotate(-1deg); }

/* ---------- photo viewer ---------- */
.viewer { position: absolute; inset: 0; grid-row: 1 / -1; grid-column: 1 / -1; z-index: 5; background: var(--c); color: var(--on); display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; grid-template-columns: minmax(0, 1fr); }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 2px solid currentColor; }
.viewer-stage { touch-action: pan-y; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 18px; }
.viewer-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border: 2px solid var(--ink); border-radius: 14px; }
.viewer-stage .ph { height: 100%; max-height: 100%; width: auto; max-width: 100%; }
.viewer-stage video { max-width: 100%; max-height: 100%; border: 2px solid var(--ink); border-radius: 14px; }
.viewer-nav { display: flex; justify-content: center; gap: 10px; padding: 12px; border-top: 2px solid currentColor; }
/* profile view (instagram button): avatar + handle | large preview | 3×4 grid of posts */
.viewer--profile .viewer-stage {
  display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 2.4fr) auto; grid-template-rows: minmax(0, 1fr);
  align-items: center; gap: clamp(20px, 3vw, 44px); padding: 28px clamp(20px, 3vw, 44px);
}
.vp-id { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.viewer--profile .vp-avatar {
  width: min(170px, 100%); height: auto; aspect-ratio: 1; max-height: none; object-fit: cover;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--paper);
}
.vp-handle { font-family: var(--pixel); font-size: clamp(16px, 1.6vw, 22px); line-height: 1; text-align: center; overflow-wrap: anywhere; }
.vp-main { height: 100%; min-height: 0; min-width: 0; display: flex; align-items: center; justify-content: center; }
.vp-main img { max-width: 100%; max-height: 100%; }
/* 3 columns × 4 rows of 4:5 posts: width = 0.6 × height, capped so it never squeezes the preview */
.vp-grid {
  align-self: stretch; height: 100%; max-height: 100%; aspect-ratio: 3 / 5; max-width: 30vw;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 6px;
}
.vp-cell { padding: 0; min-height: 0; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; background: var(--paper); cursor: pointer; transition: transform .2s var(--ease-pop); }
/* all posts stay in full colour; the selected one gets the white outline */
.vp-cell:hover, .vp-cell:focus-visible { transform: translateY(-2px); }
.vp-cell.is-on { outline: 2px solid var(--on); outline-offset: 2px; }
.viewer--profile .vp-cell img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }

/* sets view (booth concepts): design pills on the left, that design's pages scroll on the right */
.viewer--sets .viewer-stage {
  display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
  align-items: stretch; gap: clamp(20px, 3vw, 40px); padding: 24px clamp(20px, 3vw, 40px);
}
.viewer--sets .viewer-nav { display: none; }
.vs-list { display: flex; flex-direction: column; gap: 12px; align-self: center; }
.viewer .vs-pill { justify-content: center; font-size: 20px; padding: 12px 18px 11px; }
.viewer .vs-pill.is-on { background: var(--on); color: var(--c); }
.vs-pages {
  min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  display: flex; flex-direction: column; gap: 16px; padding-right: 6px;
}
.viewer--sets .vs-pages img { display: block; width: 100%; height: auto; max-width: none; max-height: none; flex: 0 0 auto; }
.vs-pages:focus-visible { outline: 2px solid var(--on); outline-offset: 4px; border-radius: 14px; }

/* wall view (the build): full-window pinterest-style masonry; a click opens the photo large */
.viewer--wall .viewer-stage { display: block; overflow-y: auto; overscroll-behavior: contain; padding: 20px clamp(16px, 2.5vw, 32px) 28px; }
.viewer--wall .viewer-nav { display: none; }
.vw-wall { columns: 4 220px; column-gap: 14px; }
.vw-tile {
  display: block; width: 100%; margin: 0 0 14px; padding: 0; break-inside: avoid;
  border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--paper); cursor: zoom-in;
  transition: transform .25s var(--ease-pop), box-shadow .25s;
}
.vw-tile:hover, .vw-tile:focus-visible { transform: translateY(-3px); box-shadow: 4px 4px 0 var(--ink); }
.vw-tile:focus-visible { outline: 2px solid var(--on); outline-offset: 2px; }
.viewer--wall .vw-tile img { display: block; width: 100%; height: auto; max-width: none; max-height: none; border: 0; border-radius: 0; }

/* board view (stickers & print): logos left, stickers + interior stickers right, banner along the bottom */
.vb-board {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  column-gap: clamp(24px, 4vw, 56px); row-gap: 28px; align-items: center;
}
.vb-logos { display: flex; flex-direction: column; gap: clamp(18px, 3vh, 34px); }
.vb-right { display: flex; flex-direction: column; gap: 10px; }
.vb-stickers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.vb-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.vb-banner { grid-column: 1 / -1; }
.vb-item { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; transition: transform .25s var(--ease-pop); }
.vb-item:hover, .vb-item:focus-visible { transform: translateY(-3px); }
.vb-item:focus-visible { outline: 2px solid var(--on); outline-offset: 4px; border-radius: 6px; }
.viewer--board .vb-item img { display: block; width: 100%; height: auto; max-width: none; max-height: none; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); }
/* logos are cut-outs: no frame, straight on the window colour */
.viewer--board .vb-logo img { border: 0; border-radius: 0; background: none; }
.vb-cap { margin: 4px 0 0; font-family: var(--pixel); font-size: 13px; text-align: center; color: var(--on); opacity: .85; }

/* album covers and the album carousel */
.album { margin: 0; min-width: 0; }
.album-cover { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; color: inherit; }
.album-cover img { aspect-ratio: 4 / 5; object-fit: cover; transition: transform .25s ease; }
.album-cover:hover img, .album-cover:focus-visible img { transform: translateY(-4px) rotate(-.6deg); }
.album-count { position: absolute; left: 10px; bottom: 10px; background: var(--c); color: var(--on); pointer-events: none; }
.album figcaption { font-family: var(--pixel); font-size: 13px; margin-top: 6px; opacity: .8; }
.viewer-strip { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px; border-top: 2px solid currentColor; scroll-snap-type: x proximity; scrollbar-width: thin; }
.viewer-strip[hidden] { display: none; }
.strip-thumb { flex: 0 0 auto; padding: 0; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--paper); cursor: pointer; opacity: .55; scroll-snap-align: center; transition: opacity .2s, transform .2s; }
.strip-thumb img { display: block; height: 64px; width: auto; }
/* centre the thumbnails; auto margins keep them scrollable when they overflow */
.strip-thumb:first-child { margin-left: auto; }
.strip-thumb:last-child { margin-right: auto; }
.strip-thumb:hover, .strip-thumb:focus-visible { opacity: .9; }
.strip-thumb.is-on { opacity: 1; transform: translateY(-3px); outline: 2px solid var(--on); outline-offset: 2px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- mobile ---------- */
@media (max-width: 700px) {
  :root { --fs: clamp(36px, 13.5vw, 90px); --header-h: 58px; }
  .site-header { padding: 12px; }
  .pill { font-size: 14px; padding: 7px 11px 6px; }
  .nav { gap: 6px; }
  .panel { position: fixed; left: 12px; right: 12px; top: 54px; width: auto; transform-origin: top center; }
  .tag { font-size: 11px; padding: 5px 9px 4px; }
  /* no hover on phones: long titles wrap onto a second line instead of being cut off */
  .row-btn { padding: .06em 12px 0; height: auto; min-height: calc(var(--fs) * .8); }
  .row-inner { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; white-space: normal; height: auto; }
  .row-title { line-height: .86; }
  .row-inner .tag, .row-inner .row-title + .tag { margin: 4px 0 6px; }
  .win-wrap { width: 100vw; height: 100dvh; }
  .window { border-radius: 0; border: 0; box-shadow: none; }
  .win-critter { display: none; }
  .win-bar .pill:not(.pill--solid):not(.win-close):not(.win-link) { display: none; }
  .win-bar .pill--solid { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: block; }
  .win-body { display: block; overflow: auto; }
  .win-side, .win-media { overflow: visible; }
  .media-row[data-wide] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* showcase stacks: product shot full width, stories side by side, profile full width */
  .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-main { grid-row: auto; grid-column: 1 / -1; }
  .showcase .sc-main img { height: auto; max-height: 70vh; }
  .sc-prof, .sc-sidecap { grid-column: 1 / -1; }
  .vw-wall { columns: 2; column-gap: 10px; }
  .vb-board { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .vb-stickers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vw-tile { margin-bottom: 10px; border-radius: 10px; }
  /* sets view stacks: pills in a row on top, pages scroll underneath */
  .viewer--sets .viewer-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 14px; padding: 14px; }
  .vs-list { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .viewer .vs-pill { font-size: 15px; padding: 8px 13px 7px; }
  /* profile view stacks: avatar + handle in a row, preview, then the grid */
  .viewer--profile .viewer-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; align-content: start; overflow: auto; gap: 16px; padding: 16px; }
  .vp-id { flex-direction: row; justify-content: center; }
  .viewer--profile .vp-avatar { width: 56px; }
  .vp-main { height: 52vh; }
  .vp-grid { height: auto; max-width: none; width: 100%; aspect-ratio: auto; grid-template-rows: none; }
  .vp-cell { aspect-ratio: 4 / 5; }
  .sc-profile .sc-avatar { width: 44px; height: 44px; }
  .sc-handle { font-size: 20px; }
  .site-footer { font-size: 11px; padding: 8px 12px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
