/* Self-hosted webfonts -------------------------------------------------------
   Impact and Arial Narrow are not installed on iOS or Android, so headings fell
   back to generic sans-serif on phones. Anton is the standard free substitute
   and is already licensed in several of the templates.

   Anton ships a single weight. The 100-1000 range below maps every requested
   weight onto that one face, which stops browsers synthesising a fake bold.

   font-display: swap renders fallback text immediately and swaps when the font
   arrives, rather than leaving headings invisible while it loads. */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-400-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  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+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-400-latin-ext.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  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+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-700-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --black: #050505;
  --ink: #111111;
  --white: #fffdf6;
  --lime: #c7ff00;
  --pink: #ff45b5;
  --violet: #8d38ff;
  --mint: #63efbe;
  --yellow: #ffe44d;
  --coral: #ff6c58;
  --neon-red: #ff2147;
  --rose: #e73b84;
  --electric-blue: #246bff;
  --muted: #c8c4cf;
  --line: rgba(255, 253, 246, 0.72);
  --page-width: 1540px;
  --display: "Anton", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 0.65px, transparent 0.65px);
  background-size: 9px 9px;
  content: "";
  opacity: 0.28;
  pointer-events: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border: 3px solid var(--white);
  background: var(--lime);
  color: var(--black);
  font-weight: 900;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  width: min(calc(100% - 3rem), var(--page-width));
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.header-topline {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: 0.018em;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.65vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
  text-transform: none;
}

.brand-template {
  color: var(--white);
}

.brand-deals {
  color: var(--lime);
}

.brand-dot {
  color: var(--violet);
  font-size: 0.68em;
}

.brand-spark {
  color: var(--pink);
  font-size: 2rem;
  animation: spark-spin 9s linear infinite;
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.55rem;
  padding: 0.48rem;
  border: 3px solid var(--lime);
  background: var(--black);
  box-shadow: 4px 4px 0 var(--violet);
  cursor: pointer;
}

.menu-toggle > span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--white);
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle > span + span {
  margin-top: 0.28rem;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(0.44rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-0.44rem) rotate(-45deg);
}

.utility-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2.2vw, 2.4rem);
}

.utility-link {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.utility-link:hover {
  color: var(--mint);
}

.utility-link[href="contact.html"]:hover {
  color: var(--pink);
}

.category-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2.2vw, 2.4rem);
  min-width: 0;
  padding: 0.65rem 0 0.85rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.nav-item,
.new-link {
  --hover-color: var(--lime);
  position: relative;
  flex: 0 0 auto;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: color 160ms ease, transform 160ms ease;
}

.nav-item::after {
  position: absolute;
  right: 0;
  bottom: -0.44rem;
  left: 0;
  height: 4px;
  background: var(--hover-color);
  box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.16);
  content: "";
  transform: scaleX(0) skewX(-16deg);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-item:hover,
.nav-item:focus-visible,
.nav-item.is-active {
  color: var(--hover-color);
  transform: translateY(-2px);
}

.nav-item:hover::after,
.nav-item:focus-visible::after,
.nav-item.is-active::after {
  transform: scaleX(1) skewX(-16deg);
}

.nav-all { --hover-color: var(--lime); }
.nav-big { --hover-color: var(--pink); }
.nav-show { --hover-color: var(--mint); }
.nav-sell { --hover-color: var(--violet); }
.nav-creative { --hover-color: var(--yellow); }
.nav-living { --hover-color: var(--coral); }

.new-link {
  margin-left: 0;
  padding: 0.2rem 0.65rem;
  border: 2px solid var(--black);
  background: var(--violet);
  box-shadow: 3px 3px 0 var(--lime);
  transform: rotate(-3deg);
}

.header-menu-flair {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding-inline: 0.35rem;
}

.header-menu-flair img {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
}

.header-menu-flair img:nth-child(2) {
  width: 1.05rem;
  height: 1.05rem;
  transform: rotate(-9deg);
}

.header-menu-flair > span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 1rem 0 0 var(--pink);
}

.new-link:hover {
  background: var(--pink);
  transform: rotate(2deg) translateY(-2px);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  grid-template-rows: min-content 1fr;
  grid-template-areas:
    "copy rotator"
    "lead rotator";
  align-items: center;
  column-gap: clamp(2.5rem, 5vw, 6rem);
  row-gap: 0;
  width: min(calc(100% - 3rem), var(--page-width));
  margin-inline: auto;
  padding: clamp(0.5rem, 0.9vw, 0.9rem) 0 clamp(4rem, 7vw, 7rem);
}

.hero::after {
  content: none;
}

.hero-copy {
  position: relative;
  isolation: isolate;
  z-index: 3;
  grid-area: copy;
  align-self: start;
}

.hero-lead {
  position: relative;
  isolation: isolate;
  z-index: 3;
  grid-area: lead;
  align-self: start;
}

.hero-copy::before {
  content: none;
}

.hero-copy::after {
  content: none;
}

.flair-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
  user-select: none;
}

.flair {
  position: absolute;
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  filter: none;
  opacity: 1;
}

/* ---- Animated flair ------------------------------------------------------
   Each piece drifts along a random vector and either rocks back and forth or
   turns very slowly. Motion uses the individual `translate` / `rotate`
   properties so the static `transform: rotate(...)` tilt on each flair rule is
   preserved. Randomised per element by assets/js/app.js.
   Stacking is untouched: flair stays on .flair-layer (z-index 1) behind all
   copy, cards and media. */
.flair,
.detail-flair img {
  --flair-dx: 0px;
  --flair-dy: 0px;
  --flair-tilt: 5deg;
  --flair-drift-duration: 22s;
  --flair-rot-duration: 14s;
  --flair-delay: 0s;
  --flair-turn-end: 360deg;
  animation:
    flair-drift var(--flair-drift-duration) ease-in-out var(--flair-delay) infinite,
    flair-rock var(--flair-rot-duration) ease-in-out var(--flair-delay) infinite;
}

.flair.flair-spin,
.detail-flair img.flair-spin {
  animation:
    flair-drift var(--flair-drift-duration) ease-in-out var(--flair-delay) infinite,
    flair-turn var(--flair-rot-duration) linear var(--flair-delay) infinite;
}

@keyframes flair-drift {
  0% {
    translate: 0 0;
  }

  25% {
    translate: var(--flair-dx) var(--flair-dy);
  }

  50% {
    translate: calc(var(--flair-dx) * -0.55) calc(var(--flair-dy) * 0.85);
  }

  75% {
    translate: calc(var(--flair-dx) * 0.45) calc(var(--flair-dy) * -0.9);
  }

  100% {
    translate: 0 0;
  }
}

@keyframes flair-rock {
  0%,
  100% {
    rotate: calc(var(--flair-tilt) * -1);
  }

  50% {
    rotate: var(--flair-tilt);
  }
}

@keyframes flair-turn {
  from {
    rotate: 0deg;
  }

  to {
    rotate: var(--flair-turn-end);
  }
}

.flair-hero-bolt {
  top: 4.25rem;
  left: -6.5rem;
  width: clamp(5.5rem, 8vw, 9rem);
  transform: rotate(-4deg);
}

.flair-hero-sparkles {
  top: 1.2rem;
  left: 40%;
  width: clamp(6rem, 8vw, 9rem);
  transform: rotate(5deg);
}

