/* ============================================================
   For The Plot — storefront
   Palette: ink #0B0B0B · cream #F5F0E6 · plot red #E6392F
   ============================================================ */

:root {
  --ink: #0b0b0b;
  --ink-line: rgba(245, 240, 230, 0.16);
  --cream: #f5f0e6;
  --cream-dim: rgba(245, 240, 230, 0.68);
  --red: #e6392f;
  --red-dark: #c62c24;

  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-logo: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-body: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-pop: cubic-bezier(0.18, 1.92, 0.48, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  color-scheme: dark;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--red);
  color: var(--cream);
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section[id] {
  scroll-margin-top: 84px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--cream);
  color: var(--ink);
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.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;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 11, 11, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-line);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(11, 11, 11, 0.97);
  border-bottom-color: rgba(245, 240, 230, 0.24);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  transition: min-height 0.35s var(--ease);
}

.site-header.is-scrolled .header-inner {
  min-height: 56px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--font-logo);
  font-size: 13px;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  padding-block: 6px;
}

.logo-line {
  display: flex;
  align-items: center;
}

.logo-o {
  display: inline-block;
  flex: none;
  width: 0.92em;
  height: 0.92em;
  margin-inline: 0.04em;
  border-radius: 50%;
  background: var(--red);
  transition: transform 0.45s var(--ease-bounce);
}

.logo:hover .logo-o {
  transform: scale(1.14);
}

.site-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 24px;
}

.site-nav a,
.footer-nav a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--red);
  transition: right 0.25s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover {
  color: var(--cream);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.4s var(--ease-bounce), translate 0.45s var(--ease-bounce);
  translate: var(--pull-x, 0px) var(--pull-y, 0px);
}

.btn > span {
  position: relative;
  z-index: 1;
}

.btn:not([aria-disabled="true"]):hover,
.btn:not([aria-disabled="true"]):focus-visible {
  transform: translateY(-3px);
}

.btn:not([aria-disabled="true"]):active {
  transform: translateY(2px) scale(0.985);
  transition-duration: 0.12s;
}

.btn--primary {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--cream);
  transform: translateY(102%);
  transition: transform 0.42s var(--ease);
}

.btn--primary:not([aria-disabled="true"]):hover,
.btn--primary:not([aria-disabled="true"]):focus-visible {
  color: var(--ink);
  border-color: var(--red);
}

.btn--primary:not([aria-disabled="true"]):hover::before,
.btn--primary:not([aria-disabled="true"]):focus-visible::before {
  transform: translateY(0);
}

.btn--primary:not([aria-disabled="true"]):hover .btn-price,
.btn--primary:not([aria-disabled="true"]):focus-visible .btn-price {
  border-left-color: rgba(11, 11, 11, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--ink-line);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--cream);
}

