:root {
  --bg: #f8f5ef;
  --bg-2: #f0eadf;
  --card: #fffdf9;
  --ink: #2a1d15;
  --ink-soft: #6b5d52;
  --muted: #8a7c70;
  --rose: #dbb1a5;
  --rose-deep: #b38475;
  --rose-soft: #f3dfd8;
  --oat: #e7d8c3;
  --green: #9fbd7a;
  --blue: #add6e5;
  --border: #e4d9ca;
  --shadow: 0 24px 70px rgba(42, 29, 21, 0.16);
  --soft-shadow: 0 12px 34px rgba(42, 29, 21, 0.1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(219, 177, 165, 0.1) 0 1px, transparent 1.4px),
    var(--bg);
  background-size: 28px 28px;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.has-cursor,
body.has-cursor * {
  cursor: none;
}

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

button,
input {
  font: inherit;
}

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

::selection {
  color: var(--ink);
  background: var(--rose);
}

.display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  letter-spacing: 0;
  line-height: 0.92;
}

.mono {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cursor-dot,
.cursor-trail {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  pointer-events: none;
  border-radius: 999px;
  transform: translate3d(-80px, -80px, 0);
  display: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--ink);
}

.cursor-trail {
  width: 42px;
  height: 42px;
  background: var(--rose);
  opacity: 0.36;
  filter: blur(10px);
  mix-blend-mode: multiply;
}

body.has-cursor .cursor-dot,
body.has-cursor .cursor-trail {
  display: block;
}

.site-header {
  position: fixed;
  left: 50%;
  top: 18px;
  z-index: 80;
  width: min(1320px, calc(100% - 36px));
  min-height: 68px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(228, 217, 202, 0.86);
  border-radius: 28px;
  background: rgba(248, 245, 239, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(42, 29, 21, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0;
}

.brand-peach {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 58%, var(--ink) 0 2px, transparent 2.4px),
    radial-gradient(circle at 38% 42%, var(--ink) 0 1.8px, transparent 2.1px),
    radial-gradient(circle at 62% 42%, var(--ink) 0 1.8px, transparent 2.1px),
    var(--rose);
  box-shadow: inset 0 0 0 2px rgba(42, 29, 21, 0.08);
}

.site-header nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(240, 234, 223, 0.9);
}

.site-header nav a,
.header-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a[aria-current="page"],
.header-pill[aria-current="page"],
.header-pill:hover,
.header-pill:focus-visible {
  color: var(--ink);
  background: var(--card);
  transform: translateY(-1px);
  outline: none;
}

.header-pill {
  border: 1px solid rgba(42, 29, 21, 0.18);
  background: var(--card);
}

.map-hero {
  position: relative;
  min-height: 100svh;
  padding: 100px 18px 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbf3ef 0%, var(--bg) 68%);
}

.map-frame {
  position: relative;
  min-height: calc(100svh - 118px);
  overflow: hidden;
  border-radius: 34px;
  background: var(--green);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(248, 245, 239, 0.76) 0%,
    rgba(248, 245, 239, 0.46) 25%,
    rgba(248, 245, 239, 0) 54%
  );
  opacity: 1;
  transition: opacity 520ms ease;
}

.map-canvas {
  position: relative;
  width: 100%;
  height: calc(100svh - 118px);
  min-height: 620px;
}

.map-canvas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(0.98);
}

.hero-copy {
  position: absolute;
  left: clamp(34px, 6vw, 92px);
  bottom: clamp(42px, 7vw, 96px);
  z-index: 20;
  width: min(520px, calc(100% - 68px));
  padding: 0;
  text-shadow: 0 2px 22px rgba(255, 253, 249, 0.9);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 360ms ease, transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.map-hero.is-copy-hidden .hero-copy {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  pointer-events: none;
}

.map-hero.is-copy-hidden .map-frame::after {
  opacity: 0;
}

.hero-copy h1 {
  max-width: 9ch;
  margin: 16px 0 18px;
  font-size: clamp(4rem, 8vw, 8.9rem);
}

.hero-copy p:last-child {
  max-width: 34ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.62;
  font-weight: 600;
}

.map-entry {
  position: absolute;
  z-index: 24;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  border-radius: 42%;
  outline: none;
}

.map-entry::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(42, 29, 21, 0.28);
  transform: translate(-50%, -50%);
  opacity: 0.3;
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

.map-entry span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 12px));
  padding: 7px 13px;
  border: 1px solid rgba(42, 29, 21, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.88);
  box-shadow: 0 10px 24px rgba(42, 29, 21, 0.11);
  font-family: "Caveat", cursive;
  font-size: 1.18rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.map-entry:hover::before,
