:root {
  --espresso: #1a100c;
  --roast: #2a1a14;
  --cocoa: #4a2c1f;
  --cream: #f3e4cf;
  --cream-soft: #e8d4b8;
  --gold: #c4a574;
  --ink: #f6efe6;
  --muted: rgba(246, 239, 230, 0.68);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--espresso);
  overflow-x: hidden;
}

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 75% 20%, rgba(139, 94, 60, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(196, 165, 116, 0.12), transparent 50%),
    linear-gradient(165deg, #24160f 0%, var(--espresso) 45%, #120c09 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.site-header {
  display: none;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding:
    clamp(3.5rem, 8vw, 5.5rem)
    clamp(1.25rem, 4vw, 3rem)
    clamp(2.5rem, 6vw, 3.5rem);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6vw, 5rem);
  }
}

.hero-copy {
  max-width: 32rem;
  animation: rise 1s var(--ease-out) both;
}

.dare-line {
  margin: 0 0 1.1rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 7vw, 4.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede {
  margin: 0 0 2rem;
  max-width: 30ch;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.buy-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    filter 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.buy-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
}

.buy-btn:active {
  transform: translateY(0);
}

.price-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-stage {
  position: relative;
  width: min(100%, 30rem);
  margin-inline: auto;
  animation: float-in 1.15s var(--ease-out) 0.15s both;
}

.hero-glow {
  position: absolute;
  inset: 18% 10% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.22), transparent 68%);
  filter: blur(30px);
  animation: pulse-glow 5s ease-in-out infinite;
}

.hero-photo {
  position: relative;
  margin: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  transform: scale(1.02);
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.45));
  transition: transform 1.4s var(--ease-out);
}

.hero-stage:hover .hero-photo img {
  transform: scale(1.05);
}

.story-band {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 6vw, 3.5rem);
  max-width: 58rem;
  margin: 0 auto;
}

.layers-intro {
  text-align: center;
  animation: rise 1s var(--ease-out) 0.2s both;
}

.layers-intro h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.layers-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.tiramisu {
  position: relative;
  width: min(100%, 42rem);
  margin-inline: auto;
  height: clamp(18rem, 42vw, 24rem);
  animation: float-in 1.15s var(--ease-out) 0.25s both;
}

.story-copy {
  display: grid;
  gap: clamp(2rem, 5vw, 2.75rem);
}

@media (min-width: 900px) {
  .story-band {
    max-width: none;
    width: 100%;
    padding-inline: clamp(2rem, 5vw, 4.5rem);
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.95fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
    padding-bottom: clamp(3.5rem, 7vw, 5rem);
  }

  .tiramisu {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    margin: 0;
    height: clamp(28rem, 58vh, 42rem);
    align-self: stretch;
  }

  .layers-intro {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    max-width: 42rem;
  }

  .story-copy {
    grid-column: 2;
    grid-row: 2;
    gap: 2.25rem;
  }

  .story-copy .prose-section {
    max-width: 42rem;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  .story-copy .history::before {
    margin: 0 0 1.5rem;
  }

  .layer span {
    font-size: 0.8rem;
    padding-right: 0.15rem;
  }
}

@media (min-width: 1200px) {
  .story-band {
    padding-inline: clamp(3rem, 6vw, 6rem);
    grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 0.85fr);
    gap: clamp(3rem, 6vw, 5.5rem);
  }

  .tiramisu {
    height: clamp(32rem, 62vh, 46rem);
  }
}

.slice {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: perspective(1000px) rotateX(6deg);
}

.layer {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 1.2rem;
  opacity: 0;
  transform: translateX(14%) scaleY(0.94);
  transition:
    transform 0.9s var(--ease-out),
    opacity 0.7s ease;
}

.layer-photo {
  background-color: var(--roast);
  background-image: var(--layer-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.layer-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 16, 12, 0.12) 0%,
    rgba(26, 16, 12, 0.05) 45%,
    rgba(26, 16, 12, 0.35) 100%
  );
  pointer-events: none;
}

.layer span {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.slice.is-revealed .layer {
  opacity: 1;
  transform: translateX(0) scaleY(1);
}

.slice.is-revealed .layer[data-layer="3"] { transition-delay: 0.05s; }
.slice.is-revealed .layer[data-layer="2"] { transition-delay: 0.22s; }
.slice.is-revealed .layer[data-layer="1"] { transition-delay: 0.39s; }
.slice.is-revealed .layer[data-layer="0"] { transition-delay: 0.56s; }

.cocoa-dust {
  flex: 0.55;
}

.cream span {
  color: rgba(42, 26, 20, 0.72);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.cream-mid {
  flex: 1.35;
}

.coffee {
  flex: 1;
}

.coffee-top {
  flex: 0.95;
}

.coffee-bottom {
  flex: 1.1;
}

.cream-mid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 35%,
    transparent 70%
  );
  opacity: 0.45;
  animation: sheen 4.5s ease-in-out infinite;
  pointer-events: none;
}

.prose-section,
.sell {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3.25rem, 8vw, 4.5rem);
  text-align: center;
}

.prose-section h2,
.sell h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.prose-section p,
.sell p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.history {
  position: relative;
}

.history::before {
  content: "";
  display: block;
  width: min(7rem, 30%);
  height: 1px;
  margin: 0 auto 2.25rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(196, 165, 116, 0.55),
    transparent
  );
}

.sell {
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.sell-cta {
  justify-content: center;
  margin-top: 1.75rem;
}

.video-section {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3.25rem, 8vw, 4.5rem);
  text-align: center;
}

