:root {
  --bg: #0f0d0c;
  --panel: #191412;
  --panel-soft: #241d1a;
  --text: #f2eadf;
  --muted: #d0c0ae;
  --line: rgba(255, 236, 209, 0.14);
  --gold: #c6a46b;
  --rose: #d98b7b;
  --amber: #cc7f35;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Cormorant Garamond", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(198, 164, 107, 0.2), transparent 30%),
    linear-gradient(180deg, #170f0d 0%, #0d0b0a 100%);
  background-attachment: fixed;
}

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

.site-header,
.site-footer,
.hero,
.section,
.page-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(13, 11, 10, 0.58);
  border-bottom: 1px solid rgba(255, 236, 209, 0.08);
}

.brand {
  font-family: "Oswald", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 1.05rem;
}

.site-nav a {
  color: var(--muted);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  min-height: 78vh;
  padding: 40px 0 60px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.card-kicker,
.poster-tag,
.mug-style-label {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
}

.hero h1,
.page-intro h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92;
}

.hero-text,
.page-intro p,
.section p,
.product-copy p,
.step-card p,
.concept-card p,
.checkout-note p {
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--muted);
}

.hero-actions,
.section-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.button-primary {
  background: linear-gradient(135deg, #d1b074 0%, #8f6336 100%);
  color: #140f0c;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.button-wide {
  width: 100%;
}

.hero-poster {
  display: flex;
  justify-content: center;
}

.poster-card {
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid rgba(198, 164, 107, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 243, 224, 0.06), rgba(255, 243, 224, 0.02)),
    linear-gradient(145deg, #2e1d17 0%, #120f0e 70%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.poster-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 233, 192, 0.18);
  border-radius: 18px;
  pointer-events: none;
}

.poster-card h2 {
  margin: 12px 0 10px;
  font-size: 2.35rem;
  line-height: 0.96;
}

.poster-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.poster-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.section,
.page-main {
  padding: 56px 0;
}

.ribbon {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 18px;
}

.ribbon-item,
.stat-card,
.testimonial-card,
.faq-card,
.catalog-band-card,
.mini-point,
.topline-item,
.benefit-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.ribbon-item {
  padding: 18px 20px;
}

.ribbon-item strong,
.topline-item strong,
.benefit-card strong,
.mini-point strong,
.stat-card strong {
  display: block;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.ribbon-item span,
.topline-item span,
.benefit-card span,
.mini-point span,
.stat-card span,
.author {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.96;
}

.concept-grid,
.style-grid,
.steps {
  display: grid;
  gap: 18px;
}

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

.style-grid,
.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.concept-card,
.style-card,
.step-card,
.product-card,
.builder-form,
.preview-panel,
.trust-panel,
.checkout-note {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.concept-card,
.style-card,
.step-card,
.trust-panel,
.checkout-note {
  padding: 24px;
}

.style-card {
  min-height: 250px;
}

.noir {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.3)),
    linear-gradient(145deg, #343434, #0b0b0b);
}

.romance {
  background:
    linear-gradient(180deg, rgba(255, 228, 214, 0.12), rgba(94, 31, 31, 0.22)),
    linear-gradient(145deg, #5e2832, #1f1717);
}

.polar {
  background:
    linear-gradient(180deg, rgba(181, 209, 223, 0.12), rgba(13, 24, 38, 0.35)),
    linear-gradient(145deg, #183041, #0f1118);
}

.vintage {
  background:
    linear-gradient(180deg, rgba(228, 192, 139, 0.12), rgba(84, 47, 15, 0.28)),
    linear-gradient(145deg, #684228, #21150f);
}

.reassurance {
  padding-bottom: 90px;
}

.editorial-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.editorial-copy {
  padding: 34px;
  border: 1px solid rgba(198, 164, 107, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(198, 164, 107, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.editorial-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.94;
}

.editorial-stats {
  display: grid;
  gap: 16px;
}

.stat-card {
  display: grid;
  align-content: center;
  min-height: 140px;
  padding: 24px;
}

.stat-card strong {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

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

.testimonial-card,
.faq-card {
  padding: 24px;
}

.quote {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--text);
}

.faq-card h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(198, 164, 107, 0.18);
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.page-intro {
  max-width: 760px;
}

.page-intro.compact {
  max-width: 900px;
}

.catalog-grid {
  display: grid;
  gap: 26px;
}

.catalog-hero-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-bottom: 34px;
}

.catalog-band-card,
.mini-point {
  padding: 24px;
}

.catalog-band-card h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
}

.catalog-band-points {
  display: grid;
  gap: 14px;
}

.product-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}

.product-visual {
  min-height: 320px;
}

.product-copy {
  padding: 28px;
}

.product-copy h2,
.builder-form h2,
.checkout-note h3 {
  margin: 0 0 14px;
  font-size: 2rem;
}

.catalog-mood {
  margin: -4px 0 10px;
  font-size: 1.3rem;
  color: var(--text);
}

.catalog-mockups,
.mockup-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 18px;
}

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

.mockup-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
}

.mockup-mug {
  position: relative;
  width: 100%;
  height: 120px;
  margin-bottom: 10px;
}

.mockup-mug-body {
  position: absolute;
  left: 10%;
  top: 16px;
  width: 72%;
  height: 82px;
  border-radius: 16px 16px 24px 24px;
  background: linear-gradient(180deg, #fff8ef 0%, #ead9c6 100%);
  box-shadow: inset -8px -6px 12px rgba(135, 103, 69, 0.18), 0 10px 20px rgba(0, 0, 0, 0.18);
}

.mockup-art {
  position: absolute;
  inset: 10px 12px;
  border-radius: 10px;
}

.mockup-mug-handle {
  position: absolute;
  right: 8%;
  top: 30px;
  width: 26px;
  height: 52px;
  border: 8px solid #ead9c6;
  border-left: 0;
  border-radius: 0 40px 40px 0;
}

.mockup-card.noir .mockup-art {
  background: linear-gradient(145deg, #101010, #4a4a4a);
}

.mockup-card.romance .mockup-art {
  background: linear-gradient(145deg, #743d51, #efb19e);
}

.mockup-card.polar .mockup-art {
  background: linear-gradient(145deg, #0d2335, #50879c);
}

.mockup-card.vintage .mockup-art {
  background: linear-gradient(145deg, #6d482d, #ddb97c);
}

.mockup-caption {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.3;
}

.product-points,
.trust-panel ul {
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.product-builder {
  display: grid;
  grid-template-columns: minmax(320px, 480px) minmax(320px, 1fr);
  gap: 28px;
}

.product-topline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.topline-item {
  padding: 18px 20px;
}

.form-section-title {
  margin-bottom: 6px;
}

.form-section-title h2,
.preview-headline h2 {
  margin: 0 0 10px;
  font-size: 2.2rem;
  line-height: 0.95;
}

.preview-headline p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.15rem;
}

.builder-form,
.preview-panel {
  padding: 28px;
}

.builder-form {
  display: grid;
  gap: 18px;
}

.builder-form label {
  display: grid;
  gap: 10px;
}

.builder-form span {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.builder-form input,
.builder-form textarea,
.builder-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.form-feedback {
  min-height: 24px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.form-feedback.is-error {
  color: #f0a89b;
}

.form-feedback.is-success {
  color: #d6c18a;
}

.preview-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.benefit-card {
  padding: 18px;
}

.mockup-gallery-block {
  margin-top: 18px;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
}

.cart-items {
  display: grid;
  gap: 18px;
}

.cart-card,
.checkout-item,
.empty-state,
.success-state,
.cart-summary {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
}

.cart-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  padding: 20px;
}

.cart-card-visual {
  align-self: start;
}

.cart-card-copy h2,
.cart-summary h2,
.checkout-copy h2,
.empty-state h2,
.success-state h2 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.cart-line {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 1.1rem;
}

.cart-card-footer,
.summary-line,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-card-footer {
  margin-top: 16px;
}

.ghost-action {
  border: 0;
  background: transparent;
  color: var(--gold);
  font: inherit;
  cursor: pointer;
}

.cart-summary {
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 102px;
}

.summary-line {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.summary-total {
  padding: 18px 0 22px;
  font-size: 1.2rem;
}

.checkout-review {
  position: sticky;
  top: 102px;
}

.checkout-item {
  padding: 20px;
}

.checkout-copy {
  margin-top: 12px;
}

.gelato-quote-box {
  margin-top: 18px;
}

.quote-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.empty-state,
.success-state {
  padding: 28px;
}

.mug-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 500px;
  margin-top: 12px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(255, 241, 211, 0.16), transparent 32%),
    linear-gradient(180deg, #1b1512, #0e0b0a);
  overflow: hidden;
  perspective: 1400px;
}

.mug-scene {
  position: relative;
  width: min(100%, 540px);
  min-height: 360px;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, -8deg)) rotateY(var(--tilt-y, -18deg));
  transition: transform 240ms ease;
}

.mug-shadow {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 78%;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.08) 60%, transparent 75%);
  transform: translateX(-50%) translateZ(-50px) rotateX(78deg);
  filter: blur(8px);
}

.mug-body {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  margin: 34px auto 28px;
  aspect-ratio: 1.2 / 1;
  padding: 34px 30px 28px;
  border-radius: 30px 30px 54px 54px;
  background:
    linear-gradient(180deg, #fffdf8 0%, #efe2d0 42%, #e2d0bc 100%);
  box-shadow:
    inset -18px -12px 24px rgba(145, 112, 78, 0.22),
    inset 14px 12px 20px rgba(255, 255, 255, 0.85),
    0 32px 50px rgba(0, 0, 0, 0.34);
  transform: translateZ(32px);
}

.mug-body::before {
  content: "";
  position: absolute;
  inset: 12px 12px 18px;
  border-radius: 22px 22px 44px 44px;
  border: 1px solid rgba(116, 86, 55, 0.12);
  pointer-events: none;
}

.mug-rim {
  position: absolute;
  left: 20px;
  right: 20px;
  top: -18px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f8f2eb 0%, #e4d5c3 100%);
  box-shadow:
    inset 0 -6px 10px rgba(109, 82, 58, 0.18),
    0 8px 12px rgba(0, 0, 0, 0.1);
}

.mug-rim-inner {
  position: absolute;
  inset: 8px 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, #cab8a4 0%, #f5ede3 100%);
}

.mug-handle {
  position: absolute;
  right: 6px;
  top: 86px;
  z-index: 1;
  width: 126px;
  height: 180px;
  border-radius: 0 96px 96px 0;
  background: linear-gradient(180deg, #f7efe5 0%, #ddc8b2 100%);
  transform: translateZ(-6px);
  box-shadow:
    inset -10px -10px 18px rgba(126, 95, 63, 0.22),
    12px 18px 28px rgba(0, 0, 0, 0.16);
}

.mug-handle-inner {
  position: absolute;
  inset: 22px 20px 22px 18px;
  border-radius: 0 88px 88px 0;
  background: linear-gradient(180deg, #2c2119 0%, #15110e 100%);
}

.mug-bottom {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: -18px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d9c6af 0%, #b79673 100%);
  transform: translateZ(-12px);
  filter: blur(0.2px);
}

.mug-gloss {
  position: absolute;
  top: 28px;
  bottom: 44px;
  left: 18px;
  width: 28%;
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.02));
  opacity: 0.7;
  pointer-events: none;
}

.mug-artwork {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  height: 100%;
  padding: 16px;
  border-radius: 18px;
  color: #f6ead8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -14px 24px rgba(0, 0, 0, 0.16);
}

.mug-photo-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
  min-height: 240px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.mug-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

#mug-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 1rem;
}

.mug-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mug-copy h2 {
  margin: 8px 0 8px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.95;
}

.mug-copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.mug-stage[data-style="noir"] .mug-artwork {
  background: linear-gradient(145deg, #1b1b1b, #4b4b4b);
}

.mug-stage[data-style="romance"] .mug-artwork {
  background: linear-gradient(145deg, #7e4251, #ecb4a5);
}

.mug-stage[data-style="polar"] .mug-artwork {
  background: linear-gradient(145deg, #102438, #4b8295);
}

.mug-stage[data-style="vintage"] .mug-artwork {
  background: linear-gradient(145deg, #654126, #d8b57d);
}

.mug-stage[data-style="vintage"] .mug-copy,
.mug-stage[data-style="romance"] .mug-copy {
  color: #fff6ea;
}

@media (max-width: 980px) {
  .hero,
  .editorial-band,
  .catalog-hero-band,
  .cart-layout,
  .checkout-layout,
  .product-builder,
  .product-card {
    grid-template-columns: 1fr;
  }

  .ribbon,
  .product-topline,
  .concept-grid,
  .style-grid,
  .testimonial-grid,
  .faq-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .mug-handle {
    right: -2px;
  }

  .cart-card {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-review {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .ribbon,
  .product-topline,
  .concept-grid,
  .style-grid,
  .testimonial-grid,
  .faq-grid,
  .catalog-mockups,
  .mockup-gallery,
  .preview-benefits,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .mug-artwork {
    grid-template-columns: 1fr;
  }

  .mug-handle {
    display: none;
  }

  .mug-stage {
    min-height: 420px;
    padding: 16px;
  }

  .mug-scene {
    transform: none;
  }
}