.map-entry:focus-visible::before {
  opacity: 1;
  background: var(--rose-deep);
  transform: translate(-50%, -50%) scale(1.75);
}

.map-entry:hover span,
.map-entry:focus-visible span {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.cloud {
  position: absolute;
  z-index: 30;
  pointer-events: none;
  width: clamp(300px, 34vw, 640px);
  height: clamp(170px, 20vw, 340px);
  border-radius: 60% 42% 58% 46% / 56% 44% 52% 48%;
  background:
    radial-gradient(circle at 17% 54%, rgba(255, 255, 255, 0.98) 0 28%, transparent 29%),
    radial-gradient(circle at 34% 35%, rgba(255, 255, 255, 0.98) 0 36%, transparent 37%),
    radial-gradient(circle at 56% 40%, rgba(255, 255, 255, 0.98) 0 35%, transparent 36%),
    radial-gradient(circle at 78% 54%, rgba(255, 255, 255, 0.96) 0 31%, transparent 32%),
    radial-gradient(ellipse at 50% 71%, rgba(214, 235, 244, 0.84) 0 48%, transparent 50%);
  filter: drop-shadow(0 18px 26px rgba(117, 153, 166, 0.18));
  animation: cloudReveal 2.75s cubic-bezier(0.17, 0.84, 0.22, 1) 260ms forwards;
  will-change: opacity, transform, filter;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  inset: 12% 8%;
  border-radius: inherit;
  pointer-events: none;
}

.cloud::before {
  background:
    radial-gradient(circle at 24% 45%, rgba(255, 255, 255, 0.74) 0 22%, transparent 23%),
    radial-gradient(circle at 46% 32%, rgba(255, 255, 255, 0.72) 0 26%, transparent 27%),
    radial-gradient(circle at 70% 46%, rgba(255, 255, 255, 0.66) 0 24%, transparent 25%);
  transform: translate3d(4%, -5%, 0);
}

.cloud::after {
  inset: 50% 6% 10%;
  background: radial-gradient(ellipse at 50% 50%, rgba(170, 207, 222, 0.34) 0 55%, transparent 58%);
  filter: blur(10px);
}

.cloud-a {
  left: -5%;
  top: -4%;
  --tx: -42vw;
  --ty: -20vh;
  --rot: -5deg;
}

.cloud-b {
  right: -6%;
  top: -5%;
  --tx: 44vw;
  --ty: -20vh;
  --rot: 4deg;
}

.cloud-c {
  left: -7%;
  bottom: -5%;
  --tx: -38vw;
  --ty: 22vh;
  --rot: 3deg;
}

.cloud-d {
  right: -6%;
  bottom: -4%;
  --tx: 42vw;
  --ty: 22vh;
  --rot: -4deg;
}

@keyframes cloudReveal {
  0% {
    opacity: 1;
    filter: drop-shadow(0 18px 26px rgba(117, 153, 166, 0.18));
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  58% {
    opacity: 0.92;
  }
  100% {
    opacity: 0;
    filter: drop-shadow(0 28px 34px rgba(117, 153, 166, 0));
    transform: translate3d(var(--tx), var(--ty), 0) scale(1.12) rotate(var(--rot, 2deg));
  }
}

.intro-section,
.preview-links,
.shop-cta,
.page-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 6vw, 90px);
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border);
}

.intro-section h2 {
  margin: 18px 0 0;
  font-size: clamp(3.5rem, 7vw, 8rem);
  max-width: 9ch;
}