.flair-hero-plus {
  top: 8.5rem;
  left: 44.5%;
  width: clamp(2.5rem, 3.2vw, 4rem);
  transform: rotate(-8deg);
}

.flair-hero-star {
  top: 0.75rem;
  right: 11%;
  width: clamp(3.5rem, 4.5vw, 5.5rem);
  transform: rotate(12deg);
}

.flair-hero-rays {
  top: 8rem;
  right: -5.5rem;
  width: clamp(9rem, 13vw, 15rem);
  transform: rotate(8deg);
}

.flair-hero-halftone {
  bottom: 1rem;
  left: -8rem;
  width: clamp(8rem, 12vw, 13rem);
}

.flair-hero-stripes {
  right: -5rem;
  bottom: -1.5rem;
  width: clamp(8rem, 11vw, 12rem);
  transform: rotate(-4deg);
}

.flair-hero-mobile-star,
.flair-hero-mobile-plus,
.flair-hero-mobile-squiggle {
  display: none;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.2em;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.15rem, 7.25vw, 8rem);
  font-weight: 900;
  letter-spacing: 0.012em;
  line-height: 0.94;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-white {
  flex-basis: 100%;
  color: var(--white);
  text-shadow: 5px 5px 0 rgba(255, 255, 255, 0.08);
}

.hero-lime {
  color: var(--lime);
}

.hero-pink {
  color: var(--pink);
}

.hero-intro {
  max-width: 40rem;
  margin: 1.55rem 0 1.6rem;
  color: var(--white);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 650;
}

.lightning {
  display: none;
}

.lightning-one {
  top: 0;
  left: -5rem;
}

.lightning-two {
  right: -1.8rem;
  bottom: 7.5rem;
  color: var(--lime);
  font-size: 4.5rem;
  transform: rotate(-13deg);
}

.hero-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  width: min(100%, 43rem);
  padding: 0.58rem 0.7rem 0.58rem 1rem;
  border: 4px solid var(--white);
  border-radius: 1.2rem;
  background: var(--lime);
  box-shadow: 7px 7px 0 var(--violet);
  transform: rotate(-1.25deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-search:focus-within {
  box-shadow: 9px 9px 0 var(--pink);
  transform: rotate(-0.55deg) translateY(-2px);
}

.hero-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--black);
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.8vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hero-search input::placeholder {
  color: rgba(5, 5, 5, 0.72);
  opacity: 1;
}

.hero-search button {
  border: 3px solid var(--black);
  background: var(--black);
  color: var(--white);
  padding: 0.62rem 0.9rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.hero-search button:hover {
  background: var(--pink);
  color: var(--black);
}

.search-icon {
  position: relative;
  width: 1.45rem;
  height: 1.45rem;
  border: 3px solid var(--black);
  border-radius: 50%;
}

.search-icon::after {
  position: absolute;
  right: -0.48rem;
  bottom: -0.35rem;
  width: 0.68rem;
  height: 3px;
  background: var(--black);
  content: "";
  transform: rotate(45deg);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.45rem;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-height: 3.25rem;
  padding: 0.7rem 1.15rem;
  border: 3px solid var(--black);
  background: var(--lime);
  box-shadow: 5px 5px 0 var(--white);
  color: var(--black);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.primary-cta:hover {
  background: var(--pink);
  box-shadow: 8px 8px 0 var(--violet);
  transform: translate(-2px, -2px);
}

.starter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 9rem;
  padding: 0.55rem 0.7rem;
  border: 3px solid var(--white);
  background: var(--violet);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  transform: rotate(3deg);
}

.starter-badge strong {
  color: var(--lime);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.search-status {
  min-height: 1.5em;
  margin: 1rem 0 0;
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 800;
}

.rotator-column {
  position: relative;
  isolation: isolate;
  z-index: 4;
  grid-area: rotator;
  align-self: center;
  min-width: 0;
  padding-top: 1rem;
}

.rotator-column::before {
  content: none;
}

.rotator-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 2.5rem 2.2rem;
}

.rotator-card {
  position: absolute;
  inset: 2.5rem 2.2rem;
  z-index: -1;
  border: 4px solid var(--white);
  border-radius: 0.65rem;
}

.rotator-card-back-one {
  background: var(--violet);
  transform: rotate(-2.2deg) translate(-1.25rem, 0.6rem);
}

.rotator-card-back-two {
  background:
    radial-gradient(circle, var(--black) 1.2px, transparent 1.3px),
    var(--lime);
  background-size: 8px 8px;
  transform: rotate(3deg) translate(1.25rem, 0.55rem);
}

.rotator-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 5px solid var(--white);
  border-radius: 0.65rem;
  background: var(--white);
  box-shadow: 12px 12px 0 var(--pink);
  transform: rotate(1.7deg);
}

.rotator-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 1;
  transition: opacity 220ms ease, transform 500ms ease;
}

.rotator-frame img.is-changing {
  opacity: 0.15;
  transform: scale(1.025);
}

.rotator-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 4px solid var(--black);
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 1.45rem;
  font-weight: 1000;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 150ms ease, transform 150ms ease;
}

.rotator-arrow:hover {
  background: var(--lime);
  transform: translateY(-50%) scale(1.08) rotate(-5deg);
}

.rotator-prev { left: 0.7rem; }
.rotator-next { right: 0.7rem; }

.rotator-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  width: min(100%, 28rem);
  margin: 1.15rem auto 0;
  padding: 0.62rem 1.2rem;
  border: 3px solid var(--white);
  border-radius: 0.4rem;
  background: #23103a;
  box-shadow: 7px 7px 0 var(--coral);
  color: var(--white);
  text-align: center;
  transform: rotate(-0.7deg);
}

.rotator-meta > div:first-child {
  display: grid;
}