.btn--cream {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn--cream:hover,
.btn--cream:focus-visible {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn--small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 12px;
}

.btn--wide {
  width: 100%;
}

.btn-price {
  padding-left: 16px;
  border-left: 1px solid rgba(245, 240, 230, 0.35);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn--cream .btn-price {
  border-left-color: rgba(11, 11, 11, 0.25);
}

.btn[aria-disabled="true"] {
  background: transparent;
  color: var(--cream-dim);
  border-color: var(--ink-line);
  cursor: not-allowed;
}

.btn[aria-disabled="true"] .btn-price {
  border-left-color: var(--ink-line);
}

.btn .ripple {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.2;
  transform: scale(0);
  animation: btn-ripple 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes btn-ripple {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

.closer .btn[aria-disabled="true"] {
  color: var(--ink);
  border-color: rgba(11, 11, 11, 0.28);
  background: rgba(245, 240, 230, 0.16);
}

.closer .btn[aria-disabled="true"] .btn-price {
  border-left-color: rgba(11, 11, 11, 0.28);
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

.muted {
  color: var(--cream-dim);
  font-size: 14px;
}

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

.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 92px);
  overflow: hidden;
  --spot-x: 50%;
  --spot-y: 32%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    480px circle at var(--spot-x) var(--spot-y),
    rgba(230, 57, 47, 0.16),
    transparent 68%
  );
  transition: opacity 0.6s ease;
}

.hero.is-pointer::before {
  opacity: 1;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.hero-copy {
  animation: rise 1s var(--ease-bounce) both;
}

.hero-title {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9.2vw, 8.4rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-top: 0.28em;
  margin-top: -0.28em;
  padding-bottom: 0.02em;
}

.hero-title .line-inner {
  display: block;
  transform: translateY(118%);
  animation: line-rise 1.05s var(--ease-pop) both;
}

.hero-title .line:nth-child(1) .line-inner {
  animation-delay: 0.1s;
}

.hero-title .line:nth-child(2) .line-inner {
  animation-delay: 0.22s;
}

.hero-title .line:nth-child(3) .line-inner {
  animation-delay: 0.34s;
}

.hero-title .line--red {
  color: var(--red);
  -webkit-text-stroke: 0;
}

/* Hero glyph heat on hover: only the letters under the cursor ignite */

.glyph {
  display: inline-block;
  transition: transform 0.5s var(--ease-bounce), color 0.25s ease,
    text-shadow 0.3s ease;
}

.glyph.is-lit {
  transform: translateY(-0.1em) scale(1.08);
  color: var(--red);
  text-shadow: 0 0 16px rgba(230, 57, 47, 0.75),
    0 0 44px rgba(230, 57, 47, 0.4);
}

.line--red .glyph.is-lit {
  color: var(--cream);
  text-shadow: 0 0 16px rgba(245, 240, 230, 0.8),
    0 0 44px rgba(245, 240, 230, 0.4);
}

.hero-deck {
  max-width: 46ch;
  margin: 0 0 32px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--cream-dim);
}

.hero-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.hero-fineprint {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--cream-dim);
}

.hero-fineprint strong {
  color: var(--cream);
  font-weight: 600;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 40px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--ink-line);
  list-style: none;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-facts li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}

/* Stage */

.hero-stage {
  position: relative;
  animation: stage-in 1.15s 0.1s var(--ease-pop) both;
  --mx: 0;
  --my: 0;
}

.stage-disc {
  position: absolute;
  z-index: 0;
  width: 82%;
  aspect-ratio: 1;
  top: 4%;
  right: -6%;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 120px rgba(230, 57, 47, 0.28);
  animation: disc-in 1.05s 0.24s var(--ease-pop) both;
  translate: calc(var(--mx) * -16px) calc(var(--my) * -16px);
  transition: translate 0.55s var(--ease-bounce);
  will-change: translate;
}

.stage-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(12px, 2vw, 22px);
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  translate: calc(var(--mx) * 9px) calc(var(--my) * 9px);
  transition: translate 0.55s var(--ease-bounce);
  will-change: translate;
}

.hero-stage.is-tracking .stage-disc,
.hero-stage.is-tracking .stage-frame,
.hero-stage.is-tracking .stage-sticker {
  transition: none;
}

.stage-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--cream);
}

.stage-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stage-sticker {
  position: absolute;
  z-index: 2;
  right: -14px;
  bottom: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--cream);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  animation: sticker-in 0.95s 0.5s var(--ease-pop) backwards;
  transition: scale 0.4s var(--ease-bounce), translate 0.55s var(--ease-bounce);
  translate: calc(var(--mx) * 24px) calc(var(--my) * 24px);
  will-change: translate;
}

.stage-sticker:hover {
  scale: 1.07;
}

/* Ticker */

.ticker {
  border-block: 1px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}

.ticker-star {
  color: var(--red);
  font-size: 0.8em;
}

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

.section {
  padding-block: clamp(72px, 10vw, 128px);
}

