/* ==========================================================================
   CODEX — "Night Sleeve"
   Shared styles for index.html + premade.html
   ========================================================================== */

/* ---------- self-hosted fonts (Google Fonts, SIL Open Font License) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Pirata One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pirata-one-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --ink: #05060a;        /* night sky, a cool blue-black so the warm covers pop */
  --soot: #0a0c11;
  --char: #12141b;
  --char-2: #1b1e26;
  --veil: rgba(10, 12, 17, .6);
  --bone: #ece8e0;
  --bone-2: #c5c2bb;
  --ash: #96969b;
  --dim: #66676e;
  --ember: #ff5424;      /* only for the blackletter accent, SOLD stamps and focus */
  --ember-hot: #ff7a3d;
  --ember-deep: #a8260a;
  --line: rgba(236, 232, 224, .10);
  --line-2: rgba(236, 232, 224, .22);
  --r: 6px;              /* covers get the small radius streaming apps use */

  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;   /* used at wdth 125: wide + heavy */
  --f-accent: "Pirata One", "Old English Text MT", serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: var(--f-body);

  --gutter: clamp(16px, 4vw, 44px);
  --max: 1380px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --chrome: linear-gradient(180deg, #ffffff 0%, #ece7df 28%, #9c968e 47%, #34312d 51%, #c9c3ba 60%, #ffffff 76%, #a7a198 100%);
  --spin: 0deg;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }
body {
  margin: 0;
  background: transparent;
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
::selection { background: var(--ember); color: var(--ink); }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--bone); color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }


/* ---------- starry night sky ----------
   Painted on the page itself (root background), not pinned to the screen:
   the stars scroll exactly with the covers and text, like they're printed on the page.
   Layers: bright 4-point sparkles, mid stars, tiny dust, a whisper of film grain, ink. */
html {
  background-color: var(--ink);
  background-image:
    url("../img/stars-bright.svg"),
    url("../img/stars-bright-2.svg"),
    url("../img/stars-mid.svg"),
    url("../img/stars-dust.svg"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-position: 210px 40px, 640px 380px, 0 0, 37px 91px, 0 0;
  background-size: 1700px 1700px, 1500px 1500px, 1300px 1300px, 900px 900px, 240px 240px;
  background-repeat: repeat;
  background-attachment: scroll;
}
@media (max-width: 759px) {
  html { background-size: 1300px 1300px, 1150px 1150px, 1000px 1000px, 700px 700px, 240px 240px; }
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }

/* ---------- type ---------- */
.display, .sec-title, h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  letter-spacing: -.02em;
  line-height: 1;
}
.wide { font-family: var(--f-display); font-variation-settings: "wdth" 125; letter-spacing: -.01em; }
.sec-title { font-size: clamp(32px, 4.4vw, 58px); }
/* orange blackletter accent (Pirata One): the gothic lettering of rap covers */
.accent {
  font-family: var(--f-accent);
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  letter-spacing: .005em;
  color: var(--ember);
  display: inline-block;
  font-size: .5em;
  line-height: 1;
  transform: none;
  margin-left: .14em;
  padding-right: .06em;
  white-space: nowrap;
}
.chrome {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .55));
}
.mono { font-size: 13px; color: var(--ash); }
.label { font-size: 14px; color: var(--ash); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--bone-2); max-width: 44ch; }
.muted { color: var(--ash); }

.sec-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head__row { display: grid; gap: 12px; }

/* placeholder marker — every unknown value uses this so it's easy to find */
.ph {
  font-family: var(--f-body);
  font-variation-settings: "wdth" 100;
  font-size: .82em;
  letter-spacing: 0;
  color: var(--ember-hot);
  border: 1px dashed currentColor;
  padding: 0 .35em;
  white-space: normal;
  overflow-wrap: anywhere;
  font-weight: 600;
  text-transform: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--bone);
  --fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  border: 1.5px solid var(--bg);
  border-radius: 999px;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { --bg: #ffffff; }
.btn:active { transform: scale(.98); }
.btn--ghost { --bg: transparent; --fg: var(--bone); border-color: var(--line-2); }
.btn--ghost:hover { --bg: rgba(236, 232, 224, .07); border-color: var(--bone-2); }
.btn--bone { --bg: var(--bone); --fg: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { --bg: var(--char-2); --fg: var(--ash); border-color: var(--char-2); pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--bone); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--bone); }
.link-arrow, .footer-links a, .footer-base a, .brand { position: relative; }
@media (pointer: coarse) {
  .link-arrow::after, .footer-links a::after, .footer-base a::after, .brand::after { content: ""; position: absolute; inset: -12px -8px; }
}