.rotator-kicker {
  color: rgba(255, 253, 246, 0.74);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.rotator-meta strong {
  color: var(--white);
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rotator-meta span:last-child {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
}

.rotator-dots {
  display: flex;
  gap: 0.48rem;
}

.rotator-dot {
  width: 0.72rem;
  height: 0.72rem;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.rotator-dot.is-active {
  background: var(--coral);
  border-color: var(--coral);
}

.catalog {
  position: relative;
  width: min(calc(100% - 3rem), var(--page-width));
  margin-inline: auto;
  padding-bottom: 6rem;
}

.catalog-section {
  position: relative;
  isolation: isolate;
  padding: 2rem 0 4.5rem;
}

.catalog-section::before {
  content: none;
}

.catalog-section::after {
  content: none;
}

.catalog-section:nth-of-type(2)::before,
.catalog-section:nth-of-type(2)::after,
.catalog-section:nth-of-type(3)::before,
.catalog-section:nth-of-type(3)::after {
  content: none;
}

.section-heading,
.template-grid {
  position: relative;
  z-index: 2;
}

.flair-fresh-burst {
  top: 1rem;
  left: -3.5rem;
  width: clamp(3rem, 4vw, 5rem);
  transform: rotate(-10deg);
}

.flair-fresh-squiggle {
  top: 2.8rem;
  right: 1.5rem;
  width: clamp(4.5rem, 6vw, 7rem);
  transform: rotate(7deg);
}

.flair-fresh-halftone {
  bottom: 8%;
  left: -8rem;
  width: clamp(8rem, 11vw, 12rem);
}

.flair-hot-star {
  top: 0.7rem;
  right: -3.5rem;
  width: clamp(3.5rem, 4.5vw, 5rem);
  transform: rotate(14deg);
}

.flair-hot-rays {
  top: 44%;
  left: -7rem;
  width: clamp(7rem, 10vw, 11rem);
  transform: rotate(-12deg);
}

.flair-hot-plus {
  right: 2rem;
  bottom: 0.6rem;
  width: clamp(2rem, 2.6vw, 3rem);
  transform: rotate(10deg);
}

.flair-hot-halftone {
  right: -8rem;
  bottom: 18%;
  width: clamp(8rem, 11vw, 12rem);
}

.flair-rising-bolt {
  top: 0.2rem;
  left: -4rem;
  width: clamp(3.5rem, 5vw, 5.5rem);
  transform: rotate(-7deg);
}

.flair-rising-sparkles {
  top: 1rem;
  right: -4.5rem;
  width: clamp(5rem, 6vw, 7rem);
  transform: rotate(8deg);
}

.flair-rising-stripes {
  right: -6rem;
  bottom: -1rem;
  width: clamp(7rem, 10vw, 11rem);
  transform: rotate(3deg);
}

.flair-rising-burst {
  bottom: 0;
  left: 16%;
  width: clamp(2.5rem, 3vw, 3.5rem);
  transform: rotate(-8deg);
}

.section-heading {
  --heading-color: var(--lime);
  display: grid;
  grid-template-columns: minmax(5rem, 1fr) auto minmax(5rem, 1fr);
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  max-width: 68rem;
  margin: 0 auto 1.7rem;
  text-align: center;
}

.section-heading-pink { --heading-color: var(--pink); }
.section-heading-violet { --heading-color: var(--violet); }

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2.35rem, 4.4vw, 4.2rem);
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.heading-wing {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.heading-wing::before {
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--heading-color);
  clip-path: polygon(50% 0, 59% 36%, 85% 15%, 66% 42%, 100% 50%, 66% 58%, 85% 85%, 59% 64%, 50% 100%, 41% 64%, 15% 85%, 34% 58%, 0 50%, 34% 42%, 15% 15%, 41% 36%);
  content: "";
}

.heading-wing::after {
  flex: 1 1 auto;
  height: 6px;
  background: var(--heading-color);
  clip-path: polygon(0 32%, 10% 32%, 14% 0, 18% 100%, 23% 32%, 100% 32%, 100% 68%, 24% 68%, 18% 100%, 14% 68%, 0 68%);
  content: "";
}

.heading-wing-right {
  flex-direction: row-reverse;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.8rem);
  align-items: stretch;
}

.template-card {
  --main-color: var(--lime);
  --main-ink: var(--black);
  --accent-color: var(--violet);
  --accent-ink: var(--white);
  --border-color: var(--main-color);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 4px solid var(--border-color);
  border-radius: 0.8rem;
  background: #0a0a0a;
  box-shadow: 8px 8px 0 rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.template-card:hover {
  box-shadow: 12px 12px 0 color-mix(in srgb, var(--border-color) 38%, transparent);
  transform: translateY(-7px);
}

.palette-lime-violet { --main-color: var(--lime); --main-ink: var(--black); --accent-color: var(--violet); --accent-ink: var(--white); }
.palette-pink-yellow { --main-color: var(--pink); --main-ink: var(--black); --accent-color: var(--violet); --accent-ink: var(--white); }
.palette-violet-lime { --main-color: var(--violet); --main-ink: var(--white); --accent-color: var(--lime); --accent-ink: var(--black); }
.palette-yellow-pink { --main-color: var(--yellow); --main-ink: var(--black); --accent-color: var(--pink); --accent-ink: var(--black); }
.palette-mint-coral { --main-color: var(--mint); --main-ink: var(--black); --accent-color: var(--coral); --accent-ink: var(--black); }
.palette-pink-mint { --main-color: var(--pink); --main-ink: var(--black); --accent-color: var(--mint); --accent-ink: var(--black); }
.palette-violet-yellow { --main-color: var(--violet); --main-ink: var(--white); --accent-color: var(--yellow); --accent-ink: var(--black); }
.palette-coral-mint { --main-color: var(--coral); --main-ink: var(--black); --accent-color: var(--mint); --accent-ink: var(--black); }

.template-card[data-template="showcase-art"] { --border-color: var(--lime); }
.template-card[data-template="louder-now"] { --border-color: var(--rose); --main-color: var(--rose); --main-ink: var(--black); }
.template-card[data-template="curio"] { --border-color: var(--pink); }
.template-card[data-template="daily-wag"] { --border-color: var(--electric-blue); --main-color: var(--electric-blue); --main-ink: var(--white); }
.template-card[data-template="panel-riot"] { --border-color: var(--neon-red); }
.template-card[data-template="dj-nova"] { --border-color: var(--lime); }

.template-preview {
  position: relative;
  display: block;
  overflow: hidden;
  border-bottom: 4px solid var(--border-color);
  background: var(--white);
}

.template-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: filter 180ms ease, transform 420ms ease;
}

.template-card:hover .template-preview img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.025);
}

.template-badge {
  position: absolute;
  z-index: 3;
  padding: 0.42rem 0.82rem;
  border: 3px solid var(--black);
  background: var(--accent-color);
  box-shadow: 4px 4px 0 var(--white);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-top-left { top: 0.7rem; left: 0.7rem; transform: rotate(-2deg); }
.badge-top-center { top: 0.7rem; left: 50%; transform: translateX(-50%) rotate(-2deg); }
.badge-top-right { top: 0.7rem; right: 0.7rem; transform: rotate(2deg); }
.badge-middle-left { top: 50%; left: 0.7rem; transform: translateY(-50%) rotate(-2deg); }
.badge-middle-right { top: 50%; right: 0.7rem; transform: translateY(-50%) rotate(2deg); }
.badge-bottom-left { bottom: 0.7rem; left: 0.7rem; transform: rotate(2deg); }
.badge-bottom-center { bottom: 0.7rem; left: 50%; transform: translateX(-50%) rotate(2deg); }
.badge-bottom-right { right: 0.7rem; bottom: 0.7rem; transform: rotate(-2deg); }

.template-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.template-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.template-title-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  letter-spacing: 0.025em;
  line-height: 1.08;
}

.favorite-button {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--main-color);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.favorite-button[aria-pressed="true"] {
  filter: drop-shadow(2px 2px 0 rgba(255, 255, 255, 0.3));
}

.template-description {
  min-height: 3em;
  margin: 0.6rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.83rem;
}

.template-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem;
  margin-top: auto;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.template-tag {
  padding: 0.2rem 0.48rem;
  background: var(--main-color);
  color: var(--main-ink);
  font-size: 0.63rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.template-tag:nth-child(even) {
  background: var(--accent-color);
  color: var(--accent-ink);
}

/* Add to cart sits on the meta row between the tags and the price, sized to
   its own text rather than stretching. margin-left:auto pushes it and the
   price to the right as a pair, so the tags stay left-aligned. */
.cart-button {
  margin-left: auto;
  padding: 0.42rem 0.85rem;
  border: 3px solid var(--main-color);
  background: var(--main-color);
  color: var(--main-ink);
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.cart-button:hover,
.cart-button:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.template-price {
  color: var(--white);
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1;
}

.template-actions {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.65rem;
  margin-top: 1rem;
}

.card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border: 3px solid var(--main-color);
  background: transparent;
  color: var(--white);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  cursor: pointer;
}

.card-button-primary {
  background: var(--main-color);
  color: var(--main-ink);
}

.card-button:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.no-results {
  max-width: 44rem;
  margin: 3rem auto;
  padding: 3rem;
  border: 4px solid var(--pink);
  background: #0a0a0a;
  box-shadow: 10px 10px 0 var(--violet);
  text-align: center;
}

.no-results span {
  color: var(--lime);
  font-size: 3rem;
}

.no-results h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 3rem;
  letter-spacing: 0.035em;
  line-height: 1.04;
  text-transform: uppercase;
}