.product {
  border-bottom: 1px solid var(--ink-line);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.gallery-main {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  padding: clamp(12px, 2vw, 20px);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.gallery-main:active {
  cursor: grabbing;
}

.gallery-main.is-dragging img {
  transition: none;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.9s var(--ease-bounce);
  -webkit-user-drag: none;
  user-select: none;
}

.gallery-main:hover img {
  transform: scale(1.02);
}

.gallery-main.is-switching img {
  opacity: 0.15;
  transform: scale(0.96);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.gallery-note {
  margin: 14px 0 0;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--cream-dim);
}

.gallery-note a {
  color: var(--cream);
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}

.shipping-note {
  max-width: 62ch;
  margin: -18px 0 40px;
  font-size: 14px;
  color: var(--cream-dim);
}

.thumb {
  padding: 6px;
  background: transparent;
  border: 1px solid var(--ink-line);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease,
    transform 0.4s var(--ease-bounce);
}

.thumb:hover,
.thumb:focus-visible {
  transform: translateY(-4px);
}

.thumb:active {
  transform: translateY(1px) scale(0.97);
  transition-duration: 0.12s;
}

.thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--cream);
}

.thumb:hover,
.thumb:focus-visible,
.thumb.is-active {
  border-color: var(--red);
  background: rgba(230, 57, 47, 0.08);
}

.buybox {
  position: sticky;
  top: 96px;
}

.product-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.product-sub {
  margin: 0 0 24px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  padding: 22px 0;
  border-block: 1px solid var(--ink-line);
}

.price {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  line-height: 1;
}

.price-note {
  font-size: 13px;
  color: var(--cream-dim);
}

.product-desc {
  margin: 24px 0 28px;
  color: var(--cream-dim);
}

.checkout-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--cream-dim);
  text-align: center;
}

.buy-facts {
  margin: 32px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink-line);
}

.buy-facts li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 13px;
}

.buy-fact-label {
  color: var(--cream-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
}

/* Accordion */

.accordion {
  border-top: 1px solid var(--ink-line);
}

.accordion details,
.faq details {
  border-bottom: 1px solid var(--ink-line);
}

.accordion summary,
.faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
}

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

.accordion summary::after,
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--red);
  transition: transform 0.4s var(--ease-bounce);
}

.accordion details[open] summary::after,
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-body {
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--cream-dim);
}

.accordion details[open] .accordion-body,
.faq details[open] .accordion-body {
  animation: rise 0.45s var(--ease-bounce) both;
}

.accordion-body p {
  margin: 0 0 10px;
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

/* ---------- The actual mug (cream block) ---------- */

.real {
  background: var(--cream);
  color: var(--ink);
}

.real .eyebrow {
  color: rgba(11, 11, 11, 0.6);
}

.real-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.real-photo {
  position: relative;
  max-width: 450px;
  margin: 0;
}

/* Instant-photo stack: white frames fan out behind the front shot */

.photo-stack {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 900px;
  transform-style: preserve-3d;
  outline-offset: 8px;
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease);
}

.photo-stack:focus-visible {
  outline: 2px solid var(--red);
  border-radius: 6px;
}

.instant-photo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  border: 0;
  padding: 10px 10px 0;
  background: #fffdf8;
  border-radius: 4px;
  box-shadow: 0 22px 46px rgba(11, 11, 11, 0.28);
  transform-style: preserve-3d;
  transition: transform 0.65s var(--ease-bounce), opacity 0.4s ease;
  will-change: transform;
  user-select: none;
}

.instant-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 32%;
  -webkit-user-drag: none;
  pointer-events: none;
}

.instant-photo figcaption {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(11, 11, 11, 0.62);
  background: transparent;
  white-space: nowrap;
}

.instant-photo.is-back {
  z-index: 1;
  transform: rotate(-10deg) translate(-22px, 22px) scale(0.9);
  opacity: 0.92;
}

.instant-photo.is-mid {
  z-index: 2;
  transform: rotate(5deg) translate(16px, 14px) scale(0.95);
  opacity: 0.96;
}