/* ---------- stickers (advisory-label system) ---------- */
.sticker {
  display: inline-grid;
  justify-items: center;
  background: var(--ink);
  color: var(--bone);
  border: 2px solid var(--bone);
  padding: 4px 4px 3px;
  font-family: var(--f-body);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  font-size: 9.5px;
  letter-spacing: .08em;
  gap: 3px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
.sticker b {
  display: block;
  width: 100%;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-display);
  font-variation-settings: "wdth" 125;
  font-weight: 900;
  font-size: 1.9em;
  letter-spacing: .01em;
  padding: 3px 8px 2px;
  text-align: center;
}
.sticker--ember b { background: var(--ember); color: var(--ink); }
.sticker--lg { font-size: 12px; border-width: 3px; }
.sticker--tilt { transform: rotate(-7deg); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  height: var(--header-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(5,6,10, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 30px; height: 30px; color: var(--bone); will-change: transform; }
.brand__word { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 19px; letter-spacing: .02em; line-height: 1; }
.nav { display: none; }
.nav ul { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav a { font-size: 15px; font-weight: 500; color: var(--bone-2); position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bone); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--line-2); border-radius: 50%; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--bone); position: relative; transition: transform .3s var(--ease), background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--bone); transition: transform .3s var(--ease); }
.menu-btn span::before { transform: translateY(-6px); }
.menu-btn span::after { transform: translateY(6px); }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 55;
  background: var(--ink);
  padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.mobile-menu ol { display: grid; gap: 4px; counter-reset: trk; }
.mobile-menu li a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 32px; letter-spacing: -.02em; line-height: 1.1; }
.mobile-menu .btn { width: 100%; }

@media (min-width: 980px) {
  .nav { display: block; }
  .menu-btn, .mobile-menu { display: none; }
}
@media (max-width: 420px) {
  .header-cta-text-long { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  min-height: 100svh;
  display: grid;
  overflow: hidden;
  isolation: isolate;
}
.wall {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--wall-gap);
  padding-top: calc(var(--header-h) + 8px);
  --tile: clamp(108px, 30vw, 150px);
  --wall-gap: 8px;
  transform: rotate(-4deg) scale(1.14);
  transform-origin: 50% 30%;
  /* fade the wall out instead of painting ink over it, so the sky shows below */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 29%, rgba(0,0,0,.18) 41%, transparent 49%);
  mask-image: linear-gradient(180deg, #000 0%, #000 29%, rgba(0,0,0,.18) 41%, transparent 49%);
}
.wall__row { display: flex; width: max-content; }
.wall__track {
  display: flex;
  gap: var(--wall-gap);
  padding-right: var(--wall-gap);
  animation: wall-left var(--dur, 70s) linear infinite;
  will-change: transform;
}
.wall__row:nth-child(even) .wall__track { animation-name: wall-right; }
.wall__row:nth-child(2) .wall__track { --dur: 84s; }
.wall__row:nth-child(3) .wall__track { --dur: 76s; }
.wall__row:nth-child(4) .wall__track { --dur: 92s; }
.wall img { width: var(--tile); height: var(--tile); object-fit: cover; flex: none; background: var(--char); border-radius: 4px; }
.wall.is-paused .wall__track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) {
  .wall__row:hover .wall__track { animation-play-state: paused; }
  .wall img { transition: filter .3s, transform .3s var(--ease); }
  .wall img:hover { filter: brightness(1.15); }
}
@keyframes wall-left { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes wall-right { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

/* scrims that make the type readable without killing the wall */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,6,10,.6) 0%, rgba(5,6,10,0) 16%, rgba(5,6,10,0) 26%, rgba(5,6,10,.6) 38%, rgba(5,6,10,0) 52%);
}
.hero__inner {
  align-self: end;
  padding-top: calc(var(--header-h) + 2.6 * clamp(108px, 30vw, 150px));
  padding-bottom: clamp(28px, 6vw, 72px);
  display: grid;
  gap: 18px;
}
.hero h1 { font-size: clamp(40px, 11.4vw, 100px); font-weight: 900; line-height: .96; letter-spacing: -.025em; text-transform: uppercase; }
.hero h1 .line { display: block; }
.hero h1 .accent { display: block; width: max-content; font-size: max(.48em, 30px); transform: none; margin: .2em 0 .14em .02em; letter-spacing: 0; }
.hero__copy { color: var(--bone-2); max-width: 40ch; font-size: clamp(16.5px, 1.5vw, 19px); }
.hero__ctas { display: grid; gap: 10px; margin-top: 4px; }
.hero__ctas .btn { width: 100%; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--ash); font-size: 15px; }
.hero__facts li { display: inline-block; }
.hero__facts .vbadge { margin-right: 7px; vertical-align: -3px; }
.hero__facts b { color: var(--bone); font-weight: 700; }
/* Instagram-style verified badge (blue, white check) */
.vbadge { width: 15px; height: 15px; color: #3897f0; flex: none; display: inline-block; vertical-align: -2px; }
.link-arrow .vbadge, .footer-links .vbadge { width: 14px; height: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 640px) {
  .hero__ctas { grid-auto-flow: column; justify-content: start; }
  .hero__ctas .btn { width: auto; min-width: 200px; }
}
@media (min-width: 900px) {
  .wall {
    --tile: clamp(170px, 17vw, 270px); --wall-gap: 12px; transform: rotate(-5deg) scale(1.18); transform-origin: 70% 40%; padding-top: 0; justify-content: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.06) 34%, rgba(0,0,0,.45) 50%, #000 68%), linear-gradient(180deg, #000 0%, #000 58%, transparent 88%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.06) 34%, rgba(0,0,0,.45) 50%, #000 68%), linear-gradient(180deg, #000 0%, #000 58%, transparent 88%);
    mask-composite: intersect;
  }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(5,6,10,.6) 0%, transparent 16%);
  }
  .hero__inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(56px, 7vw, 96px); max-width: 980px; margin-left: 0; }
}