.no-results button {
  padding: 0.7rem 1rem;
  border: 3px solid var(--black);
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--white);
  color: var(--black);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.about-strip {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4.5rem) max(1.5rem, calc((100vw - var(--page-width)) / 2));
  border-block: 4px solid var(--pink);
  background: var(--lime);
  color: var(--black);
}

.about-strip .eyebrow {
  color: var(--violet);
}

.about-strip h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  letter-spacing: 0.025em;
  line-height: 0.98;
  text-transform: uppercase;
}

.about-strip > p {
  max-width: 48rem;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.about-strip > a {
  padding: 0.7rem 1rem;
  border: 3px solid var(--black);
  background: var(--pink);
  box-shadow: 5px 5px 0 var(--violet);
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 1.15rem;
  width: min(calc(100% - 3rem), var(--page-width));
  margin-inline: auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.footer-brand {
  font-size: 1.7rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.4rem, 4vw, 3.5rem);
  padding-block: 0.3rem 0.55rem;
}

.footer-nav .nav-item {
  font-size: 0.76rem;
}

.nav-contact { --hover-color: var(--pink); }
.nav-faq { --hover-color: var(--mint); }
.nav-terms { --hover-color: var(--violet); }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.5rem;
}

.footer-meta p {
  margin: 0;
}

.template-dialog {
  width: min(92vw, 1100px);
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--white);
}

.template-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.dialog-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  overflow: hidden;
  border: 5px solid var(--lime);
  border-radius: 0.9rem;
  background: #0a0a0a;
  box-shadow: 14px 14px 0 var(--violet);
}

.dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  border: 3px solid var(--black);
  border-radius: 50%;
  background: var(--pink);
  color: var(--black);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.dialog-image-wrap {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 1.1rem;
  background: var(--white);
}

.dialog-image-wrap img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.dialog-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.dialog-kicker {
  margin: 0;
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.dialog-copy h2 {
  margin: 0.35rem 0 0.8rem;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: 0.025em;
  line-height: 0.98;
  text-transform: uppercase;
}

.dialog-copy > p:not(.dialog-kicker) {
  color: var(--muted);
}

.dialog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.dialog-tag {
  padding: 0.25rem 0.52rem;
  background: var(--pink);
  color: var(--black);
  font-size: 0.66rem;
  font-weight: 1000;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dialog-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 2rem;
}

.dialog-footer strong {
  font-family: var(--display);
  font-size: 2.4rem;
}

.dialog-footer .primary-cta {
  margin-left: auto;
}

.detail-body {
  min-height: 100vh;
}

.detail-page {
  --main-color: var(--lime);
  --main-ink: var(--black);
  --accent-color: var(--violet);
  --accent-ink: var(--white);
  position: relative;
  isolation: isolate;
  width: min(calc(100% - 3rem), var(--page-width));
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 4.5rem) 0 6rem;
}

.detail-flair {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: visible;
  pointer-events: none;
}

.detail-flair img {
  position: absolute;
  max-width: none;
}

.detail-flair-star {
  top: 1rem;
  right: 4%;
  width: 4.5rem;
  transform: rotate(11deg);
}

.detail-flair-plus {
  top: 32rem;
  left: -2rem;
  width: 3rem;
  transform: rotate(-8deg);
}

.detail-flair-stripes {
  right: -5rem;
  bottom: 4rem;
  width: 10rem;
  transform: rotate(4deg);
}

.detail-back {
  display: inline-flex;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-back:hover {
  color: var(--main-color);
}

.detail-missing {
  max-width: 42rem;
  margin: 4rem auto 6rem;
  padding: 2.6rem 2.4rem;
  border: 3px solid var(--border-color, var(--main-color));
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  text-align: center;
}

.detail-missing h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
}

.detail-missing p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.detail-missing-action {
  display: inline-flex;
  margin-top: 1.4rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: var(--main-color);
  color: #10021c;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-missing-action:hover {
  filter: brightness(1.08);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
  gap: 0;
  overflow: hidden;
  border: 5px solid var(--main-color);
  border-radius: 0.9rem;
  background: #0a0a0a;
  box-shadow: 14px 14px 0 var(--accent-color);
}

.detail-preview-stack {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(1.6rem, 4vw, 3.7rem);
  background: var(--white);
}

.detail-preview-back {
  display: none;
}

.detail-main-preview {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 4px solid var(--black);
  border-radius: 0.5rem;
  background: var(--black);
  box-shadow: 8px 8px 0 var(--violet);
}

.detail-main-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.is-riot-art-detail .detail-main-preview img,
.is-curio-detail .detail-main-preview img,
.is-louder-detail .detail-main-preview img,
.is-daily-wag-detail .detail-main-preview img,
.is-dark-fox-detail .detail-main-preview img,
.is-neural-vault-detail .detail-main-preview img,
.is-standard-responsive-detail .detail-main-preview img {
  object-position: top center;
}

.detail-copy {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(1.5rem, 3.5vw, 3rem);
}

