/* Inter Tight, self-hosted (one variable font covers weights 500–800). latin-ext first so the
   browser only downloads it for the few pages that need those characters. */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-tight-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: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-tight-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 {
  --bg: #0b0612;
  --fg: #ffffff;
  --fg-dim: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.28);
  /* brand colours, sampled from the logo GIF */
  --acid: #f3e609;
  --ink: #0a0901;
  --tongue: #f12027;
  --eyes: #3fad36;
  --gutter: clamp(16px, 1.6vw, 28px);
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
button { font: inherit; color: inherit; text-transform: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }

/* Animated cursor (main.js): the native cursor is hidden and a 32px element follows the pointer.
   Its sprite (29 frames from _pa_optional.ani) is stepped by CSS and moved with transform, so it all
   runs on the compositor — no per-frame style work for the page. Hotspot is (8, 0). */
html.has-cursor,
html.has-cursor * { cursor: none !important; }
.acmy-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2147483647;
  width: 32px;
  height: 32px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}
.acmy-cursor.is-visible { opacity: 1; }
.acmy-cursor::before {
  content: "";
  display: block;
  width: 928px;
  height: 32px;
  background: url("/assets/cursor/pointer-sprite.png") 0 0 / 928px 32px no-repeat;
  animation: acmy-cursor 0.957s steps(29) infinite;
}
@keyframes acmy-cursor { to { transform: translateX(-928px); } }
@media (prefers-reduced-motion: reduce) { .acmy-cursor::before { animation: none; } }

/* ---------- Header ---------- */

/* Sticky. Transparent over the hero; once the page scrolls (main.js adds .is-scrolled) it becomes a
   solid ink bar so the white text stays readable over yellow sections and white product photos. */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px var(--gutter);
  border-bottom: 1px solid var(--line);
  background-color: transparent;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent);
  transition: background-color 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background-color: rgba(10, 9, 1, 0.95); /* any lighter and the yellow sections tint it olive */
  background-image: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* UV pages: neon-yellow header with a violet glow, so it blends into the blacklight purple.
   Always on the Contact page; on the Shop page while Blacklight mode is on (body.uv-mode). */
.site-header { transition: background-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease, padding 0.35s ease, border-color 0.35s ease; }
.page-contact .site-header.is-scrolled,
.uv-mode .site-header.is-scrolled {
  border-bottom-color: transparent;
  background-color: var(--uv-neon);
  color: var(--ink);
  box-shadow: 0 6px 34px rgba(122, 45, 255, 0.55), 0 1px 0 rgba(122, 45, 255, 0.6);
}
.page-contact .site-header .nav a,
.uv-mode .site-header .nav a,
.page-contact .site-header .latest .dim,
.uv-mode .site-header .latest .dim { color: rgba(10, 9, 1, 0.6); }
.page-contact .site-header .nav a:hover,
.uv-mode .site-header .nav a:hover,
.page-contact .site-header .latest:hover .dim,
.uv-mode .site-header .latest:hover .dim { color: var(--ink); }
.page-contact .site-header .cart-count,
.uv-mode .site-header .cart-count { background: var(--uv-violet); color: var(--uv-neon); }
.page-contact .site-header .cart-count.is-empty,
.uv-mode .site-header .cart-count.is-empty { background: rgba(10, 9, 1, 0.12); color: var(--ink); }
.page-contact .site-header :focus-visible,
.uv-mode .site-header :focus-visible { outline-color: var(--uv-violet); }

/* in-page anchors shouldn't land under the sticky bar */
html { scroll-padding-top: 72px; }

.brand {
  display: block;
  width: 64px;
  height: 64px;
  overflow: hidden;
  flex: none;
  transition: width 0.35s ease, height 0.35s ease;
}
.is-scrolled .brand { width: 48px; height: 48px; }

/* the GIF canvas has ~17% empty margin on each side — scale it so the badge fills the box */
.brand img {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1.5);
}

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.intro { margin: 0; }
.intro a { text-underline-offset: 3px; }

.latest {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.latest img { width: 32px; height: 32px; object-fit: cover; object-position: 50% 20%; display: block; }
/* the newest product's name can be long — keep the header on one line */
.latest .dim { display: inline-block; max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; color: var(--fg-dim); transition: color 0.2s; }
.latest:hover .dim { color: var(--fg); }

.nav { display: flex; gap: clamp(20px, 2.2vw, 40px); }
.nav a {
  text-decoration: none;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color 0.2s;
}
.nav a:hover { color: var(--fg); }

.menu-toggle { display: none; text-transform: uppercase; font-weight: 600; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 480px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg) url("../assets/hero-poster.webp") center / cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 35%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25), transparent 20%);
}

.showreel-btn {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  /* JS sets --x/--y to follow the cursor; defaults keep it centred */
  transform: translate(calc(var(--x, 50vw) - 50%), calc(var(--y, 55svh) - 50%));
  will-change: transform;
  transition: opacity 0.3s;
}
/* when following the mouse, sit just right of the custom cursor instead of on top of it */
.showreel-btn.follows {
  transform: translate(calc(var(--x, 50vw) + 34px), calc(var(--y, 55svh) - 2px));
}
.hero:not(.is-hover) .showreel-btn.follows:not(:focus-visible) { opacity: 0; }