.intro-section > p {
  align-self: end;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.16rem, 2vw, 1.55rem);
  line-height: 1.55;
  font-weight: 500;
}

.preview-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 70px 0 68px;
}

.preview-card,
.product-card,
.manifesto-grid article,
.character-card,
.wip-grid article {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: var(--soft-shadow);
}

.product-card {
  background: #fff;
}

.preview-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  transition: transform 180ms ease, background 180ms ease;
}

.preview-card:hover,
.preview-card:focus-visible {
  transform: translateY(-4px);
  background: var(--card);
  outline: none;
}

.preview-card h3 {
  margin: 44px 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 600;
}

.preview-card p,
.body-copy p,
.page-hero p,
.contact-panel,
.product-card p,
.manifesto-grid p,
.character-card p,
.wip-grid p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.page-shell {
  padding: 156px 0 96px;
}

.page-hero,
.about-hero,
.contact-hero {
  padding: 56px 0 76px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1,
.about-hero h1,
.contact-hero h1 {
  max-width: 920px;
  margin: 18px 0 22px;
  font-size: clamp(4rem, 9vw, 9rem);
}

.page-hero p:last-child,
.contact-hero > p {
  max-width: 650px;
  margin: 0;
  font-size: 1.18rem;
  font-weight: 500;
}

.shop-catalog {
  padding-top: 42px;
}

.shop-toolbar {
  position: sticky;
  top: 108px;
  z-index: 34;
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(320px, 1.2fr) minmax(220px, 0.7fr);
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(228, 217, 202, 0.92);
  border-radius: 28px;
  background: rgba(248, 245, 239, 0.82);
  box-shadow: 0 14px 38px rgba(42, 29, 21, 0.08);
  backdrop-filter: blur(18px);
}

.shop-count {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.shop-tabs {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.shop-controls {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.shop-departments {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(42, 29, 21, 0.08);
  border-radius: 999px;
  background: rgba(240, 234, 223, 0.68);
}

.shop-departments button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  font-weight: 900;
}

.shop-departments button.is-active {
  color: var(--ink);
  border-color: rgba(42, 29, 21, 0.1);
  background: var(--card);
  box-shadow: 0 8px 22px rgba(42, 29, 21, 0.06);
}

.shop-departments button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.shop-departments small {
  margin-left: 7px;
  color: var(--ink-soft);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-tabs button,
.mbti-types button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(42, 29, 21, 0.1);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 253, 249, 0.72);
  font-weight: 800;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.shop-tabs button:hover,
.shop-tabs button:focus-visible,
.shop-tabs button.is-active,
.mbti-types button:hover,
.mbti-types button:focus-visible,
.mbti-types button.is-active {
  color: var(--ink);
  border-color: rgba(219, 177, 165, 0.68);
  background: var(--card);
  outline: none;
  transform: translateY(-1px);
}

.shop-search {
  display: grid;
  gap: 7px;
}

.shop-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(42, 29, 21, 0.12);
  border-radius: 999px;
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  background: var(--card);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.shop-search input::placeholder {
  color: var(--muted);
  font-weight: 600;
  opacity: 0.78;
}

.shop-search input:focus {
  border-color: rgba(219, 177, 165, 0.85);
  box-shadow: 0 0 0 4px rgba(219, 177, 165, 0.18);
}

.shop-content {
  padding-top: 64px;
}

.shop-content > section,
.shop-content > .shop-collections {
  scroll-margin-top: 180px;
}

.shop-taxonomy {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 28px;
  margin-bottom: 76px;
  padding-bottom: 66px;
  border-bottom: 1px solid var(--border);
}

.shop-taxonomy > div:first-child {
  display: grid;
  gap: 16px;
}

.shop-taxonomy h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.8rem, 4.8vw, 5.4rem);
}

.shop-roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shop-roadmap article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.64);
  box-shadow: var(--soft-shadow);
}

.shop-roadmap article.is-live {
  border-color: rgba(219, 177, 165, 0.58);
  background: #fff;
}

.shop-roadmap h3 {
  margin: auto 0 14px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  font-weight: 600;
  line-height: 0.95;
}

.shop-roadmap p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.5;
}