.instant-photo.is-front {
  z-index: 3;
  transform: rotate(0deg) translate(0, 0) scale(1);
  opacity: 1;
}

.photo-stack:hover .instant-photo.is-back,
.photo-stack:focus-visible .instant-photo.is-back {
  transform: rotate(-13deg) translate(-40px, 34px) scale(0.88);
  opacity: 0.95;
}

.photo-stack:hover .instant-photo.is-mid,
.photo-stack:focus-visible .instant-photo.is-mid {
  transform: rotate(8deg) translate(28px, 22px) scale(0.92);
  opacity: 1;
}

.real-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
}

.real-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.real-dot {
  width: 28px;
  height: 5px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(11, 11, 11, 0.2);
  cursor: pointer;
  transition: background 0.25s ease, width 0.35s var(--ease);
}

.real-dot.is-active {
  width: 36px;
  background: var(--red);
}

.real-dot:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.real-count {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(11, 11, 11, 0.55);
  white-space: nowrap;
}

.real-photo figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 14px;
  padding-top: 10px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(11, 11, 11, 0.55);
}

.real-stamp {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: -18px;
  padding: 7px 12px;
  white-space: nowrap;
  transform: rotate(7deg);
  border: 2px solid var(--red);
  background: rgba(245, 240, 230, 0.92);
  color: var(--red);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.real-copy p {
  max-width: 52ch;
  margin: 0 0 16px;
  color: rgba(11, 11, 11, 0.72);
}

.muted-note {
  margin: 20px 0 24px;
  padding-left: 12px;
  border-left: 2px solid var(--red);
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(11, 11, 11, 0.58);
}

/* ---------- Feel everything (ink statement) ---------- */

.statement-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.statement-title {
  margin: 0 0 24px;
  padding-top: 0.12em;
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 9.2rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.statement-title span {
  color: transparent;
  -webkit-text-stroke: 2px var(--cream);
}

.statement-copy p {
  max-width: 48ch;
  margin: 0;
  color: var(--cream-dim);
}

/* Playful mug sticker: grows big on hover / focus */

.sticker {
  position: relative;
  justify-self: end;
  width: clamp(230px, 27vw, 370px);
  aspect-ratio: 1;
  margin: 0;
  border: clamp(10px, 1.4vw, 16px) solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
  transform: rotate(-8deg) scale(1);
  transform-origin: center;
  cursor: pointer;
  user-select: none;
  outline-offset: 12px;
  backface-visibility: hidden;
  will-change: transform;
  flex: none;
  animation: sticker-pop 0.85s 0.3s var(--ease-bounce) backwards;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.sticker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  -webkit-user-drag: none;
}

.sticker::after {
  content: "";
  position: absolute;
  inset: -28px;
  border: 1.5px dashed var(--red);
  border-radius: 50%;
  pointer-events: none;
}

.sticker:hover,
.sticker:focus-visible {
  transform: rotate(1.5deg) scale(1.4);
  z-index: 5;
  box-shadow: 0 44px 90px rgba(0, 0, 0, 0.62),
    0 0 0 8px rgba(230, 57, 47, 0.16);
}

.sticker:hover::after,
.sticker:focus-visible::after {
  animation: spin 16s linear infinite;
}

.sticker-tag {
  position: absolute;
  z-index: 2;
  right: -12px;
  bottom: 14px;
  padding: 6px 12px;
  background: var(--red);
  color: var(--cream);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(6deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

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

@keyframes sticker-pop {
  0% {
    opacity: 0;
    transform: rotate(-34deg) scale(0.35);
  }
  60% {
    opacity: 1;
    transform: rotate(-4deg) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: rotate(-8deg) scale(1);
  }
}

/* ---------- Reveal system ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(38px) scale(0.97);
  transition: opacity 0.65s var(--ease), transform 0.85s var(--ease-bounce);
  transition-delay: calc(var(--i, 0) * 80ms);
  will-change: opacity, transform;
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- Story (cream block) ---------- */

.story {
  background: var(--cream);
  color: var(--ink);
}

.story .eyebrow {
  color: rgba(11, 11, 11, 0.6);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.story-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.6vw, 5.8rem);
  line-height: 0.82;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
  user-select: none;
}

.story-mark > span {
  display: block;
}

.story-o {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-inline: 0.07em;
  border-radius: 50%;
  background: var(--red);
  -webkit-text-stroke: 0;
  vertical-align: -0.02em;
}

.section-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 400;
  line-height: 0.96;
  text-transform: uppercase;
}

.story-copy p {
  max-width: 54ch;
  margin: 0 0 16px;
  color: rgba(11, 11, 11, 0.72);
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
  translate: var(--pull-x, 0px) var(--pull-y, 0px);
  transition: translate 0.45s var(--ease-bounce);
}

.text-link span {
  display: inline-block;
  transition: transform 0.4s var(--ease-bounce);
}

.text-link:hover span {
  transform: translateX(6px);
}

/* ---------- Shipping ---------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: clamp(48px, 7vw, 80px);
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}

.info-card {
  padding: clamp(24px, 3vw, 36px);
  background: var(--ink);
  transition: transform 0.45s var(--ease-bounce), box-shadow 0.35s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(230, 57, 47, 0.5);
}

.info-num {
  display: block;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--red);
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.info-card p {
  margin: 0;
  font-size: 14px;
  color: var(--cream-dim);
}

.faq {
  max-width: 760px;
  border-top: 1px solid var(--ink-line);
}

/* ---------- Closer ---------- */

.closer {
  background: var(--red);
  color: var(--cream);
  padding-block: clamp(72px, 10vw, 128px);
}

.closer-inner {
  text-align: center;
}

.closer .eyebrow {
  justify-content: center;
  color: var(--ink);
}

.closer .eyebrow .dot {
  background: var(--ink);
}

.closer-title {
  margin: 0 0 36px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.88;
  text-transform: uppercase;
}

.closer-title span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cream);
}