.hero-title {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(10px, 1.4vw, 24px);
  z-index: 4;
  margin: 0;
  font-size: clamp(44px, 5.4vw, 112px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-title .nowrap { white-space: nowrap; }

/* Badge sized to the capital letters: overflow:hidden puts the inline-block's baseline at its
   bottom edge, so it sits on the text baseline and is exactly cap-height tall. */
.cap-logo {
  display: inline-block;
  height: 0.727em; /* Inter Tight cap height */
  height: 1cap;
  aspect-ratio: 1;
  margin-left: 0.14em;
  overflow: hidden;
}
.cap-logo img {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1.506); /* the badge fills 332/500 of the GIF canvas */
}

/* ---------- Grain (fine film noise behind section content, like the references) ---------- */

.grain {
  position: relative;
  isolation: isolate;
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.1;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- About ---------- */

/* Proportions taken from the 1920px reference: right column starts at ~34% of the width,
   headline ≈ 46px (2.4vw), section ≈ 398px (20.7vw) tall. */
.about {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: var(--gutter);
  min-height: 20.7vw;
  padding: 14px var(--gutter) 16px;
  background: var(--acid);
  color: var(--ink);
}

.about-kicker {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.about-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-heading {
  margin: 0;
  font-size: clamp(28px, 2.4vw, 64px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.about-cta {
  margin-top: auto;
  padding-top: clamp(48px, 7vw, 160px);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.about-cta:hover { color: var(--tongue); }

.about :focus-visible { outline-color: var(--ink); }

@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
    row-gap: 28px;
    padding-top: 20px;
    padding-bottom: 24px;
  }
  .about-heading { font-size: clamp(26px, 6.4vw, 40px); }
  .about-cta { padding-top: 40px; }
}

/* ---------- Section heading (shared by Shop and The Tribe) ---------- */

.kicker {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(72px, 8.6vw, 200px) 0 16px;
}

.section-title {
  margin: 0;
  font-size: clamp(72px, 7.3vw, 180px);
  font-weight: 800;
  line-height: 0.74; /* trims the box to the caps so the grid sits 16px under the letters */
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

/* SplitText letter masks (motion.js): the titles' tight line-height would shave the round tops and
   bottoms of letters like O and S, so each mask gets headroom that the negative margin gives back. */
.char-mask {
  padding: 0.14em 0.08em;
  margin: -0.14em -0.08em;
}

.section-link {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
  white-space: nowrap;
  transition: color 0.2s;
}

/* ---------- Shop ---------- */

/* From the 1918px reference: cards are ~29% / 20.5% / 50.5% wide with 16px gaps,
   the first two square; heading ≈ 7.2vw with the link sitting on its baseline. */
.shop {
  padding: 14px var(--gutter) clamp(64px, 6vw, 120px);
  background: var(--ink);
  color: #f2f0ea;
}
.shop::after {
  opacity: 0.07;
  filter: invert(1);
  mix-blend-mode: screen;
}

.shop .section-link:hover { color: var(--acid); }

.shop-grid {
  display: grid;
  grid-template-columns: 29fr 20.5fr 50.5fr;
  align-items: start;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product a {
  display: block;
  text-decoration: none;
}

.product-media {
  aspect-ratio: 1;
  overflow: hidden;
  background: #1c1a12;
}
.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.product a:hover .product-media img { transform: scale(1.04); }

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.product-price { color: rgba(242, 240, 234, 0.5); transition: color 0.2s; }
.product a:hover .product-price { color: var(--acid); }

@media (max-width: 860px) {
  /* two up, the hero product spans the full width underneath */
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .product:last-child { grid-column: 1 / -1; }
  .product-meta { font-size: 15px; }
}

@media (max-width: 560px) {
  .shop-grid { grid-template-columns: 1fr; row-gap: 28px; }
  .section-head { flex-wrap: wrap; row-gap: 14px; }
  .section-title { font-size: 26vw; }
  .product-media { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
  .product-media img { transition: none; }
}

/* ---------- The Tribe (gallery) ---------- */

.tribe {
  padding: 14px var(--gutter) clamp(64px, 6vw, 120px);
  background: var(--acid);
  color: var(--ink);
}
.tribe .section-link:hover { color: var(--tongue); }
.tribe :focus-visible { outline-color: var(--ink); }

/* 4 columns × 4 rows: two 2×2 tiles in opposite corners, the eight singles flow around them */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: row dense;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: #d9cd08;
}
.gallery-item.is-first { grid-column: 1 / 3; grid-row: 1 / 3; }
.gallery-item.is-second { grid-column: 3 / 5; grid-row: 3 / 5; }

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.04); }

@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-item.is-big { grid-column: 1 / -1; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item img { transition: none; }
}

/* ---------- We are everywhere (photo + marquee) ---------- */

.everywhere {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: var(--ink);
}

.everywhere-media {
  position: absolute;
  inset: 0;
}
.everywhere-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

/* From the reference: band ≈ 15% of the screen height, text ≈ 6.8vw */
.marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  padding: 0.1em 0 0.06em;
  background: var(--tongue);
  color: #f6f3ea;
  font-size: clamp(56px, 6.8vw, 168px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee::after { opacity: 0.12; }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite; /* steady loop, runs on the compositor */
}

.marquee-item { padding-right: 0.32em; }
.marquee-item .cap-logo { margin-left: 0.32em; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Skeleton screens: grey shapes where content is loading (admin lists, order and account pages) */
.skel {
  display: inline-block;
  max-width: 100%;
  height: 0.9em;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(10, 9, 1, 0.07) 30%, rgba(10, 9, 1, 0.13) 50%, rgba(10, 9, 1, 0.07) 70%) 0 0 / 300% 100%;
  vertical-align: middle;
  animation: skel 1.4s ease-in-out infinite;
}
@keyframes skel { from { background-position: 100% 0; } to { background-position: 0 0; } }
.skel.is-block { display: block; }
.skel.is-small { height: 0.75em; margin-top: 7px; }
.skel.is-pill { height: 26px; border-radius: 999px; } /* as tall as a status badge */
.skel.is-line { margin-top: 14px; }
.skel.is-title { height: 22px; }
.skel-row { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; background-position: 50% 0; } }

/* ---------- Footer ---------- */

.site-footer {
  --rule: rgba(10, 9, 1, 0.16);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  /* psychedelic frog artwork; the darkening at the bottom keeps the wordmark readable */
  background:
    linear-gradient(to bottom, transparent 45%, rgba(10, 9, 1, 0.55)),
    var(--ink) url("/assets/footer-bg.webp") 70% 35% / cover no-repeat;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}
/* Phones/tablets: the portrait artwork fills just the area between the menu bars, at its own
   1122:1402 ratio so nothing is cropped or hidden behind the bars; the wordmark sits at its foot. */
@media (max-width: 900px) {
  .site-footer { min-height: 0; background: var(--acid); }
  .site-footer .footer-mark {
    display: flex;
    align-items: flex-end;
    aspect-ratio: 1122 / 1402;
    margin-top: 0;
    background:
      linear-gradient(to bottom, transparent 55%, rgba(10, 9, 1, 0.55)),
      var(--ink) url("/assets/footer-bg-mobile-600.webp") center / cover no-repeat;
    background-image:
      linear-gradient(to bottom, transparent 55%, rgba(10, 9, 1, 0.55)),
      image-set(url("/assets/footer-bg-mobile-600.webp") 1x, url("/assets/footer-bg-mobile.webp") 2x);
  }
}
/* the menu bars stay solid yellow strips over the artwork */
.site-footer .footer-bar { background: var(--acid); position: relative; z-index: 1; }

/* Trippy swirl (footer-swirl.js): a WebGL canvas over the artwork, under the bars and wordmark.
   Transparent at rest — the CSS background shows until the pointer stirs it. */
.footer-swirl-host { position: relative; }
.footer-swirl {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.footer-swirl-host > .footer-mark,
.footer-swirl-host > .footer-mark-inner { position: relative; z-index: 1; }
.site-footer :focus-visible { outline-color: var(--ink); }

/* Bars of bordered cells, like the reference */
.footer-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-bar--top { border-bottom: 1px solid var(--rule); }
.footer-bar--bottom { border-top: 1px solid var(--rule); }

.footer-group { display: flex; flex-wrap: wrap; }

.footer-cell {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 0 var(--gutter);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}
.footer-bar > .footer-cell:first-child,
.footer-bar > .footer-group:first-child > .footer-cell { border-right: 1px solid var(--rule); }
.footer-bar > .footer-group:last-child > .footer-cell { border-left: 1px solid var(--rule); }
.footer-bar > .footer-group:first-child > .footer-cell:first-child { padding-left: var(--gutter); }

a.footer-cell:hover,
button.footer-cell:hover { background: var(--ink); color: var(--acid); }

.footer-cell--dim { color: rgba(10, 9, 1, 0.45); }

/* Giant wordmark: JS (main.js) sets font-size so it spans exactly gutter to gutter */
.footer-mark {
  margin: auto 0 0;
  padding: 0 var(--gutter) clamp(12px, 1.4vw, 28px);
  font-size: 15vw; /* fallback before JS fits it */
  font-weight: 800;
  line-height: 0.74;
  letter-spacing: -0.05em;
  white-space: nowrap;
  overflow-x: clip; /* sideways only — vertical clipping would shave letter tops at line-height .74 */
  /* acid-yellow letters with an ink outline so they hold up over the artwork */
  color: var(--acid);
  -webkit-text-stroke: 0.018em var(--ink);
  paint-order: stroke fill;
}
.footer-mark-inner {
  display: inline-block;
  filter: drop-shadow(0 0.03em 0 var(--ink)) drop-shadow(0 0 0.08em rgba(10, 9, 1, 0.55));
  padding-right: 0.05em; /* give back the last letter's negative letter-spacing */
}
.footer-mark .cap-logo { margin: 0 0.06em 0 0.1em; }
/* small ™ raised to the top of the caps (vertical-align length is relative to its own font-size) */
.footer-mark .tm { font-size: 0.3em; vertical-align: 1.75em; margin-left: 0.08em; letter-spacing: 0; }

@media (max-width: 640px) {
  .site-footer { min-height: 0; }
  .footer-cell { min-height: 52px; }
  .footer-bar { flex-direction: column; }
  /* stacked: groups become full-width rows of cells */
  .footer-bar > .footer-cell:first-child { border-right: 0; border-bottom: 1px solid var(--rule); }
  /* cells may wrap onto a new row, so draw dividers on the right like the left-hand group */
  .footer-bar > .footer-group:last-child > .footer-cell { border-left: 0; border-right: 1px solid var(--rule); }
  .footer-bar--bottom > .footer-group:first-child { border-bottom: 1px solid var(--rule); }
}

/* ---------- Support launcher + FAQ chat ---------- */

.support-launcher {
  position: fixed;
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 40;
  width: 120px;
  transition: bottom 0.3s ease, transform 0.2s ease, opacity 0.2s ease;
}
.support-launcher:hover { transform: scale(1.06); }
.support-launcher img {
  display: block;
  width: 100%;
  height: auto;
  animation: support-ride 3.2s ease-in-out infinite;
}
@keyframes support-ride {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-2deg); }
}

/* "Need help?" bubble — support.js toggles .is-tipping */
.support-tip {
  position: absolute;
  right: 18px;
  bottom: calc(100% + 6px);
  padding: 7px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.support-launcher.is-tipping .support-tip { opacity: 1; transform: none; }

/* lift above the cookie bar while it's showing (both sit bottom-right) */
.has-cookie .support-launcher { bottom: calc(var(--gutter) + 52px); }

.support-panel {
  position: fixed;
  right: var(--gutter);
  bottom: calc(var(--gutter) + 104px);
  z-index: 45;
  display: flex;
  flex-direction: column;
  width: min(392px, calc(100vw - 2 * var(--gutter)));
  height: min(580px, calc(100svh - 150px));
  color: var(--ink);
  /* outline + soft lift that follow the perforated edge (box-shadow/border would be masked off).
     A hard offset shadow fills the perforations with black, so the lift is a blurred one. */
  filter:
    drop-shadow(1.5px 0 0 var(--ink)) drop-shadow(-1.5px 0 0 var(--ink))
    drop-shadow(0 1.5px 0 var(--ink)) drop-shadow(0 -1.5px 0 var(--ink))
    drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35));
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.support-panel.is-open { opacity: 1; transform: none; }
.support-panel[hidden] { display: none; }
.has-cookie .support-panel { bottom: calc(var(--gutter) + 156px); }

/* Postage-stamp paper: a grid of holes (radius --r, every 3·--r) centred on the edges, with the
   interior filled back in by the second layer — leaves only the half-circle perforations. */
.support-stamp {
  --r: 6px;
  height: 100%;
  padding: 14px;
  background: #fff;
  -webkit-mask:
    radial-gradient(var(--r), #0000 98%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)),
    linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
  mask:
    radial-gradient(var(--r), #0000 98%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)),
    linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
}

.support-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  background: #f6f3ea;
}

.support-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--ink);
  color: #f6f3ea;
}
.support-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--acid);
  border: 2px solid var(--acid);
  flex: none;
}
.support-who { flex: 1; min-width: 0; }
.support-title { margin: 0; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.support-status { margin: 2px 0 0; font-size: 12px; font-weight: 500; color: rgba(246, 243, 234, 0.65); }
.support-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--eyes);
  vertical-align: 1px;
}
.support-close { width: 32px; height: 32px; font-size: 16px; border-radius: 50%; }
.support-close:hover { background: rgba(246, 243, 234, 0.12); }

.support-log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.msg {
  max-width: 86%;
  margin: 0;
  padding: 10px 13px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.4;
  animation: msg-in 0.25s ease both;
}
.msg a { color: inherit; font-weight: 700; text-underline-offset: 2px; }
.msg--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.msg--user { align-self: flex-end; background: var(--acid); font-weight: 600; border-bottom-right-radius: 4px; }

.msg--typing { display: flex; gap: 4px; padding: 13px 14px; }
.msg--typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  animation: typing 1s ease-in-out infinite;
}
.msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.msg--typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes typing { 0%, 60%, 100% { opacity: 0.25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.chips { display: flex; flex-wrap: wrap; gap: 6px; animation: msg-in 0.25s ease both; }
.chip {
  padding: 7px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: background-color 0.15s, color 0.15s;
}
.chip:hover { background: var(--ink); color: var(--acid); }
.chip--human { background: var(--tongue); border-color: var(--tongue); color: #fff; }
.chip--human:hover { background: var(--ink); border-color: var(--ink); color: var(--acid); }

.support-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  border-top: 1.5px solid var(--ink);
  background: #fff;
}
.support-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
}
.support-form:focus-within { box-shadow: inset 0 0 0 2px var(--acid); }
.support-form button {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acid);
  font-size: 17px;
  font-weight: 800;
}