.shop-featured {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(520px, 1.2fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
}

.shop-featured h2 {
  max-width: 8ch;
  margin: 18px 0 0;
  font-size: clamp(3.4rem, 6vw, 7rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.product-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
}

.product-card--catalog,
.mbti-module__product {
  cursor: pointer;
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.product-card--catalog:hover,
.product-card--catalog:focus-visible,
.mbti-module__product:hover,
.mbti-module__product:focus-visible {
  border-color: rgba(219, 177, 165, 0.7);
  box-shadow: 0 18px 42px rgba(42, 29, 21, 0.12);
  outline: none;
  transform: translateY(-3px);
}

.product-card figure,
.mbti-module__product figure {
  margin: 0;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: #fff;
}

.product-card img,
.mbti-module__product img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-card div {
  padding: 22px;
}

.product-card h2 {
  margin: 18px 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  line-height: 0.98;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--bg-2);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: lowercase;
}

.stock-badge--sold-out {
  color: #8f574d;
  background: var(--rose-soft);
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-weight: 800;
}

.price-line span:first-child {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.price-line del,
.product-drawer__price del {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.soft-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(42, 29, 21, 0.18);
  background: var(--bg);
  color: var(--ink);
  font-weight: 800;
}

.mbti-module {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(280px, 0.65fr);
  gap: clamp(26px, 5vw, 68px);
  margin: 86px 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(255, 253, 249, 0.58);
  box-shadow: var(--soft-shadow);
}

.mbti-module h2 {
  max-width: 9ch;
  margin: 18px 0 20px;
  font-size: clamp(3rem, 5.8vw, 6.2rem);
}

.mbti-module__copy > p:last-of-type {
  max-width: 54ch;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.6;
}

.mbti-types {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.mbti-module__product {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
}

.mbti-module__product > div {
  padding: 22px;
}

.mbti-module__product h3 {
  margin: 18px 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  line-height: 0.98;
}

.shop-collections {
  display: grid;
  gap: 70px;
}

.shop-collection {
  display: grid;
  gap: 22px;
  padding-top: 46px;
  border-top: 1px solid var(--border);
}

.shop-collection__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.shop-collection__head > p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.55;
}

.shop-results {
  min-height: 420px;
}

.shop-results--mbti .mbti-module {
  margin: 0;
}

.shop-empty {
  margin: 64px 0 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.product-drawer__overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(42, 29, 21, 0.18);
  opacity: 0;
  transition: opacity 220ms ease;
}

.product-drawer__overlay.is-open {
  opacity: 1;
}

.product-drawer {
  position: fixed;
  top: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 130;
  width: min(620px, calc(100% - 36px));
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--card);
  box-shadow: 0 30px 80px rgba(42, 29, 21, 0.22);
  transform: translateX(calc(100% + 28px));
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-drawer.is-open {
  transform: translateX(0);
}

.product-drawer__close {
  position: sticky;
  top: 16px;
  left: calc(100% - 62px);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 16px 16px -60px auto;
  border: 1px solid rgba(42, 29, 21, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.9);
}

.product-drawer__gallery {
  padding: 18px 18px 0;
}

.product-drawer__main-image {
  margin: 0;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}

.product-drawer__main-image img {
  width: 94%;
  height: 94%;
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: multiply;
}

.product-drawer__thumbs {
  display: flex;
  gap: 8px;
  padding-top: 10px;
  overflow-x: auto;
}

.product-drawer__thumbs button {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}

.product-drawer__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: multiply;
}

.product-drawer__body {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.product-drawer__body h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.product-drawer__body > p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.66;
}

.product-drawer__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
}

.product-drawer__cta {
  min-height: 52px;
  border: 1px solid rgba(42, 29, 21, 0.12);
  border-radius: 999px;
  color: var(--bg);
  background: var(--ink);
  font-weight: 900;
}

.shop-cta {
  display: grid;
  justify-items: center;
  padding: 0 0 68px;
}

.shop-cta__button {
  position: relative;
  width: min(460px, 100%);
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 18px;
  padding: 14px 18px 14px 22px;
  border: 1px solid rgba(42, 29, 21, 0.14);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 16px 42px rgba(42, 29, 21, 0.08);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.shop-cta__button::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(219, 177, 165, 0.32);
  border-radius: inherit;
  pointer-events: none;
}

.shop-cta__button::after {
  content: none;
}

.shop-cta__eyebrow,
.shop-cta__note {
  position: relative;
  z-index: 1;
  grid-column: 1;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-cta__label {
  position: relative;
  z-index: 1;
  grid-column: 1;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 2.45vw, 1.95rem);
  font-weight: 600;
  line-height: 0.9;
}

.shop-cta__arrow {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / 4;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(42, 29, 21, 0.12);
  color: var(--ink-soft);
  background: var(--rose-soft);
  font-size: 1.08rem;
  font-weight: 900;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.shop-cta__button:hover,
.shop-cta__button:focus-visible {
  background: var(--card);
  border-color: rgba(219, 177, 165, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(42, 29, 21, 0.1);
  outline: none;
}

.shop-cta__button:hover .shop-cta__arrow,
.shop-cta__button:focus-visible .shop-cta__arrow {
  color: var(--bg);
  background: var(--ink);
  transform: translate(2px, -2px);
}

.split-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 6vw, 90px);
  padding: 72px 0;
}

.split-story h2 {
  margin: 16px 0 0;
  font-size: clamp(3rem, 6vw, 7rem);
  max-width: 10ch;
}

.body-copy p {
  margin: 0 0 20px;
  font-size: 1.15rem;
}

.manifesto-grid,
.character-list,
.wip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 42px;
}