/* ---------- worked with: verified artists sliding by, Instagram-profile style ---------- */
.ww { padding: clamp(36px, 5vw, 64px) 0 clamp(8px, 2vw, 24px); }
.ww__title {
  text-align: center;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 125;
  font-weight: 900;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.ww-marquee { --mq-gap: 12px; padding-block: 6px; }
.wwp {
  flex: none;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 20px 9px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(18, 20, 27, .78);
  transition: border-color .2s, background-color .2s;
}
.wwp:hover, .wwp:focus-visible { border-color: var(--bone-2); background: rgba(27, 30, 38, .9); }
/* Instagram story ring around the picture */
.wwp__av {
  width: 54px; height: 54px; flex: none; border-radius: 50%; padding: 2.5px;
  background: linear-gradient(45deg, #feda75, #fa7e1e 28%, #d62976 55%, #962fbf 78%, #4f5bd5);
}
.wwp__av img, .wwp__mono { width: 100%; height: 100%; border-radius: 50%; border: 2.5px solid var(--ink); object-fit: cover; display: block; }
.wwp__mono {
  display: grid; place-items: center; background: var(--char-2); color: var(--bone);
  font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 14px; letter-spacing: .02em;
}
.wwp__txt { display: grid; gap: 1px; white-space: nowrap; }
.wwp__name { display: inline-flex; align-items: center; gap: 6px; font-size: 16.5px; font-weight: 700; color: var(--bone); }
.wwp__name .vbadge { width: 16px; height: 16px; vertical-align: 0; }
.wwp__sub { font-size: 13.5px; color: var(--ash); }
/* every artist fits: one still row in the middle (site.js sets .is-static) */
.ww-marquee.is-static { justify-content: center; -webkit-mask-image: none; mask-image: none; }
.ww-marquee.is-static .marquee__track { animation: none; transform: none; padding-right: 0; }
.ww-marquee.is-static .marquee__track[aria-hidden="true"] { display: none; }
/* phone: smaller pills so about two fit, and a quicker loop so more names go by while scrolling past */
@media (max-width: 759px) {
  .ww-marquee { --mq-gap: 10px; }
  .wwp { gap: 10px; padding: 7px 16px 7px 7px; }
  .wwp__av { width: 44px; height: 44px; padding: 2px; }
  .wwp__av img, .wwp__mono { border-width: 2px; }
  .wwp__mono { font-size: 12px; }
  .wwp__name { font-size: 14.5px; gap: 5px; }
  .wwp__name .vbadge { width: 14px; height: 14px; }
  .wwp__sub { font-size: 12px; }
  .ww-marquee .marquee__track { animation-duration: calc(var(--dur, 50s) * .5); }
}
@media (prefers-reduced-motion: reduce) {
  .ww-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .ww-marquee .marquee__track[aria-hidden="true"] { display: none; }
}

/* ---------- work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(6px, 1vw, 14px); grid-auto-flow: dense; }
.work-grid .tile.is-feature { grid-column: span 2; grid-row: span 2; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(3, 1fr); } .work-grid .tile.is-hero { grid-column: span 3; grid-row: span 3; } }
@media (min-width: 1140px) { .work-grid { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--char); border-radius: var(--r); }
.tile[hidden] { display: none; }
.work-grid .tile.is-more { display: none; }
.work-more { display: flex; justify-content: center; margin-top: clamp(20px, 3vw, 34px); }
.work-more[hidden] { display: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: filter .3s; }
.tile__meta {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  padding: 36px 12px 10px;
  background: linear-gradient(transparent, rgba(5,6,10,.9));
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .4s var(--ease);
}
.tile__title { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(14px, 1.3vw, 18px); letter-spacing: -.01em; line-height: 1.1; }
.tile:hover img, .tile:focus-visible img { filter: brightness(.82); }
.tile:hover .tile__meta, .tile:focus-visible .tile__meta { opacity: 1; transform: none; }
.tile:focus-visible { outline-offset: -2px; }
@media (hover: none), (pointer: coarse) { .tile__meta { display: none; } }
.work-foot { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; margin-top: clamp(24px, 4vw, 44px); }

/* ---------- lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #030407;
  display: grid;
  grid-template-rows: 1fr auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s .3s;
  touch-action: none;
}
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.lb__stage { position: relative; display: grid; place-items: center; padding: calc(56px + env(safe-area-inset-top)) 12px 12px; overflow: hidden; }
.lb__img { width: min(100%, calc(100svh - 240px)); max-width: 1100px; aspect-ratio: 1; object-fit: contain; background: var(--char); border-radius: 4px; box-shadow: 0 40px 120px -20px rgba(0,0,0,.9); user-select: none; -webkit-user-drag: none; transition: transform .35s var(--ease), opacity .25s; }
.lb__img.is-dragging { transition: none; }
.lb__bar { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 8px; padding: 10px 12px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--ink); }
.lb__cap { text-align: center; display: grid; gap: 4px; min-width: 0; justify-items: center; }
.lb__order { margin-top: 8px; pointer-events: auto; }
.lb__title { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 800; letter-spacing: -.015em; font-size: clamp(18px, 2.2vw, 26px); line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb__count { font-size: 13px; color: var(--ash); }
.lb__btn { width: 56px; height: 56px; display: grid; place-items: center; border: 1.5px solid var(--line-2); border-radius: 50%; transition: background-color .2s, color .2s, border-color .2s; }
.lb__btn:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__close { position: absolute; top: calc(8px + env(safe-area-inset-top)); right: 8px; z-index: 2; width: 48px; height: 48px; }
@media (min-width: 900px) {
  .lb { grid-template-rows: 1fr; }
  .lb__stage { padding: 64px 120px 150px; }
  .lb__img { width: min(100%, calc(100vh - 230px)); }
  .lb__bar { position: absolute; left: 0; right: 0; bottom: 0; background: transparent; border: 0; grid-template-columns: 1fr; padding: 0 0 26px; pointer-events: none; }
  .lb__bar .lb__btn { position: fixed; top: 50%; transform: translateY(-50%); pointer-events: auto; width: 64px; height: 64px; }
  .lb__prev { left: 28px; }
  .lb__next { right: 28px; }
}

/* ---------- premade teaser (home) ---------- */
.pm-teaser { overflow: hidden; }
.pm-teaser__intro { display: grid; gap: 20px; }
.pm-teaser__side { display: grid; gap: 20px; }
.pm-cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.pm-points { display: grid; gap: 8px; }
.pm-points li { display: flex; align-items: center; gap: 12px; color: var(--bone-2); }
.pm-points li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ash); flex: none; }
.pm-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 18px; scrollbar-width: thin; scrollbar-color: var(--char-2) transparent; overscroll-behavior-x: contain; scroll-padding-inline: var(--gutter); }
.pm-strip::-webkit-scrollbar { height: 4px; }
.pm-strip::-webkit-scrollbar-thumb { background: var(--char-2); }
.pm-strip > .pm-card, .pm-strip > .pm-more { flex: none; width: clamp(220px, 62vw, 290px); scroll-snap-align: start; }
.pm-teaser__grid { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 1000px) {
  /* desktop: intro on top (title + text left, points + button right), then 7 covers + "See all" in two full rows */
  .pm-teaser__intro { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; grid-template-areas: "title side" "lede side"; column-gap: 56px; row-gap: 12px; }
  .pm-teaser__intro > h2 { grid-area: title; align-self: end; }
  .pm-teaser__intro > .lede { grid-area: lede; }
  .pm-teaser__side { grid-area: side; align-self: end; justify-items: start; }
  .pm-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2vw, 28px) clamp(12px, 1.4vw, 20px); overflow: visible; margin: 0; padding: 0; }
  .pm-strip > .pm-card, .pm-strip > .pm-more { width: auto; }
  .pm-strip > .pm-card:nth-child(8) { display: none; }
}