.closer .btn--cream:hover,
.closer .btn--cream:focus-visible {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

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

.site-footer {
  padding-block: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--ink-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 32px;
  align-items: start;
}

.logo--footer {
  font-size: 22px;
  margin-bottom: 18px;
}

.footer-note,
.footer-meta p {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--cream-dim);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 6px;
}

.footer-meta {
  text-align: right;
}

/* ---------- Mobile buy bar ---------- */

.mobile-buy {
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--cream);
  color: var(--ink);
  border-top: 1px solid rgba(11, 11, 11, 0.2);
}

.mobile-buy .btn[aria-disabled="true"] {
  color: var(--ink);
  border-color: rgba(11, 11, 11, 0.3);
}

.mobile-buy-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mobile-buy-price {
  display: block;
  font-size: 11px;
  color: rgba(11, 11, 11, 0.65);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 28px;
  max-width: min(92vw, 420px);
  padding: 14px 18px;
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  border-left: 4px solid var(--red);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 34px) scale(0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.5s var(--ease-bounce);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

/* ---------- Animations ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes line-rise {
  0% {
    transform: translateY(118%);
  }
  70% {
    transform: translateY(-2.5%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes stage-in {
  0% {
    opacity: 0;
    transform: translateY(48px) scale(0.93);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes disc-in {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  70% {
    opacity: 1;
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes sticker-in {
  0% {
    opacity: 0;
    scale: 0.35;
  }
  55% {
    opacity: 1;
    scale: 1.15;
  }
  78% {
    scale: 0.96;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}

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

.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

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

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    order: -1;
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }

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

  .buybox {
    position: static;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-mark {
    font-size: clamp(2.8rem, 9vw, 4rem);
  }

  .real-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .real-photo {
    max-width: 440px;
    margin-inline: auto;
  }

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

  .statement-title {
    font-size: clamp(3.6rem, 19vw, 6.5rem);
  }

  .sticker {
    justify-self: center;
    width: clamp(220px, 54vw, 320px);
  }

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

@media (max-width: 820px) {
  .site-nav {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 76px;
  }

  .mobile-buy {
    display: flex;
  }

  .header-inner {
    min-height: 60px;
  }

  .btn--small {
    min-height: 36px;
  }

  .hero-title {
    font-size: clamp(3.4rem, 15vw, 5.6rem);
  }

  .hero-stage {
    max-width: 420px;
  }

  .stage-sticker {
    width: 88px;
    height: 88px;
    font-size: 11px;
    right: -6px;
  }

  .toast {
    bottom: 92px;
  }

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

  .hero-buy .btn {
    width: 100%;
  }

  .toast {
    bottom: 92px;
  }

  .mobile-buy {
    gap: 10px;
  }

  .mobile-buy .btn {
    max-width: 118px;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 9.5px;
    letter-spacing: 0.04em;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
  }

  .sticker:hover,
  .sticker:focus-visible {
    transform: rotate(1.5deg) scale(1.18);
  }

  .real-stamp {
    right: -8px;
  }
}

@media (max-width: 400px) {
  .logo {
    font-size: 13px;
  }

  .price-row {
    gap: 6px 12px;
  }
}

/* ---------- Forced colors / contrast themes ---------- */

/* The For The Plot identity is the design. Keep brand colours exactly as
   drawn even when the OS or browser forces a contrast palette. */
@media (forced-colors: active) {
  *,
  *::before,
  *::after {
    forced-color-adjust: none !important;
  }
}

/* ---------- Custom cursors (precise pointers only) ---------- */

@media (hover: hover) and (pointer: fine) {
  body,
  .site-header,
  .announce,
  .hero,
  .product,
  .real,
  .story,
  .statement,
  .shipping,
  .closer,
  .site-footer,
  .ticker,
  .scroll-progress,
  .mobile-buy {
    cursor: url("../cursors/cursor-01-spotlight.png") 3 3, auto;
  }

  a,
  button,
  .btn,
  summary,
  .thumb,
  .text-link,
  [data-checkout],
  .gallery-main,
  .sticker,
  .btn[aria-disabled="true"],
  .closer .btn[aria-disabled="true"],
  .mobile-buy .btn[aria-disabled="true"] {
    cursor: url("../cursors/cursor-02-plot-red-spark.png") 7 7, pointer;
  }

  input,
  textarea,
  select,
  [contenteditable] {
    cursor: text;
  }

  p,
  li,
  h1,
  h2,
  h3,
  h4,
  .hero-deck,
  .product-desc,
  .accordion-body,
  .price-note,
  .product-sub,
  .buy-facts li,
  .footer-note,
  .footer-meta,
  .footer-fine,
  .story-copy p,
  .real-copy p,
  .statement-copy p,
  .checkout-note,
  .shipping-note,
  .real-count {
    cursor: url("../cursors/cursor-text-ibeam.png") 7 15, text;
  }
}

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

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

  .js [data-reveal],
  .js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }

  .hero-title .line-inner {
    transform: none;
  }

  .stage-sticker {
    animation-delay: 0ms !important;
  }

  .btn,
  .btn:not([aria-disabled="true"]):hover,
  .btn:not([aria-disabled="true"]):focus-visible,
  .btn:not([aria-disabled="true"]):active,
  .thumb,
  .thumb:hover,
  .thumb:focus-visible,
  .thumb:active,
  .stage-sticker,
  .stage-sticker:hover,
  .sticker,
  .sticker:hover,
  .sticker:focus-visible,
  .sticker:focus-visible::after,
  .sticker:hover::after,
  .real-photo,
  .real-photo:hover {
    transform: none;
    translate: 0;
    scale: 1;
    animation: none;
  }

  .info-card,
  .info-card:hover,
  .text-link,
  .text-link:hover {
    transform: none;
    translate: 0;
    scale: 1;
  }
}