.manifesto-grid article,
.character-card,
.wip-grid article {
  min-height: 280px;
  padding: 26px;
}

.manifesto-grid h2,
.character-card h2,
.wip-grid h2 {
  margin: 52px 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
}

.lineup {
  margin: 16px 0 34px;
  border: 1px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  background: #1f8a78;
  box-shadow: var(--soft-shadow);
}

.lineup img {
  width: 100%;
}

.wip-grid article {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
}

.sketch {
  position: relative;
  min-height: 190px;
  margin-bottom: 22px;
  border: 1px solid rgba(42, 29, 21, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(42, 29, 21, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(42, 29, 21, 0.05) 1px, transparent 1px),
    var(--card);
  background-size: 24px 24px;
}

.sketch::before,
.sketch::after {
  content: "";
  position: absolute;
  border: 3px solid var(--ink);
}

.sketch-cone::before {
  left: 36%;
  top: 28%;
  width: 72px;
  height: 92px;
  border-radius: 18px 18px 12px 12px;
  background: var(--rose);
  transform: rotate(-8deg);
}

.sketch-cone::after {
  left: 25%;
  bottom: 24%;
  width: 150px;
  height: 0;
  border-width: 3px 0 0;
  transform: rotate(-12deg);
}

.sketch-tape::before {
  left: 18%;
  top: 42%;
  width: 66%;
  height: 38px;
  background: repeating-linear-gradient(90deg, var(--rose) 0 18px, var(--card) 18px 36px);
  transform: rotate(-7deg);
}

.sketch-tape::after {
  left: 22%;
  top: 66%;
  width: 58%;
  height: 0;
  border-width: 3px 0 0;
  border-style: dashed;
  transform: rotate(8deg);
}

.sketch-board::before {
  left: 30%;
  top: 24%;
  width: 116px;
  height: 128px;
  border-radius: 46% 44% 38% 40%;
  background: var(--oat);
}

.sketch-board::after {
  right: 19%;
  bottom: 18%;
  width: 64px;
  height: 82px;
  border-radius: 12px;
  background: rgba(219, 177, 165, 0.55);
}

.contact-panel {
  width: min(620px, 100%);
  display: grid;
  gap: 12px;
  margin-top: 34px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--soft-shadow);
  font-size: 1.12rem;
}

.contact-panel a {
  font-weight: 800;
}

.site-footer {
  width: 100%;
  margin-top: clamp(28px, 4vw, 54px);
  padding: clamp(34px, 4.8vw, 62px) 28px 26px;
  border-top: 1px solid rgba(42, 29, 21, 0.14);
  color: var(--ink);
  background: var(--bg);
}