/* premade card (used on home strip + store grid) */
.pm-card { position: relative; display: grid; gap: 10px; text-align: left; width: 100%; min-width: 0; }
.pm-card__img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--char); border-radius: var(--r); }
.pm-card__img img { width: 100%; height: 100%; object-fit: cover; transition: filter .3s; }
.pm-card:hover .pm-card__img img, .pm-card:focus-visible .pm-card__img img { filter: brightness(.82); }
.pm-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pm-card__title { min-width: 0; font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 800; letter-spacing: -.01em; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-card__price { font-size: 15px; font-weight: 600; color: var(--bone-2); line-height: 1.15; white-space: nowrap; }
.pm-card__price .ph { font-size: 11px; vertical-align: middle; white-space: nowrap; }
.pm-card__status { font-size: 13px; color: var(--ash); display: inline-flex; align-items: center; gap: 6px; }
.pm-card__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; }
.pm-card.is-sold .pm-card__status::before, .pm-card__status.is-sold::before { background: var(--ember); }
.pm-card.is-sold .pm-card__img img { filter: grayscale(1) brightness(.55) contrast(1.1); }
.pm-card.is-sold .pm-card__price { color: var(--dim); text-decoration: line-through; }
.pm-card__stamp { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; pointer-events: none; }
.pm-card__stamp .sticker { transform: rotate(-9deg); font-size: clamp(9px, 1.4vw, 12px); }
.pm-more { display: grid; place-items: center; align-content: center; gap: 8px; aspect-ratio: 1; background: var(--char); border-radius: var(--r); text-align: center; padding: 20px; transition: background-color .2s; }
.pm-more:hover { background: var(--char-2); }
.pm-more strong { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 22px; letter-spacing: -.015em; line-height: 1.1; }