.detail-badge {
  align-self: flex-start;
  padding: 0.45rem 0.8rem;
  border: 3px solid var(--black);
  background: var(--accent-color);
  box-shadow: 4px 4px 0 var(--white);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.detail-kicker {
  margin: 1.6rem 0 0;
  color: var(--main-color);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.detail-copy h1 {
  margin: 0.35rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(3.4rem, 6vw, 6.8rem);
  letter-spacing: 0.03em;
  line-height: 0.92;
  text-transform: uppercase;
}

.detail-copy h1.is-long-title {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  letter-spacing: 0.02em;
}

.detail-copy h1.is-extra-long-title {
  font-size: clamp(2.4rem, 4.2vw, 4.5rem);
  letter-spacing: 0.015em;
}

.detail-description {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.2rem);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.detail-tags span {
  padding: 0.3rem 0.6rem;
  background: var(--main-color);
  color: var(--main-ink);
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-tags span:nth-child(even) {
  background: var(--accent-color);
  color: var(--accent-ink);
}

.detail-price-row {
  display: grid;
  gap: 1.25rem;
  margin-top: auto;
  padding-top: 2.3rem;
}

.detail-price-row > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 253, 246, 0.3);
  padding-bottom: 0.8rem;
}

.detail-price-row span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-price-row strong {
  font-family: var(--display);
  font-size: 2.8rem;
  line-height: 1;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.detail-button {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  border: 3px solid var(--main-color);
  color: var(--white);
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.detail-button-primary {
  background: var(--main-color);
  color: var(--main-ink);
}

/* Buy now sits on its own row spanning the full width of the action grid.
   It is the only action on the page that takes money, so it gets the most
   visual weight rather than sharing a row with the browsing links. */
.detail-button-buy {
  grid-column: 1 / -1;
  min-height: 3.4rem;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.detail-button:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.detail-section {
  margin-top: clamp(4.5rem, 8vw, 8rem);
}

.detail-section-heading {
  margin-bottom: 1.8rem;
}

.detail-section-heading p {
  margin: 0 0 0.35rem;
  color: var(--main-color);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.detail-section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: 0.035em;
  line-height: 0.95;
  text-transform: uppercase;
}

.detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.75fr));
  gap: clamp(0.9rem, 2vw, 1.6rem);
}

.detail-gallery-card {
  margin: 0;
  overflow: hidden;
  border: 4px solid var(--main-color);
  border-radius: 0.65rem;
  background: #0a0a0a;
  box-shadow: 7px 7px 0 var(--accent-color);
}

.detail-gallery-card img {
  width: 100%;
  height: clamp(19rem, 36vw, 34rem);
  background: var(--white);
}

.detail-gallery-full img {
  object-fit: contain;
}

.detail-gallery-crop-top img,
.detail-gallery-crop-lower img {
  object-fit: cover;
}

.detail-gallery-crop-top img {
  object-position: top center;
}

.detail-gallery-crop-lower img {
  object-position: bottom center;
}

.detail-gallery-card figcaption {
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.is-riot-art-detail .detail-gallery {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr) minmax(0, 0.62fr);
  align-items: stretch;
}

.is-riot-art-detail .detail-gallery-card {
  border-color: var(--lime);
  background: var(--black);
  box-shadow: 9px 9px 0 var(--violet);
}

.is-riot-art-detail .detail-gallery-card img {
  display: block;
  height: clamp(28rem, 38vw, 44rem);
  object-fit: cover;
  object-position: top center;
}

.is-curio-detail .detail-gallery {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr) minmax(0, 0.55fr);
  align-items: stretch;
}

.is-curio-detail .detail-gallery-card img {
  display: block;
  height: clamp(28rem, 38vw, 44rem);
  object-fit: cover;
  object-position: top center;
}

.is-daily-wag-detail .detail-gallery {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr) minmax(0, 0.62fr);
  align-items: stretch;
}

.is-daily-wag-detail .detail-gallery-card img {
  display: block;
  height: clamp(28rem, 38vw, 44rem);
  object-fit: cover;
  object-position: top center;
}

.is-standard-responsive-detail .detail-gallery {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr) minmax(0, 0.62fr);
  align-items: stretch;
}

.is-standard-responsive-detail .detail-gallery-card img {
  display: block;
  height: clamp(28rem, 38vw, 44rem);
  object-fit: cover;
  object-position: top center;
}

.is-louder-detail .detail-gallery {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr) minmax(0, 0.62fr);
  align-items: stretch;
}

.is-louder-detail .detail-gallery-card img {
  display: block;
  height: clamp(28rem, 38vw, 44rem);
  object-fit: cover;
  object-position: top center;
}

.detail-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.5rem);
}

.detail-feature-grid article {
  min-height: 13rem;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  border: 3px solid var(--main-color);
  background: #0a0a0a;
  box-shadow: 6px 6px 0 var(--accent-color);
}

.detail-feature-grid article > span {
  color: var(--accent-color);
  font-family: var(--display);
  font-size: 2rem;
}

.detail-feature-grid h3 {
  margin: 1.2rem 0 0.45rem;
  font-family: var(--display);
  font-size: 1.75rem;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.detail-feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.detail-info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 4px solid var(--pink);
  background: var(--main-color);
  box-shadow: 10px 10px 0 var(--accent-color);
  color: var(--main-ink);
}

.detail-info-band > div {
  padding-inline: clamp(1.4rem, 2.8vw, 2.8rem);
}

.detail-info-band > div:first-child {
  padding-left: 0;
}

.detail-info-band > div:last-child {
  padding-right: 0;
}

.detail-info-band > div + div {
  border-left: 4px solid var(--pink);
}

.detail-info-band span {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--display);
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-info-band ul {
  margin: 0;
  padding-left: 1.2rem;
}

.detail-info-band li + li {
  margin-top: 0.4rem;
}

.detail-info-band p {
  margin: 0;
}

/* Shared detail band: dark Option D palette with restrained geometric flair. */
.detail-info-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: #43f58a;
  border-radius: 0.45rem;
  background: #140d1d;
  box-shadow: 10px 10px 0 #3d1d46;
  color: #fff4d7;
}

.detail-info-band::before {
  position: absolute;
  z-index: -1;
  top: 1.15rem;
  left: 1.15rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #291ffc;
  box-shadow: 0.9rem 0 #291ffc, 1.8rem 0 #291ffc,
    0 0.9rem #291ffc, 0.9rem 0.9rem #291ffc, 1.8rem 0.9rem #291ffc;
  content: "";
  opacity: 0.9;
}

.detail-info-band::after {
  position: absolute;
  z-index: -1;
  top: 1rem;
  right: 1.15rem;
  width: 1.55rem;
  height: 1.55rem;
  border: 3px solid #291ffc;
  border-radius: 50%;
  box-shadow: 0.75rem 0.35rem 0 -3px #140d1d, 0.75rem 0.35rem 0 0 #291ffc;
  content: "";
  opacity: 0.9;
}

.detail-info-band > div {
  position: relative;
  z-index: 1;
}

.detail-info-band > div + div {
  border-left-color: #ef79cf;
}

.detail-info-band > div + div::before {
  position: absolute;
  top: 50%;
  left: -0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  background: #ef79cf;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.detail-info-band span {
  color: #79ddef;
  text-shadow: 3px 3px 0 #291ffc;
}

.detail-info-band li::marker {
  color: #efc479;
}

.detail-info-band p {
  color: #fff4d7;
}

.detail-next-step {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  margin-top: clamp(4.5rem, 8vw, 8rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 4px solid var(--white);
  background: var(--accent-color);
  box-shadow: 10px 10px 0 var(--main-color);
  color: var(--accent-ink);
}

.info-page {
  position: relative;
  width: min(calc(100% - 3rem), 1180px);
  min-height: 62vh;
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 7.5rem) 0 clamp(5rem, 9vw, 8rem);
}

.info-hero {
  position: relative;
  max-width: 900px;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.info-hero::after {
  position: absolute;
  top: -1.5rem;
  right: -4rem;
  width: 7rem;
  height: 7rem;
  background: url("../images/flair/star-purple.png") center / contain no-repeat;
  content: "";
  transform: rotate(11deg);
}

.info-kicker {
  margin: 0 0 0.7rem;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.info-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.5rem, 12vw, 9.5rem);
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 0.84;
  text-transform: uppercase;
}

.info-hero h1 span {
  color: var(--lime);
}

.info-title-spaced span {
  display: block;
  margin-top: 0.12em;
}

.info-intro {
  max-width: 720px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.info-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 4px solid var(--pink);
  background: #0b0b0b;
  box-shadow: 10px 10px 0 var(--violet);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.contact-field {
  display: grid;
  gap: 0.45rem;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-field > span,
.contact-consent span {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 3px solid var(--violet);
  border-radius: 0;
  background: var(--black);
  color: var(--white);
  font: inherit;
}

.contact-field input,
.contact-field select {
  min-height: 3.3rem;
  padding: 0.7rem 0.85rem;
}

.contact-field textarea {
  min-height: 10rem;
  padding: 0.85rem;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--lime);
  outline: 3px solid var(--pink);
  outline-offset: 2px;
}

.contact-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
}