.foot__top,
.foot__bottom {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.foot__top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3.4vw, 42px);
}

.foot__col h4 {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.foot__col a {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.62;
  transition: color 220ms ease, transform 220ms ease;
}

.foot__col a:hover,
.foot__col a:focus-visible {
  color: var(--rose-deep);
  transform: translateX(4px);
  outline: none;
}

.foot__address {
  display: block;
  margin-top: 14px;
  color: var(--ink-soft);
  font-family: "Caveat", cursive;
  font-size: 1.38rem;
  line-height: 1.15;
}

.foot__mega {
  width: 100%;
  margin: clamp(34px, 5vw, 72px) auto 22px;
  overflow: hidden;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(6.4rem, 20vw, 20.8rem);
  font-variation-settings: "opsz" 144;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.82;
  text-align: center;
  white-space: nowrap;
}

.foot__mega span {
  display: inline-block;
  transition: color 260ms ease, transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.foot__mega span:hover {
  color: var(--rose-deep);
  transform: translateY(-18px) rotate(-8deg);
}

.foot__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(42, 29, 21, 0.14);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.foot__bottom em {
  color: var(--rose-deep);
}

.foot__credits a {
  padding: 0 4px;
  border-bottom: 1px solid rgba(42, 29, 21, 0.18);
  color: var(--ink-soft);
  transition: color 220ms ease, border-color 220ms ease;
}

.foot__credits a:hover,
.foot__credits a:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .cloud {
    display: none;
  }

  body.has-cursor,
  body.has-cursor * {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-trail {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-header nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .map-hero {
    padding-top: 136px;
  }

  .map-frame,
  .map-canvas {
    min-height: 600px;
    height: 68svh;
  }

  .hero-copy {
    left: 34px;
    bottom: 34px;
  }

  .intro-section,
  .split-story,
  .preview-links,
  .manifesto-grid,
  .character-list,
  .wip-grid {
    grid-template-columns: 1fr;
  }

  .shop-toolbar {
    top: 150px;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .shop-tabs {
    justify-self: stretch;
    justify-content: flex-start;
  }

  .shop-controls {
    justify-items: stretch;
  }

  .shop-departments {
    justify-content: flex-start;
  }

  .shop-taxonomy {
    grid-template-columns: 1fr;
  }

  .shop-roadmap {
    grid-template-columns: 1fr 1fr;
  }

  .shop-featured,
  .mbti-module {
    grid-template-columns: 1fr;
  }

  .shop-featured h2,
  .mbti-module h2 {
    max-width: 11ch;
  }

  .product-grid,
  .product-grid--featured,
  .product-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-collection__head {
    align-items: start;
    flex-direction: column;
  }

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

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 22px;
  }

  .brand {
    font-size: 1.18rem;
  }

  .brand-peach {
    width: 24px;
    height: 24px;
  }

  .site-header nav {
    gap: 2px;
    padding: 4px;
  }

  .site-header nav a {
    padding: 0 6px;
    font-size: 0.7rem;
  }

  .header-pill {
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .map-hero {
    padding: 132px 10px 10px;
  }

  .map-frame {
    border-radius: 24px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .map-frame::after {
    display: none;
  }

  .map-canvas {
    width: 980px;
    min-width: 980px;
    min-height: 590px;
    height: 590px;
  }

  .map-canvas img {
    width: 100%;
    max-width: none;
  }

  .hero-copy {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: 22px 14px 0;
  }

  .hero-copy h1,
  .page-hero h1,
  .about-hero h1,
  .contact-hero h1 {
    font-size: clamp(3.4rem, 16vw, 5.2rem);
  }

  .intro-section,
  .preview-links,
  .shop-cta,
  .page-shell {
    width: calc(100% - 28px);
  }

  .intro-section {
    padding: 76px 0 54px;
  }

  .shop-cta {
    padding-bottom: 54px;
  }

  .shop-cta__button {
    min-height: 72px;
    padding: 13px 16px 13px 20px;
    gap: 4px 12px;
  }

  .shop-cta__arrow {
    width: 40px;
    height: 40px;
  }

  .page-shell {
    padding-top: 156px;
  }

  .shop-catalog {
    padding-top: 28px;
  }

  .shop-toolbar {
    position: relative;
    top: auto;
    border-radius: 24px;
  }

  .shop-content {
    padding-top: 38px;
  }

  .shop-taxonomy {
    margin-bottom: 54px;
    padding-bottom: 48px;
  }

  .shop-taxonomy > div:first-child {
    display: grid;
    gap: 16px;
  }

  .shop-taxonomy h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .shop-roadmap {
    grid-template-columns: 1fr;
  }

  .shop-roadmap article {
    min-height: 190px;
    border-radius: 24px;
  }

  .shop-featured {
    gap: 28px;
  }

  .shop-featured h2,
  .mbti-module h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .product-grid,
  .product-grid--featured,
  .product-grid--compact {
    grid-template-columns: 1fr;
  }

  .product-card h2,
  .mbti-module__product h3 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }

  .price-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .mbti-module {
    margin: 56px 0;
    padding: 18px;
    border-radius: 24px;
  }

  .mbti-types {
    gap: 6px;
  }

  .mbti-types button,
  .shop-tabs button {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.78rem;
  }

  .shop-collections {
    gap: 48px;
  }

  .product-drawer {
    inset: 10px;
    width: auto;
    border-radius: 24px;
  }

  .product-drawer__gallery {
    padding: 12px 12px 0;
  }

  .product-drawer__body {
    padding: 20px;
  }

  .product-drawer__body h2 {
    font-size: clamp(2.6rem, 15vw, 4.2rem);
  }

  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .foot__top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .foot__mega {
    font-size: clamp(4.2rem, 22vw, 6.4rem);
    letter-spacing: 0;
    text-align: left;
  }

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

/* ============================================================
   Cart pill + drawer (Shopify Buy SDK adapter)
   ============================================================ */

.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  margin-right: 8px;
  border: 1px solid rgba(42, 29, 21, 0.18);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.header-cart:hover,
.header-cart:focus-visible {
  border-color: rgba(42, 29, 21, 0.4);
  background: var(--bg);
  transform: translateY(-1px);
}

.header-cart__icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  font-size: 0.7rem;
  color: var(--rose-deep);
}

.header-cart__count {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.62rem;
  text-align: center;
  line-height: 1.4;
}

.header-cart__count.is-hidden {
  display: none;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 29, 21, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
  z-index: 998;
}

.cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 220ms ease;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 92vw);
  background: var(--bg);
  box-shadow: -16px 0 40px rgba(42, 29, 21, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 999;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 12px;
  border-bottom: 1px solid rgba(42, 29, 21, 0.08);
}

.cart-drawer__head h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.cart-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(42, 29, 21, 0.16);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}

.cart-lines {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  margin: 0;
  list-style: none;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(42, 29, 21, 0.06);
}

.cart-line:last-child { border-bottom: none; }

.cart-line__img {
  margin: 0;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
}

.cart-line__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__body h4 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  margin: 0 0 4px;
}

.cart-line__body .mono {
  font-size: 0.6rem;
  color: var(--muted);
  margin: 0 0 8px;
}

.cart-line__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(42, 29, 21, 0.12);
  border-radius: 999px;
  padding: 2px;
}

.cart-qty button {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.cart-qty button:hover {
  background: var(--card);
}

.cart-qty span {
  min-width: 22px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
}

.cart-line__remove {
  margin-top: 8px;
  border: none;
  background: none;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.cart-line__remove:hover { color: var(--rose-deep); }

.cart-empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.7rem;
}

.cart-drawer__foot {
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(42, 29, 21, 0.08);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  margin: 0 0 12px;
}

.cart-checkout {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.cart-checkout.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.cart-note {
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.58rem;
  color: var(--muted);
}

body.cart-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .header-cart {
    padding: 8px 12px;
    margin-right: 4px;
  }
  .cart-drawer {
    width: 100vw;
  }
}