.video-copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.video-copy p {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.video-placeholder {
  width: 100%;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 1.1rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(42, 26, 20, 0.92), rgba(18, 12, 9, 0.96)),
    radial-gradient(circle at 30% 20%, rgba(196, 165, 116, 0.18), transparent 55%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.015) 2px,
    rgba(255, 255, 255, 0.015) 4px
  );
  pointer-events: none;
}

.video-play {
  position: relative;
  z-index: 1;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: rgba(243, 228, 207, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.video-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent var(--espresso);
}

.video-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  margin: 0;
  z-index: 1;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246, 239, 230, 0.55);
}

@media (min-width: 900px) {
  .video-section {
    max-width: 52rem;
  }
}

.pd-note {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 1.5rem;
  text-align: center;
}

.pd-note p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(246, 239, 230, 0.52);
}

.pd-note strong {
  color: var(--gold);
  font-weight: 700;
}

.pd-note em {
  font-style: italic;
  color: rgba(246, 239, 230, 0.4);
}

.security-seal {
  margin: 1.5rem auto 0;
  width: min(100%, 9.5rem);
}

.security-seal img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow:
    0 0 0 3px rgba(196, 165, 116, 0.35),
    0 0 0 7px rgba(26, 16, 12, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.35);
  filter: sepia(0.18) contrast(1.05);
  transform: rotate(-6deg);
}

.site-footer {
  padding: 0.75rem clamp(1.25rem, 4vw, 3rem) 2rem;
  text-align: center;
  color: rgba(246, 239, 230, 0.4);
  font-size: 0.8rem;
}

.order-dialog {
  width: min(100% - 1.5rem, 28rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 1.25rem;
  background: linear-gradient(165deg, #2a1a14 0%, #1a100c 100%);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: visible;
}

.order-dialog[open] {
  display: block;
}

@media (min-width: 900px) {
  .order-dialog {
    width: min(100% - 3rem, 54rem);
  }
}

.order-dialog::backdrop {
  background: rgba(10, 6, 4, 0.72);
  backdrop-filter: blur(6px);
}

.order-form {
  display: grid;
}

.order-header,
.order-body,
.order-footer {
  padding: 1.15rem 1.25rem;
}

.order-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(246, 239, 230, 0.08);
}

.order-body {
  display: grid;
  gap: 1.1rem;
}

.order-pane-side {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  order: -1;
}

.order-side-cta {
  display: none;
}

.order-footer-mobile {
  border-top: 1px solid rgba(246, 239, 230, 0.08);
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  text-align: center;
}

@media (min-width: 900px) {
  .order-header,
  .order-body {
    padding: 1.35rem 1.6rem;
  }

  .order-body {
    grid-template-columns: 1.25fr 0.95fr;
    gap: 1.5rem;
    align-items: start;
  }

  .order-pane-main {
    order: 1;
  }

  .order-pane-side {
    order: 2;
    padding-left: 1.35rem;
    border-left: 1px solid rgba(246, 239, 230, 0.1);
  }

  .order-side-cta {
    display: grid;
    gap: 0.65rem;
    justify-items: stretch;
    text-align: center;
    margin-top: 0.35rem;
  }

  .order-footer-mobile {
    display: none;
  }

  .when-field {
    margin-bottom: 0.75rem;
  }

  .choice-list {
    display: grid;
    gap: 0.45rem;
  }

  .choice {
    padding: 0.65rem 0.8rem;
  }

  .schedule-fields {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .order-field {
    margin-bottom: 0.75rem;
  }

  .field-hint {
    min-height: 0;
  }
}

.order-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.order-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--cream);
}

.order-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.order-totals {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(246, 239, 230, 0.08);
}

.order-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--muted);
}

.order-price-row strong {
  font-size: 1rem;
  color: var(--cream);
  font-weight: 600;
}

.order-price-row.total-row {
  margin-top: 0.35rem;
  color: var(--cream);
}

.order-price-row.total-row strong {
  font-size: 1.35rem;
  font-weight: 700;
}

.order-field {
  margin: 0 0 1.15rem;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.55rem;
}

.order-field legend,
.label-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 239, 230, 0.72);
}

.discount-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.order-field input[type="text"],
.order-field input[type="date"],
.order-field select {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(246, 239, 230, 0.14);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.8rem 0.9rem;
}

.order-field input::placeholder {
  color: rgba(246, 239, 230, 0.35);
}

.order-field select option {
  color: #1a100c;
}

.secondary-btn {
  appearance: none;
  border: 1px solid rgba(246, 239, 230, 0.2);
  border-radius: 0.75rem;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.8rem 1rem;
  cursor: pointer;
}

.secondary-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.field-hint {
  margin: 0;
  min-height: 1.1em;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.field-hint.is-ok {
  color: var(--gold);
  font-weight: 600;
}

.field-hint.is-error,
.field-error {
  color: #e8b4a0;
}

.field-error {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
}

.choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(246, 239, 230, 0.1);
  border-radius: 0.85rem;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.choice:has(input:checked) {
  border-color: rgba(196, 165, 116, 0.55);
  background: rgba(196, 165, 116, 0.08);
}

.choice input {
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

.choice strong {
  display: block;
  font-size: 0.95rem;
  color: var(--cream);
}

.choice small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.choice-list {
  display: grid;
  gap: 0.55rem;
}

.schedule-fields {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.35rem;
}

.pickup-note {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--gold);
}

.order-submit {
  width: 100%;
}

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

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes sheen {
  0%,
  100% {
    transform: translateX(-12%);
    opacity: 0.25;
  }
  50% {
    transform: translateX(18%);
    opacity: 0.55;
  }
}

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

  .layer {
    opacity: 1;
    transform: none;
  }

  .hero-photo img {
    transform: none;
  }
}