@media (max-width: 560px) {
  .support-launcher { width: 96px; }
  .support-panel,
  .has-cookie .support-panel {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    height: min(82svh, 640px);
  }
  /* the sheet covers the launcher's spot */
  .support-open .support-launcher { opacity: 0; pointer-events: none; }
  /* at the very top it would sit on "EVERYWHERE" — support.js tucks it until the page scrolls */
  .support-tucked .support-launcher { opacity: 0; transform: translateY(16px); pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .support-launcher img,
  .msg, .chips, .msg--typing span { animation: none; }
  .support-panel { transition: opacity 0.15s ease; transform: none; }
}

/* ---------- Product page ---------- */

/* The header sits under the announcement ticker and sticks, always as the solid bar (data-solid) */
/* Ticker and header both stick, so the columns below always start at --top-h — otherwise at the
   very top the ticker pushes the columns 26px past the bottom of the screen */
.page-product {
  --announce-h: 26px;
  --header-h: 61px;
  --top-h: calc(var(--announce-h) + var(--header-h));
  --pdp-line: rgba(10, 9, 1, 0.12);
  --pdp-muted: rgba(10, 9, 1, 0.64); /* at least 4.5:1 on the page and the phone bar */
  background: #fff;
}
/* body must be as tall as the page, or the sticky header runs out of room after one screen */
.page-product { height: auto; min-height: 100%; }
.page-product .site-header { position: sticky; top: var(--announce-h); }

.announce {
  position: sticky;
  top: 0;
  z-index: 21;
  display: flex;
  align-items: center;
  height: var(--announce-h);
  overflow: hidden;
  background: var(--acid);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.announce-track {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
}
.announce-track span { padding: 0 1.6em; }
.announce-track span::before { content: "✦"; margin-right: 1.6em; }

/* Proportions from the reference: info 27% | gallery 46% | buy 27% */
.pdp {
  display: grid;
  grid-template-columns: 27fr 46fr 27fr;
  align-items: start;
  color: var(--ink);
  background: #fff;
}

.pdp-col {
  position: sticky;
  top: var(--top-h);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  height: calc(100vh - var(--top-h));
  height: calc(100svh - var(--top-h));
  /* roomier bottom so Add to Cart and the accordions don't sit on the screen edge */
  padding: 20px 28px clamp(36px, 7vh, 72px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.pdp-col::-webkit-scrollbar { display: none; }

.pdp-crumbs { font-size: 12px; color: var(--pdp-muted); }
.pdp-crumbs a { text-decoration: none; }
.pdp-crumbs a:hover { color: var(--ink); text-decoration: underline; }

.pdp-title {
  margin: 22px 0 12px;
  font-size: clamp(30px, 2.7vw, 48px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.pdp-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pdp-price {
  margin: 0;
  font-size: clamp(26px, 2.3vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Accordions (native <details>) */
.pdp-acc { border-bottom: 1px solid var(--pdp-line); }
.pdp-acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  font-size: 13px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.pdp-acc[open] summary::after { transform: rotate(225deg) translate(-2px, 0); }
.pdp-acc-body { padding: 0 0 14px; font-size: 13px; line-height: 1.5; color: rgba(10, 9, 1, 0.72); }
.pdp-acc-body p { margin: 0 0 8px; white-space: pre-line; /* imported copy keeps its line breaks */ }
.pdp-acc-body ul { margin: 0; padding-left: 1.1em; }
.pdp-acc-body a { color: var(--ink); font-weight: 600; }

/* Gallery: each image one screen tall; the side columns stay put while it scrolls */
.pdp-gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #f2f2f0;
}
.pdp-gallery figure {
  height: calc(100vh - var(--top-h));
  height: calc(100svh - var(--top-h));
  margin: 0;
}
.pdp-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* anchored to the top: on wide screens the crop comes off the legs, never the model's head
     (the landscape shots set their own position inline) */
  object-position: 50% 0;
}
.pdp-count { display: none; }

/* Size / colour pickers: native radios, styled pills */
.pdp-field + .pdp-field { margin-top: 26px; }
.pdp-field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 11px;
  font-size: 13px;
  font-weight: 600;
}
.pdp-field-value { font-size: 12px; font-weight: 500; color: var(--pdp-muted); }

/* Highlights under the price */
.pdp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.pdp-tags li {
  padding: 5px 10px;
  border: 1px solid var(--pdp-line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
}
.pdp-tags li:first-child { background: var(--acid); border-color: var(--acid); }
.pdp-tags a { text-decoration: none; }
/* Sold out / Pre-order beside the price, and how a pre-order works under it */
.pdp-flag {
  padding: 7px 12px 6px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pdp-flag--soldout { background: var(--tongue); color: #fff; }
.pdp-flag--pre { border: 2px solid var(--ink); background: var(--acid); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: rotate(-2deg); }
.pdp-flag--soldout:not([hidden]) ~ .pdp-flag--pre { display: none; }
.pdp-preorder {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  border-left-width: 6px;
  border-radius: 8px;
  background: #fffbd1;
  font-size: 13.5px;
  line-height: 1.45;
}
.pdp-preorder p { margin: 0; }
.pdp-preorder p + p { margin-top: 4px; }
.pdp-tags a:hover { text-decoration: underline; }
.pdp-gallery figure { scroll-margin-top: var(--top-h, 87px); }

/* Size guide table — the chosen size's column is highlighted (product.js) */
.pdp-units {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--pdp-line);
  border-radius: 999px;
}
.pdp-units button {
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pdp-muted);
  transition: background-color 0.15s, color 0.15s;
}
.pdp-units button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.pdp-guide-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.pdp-guide-table th,
.pdp-guide-table td {
  height: 32px;
  padding: 0;
  text-align: center;
  border-bottom: 1px solid var(--pdp-line);
  transition: background-color 0.15s, color 0.15s;
}
.pdp-guide-table thead th { font-weight: 700; border-bottom-color: var(--ink); }
.pdp-guide-table tbody th { width: 58px; text-align: left; font-weight: 600; color: var(--pdp-muted); }
.pdp-guide-table tbody tr:last-child > * { border-bottom: 0; }
.pdp-guide-table .is-active { background: rgba(243, 230, 9, 0.35); font-weight: 700; }
.pdp-guide-table thead .is-active { background: var(--acid); border-radius: 6px 6px 0 0; }
.pdp-guide-table tbody tr:last-child .is-active { border-radius: 0 0 6px 6px; }

.pdp-guide-title { margin: 14px 0 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--pdp-muted); }
.pdp-guide-title:first-of-type { margin-top: 0; }
.pdp-guide-note {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--pdp-muted);
}
.pdp-guide-note a { color: var(--ink); font-weight: 600; }

.pdp-options { display: flex; flex-wrap: wrap; gap: 5px; }
.pdp-options label { position: relative; }
.pdp-options input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
}
.pdp-options span {
  display: grid;
  place-items: center;
  /* small enough for all eight sizes (S–5XL) to sit on one row, like the reference */
  min-width: 32px;
  height: 28px;
  padding: 0 7px;
  border: 1px solid rgba(10, 9, 1, 0.18);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.pdp-options label:hover span { border-color: var(--ink); }
.pdp-options input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pdp-options input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.pdp-options--swatch span {
  min-width: 0;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: center / cover no-repeat;
  box-shadow: 0 0 0 1px var(--pdp-line);
}
.pdp-options--swatch input:checked + span {
  background-color: transparent;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink);
}

.pdp-actions { display: flex; align-items: center; gap: 12px; }
.pdp-wish {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
}
.pdp-wish svg { fill: none; stroke: var(--ink); stroke-width: 1.6; transition: fill 0.2s, stroke 0.2s, transform 0.2s; }
.pdp-wish:hover svg { transform: scale(1.1); }
.pdp-wish[aria-pressed="true"] svg { fill: var(--tongue); stroke: var(--tongue); }
.pdp-add {
  flex: 1;
  height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}
.pdp-add:hover { background: var(--acid); color: var(--ink); }

.pdp-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.pdp-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  /* columns dissolve; their blocks are placed in one stack */
  .pdp {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "top" "gallery" "buy" "buy-bottom" "info";
  }
  .pdp-col { display: contents; }
  .pdp-info-top { grid-area: top; padding: 18px var(--gutter) 20px; }
  .pdp-gallery {
    grid-area: gallery;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .pdp-gallery::-webkit-scrollbar { display: none; }
  .pdp-gallery figure {
    flex: 0 0 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
  }
  /* "2 / 5" pill laid over the gallery's bottom-right corner (same grid area) */
  .pdp-count {
    display: block;
    grid-area: gallery;
    align-self: end;
    justify-self: end;
    z-index: 1;
    margin: 0 12px 12px 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(10, 9, 1, 0.75);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
  }
  .pdp-buy-top { grid-area: buy; padding: 22px var(--gutter) 0; }
  .pdp-buy-bottom { grid-area: buy-bottom; padding: 22px var(--gutter) 8px; }
  .pdp-info-bottom { grid-area: info; padding: 18px var(--gutter) 40px; }
}

@media (max-width: 640px) {
  .page-product { --header-h: 53px; }
}

@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
}

/* ---------- Shop page ---------- */

.page-shop { height: auto; min-height: 100%; background: var(--ink); }
.page-shop .site-header { position: sticky; top: 0; }

.shop-page {
  padding: 14px var(--gutter) clamp(64px, 6vw, 120px);
  background: var(--ink);
  color: #f2f0ea;
}
.shop-page::after { opacity: 0.07; filter: invert(1); mix-blend-mode: screen; }
.shop-page .section-head { margin-top: clamp(48px, 6vw, 120px); }
.shop-total { margin: 0; font-size: 15px; font-weight: 600; text-transform: uppercase; color: rgba(242, 240, 234, 0.55); }

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 22px;
}
.shop-filters a {
  padding: 8px 14px;
  border: 1px solid rgba(242, 240, 234, 0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.shop-filters a span { margin-left: 3px; color: rgba(242, 240, 234, 0.45); }
.shop-filters a:hover { border-color: #f2f0ea; }
.shop-filters a[aria-current] { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.shop-filters a[aria-current] span { color: rgba(10, 9, 1, 0.55); }

.shop-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.shop-list .product-media { aspect-ratio: 4 / 5; }
.shop-list .product-media img { object-position: 50% 15%; }
.shop-list .product-meta { align-items: baseline; font-size: 14px; }
.shop-list .product-name { min-width: 0; }
.shop-list .product-price { flex: none; }

/* Cards in the shop, on the homepage and the saved page.
   Sold out (prices.js keeps .is-sold-out live): the photo goes grey and a red stamp sits across it.
   Pre-order: an acid-yellow sticker in the top-right corner (the UV button has the top-left). */
.product .product-media { position: relative; }
/* the UV photo is left alone: it stays hidden until switched on, then shows in full colour */
.product.is-sold-out .product-media img:not(.product-uv) { filter: grayscale(1) contrast(0.9); opacity: 0.45; }
.product.is-sold-out .product-media::after {
  content: "Sold out";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  padding: 0.45em 1em 0.4em;
  border: 3px solid #fff;
  border-radius: 6px;
  background: var(--tongue);
  color: #fff;
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-8deg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.product.is-sold-out .product-price { text-decoration: line-through; }

.product-flag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 7px 12px 6px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--acid);
  color: var(--ink);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(4deg);
  box-shadow: 3px 3px 0 var(--ink);
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.product a:hover .product-flag { transform: rotate(-3deg) scale(1.06); }
.product.is-sold-out .product-flag { display: none; }

/* ---------- UV: real blacklight photo swaps in with a tube-flicker; Blacklight mode does them all ---------- */

:root { --uv-violet: #7a2dff; --uv-neon: #e9ff1f; }

.shop-head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.uv-master {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 7px;
  border: 1px solid rgba(242, 240, 234, 0.3);
  border-radius: 999px;
  color: #f2f0ea;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: border-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.uv-master:hover { border-color: #f2f0ea; }
.uv-master-switch {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: rgba(242, 240, 234, 0.2);
  transition: background-color 0.3s;
}
.uv-master-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f2f0ea;
  transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), background-color 0.3s, box-shadow 0.3s;
}
.uv-master[aria-pressed="true"] { border-color: var(--uv-violet); color: var(--uv-neon); box-shadow: 0 0 18px rgba(122, 45, 255, 0.55); }
.uv-master[aria-pressed="true"] .uv-master-switch { background: var(--uv-violet); }
.uv-master[aria-pressed="true"] .uv-master-switch::after { transform: translateX(16px); background: var(--uv-neon); box-shadow: 0 0 10px var(--uv-neon); }

.product { position: relative; } /* anchors the UV button */

/* UV photo stack (shop.js animates it): wrap = liquid SVG filter, clip = growing circle */
.product-uv-wrap {
  position: absolute;
  inset: -36px; /* bleed past the card (cropped by it) so the ripple never pulls in a bare edge */
  pointer-events: none;
  visibility: hidden;
}
.product-uv-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: circle(0 at 70px 61px);
}
.product-uv {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.product .product-media { transition: box-shadow 0.4s ease; }
.product.is-uv .product-media,
.uv-mode .product.uv-native .product-media {
  box-shadow: 0 0 0 2px var(--uv-violet), 0 0 28px 4px rgba(122, 45, 255, 0.6);
}

.uv-toggle {
  position: absolute; /* top-left: the UV photos carry the brand logo in their top-right corner */
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px 0 9px;
  border: 1px solid rgba(242, 240, 234, 0.3);
  border-radius: 999px;
  background: rgba(10, 9, 1, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #f2f0ea;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.uv-toggle::before { /* the "bulb" */
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(242, 240, 234, 0.45);
  transition: background-color 0.25s, box-shadow 0.25s;
}
.uv-toggle:hover { border-color: var(--uv-violet); }
.uv-toggle[aria-pressed="true"] {
  border-color: var(--uv-violet);
  background: var(--uv-violet);
  color: var(--uv-neon);
  text-shadow: 0 0 8px rgba(233, 255, 31, 0.8);
  box-shadow: 0 0 18px rgba(122, 45, 255, 0.85);
}
.uv-toggle[aria-pressed="true"]::before { background: var(--uv-neon); box-shadow: 0 0 8px var(--uv-neon); }

/* Blacklight mode: the room goes dark violet */
.page-shop, .shop-page { transition: background-color 0.7s ease; }
.uv-mode.page-shop, .uv-mode .shop-page { background-color: #0c0024; }
.uv-mode .shop-page .section-title { color: var(--uv-neon); text-shadow: 0 0 22px rgba(233, 255, 31, 0.45); transition: color 0.5s, text-shadow 0.5s; }


@media (max-width: 1100px) {
  .shop-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .shop-head-right { align-items: flex-start; }
  .uv-toggle { top: 8px; left: 8px; height: 28px; }
}
@media (max-width: 760px) {
  .shop-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 10px; }
  .shop-list .product-meta { flex-direction: column; gap: 2px; font-size: 13px; }
  .shop-filters { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; }
  .shop-filters::-webkit-scrollbar { display: none; }
  .shop-filters a { flex: none; }
}

/* ---------- Info + Contact pages (dark, like the shop) ---------- */

.page-info, .page-contact { height: auto; min-height: 100%; background: var(--ink); }
.page-contact { background: #0c0024; }
.page-info .site-header, .page-contact .site-header { position: sticky; top: 0; }

.info, .contact {
  padding: 14px var(--gutter) clamp(64px, 7vw, 140px);
  color: #f2f0ea;
}
.info { background: var(--ink); }
.contact { background: #0c0024; }
.info::after, .contact::after { opacity: 0.07; filter: invert(1); mix-blend-mode: screen; }
.info-hero .section-title, .contact-hero .section-title { margin-top: clamp(48px, 6vw, 120px); }
.contact-hero .section-title { color: var(--uv-neon); text-shadow: 0 0 26px rgba(233, 255, 31, 0.4); }

.info-label {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--acid);
}

.info-story {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: var(--gutter);
  margin-top: clamp(56px, 7vw, 120px);
}
.info-story-body { max-width: 62ch; }
.info-story-body p { margin: 0 0 1em; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; color: rgba(242, 240, 234, 0.82); }
.info-story-body .info-lead { font-size: clamp(22px, 2vw, 34px); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; color: #f2f0ea; }
.info-story-body strong { color: #f2f0ea; }

.info-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 6vw, 100px);
  border-top: 1px solid rgba(242, 240, 234, 0.18);
  border-bottom: 1px solid rgba(242, 240, 234, 0.18);
}
.info-facts > div { padding: 22px 0; }
.info-facts > div + div { padding-left: var(--gutter); border-left: 1px solid rgba(242, 240, 234, 0.18); }
.info-fact-num { margin: 0; font-size: clamp(26px, 3vw, 48px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.info-fact-label { margin: 8px 0 0; font-size: 13px; font-weight: 600; text-transform: uppercase; color: rgba(242, 240, 234, 0.55); }

.info-quote {
  margin: clamp(56px, 7vw, 120px) calc(-1 * var(--gutter)) 0;
  padding: clamp(28px, 4vw, 60px) var(--gutter);
  background: var(--acid);
  color: var(--ink);
}
.info-quote p { margin: 0; font-size: clamp(34px, 5.4vw, 104px); font-weight: 800; line-height: 0.95; letter-spacing: -0.045em; text-transform: uppercase; }

.info-video { margin-top: clamp(56px, 7vw, 120px); }
.info-video-frame { position: relative; aspect-ratio: 16 / 9; max-width: 1200px; background: #000; }
.info-video-frame iframe, .info-video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.info-video-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.25s; }
.info-video-play:hover img { opacity: 0.85; }
.info-video-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(64px, 7vw, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 32px);
  transform: translate(-50%, -50%);
  transition: transform 0.2s;
}
.info-video-play:hover .info-video-btn { transform: translate(-50%, -50%) scale(1.08); }

.info-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(56px, 7vw, 120px); }
.info-next-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(160px, 16vw, 260px);
  padding: 22px;
  border: 1px solid rgba(242, 240, 234, 0.25);
  text-decoration: none;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.info-next-title { font-size: clamp(26px, 3vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; }
.info-next-card:hover { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.info-next-card:hover .info-label { color: var(--ink); }
.info-next-card--uv:hover { background: var(--uv-violet); border-color: var(--uv-violet); color: var(--uv-neon); }
.info-next-card--uv:hover .info-label { color: var(--uv-neon); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 80px);
}
.contact-card {
  padding: 24px;
  border: 1px solid rgba(122, 45, 255, 0.55);
  background: rgba(122, 45, 255, 0.08);
}
.contact-card--visit { box-shadow: 0 0 40px rgba(122, 45, 255, 0.35); }
.contact-card .info-label { color: var(--uv-neon); }
.contact-blurb { margin: 0 0 18px; font-size: 15px; line-height: 1.5; color: rgba(242, 240, 234, 0.75); }
.contact-address { font-style: normal; font-size: clamp(20px, 1.7vw, 26px); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.contact-hours { margin: 14px 0 22px; font-size: 14px; color: rgba(242, 240, 234, 0.75); }
.contact-hours a, .contact-links a { color: var(--uv-neon); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-btn {
  padding: 10px 16px;
  border: 1px solid rgba(242, 240, 234, 0.35);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.contact-btn:hover { border-color: #f2f0ea; }
.contact-btn--primary { background: var(--uv-neon); border-color: var(--uv-neon); color: var(--ink); }
.contact-btn--primary:hover { background: #f2f0ea; border-color: #f2f0ea; }
.contact-map { min-height: 340px; border: 1px solid rgba(122, 45, 255, 0.55); background: #160a33; }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; filter: invert(0.9) hue-rotate(200deg) saturate(1.3); }
.contact-links { margin: 0 0 18px; padding: 0; list-style: none; }
.contact-links li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(242, 240, 234, 0.12); font-size: 15px; }
.contact-links span { color: rgba(242, 240, 234, 0.55); }
.contact-links a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; text-align: right; }
.contact-links a:hover { text-decoration: underline; }

.contact-photos {
  columns: 4 260px;
  column-gap: 12px;
  margin-top: clamp(40px, 5vw, 80px);
}
.contact-photo { margin: 0 0 12px; break-inside: avoid; overflow: hidden; background: #160a33; }
.contact-photo img { display: block; width: 100%; height: auto; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.contact-photo:hover img { transform: scale(1.04); }

@media (max-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-map { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
  .info-story { grid-template-columns: 1fr; }
  .info-facts { grid-template-columns: 1fr 1fr; }
  .info-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .info-facts > div:nth-child(n + 3) { border-top: 1px solid rgba(242, 240, 234, 0.18); }
  .info-next { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { grid-row: auto; }
  .contact-photos { columns: 2; column-gap: 8px; }
  .contact-photo { margin-bottom: 8px; }
}

/* ---------- Events page ---------- */

.page-events { height: auto; min-height: 100%; background: var(--ink); }
.page-events .site-header { position: sticky; top: 0; }
.events { padding: 14px var(--gutter) clamp(64px, 7vw, 140px); background: var(--ink); color: #f2f0ea; }
.events::after { opacity: 0.07; filter: invert(1); mix-blend-mode: screen; }
.events-hero .section-title { margin-top: clamp(48px, 6vw, 120px); }
.events-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-top: 26px; }
.events-intro p { max-width: 58ch; margin: 0; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.45; color: rgba(242, 240, 234, 0.82); }
.events-register {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.events-register:hover { background: var(--uv-neon); box-shadow: 0 0 26px rgba(233, 255, 31, 0.45); }

.ev-date { margin: 0; font-size: 14px; font-weight: 800; text-transform: uppercase; color: var(--acid); }
.ev-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: #f2f0ea; text-underline-offset: 3px; }
.ev-link:hover { color: var(--acid); }

/* click-to-load video (youtube.js) */
.ev-video { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.ev-video iframe, .ev-video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ev-video-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s; }
.ev-video-play:hover img { transform: scale(1.04); opacity: 0.85; }
.ev-video-play:hover .info-video-btn { transform: translate(-50%, -50%) scale(1.08); }

.events-body { display: contents; } /* filled per request; its sections lay out as before */
.ev-featured { margin-top: clamp(56px, 7vw, 120px); padding-top: 28px; border-top: 1px solid rgba(242, 240, 234, 0.18); }
.ev-featured-title { margin: 0 0 10px; font-size: clamp(34px, 4.6vw, 84px); font-weight: 800; line-height: 0.95; letter-spacing: -0.045em; text-transform: uppercase; }
.ev-featured-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(20px, 3vw, 48px); margin-top: 26px; }
.ev-featured-text p { margin: 0 0 1em; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; color: rgba(242, 240, 234, 0.82); }
.ev-lineup { border-top: 1px solid rgba(242, 240, 234, 0.18); border-bottom: 1px solid rgba(242, 240, 234, 0.18); }
.ev-lineup summary { padding: 14px 0; font-size: 13px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.ev-lineup-group { margin-bottom: 14px; }
.ev-lineup-label { margin: 0 0 4px !important; font-size: 11px !important; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--acid) !important; }
.ev-lineup-names { margin: 0 !important; font-size: 14px !important; line-height: 1.6 !important; }

.ev-scenes { margin-top: clamp(56px, 7vw, 120px); }
.ev-scenes-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  margin-right: calc(-1 * var(--gutter));
  padding-right: var(--gutter);
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.ev-scene { flex: 0 0 clamp(200px, 20vw, 300px); aspect-ratio: 3 / 4; overflow: hidden; scroll-snap-align: start; background: #1c1a12; }
.ev-scene img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ev-scene:hover img { transform: scale(1.05); }

.ev-past { margin-top: clamp(56px, 7vw, 120px); }
.ev-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(242, 240, 234, 0.18); }
.ev-item {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: clamp(16px, 2.5vw, 40px);
  padding: clamp(22px, 2.5vw, 36px) 0;
  border-bottom: 1px solid rgba(242, 240, 234, 0.18);
}
.ev-tag { margin: 6px 0 0; font-size: 13px; color: rgba(242, 240, 234, 0.55); }
.ev-item-title { margin: 0 0 10px; font-size: clamp(22px, 2.2vw, 36px); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; text-transform: uppercase; }
.ev-item-text { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(242, 240, 234, 0.78); }
.ev-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ev-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

.ev-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: clamp(56px, 7vw, 120px); }
.ev-cta-text { margin: 0 0 6px; font-size: clamp(34px, 5vw, 96px); font-weight: 800; line-height: 0.95; letter-spacing: -0.045em; text-transform: uppercase; }

@media (max-width: 900px) {
  .ev-featured-body { grid-template-columns: 1fr; }
  .ev-item { grid-template-columns: 1fr; gap: 10px; }
  .ev-item-media { margin-top: 8px; }
}
@media (max-width: 560px) {
  .ev-scene { flex-basis: 62vw; }
}

/* ---------- Policy pages (privacy, terms) ---------- */

.legal { max-width: 1180px; margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--gutter) 90px; }
.legal-title { margin: 8px 0 clamp(28px, 4vw, 48px); font-size: clamp(40px, 6vw, 96px); font-weight: 800; line-height: 0.92; letter-spacing: -0.045em; text-transform: uppercase; }
.legal-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.legal-toc { position: sticky; top: 85px; padding: 18px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; }
.legal-toc-title { margin: 0 0 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.legal-toc ol { margin: 0; padding-left: 1.2em; font-size: 13.5px; line-height: 1.7; }
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-content { max-width: 70ch; font-size: 16px; line-height: 1.65; color: rgba(10, 9, 1, 0.85); }
.legal-content .legal-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink); }
.legal-content h2 { margin: 2em 0 0.6em; scroll-margin-top: 85px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.legal-content p, .legal-content ul { margin: 0 0 1em; }
.legal-content ul { padding-left: 1.2em; }
.legal-content li { margin-bottom: 0.35em; }
.legal-content a { color: var(--ink); font-weight: 600; }
.checkout-legal { margin: 12px 0 0; font-size: 12.5px; color: rgba(10, 9, 1, 0.6); text-align: center; }
.checkout-legal a { color: var(--ink); font-weight: 600; }

@media (max-width: 860px) {
  .legal-body { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

/* ---------- 404 ---------- */

.page-404 { height: auto; min-height: 100%; background: #0c0024; }
.page-404 .site-header { position: sticky; top: 0; }
.notfound {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 61px);
  padding: 40px var(--gutter) 80px;
  background: #0c0024;
  color: #f2f0ea;
  text-align: center;
}
.notfound::after { opacity: 0.07; filter: invert(1); mix-blend-mode: screen; }
.notfound-title {
  display: flex;
  align-items: center;
  gap: 0.04em;
  margin: 10px 0 18px;
  font-size: clamp(120px, 26vw, 360px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--uv-neon);
  text-shadow: 0 0 40px rgba(233, 255, 31, 0.35);
}
.notfound-logo { animation: notfound-spin 9s linear infinite; }
@keyframes notfound-spin { to { transform: rotate(360deg); } }
.notfound-text { max-width: 36ch; margin: 0 0 28px; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.45; color: rgba(242, 240, 234, 0.8); }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (prefers-reduced-motion: reduce) { .notfound-logo { animation: none; } }

/* ---------- Product page: sticky buy bar on phones ---------- */

.pdp-bar-info { display: none; }
@media (max-width: 900px) {
  .page-product { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .pdp-buy-bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(10, 9, 1, 0.12);
    box-shadow: 0 -8px 24px rgba(10, 9, 1, 0.08);
  }
  .pdp-bar-info { display: flex; flex-direction: column; margin: 0; flex: none; line-height: 1.15; }
  .pdp-bar-price { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
  .pdp-bar-size { font-size: 12px; font-weight: 600; color: var(--pdp-muted); }
  .pdp-buy-bottom .pdp-actions { flex: 1; min-width: 0; }
  /* keep the cookie notice and toasts above the bar */
  .page-product.has-cookie .cookie { bottom: calc(var(--gutter) + 72px); }
  .page-product .pdp-toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
}

/* ---------- Saved items (heart) ---------- */

/* account + saved icons sit together, closer than the header's other items */
.header-icons { display: flex; align-items: center; gap: 6px; }

.saved-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: inherit;
}
.saved-link svg { fill: none; stroke: currentColor; stroke-width: 1.8; transition: fill 0.2s, transform 0.2s; }
.saved-link:hover svg { transform: scale(1.1); }
.saved-link:not(.account-link):has(.saved-count:not([hidden])) svg { fill: var(--tongue); stroke: var(--tongue); }
.saved-count {
  position: absolute;
  top: -2px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}
.page-contact .site-header .saved-count,
.uv-mode .site-header .saved-count { background: var(--uv-violet); color: var(--uv-neon); }

.saved-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 30px 0 60px; font-size: 18px; color: rgba(242, 240, 234, 0.8); }
.saved-empty p { margin: 0; }
.saved-remove {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: rgba(242, 240, 234, 0.6);
}
.saved-remove:hover { color: var(--tongue); }

/* ---------- Header cart button ---------- */

.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  font-weight: 600;
}
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}
.cart-count.is-empty { background: rgba(255, 255, 255, 0.18); color: var(--fg); }

/* ---------- Cart drawer ---------- */

.cart { position: fixed; inset: 0; z-index: 70; }
.cart[hidden] { display: none; }
.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 1, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  background: #fff;
  color: var(--ink);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cart.is-open .cart-backdrop { opacity: 1; }
.cart.is-open .cart-panel { transform: none; }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(10, 9, 1, 0.12);
}
.cart-title { margin: 0; font-size: 15px; font-weight: 800; text-transform: uppercase; }
.cart-close { width: 34px; height: 34px; border-radius: 50%; font-size: 16px; }
.cart-close:hover { background: rgba(10, 9, 1, 0.06); }

.cart-items { flex: 1; overflow-y: auto; padding: 8px 20px; overscroll-behavior: contain; }
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(10, 9, 1, 0.08);
}
.cart-item img { width: 72px; height: 90px; object-fit: cover; object-position: top; background: #f2f2f0; }
.cart-item-name { font-size: 14px; font-weight: 700; text-decoration: none; }
.cart-item-name:hover { text-decoration: underline; }
.cart-item-meta { margin: 3px 0 10px; font-size: 12.5px; color: rgba(10, 9, 1, 0.55); }
.cart-item-total { margin: 0; font-size: 14px; font-weight: 700; }
.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(10, 9, 1, 0.18);
  border-radius: 999px;
}
.cart-qty button { width: 30px; height: 28px; font-size: 15px; }
.cart-qty button:disabled { opacity: 0.3; }
.cart-qty span { min-width: 22px; text-align: center; font-size: 13px; font-weight: 700; }
.cart-remove { display: block; margin-top: 8px; font-size: 12px; color: rgba(10, 9, 1, 0.55); text-decoration: underline; }
.cart-empty { padding: 40px 0; text-align: center; }
.cart-empty a { font-weight: 700; }

.cart-foot { padding: 18px 20px 22px; border-top: 1px solid rgba(10, 9, 1, 0.12); }
.cart-foot[hidden] { display: none; }
.cart-row { display: flex; justify-content: space-between; margin: 0; font-size: 15px; font-weight: 800; }
.cart-hint { margin: 4px 0 14px; font-size: 12px; color: rgba(10, 9, 1, 0.55); }
.cart-checkout {
  display: grid;
  place-items: center;
  height: 48px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.cart-checkout:hover { background: var(--acid); color: var(--ink); }

/* sold-out sizes on the product page */
.pdp-options label.is-sold-out span { color: rgba(10, 9, 1, 0.3); background: repeating-linear-gradient(-45deg, transparent 0 4px, rgba(10, 9, 1, 0.06) 4px 5px); }
.pdp-options label.is-sold-out:hover span { border-color: rgba(10, 9, 1, 0.18); }
.pdp-add:disabled { background: #ece9df; color: var(--tongue); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; cursor: not-allowed; }

/* ---------- Plain pages (checkout, order): white, sticky solid header ---------- */

.page-plain { height: auto; min-height: 100%; background: #f6f5f1; color: var(--ink); }
/* the header is a dark bar: keep its own light text instead of inheriting the page's ink */
.page-plain .site-header { position: sticky; top: 0; color: var(--fg); }

/* `hidden` must win over the display values set on fields, panels and empty states */
[hidden] { display: none !important; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 13px; font-weight: 600; }
.field em { font-style: normal; font-weight: 500; color: rgba(10, 9, 1, 0.5); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(10, 9, 1, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  font-size: 15px;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }

/* ---------- Checkout ---------- */

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) var(--gutter) 80px;
}
.checkout-title { grid-column: 1 / -1; margin: 0 0 -8px; font-size: clamp(36px, 4vw, 56px); font-weight: 800; letter-spacing: -0.04em; text-transform: uppercase; line-height: 0.95; }
.checkout-form fieldset { margin: 0 0 18px; padding: 0; border: 0; }
.checkout-form legend { margin-bottom: 12px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.checkout-pay { margin: 4px 0 18px; padding: 16px 18px; border: 1.5px solid var(--ink); border-radius: 10px; background: #fff; font-size: 14px; line-height: 1.45; }
.checkout-pay p { margin: 0; }
.checkout-pay-title { margin-bottom: 4px !important; font-weight: 800; }
/* pay in full / pay a deposit (pre-orders) */
.pay-options { display: grid; gap: 8px; margin-top: 14px; }
.pay-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1.5px solid rgba(10, 9, 1, 0.2); border-radius: 8px; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.pay-option:hover { border-color: var(--ink); }
.pay-option:has(input:checked) { border-color: var(--ink); background: #fffbd1; }
.pay-option input { margin: 3px 0 0; accent-color: var(--ink); }
.pay-option span { display: flex; flex-direction: column; gap: 2px; }
.pay-option em { font-style: normal; font-size: 13px; color: rgba(10, 9, 1, 0.65); }
.checkout-error { margin: 0 0 14px; padding: 12px 14px; border-radius: 8px; background: #fde3e3; color: #8a1014; font-size: 14px; font-weight: 600; }
.checkout-paused { margin: 0 0 14px; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--acid); color: var(--ink); font-size: 14px; line-height: 1.45; font-weight: 700; }
.checkout-submit {
  width: 100%;
  height: 52px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s;
}
.checkout-submit:hover { background: var(--acid); color: var(--ink); }
.checkout-submit:disabled { background: rgba(10, 9, 1, 0.4); color: #fff; }

.checkout-summary {
  position: sticky;
  top: 85px;
  align-self: start;
  padding: 22px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: #fff;
}
.checkout-summary-title { margin: 0 0 12px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.summary-items { margin: 0; padding: 0; list-style: none; }
.summary-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(10, 9, 1, 0.08); }
.summary-items img { width: 56px; height: 70px; object-fit: cover; object-position: top; background: #f2f2f0; }
.summary-name { margin: 0; font-size: 14px; font-weight: 700; }
.summary-meta { margin: 2px 0 0; font-size: 12.5px; color: rgba(10, 9, 1, 0.55); }
.summary-price { margin: 0; font-size: 14px; font-weight: 700; }
.discount-form { display: flex; gap: 8px; margin-top: 16px; }
.discount-form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid rgba(10, 9, 1, 0.25); border-radius: 8px; font: inherit; font-size: 15px; text-transform: uppercase; }
.discount-form input::placeholder { text-transform: none; }
.discount-form button { height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.discount-msg { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #1d6b2c; }
.discount-msg.is-bad { color: #a3131a; }
.summary-totals, .order-totals, .admin-totals { margin: 14px 0 0; }
.summary-totals div, .order-totals div, .admin-totals div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; }
.summary-totals dt, .order-totals dt, .admin-totals dt { color: rgba(10, 9, 1, 0.6); }
.summary-totals dd, .order-totals dd, .admin-totals dd { margin: 0; font-weight: 600; }
.summary-total, .order-total, .admin-totals .is-total { margin-top: 6px; padding-top: 12px !important; border-top: 1.5px solid var(--ink); font-size: 17px !important; }
.summary-total dt, .order-total dt, .admin-totals .is-total dt { color: var(--ink); font-weight: 800; }
.summary-total dd, .order-total dd, .admin-totals .is-total dd { font-weight: 800; }
.summary-paynow { margin-top: 4px; }
.summary-paynow dt, .summary-paynow dd { color: var(--ink) !important; font-weight: 800 !important; }
.checkout-empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; font-size: 17px; }
.checkout-empty[hidden] { display: none; }
.checkout-empty a { font-weight: 700; }

@media (max-width: 860px) {
  /* phones: title, then the summary, then the form */
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .checkout-summary { position: static; grid-row: 2; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Order page ---------- */

.order { max-width: 720px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gutter) 90px; }
.order-loading { padding: 60px 0; text-align: center; color: rgba(10, 9, 1, 0.6); }
.order-skeleton .skel { display: block; }
.order-skeleton .is-kicker { width: 120px; height: 15px; }
.order-skeleton .is-heading { width: min(420px, 80%); height: clamp(34px, 6vw, 57px); margin: 10px 0 16px; border-radius: 10px; }
.order-skeleton .is-blurb { width: min(520px, 95%); height: 15px; }
.order-skeleton .order-card .skel + .skel { margin-top: 14px; }
.order-head { margin-bottom: 22px; }
.order-kicker { margin: 0; font-size: 15px; font-weight: 700; text-transform: uppercase; }
.order-title { margin: 6px 0 12px; font-size: clamp(34px, 6vw, 60px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; overflow-wrap: anywhere; }
.order-status, .badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: rgba(10, 9, 1, 0.08);
}
.order-status--pending_payment, .badge--pending_payment { background: var(--acid); }
.order-status--in_production, .badge--in_production { background: #e4d8ff; }
.order-status--balance_due, .badge--balance_due { background: #ffd6a3; }
.order-status--paid, .badge--paid { background: #cdeec9; }
.order-status--shipped, .badge--shipped { background: #cfe3ff; }
.order-status--completed, .badge--completed { background: var(--ink); color: #fff; }
.order-status--cancelled, .badge--cancelled { background: #f6d2d2; color: #8a1014; }
.order-blurb { margin: 12px 0 0; font-size: 15px; color: rgba(10, 9, 1, 0.7); }
.order-tracking { margin: 8px 0 0; font-size: 15px; }
.order-card { margin-bottom: 16px; padding: 22px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; }
.order-card h2 { margin: 0 0 12px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.order-pay { border-width: 2px; box-shadow: 6px 6px 0 var(--acid); }
.order-bank { margin: 0; }
.order-bank div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(10, 9, 1, 0.08); font-size: 15px; }
.order-bank dt { color: rgba(10, 9, 1, 0.6); }
.order-bank dd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.order-copy { padding: 3px 10px; border: 1px solid rgba(10, 9, 1, 0.25); border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.order-copy:hover { background: var(--ink); color: #fff; }
.order-next { margin: 14px 0 0; font-size: 14.5px; line-height: 1.5; }
.order-items { margin: 0; padding: 0; list-style: none; }
.order-items li, .admin-items li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid rgba(10, 9, 1, 0.08); font-size: 14.5px; }
.order-keep { font-size: 13px; color: rgba(10, 9, 1, 0.6); }
.order-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #e4d8ff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; vertical-align: 1px; }

/* Order progress: a vertical line of steps — done (filled), the one being waited for (ringed), still to come */
.order-steps { margin: 0; padding: 0; list-style: none; }
.order-steps li { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 0 0 18px; color: rgba(10, 9, 1, 0.45); }
.order-steps li:last-child { padding-bottom: 0; }
.order-steps li:not(:last-child)::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: rgba(10, 9, 1, 0.12); }
.order-steps li.is-done:not(:last-child)::before { background: var(--ink); }
.order-step-dot { position: relative; z-index: 1; width: 22px; height: 22px; border: 2px solid rgba(10, 9, 1, 0.2); border-radius: 50%; background: #fff; }
.order-steps .is-done .order-step-dot { border-color: var(--ink); background: var(--ink); }
.order-steps .is-done .order-step-dot::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--acid); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.order-steps .is-current .order-step-dot { border-color: var(--ink); background: var(--acid); box-shadow: 0 0 0 4px rgba(243, 230, 9, 0.35); }
.order-steps li.is-done, .order-steps li.is-current { color: var(--ink); }
.order-steps strong { display: block; padding-top: 1px; font-size: 15px; line-height: 1.3; }
.order-steps li > div > span { display: block; margin-top: 2px; font-size: 13.5px; color: rgba(10, 9, 1, 0.6); }
@media (prefers-reduced-motion: no-preference) {
  .order-steps .is-current .order-step-dot { animation: order-step-pulse 1.8s ease-in-out infinite; }
}
@keyframes order-step-pulse { 50% { box-shadow: 0 0 0 7px rgba(243, 230, 9, 0.15); } }
.order-link { font-weight: 700; }

/* ---------- Admin ---------- */

.admin { min-height: 100%; height: auto; background: #f1f0eb; color: var(--ink); }
.admin [hidden] { display: none !important; }

.admin-login { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.admin-login-card { width: min(360px, 100%); padding: 32px 28px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; box-shadow: 8px 8px 0 var(--acid); }
.admin-login-card img { display: block; width: 72px; height: 72px; margin: 0 auto 8px; }
.admin-login-card h1 { margin: 0 0 20px; text-align: center; font-size: 22px; font-weight: 800; text-transform: uppercase; }
.admin-error { margin: 0 0 12px; color: #a3131a; font-size: 14px; font-weight: 600; }

.admin-btn { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 700; transition: background-color 0.15s, color 0.15s; }
.admin-btn--primary { background: var(--ink); color: #fff; }
.admin-btn--primary:hover { background: var(--acid); color: var(--ink); }
.admin-btn--primary:disabled { background: rgba(10, 9, 1, 0.3); }
.admin-btn--danger { margin-top: 18px; border: 1.5px solid #b3141b; color: #b3141b; }
.admin-btn--danger:hover { background: #b3141b; color: #fff; }
.admin-login-card .admin-btn { width: 100%; }

.admin-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px var(--gutter);
  background: var(--ink);
  color: #fff;
}
.admin-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-transform: uppercase; text-decoration: none; }
.admin-brand img { width: 36px; height: 36px; }
.admin-brand span { color: var(--acid); }
.admin-tabs { display: flex; gap: 4px; margin-left: auto; }
.admin-tabs button { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.7); }
.admin-tabs button[aria-pressed="true"] { background: var(--acid); color: var(--ink); }
.admin-logout { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.7); text-decoration: underline; }

.admin-main { padding: 22px var(--gutter) 60px; }
/* each section is a centred column on wide screens */
.admin-view { max-width: 980px; margin-inline: auto; }
.admin-view[data-view="orders"] { max-width: 1280px; }
.admin-view[data-view="settings"] { max-width: 640px; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.admin-filters button { padding: 7px 12px; border: 1.5px solid rgba(10, 9, 1, 0.2); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; }
.admin-filters button span { margin-left: 2px; color: rgba(10, 9, 1, 0.5); }
.admin-filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.admin-filters button[aria-pressed="true"] span { color: var(--acid); }

.admin-orders { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.admin-orders:has(.admin-detail:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); }
.admin-table-wrap { overflow-x: auto; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { padding: 11px 14px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; color: rgba(10, 9, 1, 0.55); border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid rgba(10, 9, 1, 0.08); white-space: nowrap; }
.admin-table tbody tr { cursor: pointer; }
.admin-table tbody tr:hover, .admin-table tbody tr.is-selected { background: rgba(243, 230, 9, 0.25); }
.admin-table .num { text-align: right; }
.mono { font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: 0.01em; }
.admin-empty { margin: 0; padding: 30px; text-align: center; color: rgba(10, 9, 1, 0.55); }

.admin-detail { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow-y: auto; padding: 20px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; font-size: 14px; }
.admin-detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-detail-head h2 { margin: 0; font-size: 18px; }
.admin-detail-close { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; }
.admin-detail-close:hover { background: rgba(10, 9, 1, 0.08); }
.admin-detail h3 { margin: 18px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; color: rgba(10, 9, 1, 0.55); }
.admin-detail p, .admin-detail address { margin: 2px 0; font-style: normal; line-height: 1.45; }
.admin-detail a { font-weight: 600; }
.admin-detail-form { margin-top: 14px; padding: 14px 14px 4px; border-radius: 10px; background: #f6f5f1; }
.admin-detail-form .admin-btn { width: 100%; margin-bottom: 10px; }
.admin-note { padding: 10px 12px; border-radius: 8px; background: #fff8c2; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-note--pre { background: #efe8ff; white-space: normal; line-height: 1.5; }
.admin-preorder { margin-top: 12px; }
.admin-items { margin: 0; padding: 0; list-style: none; }
.admin-hint { margin: 4px 0 12px; font-size: 12.5px; color: rgba(10, 9, 1, 0.55); }

.admin-card { margin-bottom: 16px; padding: 22px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; }
.admin-card h2 { margin: 0 0 4px; font-size: 16px; font-weight: 800; text-transform: uppercase; }
.admin-settings h2:not(:first-child) { margin-top: 22px; }
.admin-check { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.admin-check input { width: 18px; height: 18px; accent-color: var(--ink); }
.admin-label { margin: 6px 0 8px; font-size: 13px; font-weight: 600; }
/* products: sizes & stock — one row per size */
.admin-sizes { display: grid; gap: 6px; max-width: 560px; margin-bottom: 12px; }
.admin-size { display: grid; grid-template-columns: minmax(44px, 80px) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.admin-size.is-head { font-size: 12px; font-weight: 700; color: rgba(10, 9, 1, 0.55); }
.admin-size strong { font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.admin-size input { width: 100%; padding: 8px; border: 1px solid rgba(10, 9, 1, 0.2); border-radius: 8px; font: inherit; font-size: 14px; font-weight: 600; }
.admin-size input.is-zero { border-color: #b3141b; background: #fdeaea; }
.admin-size .admin-size-price { font-weight: 500; }
.admin-size .admin-photo-tools button { flex: none; width: 30px; height: 32px; }
.admin-addsize { display: flex; gap: 8px; max-width: 560px; margin-bottom: 16px; }
.admin-addsize input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid rgba(10, 9, 1, 0.2); border-radius: 8px; font: inherit; font-size: 14px; }
@media (max-width: 640px) {
  .admin-size { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr) auto; gap: 6px; }
  .admin-size input { padding: 8px 6px; }
  .admin-size .admin-photo-tools { gap: 2px; }
  .admin-size .admin-photo-tools button { width: 26px; }
}
.admin-stock-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.admin-stock-tools .field { flex: 1 1 280px; margin-bottom: 14px; }
.admin-stock-tools .admin-btn { margin-bottom: 14px; }
.admin-stock-tools .admin-source { flex: 0 1 240px; }
.admin-old { margin-left: 8px; padding: 2px 7px; border-radius: 999px; background: #ece9df; color: rgba(10, 9, 1, 0.6); font-family: var(--font); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.admin-old.admin-pre { background: #e4d8ff; color: var(--ink); }
.admin-pager { position: sticky; left: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px; border-top: 1px solid rgba(10, 9, 1, 0.08); }
.admin-pager-info { display: flex; align-items: center; gap: 12px; color: rgba(10, 9, 1, 0.6); font-size: 13px; }
.admin-pager select { height: 34px; padding: 0 10px; border: 1.5px solid rgba(10, 9, 1, 0.2); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; }
.admin-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.admin-pages button { min-width: 34px; height: 34px; padding: 0 8px; border: 1.5px solid rgba(10, 9, 1, 0.2); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.admin-pages button[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.admin-pages button:disabled { opacity: 0.3; }
.admin-pages span { padding: 0 2px; color: rgba(10, 9, 1, 0.5); }
@media (max-width: 640px) {
  .admin-pages { gap: 3px; }
  .admin-pages button { min-width: 30px; height: 32px; padding: 0 6px; }
}

/* products: list */
.admin-new .field-row { grid-template-columns: 2fr 1.4fr 1fr; }
@media (min-width: 641px) { #code-editor .field-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#code-editor .admin-new { margin-bottom: 16px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-btn--small { height: 34px; padding: 0 14px; border: 1.5px solid rgba(10, 9, 1, 0.25); font-size: 13px; }
.admin-btn--small:hover { border-color: var(--ink); }
.admin-btn.is-danger, .admin-photo-tools .is-danger { color: #b3141b; }
.admin-plist { margin: 0; padding: 0; list-style: none; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; overflow: hidden; }
.admin-prow { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto 90px; align-items: center; gap: 14px; padding: 8px 14px; border-bottom: 1px solid rgba(10, 9, 1, 0.08); cursor: pointer; font-size: 14px; }
.admin-prow:last-child { border-bottom: 0; }
.admin-prow:hover, .admin-prow:focus-visible { background: rgba(243, 230, 9, 0.25); }
.admin-prow img { width: 48px; height: 60px; object-fit: cover; border-radius: 6px; background: #eee; }
.admin-prow-name { font-weight: 700; }
.admin-prow-stock { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; font-size: 11.5px; font-weight: 600; color: rgba(10, 9, 1, 0.6); }
.admin-prow-stock span { padding: 1px 6px; border-radius: 6px; background: rgba(10, 9, 1, 0.06); font-variant-numeric: tabular-nums; }
.admin-prow-stock .is-out { background: #fdeaea; color: #b3141b; }
.admin-prow-cat { color: rgba(10, 9, 1, 0.55); font-size: 13px; }
.admin-prow-tags { display: flex; gap: 6px; }
.admin-prow-price { text-align: right; font-variant-numeric: tabular-nums; }
.skel.is-thumb { display: block; height: 60px; }
.skel.is-filter { height: 33px; }
.skel.is-value { height: 26px; margin-top: 8px; }
.skel.is-hero { height: 46px; margin-top: 8px; }
.skel-chart { display: flex; align-items: flex-end; gap: 4px; height: 240px; margin: 14px 0 32px 56px; }
.skel-chart .skel { flex: 1; border-radius: 4px 4px 0 0; }
@media (max-width: 640px) {
  .admin-card { padding: 16px; }
  .admin-prow { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .admin-prow-cat, .admin-prow-price { display: none; }
  .admin-new .field-row { grid-template-columns: 1fr; }
}

/* products: editor */
.admin-editor-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 16px; }
.admin-editor-head h2 { margin: 0; font-size: 22px; font-weight: 800; }
.admin-editor-head a { margin-left: auto; font-size: 14px; font-weight: 600; }
.admin-back { font-size: 14px; font-weight: 700; text-decoration: underline; }
.admin-editor .field textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
.admin-editor .field em { font-size: 12.5px; }
.admin-editor-head .badge { font-size: 11px; }
/* the product editor's main sections are numbered; folded ones aren't */
.admin-editor--steps { counter-reset: step; }
.admin-editor--steps > .admin-card > h2 { counter-increment: step; }
.admin-editor--steps > .admin-card > h2::before { content: counter(step, decimal-leading-zero); margin-right: 10px; color: rgba(10, 9, 1, 0.35); }
.admin-fold { padding: 0; }
.admin-fold > summary { display: flex; align-items: baseline; gap: 10px; padding: 18px 22px; cursor: pointer; list-style: none; }
.admin-fold > summary::-webkit-details-marker { display: none; }
.admin-fold > summary::after { content: "+"; margin-left: auto; font-size: 20px; font-weight: 700; line-height: 1; }
.admin-fold[open] > summary::after { content: "–"; }
.admin-fold > summary h2 { margin: 0; }
.admin-fold-meta { font-size: 13px; color: rgba(10, 9, 1, 0.55); }
.admin-fold-body { padding: 0 22px 22px; }
@media (max-width: 640px) {
  .admin-fold > summary { padding: 16px; }
  .admin-fold-body { padding: 0 16px 16px; }
}
.admin-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 4px 0 12px; padding: 0; list-style: none; }
.admin-photo { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid rgba(10, 9, 1, 0.15); border-radius: 10px; background: #faf9f5; }
.admin-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: #eee; }
.admin-photo input:not([type]) { width: 100%; padding: 6px 8px; border: 1px solid rgba(10, 9, 1, 0.2); border-radius: 6px; font: inherit; font-size: 12.5px; }
.admin-photo .admin-check { margin: 0; font-size: 12.5px; }
.admin-photo-main { position: absolute; top: 14px; left: 14px; padding: 3px 8px; border-radius: 999px; background: var(--acid); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.admin-photo-tools { display: flex; gap: 4px; }
.admin-photo-tools button { flex: 1; height: 28px; border: 1px solid rgba(10, 9, 1, 0.2); border-radius: 6px; background: #fff; font-size: 12px; font-weight: 700; }
.admin-photo-tools button:disabled { opacity: 0.35; }
.admin-photo-tools .is-uv[aria-pressed="true"] { border-color: var(--uv-violet); background: var(--uv-violet); color: #fff; }
.admin-cardphoto { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(10, 9, 1, 0.08); }
.admin-cardphoto img { width: 44px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.admin-cardphoto .admin-label, .admin-cardphoto .admin-hint { margin: 0; }
@media (max-width: 640px) {
  .admin-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
.admin-guide { margin-bottom: 16px; padding: 14px; border-radius: 10px; background: #f6f5f1; }
.admin-guide .field-row input { width: 100%; margin-bottom: 10px; padding: 8px 10px; border: 1px solid rgba(10, 9, 1, 0.2); border-radius: 8px; font: inherit; font-size: 14px; }
.admin-guide .admin-table-wrap { margin-bottom: 10px; border-width: 1px; }
.admin-guide-table { border-collapse: collapse; font-size: 13px; }
.admin-guide-table th { padding: 8px 6px; font-size: 12px; text-align: left; white-space: nowrap; }
.admin-guide-table td { padding: 4px 3px; }
.admin-guide-table input { width: 64px; padding: 6px 7px; border: 1px solid rgba(10, 9, 1, 0.2); border-radius: 6px; font: inherit; }
.admin-guide-table td:first-child input { width: 110px; }
.admin-guide-table tr > :first-child { padding-left: 8px; }
.admin-guide-table tr > :last-child { padding-right: 8px; }
/* the table scrolls sideways (overflow: auto), so an outside focus ring would be cut off: draw it inside */
.admin-guide-table input:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; border-color: var(--ink); }
.admin-x { width: 28px; height: 28px; border-radius: 50%; color: #b3141b; }
.admin-savebar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; background: #f1f0eb; }
.admin-savebar .admin-btn--danger { margin-top: 0; }
/* reports */
.report-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 14px; }
.report-filters .field { min-width: 170px; }
.report-filters .admin-check { margin-bottom: 22px; }
.report-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.report-tile { padding: 16px 18px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; }
.report-tile.is-hero { grid-column: span 2; }
.report-tile-label { margin: 0; font-size: 13px; font-weight: 600; color: rgba(10, 9, 1, 0.64); }
.report-tile-value { margin: 4px 0 0; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.report-tile.is-hero .report-tile-value { font-size: 48px; line-height: 1.05; }
.report-tile-note { margin: 6px 0 0; font-size: 12.5px; color: rgba(10, 9, 1, 0.64); }
.rc { position: relative; margin: 14px 0 6px; padding-left: 56px; }
.rc-grid { position: absolute; inset: 0 0 26px 56px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.rc-line { position: relative; border-top: 1px solid rgba(10, 9, 1, 0.1); }
.rc-line:last-child { border-top-color: rgba(10, 9, 1, 0.35); }
.rc-line span { position: absolute; right: calc(100% + 8px); top: -8px; font-size: 11.5px; color: rgba(10, 9, 1, 0.64); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rc-bars { position: relative; display: flex; align-items: flex-end; gap: 2px; height: 240px; }
.rc-col { flex: 1 1 0; display: flex; align-items: flex-end; justify-content: center; height: 100%; cursor: default; }
.rc-bar { width: 100%; max-width: 24px; min-height: 0; border-radius: 4px 4px 0 0; background: var(--ink); }
.rc-col:hover .rc-bar { background: #5b5a52; }
.rc-x { display: flex; gap: 2px; height: 26px; padding-top: 6px; }
.rc-x span { flex: 1 1 0; overflow: visible; white-space: nowrap; font-size: 11.5px; color: rgba(10, 9, 1, 0.64); }
.rc-tip { position: absolute; top: 0; z-index: 2; display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: #fff; box-shadow: 0 4px 16px rgba(10, 9, 1, 0.18); font-size: 12.5px; transform: translateX(-50%); pointer-events: none; white-space: nowrap; }
.rc-tip span { font-variant-numeric: tabular-nums; }
.report-table summary { cursor: pointer; font-size: 13px; font-weight: 700; }
.report-table .admin-table-wrap { max-height: 320px; margin-top: 10px; overflow-y: auto; }
.report-cats { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.report-cats li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 110px 120px; align-items: center; gap: 12px; font-size: 14px; }
.rcat-label { font-weight: 600; }
.rcat-track { height: 14px; }
.rcat-fill { display: block; height: 100%; min-width: 2px; border-radius: 0 4px 4px 0; background: var(--ink); }
.rcat-value { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.rcat-note { color: rgba(10, 9, 1, 0.64); font-size: 12.5px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .report-tile.is-hero { grid-column: 1 / -1; }
  .report-tile.is-hero .report-tile-value { font-size: 36px; }
  .report-cats li { grid-template-columns: minmax(0, 1fr) auto; }
  .rcat-track { grid-column: 1 / -1; grid-row: 2; }
  .rcat-note { grid-column: 1 / -1; }
}
.admin-faq { display: grid; gap: 6px; margin-bottom: 12px; padding: 12px; border-radius: 10px; background: #f6f5f1; }
.admin-faq input, .admin-faq textarea { width: 100%; padding: 8px 10px; border: 1px solid rgba(10, 9, 1, 0.2); border-radius: 8px; font: inherit; font-size: 14px; }
.admin-faq input:first-child { font-weight: 700; }
.admin-faq .admin-photo-tools { max-width: 260px; }
.admin-settings #faq-add { margin-bottom: 20px; }

.admin-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.admin-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.admin-toast.is-bad { background: #b3141b; }

@media (max-width: 900px) {
  .admin-orders:has(.admin-detail:not([hidden])) { grid-template-columns: minmax(0, 1fr); }
  .admin-detail { position: static; max-height: none; }
  .admin-bar { flex-wrap: wrap; gap: 10px; }
  .admin-tabs { order: 3; width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; } /* eight tabs: swipe sideways */
  .admin-tabs button { flex-shrink: 0; }
}

/* ---------- ACMY Squad (homepage, under The Tribe) ---------- */

.squad { margin-top: clamp(48px, 6vw, 96px); }
.squad-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.squad-title { margin: 0; font-size: clamp(28px, 3vw, 52px); font-weight: 800; letter-spacing: -0.04em; text-transform: uppercase; line-height: 1; }
.squad-note { margin: 0; font-size: 15px; font-weight: 600; }
.squad-note a { color: var(--ink); }
.squad-strip {
  display: flex;
  gap: 12px;
  margin: 0 calc(-1 * var(--gutter)) 0 0;
  padding: 0 var(--gutter) 10px 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.squad-strip li { flex: 0 0 clamp(170px, 17vw, 260px); scroll-snap-align: start; }
.squad-strip a { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #d9cd08; }
.squad-strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.squad-strip a:hover img { transform: scale(1.05); }
@media (max-width: 560px) { .squad-strip li { flex-basis: 58vw; } }

/* ---------- Cookie bar ---------- */

.cookie {
  position: fixed;
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 7px 10px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 600;
}
.cookie p { margin: 0 32px 0 0; }
.cookie button { text-decoration: underline; text-underline-offset: 2px; }
.cookie[hidden] { display: none; }

/* ---------- Showreel modal ---------- */

.reel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: #000;
}
.reel[hidden] { display: none; }

.reel-video { width: 100%; height: 100%; object-fit: contain; }

.reel-close {
  position: absolute;
  top: var(--gutter);
  right: var(--gutter);
  z-index: 2;
  font-weight: 600;
  text-transform: uppercase;
  mix-blend-mode: difference;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .intro { display: none; }
}

@media (max-width: 1100px) {
  /* cookie bar spans the bottom, so lift the headline above it while it's showing */
  .cookie { left: var(--gutter); }
  .cookie p { margin-right: auto; }
  .has-cookie .hero-title { bottom: 64px; }
}

@media (max-width: 860px) {
  .latest { display: none; }
}

@media (max-width: 640px) {
  .brand { width: 52px; height: 52px; }
  .is-scrolled .brand { width: 40px; height: 40px; }

  .menu-toggle { display: block; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: rgba(11, 6, 18, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a {
    color: var(--fg);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
    padding: 6px 0;
  }
  /* UV pages: the dropdown continues the neon-yellow header */
  .page-contact .nav,
  .uv-mode .nav {
    background: var(--uv-neon);
    border-bottom-color: transparent;
    box-shadow: 0 14px 34px rgba(122, 45, 255, 0.55);
  }
  .page-contact .site-header .nav a,
  .uv-mode .site-header .nav a { color: var(--ink); }

  .hero-title { font-size: clamp(36px, 12.5vw, 80px); }
  /* one word per line: WE / ARE / EVERYWHERE */
  .hero-word { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .showreel-btn { transition: none; }
}

/* ---------- My orders (/account/) ---------- */

.account-form .pdp-add { width: 100%; }
.account-form .field input { font-size: 16px; }
.account-logout { font-weight: 700; text-decoration: underline; }
.account-orders { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.account-order { display: block; margin: 0; color: inherit; text-decoration: none; transition: box-shadow 0.15s, transform 0.15s; }
.account-order:hover { box-shadow: 5px 5px 0 var(--acid); transform: translate(-2px, -2px); }
.account-order-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.account-order-head .order-status { margin: 0; }
.account-order-meta { margin: 10px 0 4px; font-size: 14px; font-weight: 600; }
.account-order-items { margin: 0; font-size: 13.5px; line-height: 1.45; color: rgba(10, 9, 1, 0.65); }