/* ---------- process ---------- */
.steps { display: grid; gap: clamp(40px, 5vw, 28px); }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { display: grid; gap: 18px; align-content: start; }
.step__visual { position: relative; aspect-ratio: 1; background: var(--soot); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step__head { display: flex; align-items: center; gap: 12px; }
.step__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bone); color: var(--ink); font-weight: 700; font-size: 15px; flex: none; align-self: center; }
.step__title { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 800; letter-spacing: -.02em; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.05; flex: 1; }
.step p { color: var(--bone-2); max-width: 46ch; }

/* step 1: Instagram DM mock */
.dm { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; background: #000; font-family: -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif; }
.dm__top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #1f1f1f; }
.dm__av { width: 30px; height: 30px; border-radius: 50%; background: var(--bone); display: grid; place-items: center; flex: none; }
.dm__av svg { width: 18px; height: 18px; color: #000; }
.dm__name { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.dm__name svg { width: 13px; height: 13px; color: #3897f0; }
.dm__sub { font-size: 11px; color: #8e8e8e; }
.dm__body { display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; padding: 10px 12px 4px; overflow: hidden; }
.msg { max-width: 80%; padding: 7px 12px; border-radius: 18px; font-size: 13px; line-height: 1.3; opacity: 0; transform: translateY(8px) scale(.98); }
.msg--out { align-self: flex-end; background: #3a2ff0; background: linear-gradient(160deg, #5b3df5, #3a2ff0); color: #fff; border-bottom-right-radius: 6px; }
.msg--in { align-self: flex-start; background: #262626; color: #f5f5f5; border-bottom-left-radius: 6px; }
.msg--photos { padding: 0; background: none; display: flex; gap: 4px; }
.msg--photos span { width: clamp(46px, 5vw, 60px); aspect-ratio: 1; border-radius: 12px; background: linear-gradient(160deg, #3b3632, #171513); display: grid; place-items: end start; padding: 6px; font-size: 8.5px; color: #8e8a84; }
.msg--typing { display: inline-flex; gap: 4px; padding: 11px 14px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #8e8e8e; animation: typing 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.dm__input { margin: 4px 12px 12px; border: 1px solid #262626; border-radius: 22px; padding: 9px 14px; font-size: 12.5px; color: #8e8e8e; }
.is-in .msg { animation: msg-in .45s var(--ease) forwards; }
.is-in .msg:nth-child(1) { animation-delay: .1s; } .is-in .msg:nth-child(2) { animation-delay: .5s; } .is-in .msg:nth-child(3) { animation-delay: .9s; }
.is-in .msg:nth-child(4) { animation-delay: 1.3s; } .is-in .msg:nth-child(5) { animation-delay: 1.8s; } .is-in .msg:nth-child(6) { animation-delay: 2.3s; }
@keyframes msg-in { to { opacity: 1; transform: none; } }

/* step 2: a rough pencil sketch on paper with red-marker notes (drawn on when the step scrolls in) */
.sketch { background: #ece6db; }
.sketch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sketch__marks { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sketch__marks path { fill: none; stroke: #c8300f; stroke-width: .62; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .step:not(.is-in) .sketch__marks path { stroke-dashoffset: 1; }
.js .step.is-in .sketch__marks path { animation: draw-on 1s var(--ease) both; }
.js .step.is-in .sketch__marks path:nth-child(2) { animation-delay: .35s; }
.js .step.is-in .sketch__marks path:nth-child(3) { animation-delay: .8s; }
.js .step.is-in .sketch__marks path:nth-child(4) { animation-delay: 1s; }
@keyframes draw-on { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.sketch__note { position: absolute; font-weight: 600; font-size: clamp(11px, 1.1vw, 13px); line-height: 1.25; color: #c8300f; transform: rotate(-3deg); white-space: nowrap; background: rgba(236,230,219,.88); padding: 1px 5px; }

/* step 3: final */
.final img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- reviews: two rows of DMs sliding left and right, word for word from his story highlights ---------- */
.marquee { overflow: hidden; display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex: none; gap: var(--mq-gap, 16px); padding-right: var(--mq-gap, 16px); animation: mq-left var(--dur, 50s) linear infinite; will-change: transform; }
/* each track is one full copy, so it slides by its own width (100%) and the next copy lands exactly where it began */
@keyframes mq-left { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-100%, 0, 0); } }
@keyframes mq-right { from { transform: translate3d(-100%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.dm-rows { display: grid; gap: 14px; }
.dm-row { --mq-gap: clamp(18px, 2.4vw, 30px); }
.dm-row .marquee__track { align-items: center; }
.dm-row--rev .marquee__track { animation-name: mq-right; }
.dm-row.is-held .marquee__track, .dm-row.is-stopped .marquee__track { animation-play-state: paused; }
.dm-row { -webkit-user-select: none; user-select: none; }
@media (max-width: 759px) { .dm-row .marquee__track { animation-duration: calc(var(--dur, 50s) * 1.6); } }
.dmq { flex: none; display: flex; align-items: flex-end; gap: 9px; margin: 0; }
.dmq__av { width: 30px; height: 30px; border-radius: 50%; flex: none; object-fit: cover; background: #191b22; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.dmq blockquote {
  margin: 0;
  max-width: min(340px, 74vw);
  padding: 11px 16px;
  border-radius: 20px 20px 20px 6px;
  background: #262626;
  color: #f5f5f5;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 15px;
  line-height: 1.38;
}
.dm-row--rev .dmq blockquote { font-size: 14px; padding: 9px 14px; }
/* bigger DMs on computer screens, so the reviews carry weight */
@media (min-width: 1140px) {
  .dm-rows { gap: 18px; }
  .dmq { gap: 11px; }
  .dmq__av { width: 38px; height: 38px; }
  .dmq blockquote { font-size: 17px; padding: 13px 19px; max-width: 420px; border-radius: 22px 22px 22px 7px; }
  .dm-row--rev .dmq blockquote { font-size: 16px; padding: 11px 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .dm-row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .dm-row .marquee__track[aria-hidden="true"] { display: none; }
}

/* tall images (review screenshots) in the lightbox keep their own shape */
.lb__img.is-tall { aspect-ratio: auto; width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 190px); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); counter-reset: faq; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.35;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 22px; height: 22px; background: linear-gradient(var(--bone), var(--bone)) center / 14px 1.5px no-repeat, linear-gradient(var(--bone), var(--bone)) center / 1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--bone-2); }
.faq .ans { padding: 0 0 22px 0; color: var(--bone-2); max-width: 64ch; display: grid; gap: 10px; }
.faq details[open] .ans { animation: fade-down .35s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-wrap { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: 1fr 1.6fr; align-items: start; } .faq-wrap .sec-head { position: sticky; top: calc(var(--header-h) + 32px); } }

/* ---------- final CTA ---------- */
.final-cta { position: relative; text-align: left; }
.final-cta h2 { font-size: clamp(34px, 6vw, 84px); max-width: 15ch; }
.final-cta__row { display: grid; gap: 22px; margin-top: clamp(24px, 4vw, 44px); }
.final-cta__btns { display: grid; gap: 10px; }
@media (min-width: 640px) { .final-cta__btns { grid-auto-flow: column; justify-content: start; } }
@media (min-width: 900px) { .final-cta__row { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(36px, 5vw, 56px) 0 calc(24px + env(safe-area-inset-bottom)); }
.footer-top { display: grid; gap: 22px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1fr auto; align-items: center; } }
.footer-brand { display: grid; gap: 10px; justify-items: start; }
.footer-links { display: grid; gap: 10px; }
@media (min-width: 900px) { .footer-links { display: flex; flex-wrap: wrap; gap: 10px 36px; } }
.footer-links a { display: inline-flex; align-items: baseline; gap: 8px; }
.footer-links .fl-label { color: var(--bone); font-weight: 600; }
.footer-links .fl-val { color: var(--ash); transition: color .2s; }
.footer-links a:hover .fl-val { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.footer-base { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: clamp(32px, 4vw, 48px); color: var(--dim); font-size: 13px; }
.footer-base a:hover { color: var(--bone-2); }

/* ---------- mobile sticky CTA bar ---------- */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(5,6,10,.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .4s var(--ease);
}
.dock.is-visible { transform: none; }
.dock .btn { min-height: 48px; font-size: 15.5px; padding: 0 12px; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 400; transform: translate(-50%, 20px); opacity: 0; background: var(--bone); color: var(--ink); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; pointer-events: none; transition: opacity .25s, transform .35s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   PREMADE STORE (premade.html): kept deliberately simple
   ========================================================================== */
.store-hero { position: relative; overflow: hidden; padding: clamp(28px, 7vw, 88px) 0 clamp(8px, 2vw, 24px); }
.shop-intro { display: grid; gap: clamp(12px, 2vw, 18px); justify-items: start; }
.store-hero h1 { font-size: clamp(36px, 7vw, 88px); line-height: 1; }
.store-hero h1 .accent { font-size: max(.5em, 24px); display: block; width: max-content; margin: .2em 0 0 .02em; transform: none; letter-spacing: 0; }
.shop-steps { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 6px 0; }
.shop-steps li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.shop-steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bone); color: var(--ink); font-weight: 700; font-size: 15px; flex: none; }
.from-price { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; color: var(--ash); }
.from-price strong { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: 28px; letter-spacing: -.01em; color: var(--bone); font-weight: 800; }

.store-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.6vw, 32px) clamp(10px, 1.6vw, 20px); }
@media (min-width: 760px) { .store-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .store-grid { grid-template-columns: repeat(4, 1fr); } }
.store-empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--ash); }

/* cover detail: image, name, price, one button */
.pd { position: fixed; inset: 0; z-index: 150; display: grid; align-items: end; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.pd.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.pd__backdrop { position: absolute; inset: 0; background: rgba(2,3,6,.9); }
.pd__panel { position: relative; background: var(--soot); border-top: 1px solid var(--line-2); border-radius: 14px 14px 0 0; max-height: 100svh; overflow-y: auto; overscroll-behavior: contain; transform: translateY(24px); transition: transform .4s var(--ease); display: grid; }
.pd.is-open .pd__panel { transform: none; }
.pd__media { position: relative; background: var(--soot); }
.pd__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pd__media .pm-card__stamp .sticker { font-size: clamp(14px, 3vw, 22px); }
.pd__info { padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 14px; align-content: start; }
.pd__title { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: clamp(30px, 4vw, 50px); line-height: 1; letter-spacing: -.02em; font-weight: 800; }
.pd__price:empty, .pm-card__price:empty { display: none; }
.pd__price { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 28px; letter-spacing: -.01em; line-height: 1; }
.btn--big { min-height: 58px; font-size: 17px; }
.pd__help { font-size: 14.5px; color: var(--ash); line-height: 1.5; }
.pd__help a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.pd__incl { font-size: 14px; color: var(--ash); line-height: 1.7; border-top: 1px solid var(--line); padding-top: 14px; }
.pd__x { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: 10px; z-index: 5; width: 46px; height: 46px; display: grid; place-items: center; background: rgba(5,6,10,.75); border: 1.5px solid var(--line-2); border-radius: 50%; }
.pd__x svg { width: 20px; height: 20px; }
.pd__x:hover { background: var(--bone); color: var(--ink); }
@media (min-width: 900px) {
  .pd { align-items: center; justify-items: center; padding: 32px; }
  .pd__panel { grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); width: min(1100px, 100%); max-height: calc(100vh - 64px); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
  .pd__media { align-self: start; }
  .pd__info { padding: 40px 36px; align-content: center; }
}

/* ==========================================================================
   ORDERS: order.html + the order form in the premade panel (Netlify Forms)
   ========================================================================== */
.order { padding-top: clamp(28px, 6vw, 72px); }
.order__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (min-width: 1000px) {
  .order__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); }
  .order__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.order__intro { display: grid; gap: 20px; align-content: start; }
.order h1 { font-size: clamp(36px, 5.6vw, 72px); line-height: 1; }
.order h1 .accent { font-size: max(.5em, 24px); display: block; width: max-content; margin: .2em 0 0 .02em; transform: none; letter-spacing: 0; }
.order__steps { display: grid; gap: 10px; }
.order__prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 460px; }
.order__prices li { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; }
.order__prices b { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 22px; letter-spacing: -.01em; line-height: 1.1; }
.order__prices span { font-size: 13.5px; color: var(--ash); }
.order__prices-note { font-size: 14px; color: var(--ash); margin-top: -8px; }
.like { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--char); }
.like[hidden] { display: none; }
.like img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.like__text { font-size: 14.5px; color: var(--bone-2); }
.like__text b { color: var(--bone); }
.order__steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.order__steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bone); color: var(--ink); font-size: 15px; flex: none; }
.order__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 460px; }
.order__pair figure { display: grid; gap: 8px; }
.order__pair img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--char); }
.order__pair figcaption { font-size: 13px; color: var(--ash); }
.order__alt { font-size: 15px; }
@media (max-width: 999px) { .order__pair { display: none; } }

.oform { display: grid; gap: 18px; min-width: 0; }
.oform__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .oform__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { font-size: 14.5px; font-weight: 600; color: var(--bone); padding: 0; }
.field__label i { font-style: normal; font-weight: 400; color: var(--ash); margin-left: 4px; }
.field__hint { font-size: 13px; color: var(--ash); }
.oform input[type=text], .oform input[type=email], .oform input[type=date], .oform textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  background: var(--char);
  color: var(--bone);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  font: inherit;
  font-size: 16px;   /* 16px stops iPhones from zooming in */
  transition: border-color .2s, box-shadow .2s;
  color-scheme: dark;
}
.oform textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.oform input::placeholder, .oform textarea::placeholder { color: var(--dim); }
.oform input:focus, .oform textarea:focus { outline: none; border-color: var(--bone-2); box-shadow: 0 0 0 3px rgba(236, 232, 224, .14); }
.field.is-bad input, .field.is-bad textarea { border-color: var(--ember-hot); }
.field.is-bad .field__label { color: var(--ember-hot); }

/* release type: pill buttons */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--bone-2); transition: background-color .2s, color .2s, border-color .2s; }
.seg input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.seg input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 3px; }