.contact-consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  accent-color: var(--pink);
}

.contact-form .primary-cta {
  width: max-content;
  cursor: pointer;
}

/* Anti-spam honeypot. Pushed off screen rather than hidden with display:none
   or visibility:hidden, both of which the better spam bots know to skip. */
.contact-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-status {
  margin: 0;
  color: var(--mint);
  font-weight: 800;
  min-height: 1.5em;
}

/* Set by the submit handler when the server rejects a message, so a failure
   does not read as a success in the same mint green. */
.contact-status.is-error {
  color: var(--neon-red);
}

.contact-aside {
  align-self: start;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 3px solid var(--lime);
  background: var(--black);
  box-shadow: 6px 6px 0 var(--mint);
}

.contact-aside h2 {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-aside p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-card {
  min-height: 14rem;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border: 3px solid var(--lime);
  background: var(--black);
}

.contact-card:nth-child(2) {
  border-color: var(--mint);
}

.contact-card span,
.terms-updated {
  color: var(--pink);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card h2,
.terms-section h2 {
  margin: 0.7rem 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-card p,
.terms-section p {
  margin: 0;
  color: var(--muted);
}

/* Terms page: descriptive copy runs bold. */
.terms-page .info-intro,
.terms-page .terms-section p {
  font-weight: 700;
}

.contact-email {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--lime);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 4px;
  text-underline-offset: 0.35rem;
}

.faq-list {
  display: grid;
  gap: 1.5rem;
}

.faq-list details {
  border: 3px solid var(--violet);
  background: var(--black);
  box-shadow: 5px 5px 0 var(--pink);
}

.faq-list details:nth-child(even) {
  border-color: var(--lime);
  box-shadow-color: var(--mint);
}

.faq-list summary {
  position: relative;
  padding: 1.3rem 3.5rem 1.3rem 1.3rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 1.3rem;
  color: var(--lime);
  font-family: var(--display);
  font-size: 1.8rem;
  content: "+";
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 1.3rem 1.4rem;
  color: var(--muted);
}

.terms-panel {
  display: grid;
  gap: 2.25rem;
}

.terms-section {
  padding-bottom: 2.25rem;
  border-bottom: 2px solid rgba(255, 253, 246, 0.22);
}

.terms-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-next-step p {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail-next-step h2 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  letter-spacing: 0.035em;
  line-height: 0.95;
  text-transform: uppercase;
}

.detail-next-step a {
  padding: 0.8rem 1rem;
  border: 3px solid var(--black);
  background: var(--main-color);
  box-shadow: 5px 5px 0 var(--white);
  color: var(--main-ink);
  font-family: var(--display);
  text-transform: uppercase;
}

/* Shared template showcase. Per-template palettes are keyed off the
   data-showcase attribute set by template-detail.js. */
.template-showcase {
  --showcase-coral: #ff5b4d;
  --showcase-cream: #fff8ee;
  --showcase-ink: #1d1a2f;
}

.template-showcase[data-showcase="riot-art"] {
  --showcase-coral: #a3ff12;
  --showcase-cream: #eef2f5;
  --showcase-ink: #0b1016;
}

.template-showcase[data-showcase="curio"] {
  --showcase-coral: #f5a524;
  --showcase-cream: #f7f3e8;
  --showcase-ink: #0c1226;
}

.template-showcase[data-showcase="dj-nova"] {
  --showcase-coral: #c9f500;
  --showcase-cream: #f1f0ea;
  --showcase-ink: #0a0a12;
}

.template-showcase[data-showcase="dark-fox"] {
  --showcase-coral: #e2703a;
  --showcase-cream: #f6ecd9;
  --showcase-ink: #1b1410;
}

.template-showcase[data-showcase="rocker"] {
  --showcase-coral: #f2f0eb;
  --showcase-cream: #ffffff;
  --showcase-ink: #0a0a0a;
}

.template-showcase[data-showcase="panel-riot"] {
  --showcase-coral: #e8e12b;
  --showcase-cream: #f4ead3;
  --showcase-ink: #14203a;
}

.showcase-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 5rem);
  border: 4px solid var(--pink);
  background: var(--showcase-coral);
  box-shadow: 12px 12px 0 var(--violet);
  color: var(--showcase-ink);
}

.showcase-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.showcase-intro h2,
.showcase-long-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 8vw, 8rem);
  letter-spacing: 0.035em;
  line-height: 0.84;
  text-transform: uppercase;
}

.showcase-intro > p,
.showcase-intro-aside > p {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 750;
  line-height: 1.55;
}

/* Optional brand mark in the right column, above the intro paragraph. */
.showcase-intro-aside {
  display: grid;
  align-content: space-between;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  height: 100%;
}

.showcase-intro-mark {
  display: block;
  width: 100%;
  max-width: 32rem;
  height: auto;
  justify-self: end;
}

.showcase-intro-mark[hidden] {
  display: none;
}

.showcase-feature-promo {
  margin: clamp(2.5rem, 6vw, 5rem) 0 0;
  overflow: hidden;
  border: 6px solid var(--violet);
  border-radius: 1.25rem;
  background: #89a68f;
}

.showcase-feature-promo img {
  display: block;
  width: 100%;
}

.showcase-browser-shot {
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  overflow: hidden;
  border: 4px solid var(--white);
  background: var(--showcase-cream);
  box-shadow: 12px 12px 0 var(--main-color);
}

.showcase-browser-bar {
  display: flex;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-bottom: 4px solid var(--showcase-ink);
  background: var(--showcase-cream);
}

.showcase-browser-bar i {
  width: 0.8rem;
  aspect-ratio: 1;
  border: 2px solid var(--showcase-ink);
  border-radius: 50%;
  background: var(--showcase-coral);
}

.showcase-browser-bar i:nth-child(2) { background: var(--lime); }
.showcase-browser-bar i:nth-child(3) { background: var(--violet); }

.showcase-browser-shot img {
  display: block;
  width: 100%;
}

.showcase-promo-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2rem, 5vw, 4rem);
  border: 4px solid var(--pink);
  background: var(--showcase-cream);
  box-shadow: 10px 10px 0 var(--violet);
  color: var(--showcase-ink);
}

.showcase-promo-points article {
  display: grid;
  place-items: center;
  min-height: 12rem;
  padding: 1.5rem;
  text-align: center;
}

.showcase-promo-points article + article {
  border-left: 4px solid var(--showcase-coral);
}

.showcase-promo-points strong {
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.75;
}

.showcase-promo-points span {
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-page-designs {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 4px solid var(--white);
  border-radius: 1.5rem;
  background: var(--showcase-cream);
  box-shadow: 12px 12px 0 var(--main-color);
  color: var(--showcase-ink);
}

.showcase-page-designs-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  gap: 1rem 2rem;
  align-items: end;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.showcase-page-designs-heading .showcase-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.showcase-page-designs-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.showcase-page-designs-heading > p:last-child {
  margin: 0;
  font-weight: 750;
  line-height: 1.55;
}

.showcase-page-design-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.showcase-page-design-grid figure {
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--showcase-ink);
  border-radius: 1rem;
  background: var(--showcase-ink);
  box-shadow: 7px 7px 0 var(--showcase-coral);
}

