:root {
  --header-height: clamp(78px, 9vw, 104px);
  --footer-height: clamp(88px, 11vw, 128px);
  --lip-frame-width: 132px;
  --lip-frame-height: 132px;
  --lip-content-clearance: 66px;
  --paper: #fffaf2;
  --ink: black;
  --muted: #73695f;
  --rule: rgba(23, 19, 15, 0.14);
  --accent: #e46a9b;
  --shadow: 0 18px 50px rgba(23, 19, 15, 0.12);
}

.reenie-beanie-regular {
  font-family: "Reenie Beanie", cursive;
  font-weight: 400;
  font-style: normal;
}



* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #080706;
  font-family: "Montserrat", sans-serif;
}

.site-header,
.page-shell,
.site-footer {
  transition: opacity 240ms ease;
}

body.is-locked {
  overflow: hidden;
}

body.is-locked .site-header,
body.is-locked .page-shell,
body.is-locked .site-footer {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.reveal-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: #080706;
  opacity: 1;
  transition: opacity 220ms ease;
}

.reveal-gate.is-fading {
  opacity: 0;
  pointer-events: none;
}

.reveal-gate[hidden] {
  display: none;
}

.reveal-stack {
  display: grid;
  justify-items: center;
  gap: clamp(0.35rem, 1.3vw, 0.8rem);
  width: min(82vw, 480px);
}

.reveal-copy {
  position: relative;
  z-index: 4;
  margin: 0;
  max-width: none;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.85);
  opacity: 1;
  transition:
    opacity 140ms ease,
    transform 140ms ease;
  pointer-events: none;
}

.reveal-brand {
  font-size: clamp(6rem, 9vw, 6rem);
  line-height: 0.8;
}

.reveal-tagline {
  font-size: clamp(5rem, 9vw, 5rem);
  line-height: 0.9;
}

body.is-triggering .reveal-copy {
  opacity: 0;
  transform: translateY(-0.25rem);
}

.reveal-trigger {
  position: relative;
  width: min(76vw, 430px);
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  background: transparent;
  color: white;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: transform 80ms ease-out;
}

.reveal-trigger:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}

.reveal-trigger:disabled {
  cursor: progress;
  opacity: 1;
}

.reveal-base-image,
.reveal-color-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.reveal-base-image {
  z-index: 1;
}

.reveal-color-image {
  z-index: 2;
  opacity: 0;
  filter: grayscale(1) saturate(0) brightness(0.8);
  transition:
    opacity 75ms linear,
    filter 75ms linear;
}

.reveal-trigger.is-activating .reveal-color-image {
  opacity: 1;
  filter: grayscale(0) saturate(1) brightness(1);
  transition-duration: 1000ms;
  transition-timing-function: cubic-bezier(0.45, 0, 0.75, 1);
}

.reveal-trigger.is-floating-out .reveal-base-image,
.reveal-trigger.is-floating-out .reveal-color-image {
  opacity: 0;
  transition-duration: 80ms;
}

.reveal-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.reveal-trigger.is-holding {
  transform: scale(0.99);
}

.site-header,
.site-footer {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(0.85rem, 3vw, 2rem);
  color: #fff;
  background: #080706;
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.14);
}

.site-header {
  top: 0;
  height: var(--header-height);
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding-block: clamp(0.24rem, 0.7vw, 0.42rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  
}

.header-controls {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
}

.header-brand {
  color: #fff;
  font-size: clamp(2.1rem, 5.4vw, 4.2rem);
  line-height: 0.75;
  text-align: center;
  white-space: nowrap;
  transform: translateY(0.32rem);
}

.site-header:is(.is-dark, [data-theme="dark"]),
html:is(.dark, [data-theme="dark"]) .site-header,
body:is(.dark, [data-theme="dark"]) .site-header {
  background: #080706;
}

.site-header:is(.is-dark, [data-theme="dark"]) :is(.icon-button, .cart-button),
html:is(.dark, [data-theme="dark"]) .site-header :is(.icon-button, .cart-button),
body:is(.dark, [data-theme="dark"]) .site-header :is(.icon-button, .cart-button) {
  color: #fff;
}

.site-header:is(.is-dark, [data-theme="dark"]) .cart-button strong,
html:is(.dark, [data-theme="dark"]) .site-header .cart-button strong,
body:is(.dark, [data-theme="dark"]) .site-header .cart-button strong {
  background: #fff;
  color: #080706;
}

.site-footer {
  bottom: 0;
  height: var(--footer-height);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding-top: calc(var(--header-height) + var(--lip-content-clearance) + 1.35rem);
  padding-bottom: calc(var(--footer-height) + 2rem);
}

.content-statement {
  margin: 0 auto clamp(1rem, 3vw, 1.8rem);
  max-width: 720px;
  color: #fff;
  font-size:2rem;
  font-weight:400;
  line-height: 0.92;
  text-align: center;
}

.lip-stage {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--lip-frame-width);
  height: var(--lip-frame-height);
  flex: 0 0 auto;
  max-width: 78vw;
  transform: translate(-50%, 50%);
  pointer-events: none;
}