/* picture drop zones */
.drop { position: relative; display: block; cursor: pointer; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop__box { display: grid; place-content: center; gap: 4px; min-height: 128px; padding: 16px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: 12px; transition: border-color .2s, background-color .2s; }
.drop__title { font-weight: 600; color: var(--bone); }
.drop__title::before { content: "+"; display: block; font-size: 26px; font-weight: 400; line-height: 1; margin-bottom: 6px; color: var(--bone-2); }
.drop__hint { font-size: 13px; color: var(--ash); }
.drop:hover .drop__box, .drop.is-over .drop__box { border-color: var(--bone-2); background: rgba(236, 232, 224, .04); }
.drop input:focus-visible ~ .drop__box, .drop input:focus-visible ~ .drop__pick { outline: 2px solid var(--ember); outline-offset: 3px; }
.drop__pick { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 128px; padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--char); }
.drop__pick[hidden] { display: none; }
.drop__pick img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--char-2); }
.drop__name { font-size: 14px; color: var(--bone-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop__x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 20px; line-height: 1; color: var(--bone); display: grid; place-items: center; }
.drop__x:hover { background: var(--bone); color: var(--ink); }

.oform__error { font-size: 14.5px; color: var(--ember-hot); }
.oform__error.is-info { color: var(--bone-2); background: var(--char); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; }
.oform__note { font-size: 13.5px; color: var(--ash); }
.oform .btn[disabled] { opacity: .6; pointer-events: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.oform-done { display: grid; gap: 18px; align-content: start; outline: none; }
.oform-done .final-cta__btns { margin-top: 6px; }

/* premade panel version */
.oform--pm { gap: 14px; }
.oform--pm .oform__row { gap: 14px; }
.oform--pm textarea { min-height: 76px; }
.pd__done { display: grid; gap: 12px; outline: none; }
.pd__done-title { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 24px; letter-spacing: -.01em; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .wall__track, .marquee__track { animation: none !important; transform: none !important; }
  .wall { transform: rotate(-4deg) scale(1.14); }
  .msg { opacity: 1; transform: none; }
}

/* ---------- fixes after first visual pass ---------- */
@media (max-width: 979px) {
  .step__visual:has(.dm) { aspect-ratio: 4 / 5; }
}