.showcase-page-design-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.showcase-page-design-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  color: var(--showcase-cream);
  text-transform: uppercase;
}

.showcase-page-design-grid figcaption strong {
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.showcase-page-design-grid figcaption span {
  color: #b9d9c5;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: right;
}

.showcase-card-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  margin-top: clamp(3rem, 7vw, 6rem);
}

.showcase-card-mosaic figure,
.showcase-mosaic-copy {
  margin: 0;
  overflow: hidden;
  border: 4px solid var(--white);
  background: var(--showcase-cream);
  box-shadow: 7px 7px 0 var(--main-color);
}

.showcase-card-mosaic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card-square {
  grid-column: span 4;
  aspect-ratio: 1;
  transform: rotate(-1.4deg);
}

.showcase-card-tall {
  grid-column: span 4;
  grid-row: span 2;
  aspect-ratio: 1 / 2;
  transform: rotate(1.2deg);
}

.showcase-card-wide {
  grid-column: span 8;
  aspect-ratio: 2 / 1;
  transform: rotate(-0.8deg);
}

.showcase-card-square-alt {
  grid-column: span 4;
  transform: rotate(1.6deg);
}

.showcase-mosaic-copy {
  display: flex;
  grid-column: span 4;
  aspect-ratio: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.2rem, 3vw, 2.5rem);
  border-color: var(--pink);
  background: var(--showcase-coral);
  color: var(--showcase-ink);
  transform: rotate(0.8deg);
}

.showcase-mosaic-copy p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: 0.035em;
  line-height: 0.86;
  text-transform: uppercase;
}

.showcase-mosaic-copy span {
  font-weight: 800;
  line-height: 1.45;
}

.showcase-long-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(4rem, 9vw, 8rem);
}

.showcase-long-copy {
  position: sticky;
  top: 2rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  border: 4px solid var(--pink);
  background: var(--showcase-coral);
  box-shadow: 10px 10px 0 var(--violet);
  color: var(--showcase-ink);
}

.showcase-long-copy h2 {
  font-size: clamp(3.5rem, 6vw, 6.5rem);
}

.showcase-long-copy > p:not(.showcase-eyebrow) {
  margin: 1.5rem 0 0;
  font-weight: 750;
  line-height: 1.55;
}

.showcase-long-copy ul {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  font-weight: 850;
}

.showcase-long-copy li + li {
  margin-top: 0.65rem;
}

.showcase-long-preview figure {
  margin: 0;
  overflow: hidden;
  border: 4px solid var(--white);
  background: var(--showcase-cream);
  box-shadow: 12px 12px 0 var(--main-color);
}

.showcase-long-preview figure img {
  display: block;
  width: 100%;
}