.lip-sprite {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  opacity: 1;
  user-select: none;
  transition: opacity 110ms linear;
}

body.is-floating-lip .lip-sprite {
  opacity: 0;
}

.pose-panel {
  position: fixed;
  top: calc(var(--header-height) + 0.75rem);
  left: clamp(0.85rem, 3vw, 2rem);
  z-index: 80;
  width: min(360px, calc(100vw - 1.7rem));
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  color: #fff;
  background: rgba(8, 7, 6, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  max-height: calc(100vh - var(--header-height) - 1.5rem);
  overflow-y: auto;
}

.pose-panel[hidden] {
  display: none;
}

.pose-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.pose-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pose-panel p {
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.45;
}

.pose-panel-close,
.pose-buttons button,
.animation-runner button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.pose-panel-close {
  padding: 0.45rem 0.7rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.animation-runner {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.animation-runner label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.animation-runner div {
  display: flex;
  gap: 0.45rem;
}

.animation-runner select {
  min-width: 0;
  flex: 1 1 auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color-scheme: dark;
}

.animation-runner select:disabled,
.animation-runner button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.animation-runner button {
  padding: 0.48rem 0.72rem;
  font: inherit;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pose-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.pose-buttons button {
  padding: 0.48rem 0.72rem;
  font: inherit;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.pose-buttons button[aria-pressed="true"] {
  color: #080706;
  background: #fff;
}

.icon-button,
.cart-button {
  font: inherit;
  cursor: pointer;
}

.icon-button,
.cart-button {
  border: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -0.45rem;
}

.hamburger::after {
  top: 0.45rem;
}

.cart-button strong {
  display: inline-grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background: #fff;
  color: #080706;
  font-size: 0.72rem;
}

.cart-icon {
  font-size: 1.45rem;
  line-height: 1;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
}

p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 68ch;
}

code {
  color: var(--ink);
  background: rgba(23, 19, 15, 0.06);
  padding: 0.12em 0.32em;
  border-radius: 0.35em;
}

.products {
  min-height: calc(100vh - var(--header-height) - var(--footer-height) - 4rem);
  align-content: start;
}

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

.product-card {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  color: #fff;
}

.product-art {
  display: grid;
  place-items: center;
  height: 130px;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, rgba(228, 106, 155, 0.28), rgba(255, 255, 255, 0.1));
 
  font-size: 2rem;
  color: #fff;
}

.product-card h3 {
  margin: 1rem 0 0.3rem;
}

.product-card p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  gap: clamp(0.55rem, 2vw, 1.4rem);
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.floating-header-lip {
  position: fixed;
  z-index: 1300;
  width: var(--float-start-width, 320px);
  height: var(--float-start-height, 320px);
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  transform-origin: center;
  will-change: transform, opacity;
}

@media (max-width: 760px) {
  :root {
    --header-height: 82px;
    --footer-height: 92px;
  }

  .footer-links {
    display: none;
  }

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

  h1 {
    font-size: clamp(2.7rem, 14vw, 5rem);
  }
}

@media (prefers-color-scheme: dark) {
  .site-header,
  .site-footer {
    background: #080706;
  }

  .icon-button,
  .cart-button,
  .footer-links a {
    color: #fff;
  }

  .cart-button strong {
    background: #fff;
    color: #080706;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-trigger.is-activating .reveal-color-image {
    transition-timing-function: linear;
  }
}


.error-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  top: 1rem;
  z-index: 9999;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(185, 28, 28, 0.35);
  border-radius: 0.75rem;
  background: #fff1f2;
  color: #7f1d1d;
  font-weight: 700;
}