.showcase-long-preview figcaption {
  padding: 1rem;
  background: var(--showcase-ink);
  color: var(--showcase-cream);
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.noscript-message {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 28rem;
  padding: 1rem;
  border: 3px solid var(--black);
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
}

@keyframes spark-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "copy"
      "rotator"
      "lead";
    row-gap: clamp(1.75rem, 4vw, 2.75rem);
  }

  .hero-copy,
  .hero-lead {
    max-width: 880px;
  }

  .rotator-column {
    width: min(100%, 980px);
    margin-inline: auto;
    padding-top: 0;
  }

  .hero-intro {
    margin-top: 0;
  }

  .flair-hero-bolt {
    left: -2.5rem;
  }

  .flair-hero-sparkles {
    top: 3rem;
    right: 1rem;
    left: auto;
  }

  .flair-hero-plus {
    top: 10rem;
    right: 5%;
    left: auto;
  }

  .flair-hero-star {
    top: 23rem;
    right: 4%;
  }

  .flair-hero-rays {
    top: 48%;
    right: -2rem;
  }

  .flair-hero-halftone {
    bottom: 30%;
    left: -3rem;
  }

  .flair-hero-stripes {
    right: -2rem;
    bottom: 0;
  }

  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: clamp(2.5rem, 5vw, 3.5rem);
  }

  .about-strip {
    grid-template-columns: 1fr 1fr;
  }

  .about-strip > a {
    width: max-content;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-copy {
    min-height: 28rem;
  }

  .detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-gallery-full {
    grid-column: 1 / -1;
  }

  .is-riot-art-detail .detail-gallery,
  .is-curio-detail .detail-gallery,
  .is-louder-detail .detail-gallery,
  .is-daily-wag-detail .detail-gallery,
  .is-standard-responsive-detail .detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .is-riot-art-detail .detail-gallery-full,
  .is-curio-detail .detail-gallery-full,
  .is-louder-detail .detail-gallery-full,
  .is-daily-wag-detail .detail-gallery-full,
  .is-standard-responsive-detail .detail-gallery-full {
    grid-column: 1 / -1;
  }

  .is-riot-art-detail .detail-gallery-card img,
  .is-curio-detail .detail-gallery-card img,
  .is-louder-detail .detail-gallery-card img,
  .is-daily-wag-detail .detail-gallery-card img,
  .is-standard-responsive-detail .detail-gallery-card img {
    height: clamp(28rem, 58vw, 40rem);
  }

  .detail-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner,
  .hero,
  .catalog,
  .detail-page,
  .info-page,
  .site-footer {
    width: min(calc(100% - 1.5rem), var(--page-width));
  }

  .header-topline {
    align-items: center;
  }

  .brand-spark {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .utility-link {
    font-size: 0.68rem;
  }

  .utility-links {
    margin-left: 0;
    gap: 0.55rem;
  }

  .category-nav {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    left: 0;
    z-index: 120;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.85rem;
    overflow: visible;
    border: 3px solid var(--lime);
    background: #080808;
    box-shadow: 8px 8px 0 var(--violet);
  }

  .category-nav.is-open {
    display: grid;
  }

  .category-nav .nav-item {
    width: 100%;
    padding: 0.72rem 0.65rem;
    border: 1px solid rgba(255, 253, 246, 0.22);
    background: #111;
  }

  .category-nav .nav-item::after {
    right: 0.65rem;
    bottom: 0.35rem;
    left: 0.65rem;
  }

  .header-menu-flair {
    display: none;
  }

  .category-nav .new-link {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0.25rem;
    padding: 0.45rem 1rem;
  }

  .hero {
    row-gap: 1.75rem;
    padding-top: 0.65rem;
  }

  .flair-hero-bolt {
    top: 4rem;
    left: -1.6rem;
    width: 5rem;
  }

  .flair-hero-sparkles {
    top: 1rem;
    right: -0.5rem;
    width: 5.5rem;
  }

  .flair-hero-plus {
    top: 15rem;
    right: 0;
    width: 2.5rem;
  }

  .flair-hero-star {
    top: auto;
    right: 0;
    bottom: 42%;
    width: 3.25rem;
  }

  .flair-hero-rays,
  .flair-hero-halftone,
  .flair-hero-stripes,
  .flair-fresh-halftone,
  .flair-hot-rays,
  .flair-hot-halftone,
  .flair-rising-stripes {
    display: none;
  }

  .flair-fresh-burst,
  .flair-rising-bolt {
    left: -1rem;
  }

  .flair-hot-star,
  .flair-rising-sparkles {
    right: -1rem;
  }

  .hero h1 {
    font-size: clamp(4.3rem, 20vw, 7rem);
  }

  .hero-search {
    transform: rotate(-0.55deg);
  }

  .hero-search button {
    padding-inline: 0.65rem;
    font-size: 0.72rem;
  }

  .rotator-stage {
    padding: 1.4rem 1.1rem;
  }

  .rotator-card {
    inset: 1.4rem 1.1rem;
  }

  .rotator-arrow {
    width: 2.55rem;
    height: 2.55rem;
  }

  .rotator-prev { left: -0.1rem; }
  .rotator-next { right: -0.1rem; }

  .section-heading {
    grid-template-columns: minmax(2rem, 1fr) auto minmax(2rem, 1fr);
    gap: 0.55rem;
  }

  .heading-wing {
    gap: 0.35rem;
  }

  .heading-wing::before {
    flex-basis: 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
  }

  .heading-wing::after {
    height: 4px;
  }

  .template-grid {
    grid-template-columns: 1fr;
    row-gap: clamp(2.75rem, 9vw, 3.75rem);
  }

  .about-strip {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .footer-nav {
    gap: 1.25rem;
    margin-block: 0.45rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-field-wide {
    grid-column: auto;
  }

  .info-hero::after {
    top: auto;
    right: 0;
    bottom: -4.75rem;
    width: 4.5rem;
    height: 4.5rem;
  }

  .dialog-card {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .dialog-image-wrap {
    min-height: 0;
  }

  .detail-flair-plus,
  .detail-flair-stripes {
    display: none;
  }

  .detail-preview-stack {
    padding: 1.45rem;
  }

  .detail-preview-back {
    inset: 1.8rem;
  }

  .detail-copy {
    min-height: 0;
  }

  .detail-gallery,
  .detail-feature-grid,
  .detail-info-band,
  .detail-next-step {
    grid-template-columns: 1fr;
  }

  .is-curio-detail .detail-gallery,
  .is-louder-detail .detail-gallery,
  .is-daily-wag-detail .detail-gallery,
  .is-standard-responsive-detail .detail-gallery {
    grid-template-columns: 1fr;
  }

  .is-curio-detail .detail-gallery-full,
  .is-louder-detail .detail-gallery-full,
  .is-daily-wag-detail .detail-gallery-full,
  .is-standard-responsive-detail .detail-gallery-full {
    grid-column: auto;
  }

  .detail-info-band {
    gap: 0;
  }

  .detail-info-band > div {
    padding: 1.5rem 0;
  }

  .detail-info-band > div:first-child {
    padding-top: 0;
  }

  .detail-info-band > div:last-child {
    padding-bottom: 0;
  }

  .detail-info-band > div + div {
    border-top: 4px solid var(--pink);
    border-left: 0;
  }

  .detail-info-band > div + div {
    border-top-color: #ef79cf;
    border-left: 0;
  }

  .detail-info-band > div + div::before {
    top: -0.45rem;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
  }

  .detail-gallery-full {
    grid-column: auto;
  }

  .detail-gallery-card img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .detail-feature-grid article {
    min-height: 0;
  }

  .detail-next-step a {
    justify-self: start;
  }

  .showcase-intro,
  .showcase-long-preview {
    grid-template-columns: 1fr;
  }

  .showcase-intro-mark {
    max-width: 24rem;
    justify-self: start;
  }

  .showcase-promo-points {
    grid-template-columns: 1fr;
  }

  .showcase-promo-points article {
    min-height: 9rem;
  }

  .showcase-promo-points article + article {
    border-top: 4px solid var(--showcase-coral);
    border-left: 0;
  }

  .showcase-page-designs-heading,
  .showcase-page-design-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card-square,
  .showcase-card-tall,
  .showcase-mosaic-copy,
  .showcase-card-square-alt {
    grid-column: span 6;
  }

  .showcase-card-wide {
    grid-column: span 12;
  }

  .showcase-long-copy {
    position: static;
  }
}

@media (max-width: 520px) {
  .flair-hero-sparkles,
  .flair-hero-plus,
  .flair-hero-star,
  .flair-hot-plus,
  .flair-rising-burst {
    display: none;
  }

  .flair-hero-mobile-star,
  .flair-hero-mobile-plus,
  .flair-hero-mobile-squiggle {
    display: block;
  }

  .flair-hero-mobile-star {
    top: 6.4rem;
    right: 0.15rem;
    width: 3.3rem;
    transform: rotate(11deg);
  }

  .flair-hero-mobile-plus {
    top: 11.4rem;
    right: 1rem;
    width: 2.25rem;
    transform: rotate(-9deg);
  }

  .flair-hero-mobile-squiggle {
    top: 15rem;
    right: -0.35rem;
    width: 4.6rem;
    transform: rotate(8deg);
  }

  .category-nav {
    grid-template-columns: 1fr;
  }

  .category-nav .new-link {
    grid-column: 1;
  }

  .hero-search {
    grid-template-columns: auto 1fr;
    transform: none;
  }

  .hero-search:focus-within {
    transform: translateY(-2px);
  }

  .hero-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .starter-badge {
    max-width: none;
  }

  .template-actions {
    grid-template-columns: 1fr;
  }

  /* On a narrow card the tags, button and price will not sit on one line.
     Keep the tags and price together, drop Add to cart onto its own full
     width row, and give it a taller tap target than the desktop size. */
  .cart-button {
    order: 3;
    flex: 1 1 100%;
    margin-left: 0;
    padding: 0.75rem;
    font-size: 0.95rem;
    text-align: center;
  }

  .template-price {
    order: 2;
    margin-left: auto;
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }

  .detail-copy h1 {
    font-size: clamp(3.4rem, 18vw, 5.3rem);
  }

  .detail-copy h1.is-long-title {
    font-size: clamp(2.75rem, 14vw, 4.4rem);
  }

  .detail-copy h1.is-extra-long-title {
    font-size: clamp(2.35rem, 12vw, 3.75rem);
  }

  .showcase-intro,
  .showcase-long-copy {
    padding: 1.35rem;
  }

  .showcase-intro h2,
  .showcase-long-copy h2 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  .showcase-card-mosaic {
    display: grid;
    grid-template-columns: 1fr;
  }

  .showcase-card-square,
  .showcase-card-tall,
  .showcase-card-wide,
  .showcase-mosaic-copy,
  .showcase-card-square-alt {
    grid-column: 1;
    grid-row: auto;
  }

  .showcase-card-tall {
    aspect-ratio: 1 / 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .flair,
  .detail-flair img {
    animation: none !important;
    translate: none;
    rotate: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------------------------------------------------------------------------
   Header notice. Sits between the brand row and the category nav, centered on
   all widths. Each page carries its own line, written for that page:

     index.html      Freshly launched. Fully live.
     template.html   Free live demo on every template
     faq.html        Not answered here? Send us a message.
     contact.html    We read every message that comes in.
     terms.html      Questions about any of this? Just ask.

   To change any of them, edit the <p class="header-notice"> line in that file.
   template.html feeds the nine generated pages in templates/, so after editing
   it re-run "! Build Scripts/build-template-pages.js".

   Mint rather than yellow: this is news, not a warning. Keep lines short - the
   0.2em letter-spacing means anything past roughly 40 characters wraps.
   --------------------------------------------------------------------------- */
.header-notice {
  margin: 0;
  padding: 0.5rem 0 0.55rem;
  border-top: 1px solid rgba(255, 253, 246, 0.25);
  color: var(--mint);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .header-notice {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }
}
