/* ==========================================================================
   Poffa — Sweet Day, Sweet You
   Brand Design System & Responsive Layout
   ========================================================================== */

:root {
  --orange: #f15b32;
  --orange-hover: #e04a22;
  --orange-light: #ffece5;
  --pink: #f6a6b3;
  --blush: #ffd9de;
  --cream: #fff7e9;
  --milk: #fffdf7;
  --brown: #493026;
  --brown-light: #6a4f43;
  --caramel: #c97832;
  --ube: #8c5c93;
  --ube-light: #ebdff0;
  --ink: #38261f;
  --line: rgba(73, 48, 38, 0.12);
  --line-strong: rgba(73, 48, 38, 0.22);
  
  --display: "Fredoka", system-ui, -apple-system, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
  --hand: "Patrick Hand", cursive;
  
  --radius-card: 32px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 14px rgba(73, 48, 38, 0.08);
  --shadow-md: 0 16px 36px rgba(73, 48, 38, 0.12);
  --shadow-lg: 0 28px 64px rgba(73, 48, 38, 0.15);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--cream);
}

body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background-color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Texture Grain Overlay */
.grain {
  display: none;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--brown);
  line-height: 1.1;
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

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

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

button, a {
  touch-action: manipulation;
}

.handwritten {
  font-family: var(--hand);
  letter-spacing: 0.02em;
}

.eyebrow {
  display: inline-block;
  font-size: 20px;
  color: var(--orange);
  margin-bottom: 12px;
  transform: rotate(-1deg);
}

.section-pad {
  padding: 100px max(24px, calc((100vw - 1200px) / 2));
}

/* UI Pills and Buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #ffffff;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 0 rgba(112, 47, 28, 0.16);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.pill:hover {
  background: var(--orange-hover);
  transform: translateY(2px) scale(0.99);
  box-shadow: 0 4px 0 rgba(112, 47, 28, 0.16);
}

.pill:active {
  transform: translateY(6px);
  box-shadow: 0 2px 0 rgba(112, 47, 28, 0.16);
}

.pill--small {
  padding: 10px 20px;
  font-size: 14px;
  box-shadow: 0 4px 0 rgba(112, 47, 28, 0.12);
}

.pill--dark {
  background: var(--brown);
  color: var(--cream);
  box-shadow: 0 8px 0 rgba(35, 20, 15, 0.2);
}

.pill--dark:hover {
  background: #39241c;
}

.pill--cream {
  background: var(--cream);
  color: var(--orange);
  box-shadow: 0 8px 0 rgba(70, 29, 14, 0.18);
}

.pill--cream:hover {
  background: #ffffff;
}

.pill--outline {
  background: transparent;
  color: var(--brown);
  border: 2px solid var(--line-strong);
  box-shadow: none;
}

.pill--outline:hover {
  background: var(--milk);
  border-color: var(--orange);
  color: var(--orange);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 8px;
  border-bottom: 2px solid currentColor;
  transition: color 0.2s ease, transform 0.2s ease;
}

.text-link:hover {
  color: var(--orange);
  transform: translateX(3px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  width: min(1200px, calc(100% - 40px));
  margin: 18px auto 0;
  min-height: 66px;
  padding: 8px 16px 8px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  position: sticky;
  top: 16px;
  z-index: 100;
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 10px 25px rgba(73, 48, 38, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  text-decoration: none;
}

.brand-word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  color: var(--orange);
  letter-spacing: -1px;
}

.brand-smile {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--orange);
  margin-left: 2px;
  margin-top: 4px;
  display: inline-block;
  transform: rotate(4deg);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  padding: 6px 0;
  color: var(--brown-light);
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav a:hover {
  color: var(--orange);
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 90px;
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 5;
}

.hero h1 {
  font-size: clamp(56px, 6.8vw, 104px);
  line-height: 0.88;
  letter-spacing: -3.5px;
  color: var(--brown);
  margin: 0;
}

.hero h1 span.highlight {
  color: var(--orange);
  display: inline-block;
  position: relative;
}

.hero h1 b.heart {
  font-size: 0.6em;
  color: var(--pink);
  display: inline-block;
  transform: rotate(12deg);
  margin-left: 4px;
  vertical-align: middle;
}

.hero-copy > p {
  font-size: 19px;
  line-height: 1.6;
  max-width: 520px;
  color: var(--brown-light);
  margin: 26px 0 32px;
}

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

.mini-note {
  margin-top: 28px;
  font-size: 19px;
  color: var(--ube);
  transform: rotate(-2deg);
  width: max-content;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero Art Composition */
.hero-art {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
  user-select: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.blob--pink {
  width: 440px;
  height: 440px;
  background: var(--blush);
  right: -20px;
  top: 10px;
  border-radius: 46% 54% 62% 38% / 44% 48% 52% 56%;
  opacity: 0.85;
}

.blob--orange {
  width: 260px;
  height: 260px;
  background: #ffd0b8;
  left: -10px;
  bottom: 20px;
  border-radius: 64% 36% 48% 52% / 54% 40% 60% 46%;
  opacity: 0.7;
}

.hero-photo-wrap {
  position: relative;
  z-index: 3;
}

.hero-photo {
  width: min(500px, 86%);
  margin: auto;
  padding: 14px;
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2.5deg);
  position: relative;
  will-change: transform;
}

.hero-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 55%;
  border-radius: 26px;
}

.photo-label {
  position: absolute;
  right: -16px;
  bottom: 20px;
  background: var(--blush);
  color: var(--brown);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 19px;
  font-weight: bold;
  transform: rotate(-5deg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(73, 48, 38, 0.1);
  pointer-events: none;
  will-change: transform;
}

/* Floating Donuts in Hero */
.float-donut {
  position: absolute;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--milk);
  box-shadow: 0 16px 36px rgba(65, 40, 28, 0.18);
  z-index: 6;
  pointer-events: auto;
  cursor: pointer;
  will-change: transform;
}

.float-donut--ube {
  width: 145px;
  height: 145px;
  left: -24px;
  top: 60px;
}

.float-donut--biscoff {
  width: 155px;
  height: 155px;
  right: -32px;
  bottom: 60px;
}

.float-donut--cookies {
  width: 110px;
  height: 110px;
  right: 10px;
  top: 110px;
}

.spark {
  position: absolute;
  z-index: 7;
  font-family: var(--hand);
  pointer-events: none;
  will-change: transform;
}

.spark-a {
  left: 8%;
  bottom: 14%;
  color: var(--orange);
  font-size: 46px;
}

.spark-b {
  right: 6%;
  top: 4%;
  color: var(--ube);
  font-size: 42px;
}

.spark-c {
  left: 20%;
  top: 15%;
  color: var(--pink);
  font-size: 34px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  font-size: 17px;
  color: var(--brown-light);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

/* ==========================================================================
   Marquee Banner
   ========================================================================== */

.marquee {
  overflow: hidden;
  background: var(--orange);
  color: var(--cream);
  border-block: 2px solid rgba(73, 48, 38, 0.15);
  transform: rotate(-1deg) scale(1.02);
  margin: 20px 0 40px;
  box-shadow: 0 10px 24px rgba(241, 91, 50, 0.2);
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 40px;
  padding: 18px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  white-space: nowrap;
  will-change: transform;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.marquee-symbol {
  color: var(--blush);
  font-size: 20px;
}

/* ==========================================================================
   Product Showcase ("Our Donuts")
   ========================================================================== */

.products {
  background: var(--milk);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(44px, 5.4vw, 76px);
  letter-spacing: -2.5px;
  line-height: 0.95;
  color: var(--brown);
}

.section-head > p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--brown-light);
  margin: 0;
}

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

.flavor-card {
  min-height: 480px;
  border-radius: var(--radius-card);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(73, 48, 38, 0.1);
  box-shadow: var(--shadow-sm);
  will-change: transform;
}

/* Flavor Card Colorways - Balanced Confectionary Palette */
.flavor-card--ube {
  background: #eedef1;
}

.flavor-card--caramel {
  background: #fae1c3;
}

.flavor-card--choco {
  background: #ede2dc;
}

.flavor-card--cookies {
  background: #f1e2dd;
}

.flavor-card--cream {
  background: #fff0d8;
}

.flavor-card--ube-cheese {
  background: #eed8e7;
}

.flavor-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.flavor-tag {
  font-size: 18px;
  color: var(--brown);
  transform: rotate(-3deg);
}

.flavor-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: var(--brown);
  opacity: 0.6;
}

.flavor-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  position: relative;
}

.flavor-card img {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 253, 247, .72);
  box-shadow: 0 16px 32px rgba(57, 36, 26, 0.16);
  border: 6px solid rgba(255, 255, 255, 0.8);
  will-change: transform;
}

.flavor-card--choco img { object-position: center; }

.flavor-copy {
  position: relative;
  z-index: 2;
}

.flavor-copy h3 {
  font-size: 26px;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
  color: var(--brown);
}

.flavor-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.flavor-title h3 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.price {
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  background: var(--milk);
  border: 1px solid var(--line-strong);
  color: var(--orange-dark);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.flavor-copy p {
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--brown-light);
  line-height: 1.5;
}

.flavor-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Styled Pill Badge for Order Link - High WCAG AA Contrast & Clear Affordance */
.flavor-action .order-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
  background: var(--milk);
  border: 1px solid var(--line-strong);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(73, 48, 38, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.flavor-action .order-link:hover {
  background: #ffffff;
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(241, 91, 50, 0.15);
}

/* ==========================================================================
   Scrubbed Product / Menu Transition Band
   ========================================================================== */

.scrub-bridge {
  padding: 30px max(24px, calc((100vw - 1200px) / 2));
  background: var(--cream);
  overflow: hidden;
  position: relative;
}

.scrub-track {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 36px;
  padding: 10px 0;
  will-change: transform;
}

.bridge-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--milk);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.bridge-donut {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
}

.bridge-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: var(--brown);
}

/* ==========================================================================
   Menu Board & Brand Story Section
   ========================================================================== */

.menu-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: var(--blush);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.menu-board .eyebrow {
  color: #a8391b;
  font-weight: bold;
}

.menu-photo {
  padding: 16px;
  background: var(--cream);
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2.5deg);
  border: 1px solid var(--line);
  position: relative;
  will-change: transform;
}

.menu-photo img {
  border-radius: 24px;
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center 40%;
}

.menu-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--orange);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 17px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
}

.menu-copy h2 {
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.menu-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--brown-light);
  max-width: 540px;
}

.menu-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.menu-list-card {
  background: rgba(255, 253, 247, 0.8);
  border: 1px solid rgba(73, 48, 38, 0.12);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-list-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--orange);
}

.menu-list-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list-card li {
  padding: 8px 0;
  border-top: 1px dashed rgba(73, 48, 38, 0.14);
  font-size: 14.5px;
  color: var(--brown);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-list-card li b {
  font-weight: 600;
  color: var(--brown-light);
  font-size: 13.5px;
}

.signature-box {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 24px;
  margin: 8px 0 32px;
  padding: 24px;
  border: 1px solid rgba(73, 48, 38, 0.14);
  border-radius: 28px;
  background: rgba(255, 253, 247, 0.86);
  box-shadow: var(--shadow-sm);
}

.signature-box .handwritten { color: var(--orange-dark); font-size: 17px; }
.signature-box h3 { margin: 4px 0 8px; font-size: 25px; }
.signature-box p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.signature-flavors { color: var(--brown); font-size: 13px; font-weight: 600; line-height: 1.55; }
.package-list { display: grid; gap: 8px; margin: 0; }
.package-list div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 14px; background: var(--blush); }
.package-list dt { font-size: 13px; font-weight: 600; line-height: 1.25; }
.package-list dt small { display: block; font-weight: 500; }
.package-list dd { margin: 0; color: var(--orange-dark); font-family: var(--display); font-size: 18px; font-weight: 700; }

/* Current Poffa pamphlets: full artwork, no crop. */
.menu-gallery-viewport {
  overflow: hidden;
  border-radius: 24px;
  background: #fff8ef;
  outline: none;
  touch-action: pan-y;
}

.menu-gallery-viewport:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 90, 44, .24);
}

.menu-gallery-track {
  display: flex;
  align-items: stretch;
  transform: translate3d(0, 0, 0);
  transition: transform .65s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.menu-pamphlet {
  flex: 0 0 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #fff8ef;
}

.menu-photo .menu-pamphlet img {
  display: block;
  width: 100%;
  height: min(72vh, 760px);
  min-height: 540px;
  border-radius: 24px 24px 0 0;
  object-fit: contain;
  object-position: center;
  background: #fff8ef;
}

.menu-pamphlet figcaption {
  padding: 13px 18px 15px;
  color: var(--brown);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: center;
}

.menu-gallery-controls {
  display: grid;
  grid-template-columns: 44px 1fr auto 44px;
  gap: 12px;
  align-items: center;
  padding: 14px 4px 2px;
}

.menu-gallery-arrow {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--milk);
  color: var(--brown);
  font: 700 19px/1 var(--display);
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.menu-gallery-arrow:hover,
.menu-gallery-arrow:focus-visible {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}

.menu-gallery-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.menu-gallery-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(73, 48, 38, .25);
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}

.menu-gallery-dots button.is-active {
  width: 26px;
  background: var(--orange);
}

.menu-gallery-count {
  min-width: 52px;
  color: var(--brown-light);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
}

.menu-gallery-count b { color: var(--orange-dark); }

.menu-gallery-hint {
  margin: 7px 0 0;
  color: var(--brown-light);
  font-size: 15px;
  text-align: center;
}

@media (max-width: 1024px) {
  .menu-photo .menu-pamphlet img {
    height: auto;
    min-height: 0;
    aspect-ratio: 2 / 3;
  }
}

@media (max-width: 640px) {
  .menu-photo { padding: 10px; border-radius: 26px; }
  .menu-gallery-viewport { border-radius: 18px; }
  .menu-photo .menu-pamphlet img { border-radius: 18px 18px 0 0; }
  .menu-badge { left: 16px; font-size: 15px; }
  .menu-gallery-controls { grid-template-columns: 40px 1fr auto 40px; gap: 9px; }
  .menu-gallery-arrow { width: 40px; height: 40px; }
  .menu-gallery-hint { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-gallery-track,
  .menu-gallery-arrow,
  .menu-gallery-dots button { transition-duration: .01ms; }
}

/* ==========================================================================
   Packaging & Gifting Section
   ========================================================================== */

.gift {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.gift-copy h2 {
  font-size: clamp(42px, 5vw, 70px);
  letter-spacing: -2px;
  margin-bottom: 20px;
  max-width: 480px;
}

.gift-copy p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--brown-light);
  max-width: 520px;
}

.sticker {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 20px;
  border: 2px dashed var(--orange);
  border-radius: 18px;
  color: var(--orange);
  font-size: 20px;
  transform: rotate(-2deg);
  background: var(--milk);
  box-shadow: var(--shadow-sm);
}

.gift-stack {
  position: relative;
  min-height: 560px;
}

.tilt-card {
  position: absolute;
  margin: 0;
  border: 12px solid var(--milk);
  border-bottom-width: 50px;
  box-shadow: var(--shadow-lg);
  background: var(--milk);
  border-radius: 16px;
  overflow: hidden;
  will-change: transform;
}

.tilt-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tilt-card--one {
  width: 66%;
  height: 480px;
  left: 2%;
  top: 40px;
  transform: rotate(-6deg);
  z-index: 2;
}

.tilt-card--two {
  width: 56%;
  height: 440px;
  right: 2%;
  top: 0;
  transform: rotate(8deg);
  z-index: 1;
}

.tilt-card-caption {
  position: absolute;
  bottom: -40px;
  left: 12px;
  font-size: 17px;
  color: var(--brown);
}

/* ==========================================================================
   Moments Scrapbook ("Poffa in the Wild")
   ========================================================================== */

.moments {
  background: var(--milk);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.scrapbook {
  position: relative;
  height: 640px;
  margin-top: 36px;
}

.scrap {
  position: absolute;
  margin: 0;
  background: var(--cream);
  padding: 12px 12px 46px;
  box-shadow: var(--shadow-md);
  border-radius: 12px;
  border: 1px solid var(--line);
  will-change: transform;
}

.scrap:hover {
  z-index: 10;
  transform: scale(1.03) !important;
}

.scrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.scrap figcaption {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 18px;
  color: var(--brown);
}

.scrap-a {
  width: 38%;
  height: 520px;
  left: 3%;
  top: 40px;
  transform: rotate(-4deg);
}

.scrap-b {
  width: 34%;
  height: 470px;
  left: 36%;
  top: 0;
  transform: rotate(3deg);
}

.scrap-c {
  width: 32%;
  height: 460px;
  right: 2%;
  top: 90px;
  transform: rotate(-2.5deg);
}

/* ==========================================================================
   Production Asset Guide & Transparency Section
   ========================================================================== */

.asset-status-section {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.guide-box {
  background: var(--milk);
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.guide-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 36px;
}

.guide-header h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  letter-spacing: -1.5px;
  margin-top: 6px;
}

.guide-header p {
  color: var(--brown-light);
  max-width: 620px;
  font-size: 16px;
  margin: 10px 0 0;
}

.guide-badge {
  background: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(241, 91, 50, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.guide-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}

.guide-item-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--orange);
  margin-bottom: 8px;
}

.guide-item h4 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--brown);
}

.guide-item p {
  font-size: 13.5px;
  color: var(--brown-light);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   Bottom CTA Section
   ========================================================================== */

.cta {
  min-height: 600px;
  background: var(--orange);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 90px max(24px, calc((100vw - 1200px) / 2));
}

.cta-copy {
  position: relative;
  z-index: 5;
  max-width: 600px;
}

.cta .eyebrow {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(73, 48, 38, 0.2);
  font-weight: bold;
}

.cta h2 {
  color: var(--cream);
  font-size: clamp(56px, 7vw, 108px);
  line-height: 0.88;
  letter-spacing: -4px;
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-donut {
  position: absolute;
  width: min(480px, 42vw);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  right: -5vw;
  top: 50%;
  transform: translateY(-50%) rotate(13deg);
  box-shadow: 0 32px 64px rgba(61, 21, 9, 0.24);
  border: 16px solid rgba(255, 247, 233, 0.28);
  pointer-events: auto;
  cursor: grab;
  will-change: transform;
}

.cta-script {
  position: absolute;
  right: 28%;
  bottom: 12%;
  font-size: 32px;
  transform: rotate(-7deg);
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(73, 48, 38, 0.25);
  pointer-events: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 36px max(24px, calc((100vw - 1200px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: var(--brown);
  color: #fbeee5;
  font-size: 13.5px;
}

.footer .brand-word,
.footer .brand-smile {
  color: #fbeee5;
}

.footer p {
  text-align: center;
  opacity: 0.8;
  margin: 0;
}

.footer-nav {
  justify-self: end;
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-nav a {
  color: #fbeee5;
  opacity: 0.9;
  white-space: nowrap;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--orange-light);
}

.footer-credit {
  grid-column: 1 / -1;
  justify-self: center;
  color: #fbeee5;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  opacity: .48;
  text-transform: uppercase;
  transition: opacity .2s ease, color .2s ease;
}

.footer-credit:hover,
.footer-credit:focus-visible {
  color: var(--orange-light);
  opacity: 1;
}

/* ==========================================================================
   Static Fallbacks & Motion Defaults
   ========================================================================== */

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  
  .nav {
    display: none;
  }
  
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 40px;
  }
  
  .hero-copy {
    max-width: 680px;
  }
  
  .hero-art {
    min-height: 540px;
  }
  
  .hero-photo {
    width: min(500px, 80vw);
  }
  
  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .flavor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .menu-board,
  .gift {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .gift-stack {
    min-height: 500px;
  }
  
  .scrapbook {
    height: 800px;
  }
  
  .scrap-a {
    width: 48%;
    left: 2%;
  }
  
  .scrap-b {
    width: 44%;
    left: 48%;
  }
  
  .scrap-c {
    width: 46%;
    right: 4%;
    top: 360px;
  }
  
  .cta-donut {
    width: 52vw;
    right: -12vw;
    opacity: 0.85;
  }
  
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  
  .footer .brand,
  .footer-nav {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .flavor-title {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .price {
    justify-self: start;
  }

  .signature-box {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }

  .package-list div {
    padding: 10px;
  }
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 6px 14px;
    min-height: 58px;
  }
  
  .brand-word {
    font-size: 24px;
  }
  
  .pill--small {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .section-pad {
    padding: 72px 20px;
  }
  
  .hero {
    padding-top: 30px;
    padding-bottom: 60px;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 54px;
    letter-spacing: -2px;
  }
  
  .hero-copy > p {
    font-size: 16px;
    margin: 20px 0 24px;
  }
  
  .hero-actions {
    gap: 12px;
  }
  
  .hero-art {
    min-height: 420px;
  }
  
  .hero-photo {
    width: 82vw;
    padding: 10px;
    border-radius: 26px;
  }
  
  .hero-photo img {
    height: 380px;
    border-radius: 20px;
  }
  
  .photo-label {
    right: -4px;
    bottom: 14px;
    font-size: 16px;
    padding: 8px 14px;
  }
  
  .float-donut {
    border-width: 5px;
  }
  
  .float-donut--ube {
    width: 90px;
    height: 90px;
    left: -10px;
    top: 30px;
  }
  
  .float-donut--biscoff {
    width: 96px;
    height: 96px;
    right: -10px;
    bottom: 20px;
  }
  
  .float-donut--cookies {
    width: 74px;
    height: 74px;
    right: 4px;
    top: 70px;
  }
  
  .blob--pink {
    width: 280px;
    height: 280px;
  }
  
  .blob--orange {
    width: 150px;
    height: 150px;
  }
  
  .scroll-cue {
    display: none;
  }
  
  .section-head h2,
  .menu-copy h2,
  .gift-copy h2 {
    font-size: 40px;
    letter-spacing: -1.5px;
  }
  
  .flavor-grid {
    grid-template-columns: 1fr;
  }
  
  .flavor-card {
    min-height: 440px;
  }
  
  .flavor-card img {
    width: 180px;
    height: 180px;
  }
  
  .menu-photo img {
    height: 460px;
  }
  
  .menu-lists {
    grid-template-columns: 1fr;
  }
  
  .gift-stack {
    min-height: 440px;
  }
  
  .tilt-card--one {
    width: 70%;
    height: 380px;
  }
  
  .tilt-card--two {
    width: 62%;
    height: 340px;
  }
  
  .scrapbook {
    height: 980px;
  }
  
  .scrap-a {
    width: 76%;
    height: 420px;
    left: 2%;
    top: 10px;
  }
  
  .scrap-b {
    width: 70%;
    height: 400px;
    left: 28%;
    top: 300px;
  }
  
  .scrap-c {
    width: 72%;
    height: 380px;
    left: 4%;
    top: 580px;
  }
  
  .guide-box {
    padding: 24px 18px;
  }
  
  .guide-header {
    flex-direction: column;
    gap: 16px;
  }
  
  .cta {
    min-height: 520px;
    padding: 70px 20px;
  }
  
  .cta h2 {
    font-size: 58px;
    letter-spacing: -2px;
  }
  
  .cta-donut {
    width: 72vw;
    right: -24vw;
  }
  
  .cta-script {
    right: 8%;
    bottom: 8%;
    font-size: 24px;
  }
}

/* Hero stage: all composition coordinates share the hero's frame. */
.hero.section-pad{
  --ube-x:0%;--ube-y:10%;--ube-w:28%;
  --oreo-x:58%;--oreo-y:48%;--oreo-w:27%;
  --pink-x:3%;--pink-y:5%;--pink-w:21.5%;
  position:relative;display:flex;align-items:center;isolation:isolate;overflow:hidden;contain:paint;
  width:calc(100% - 36px);height:auto;aspect-ratio:16/10;
  min-height:min(100svh,850px);max-height:850px;
  margin:10px 18px 0;padding:50px clamp(48px,7vw,110px);
  border-radius:28px;background:#fff1e6;box-shadow:0 24px 70px rgba(58,35,24,.12)
}
.hero-paper{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.58;pointer-events:none;backface-visibility:hidden;transform:translateZ(0)}
.hero-copy{position:relative;z-index:8;width:46%;max-width:600px}.hero h1{font-size:clamp(62px,6.2vw,89px);font-weight:700;letter-spacing:.01em;line-height:1;white-space:nowrap}.hero h1 .highlight{color:#ff5a2c}.hero-title-heart{width:.34em;height:.34em;fill:none;stroke:#f6a6b3;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;margin-left:.05em}.hero-copy>p{font-size:clamp(15px,1.22vw,17px);line-height:1.5;max-width:58ch;margin:24px 0 28px}.hero .eyebrow{color:#ff5a2c}.hero .mini-note{color:#8b6bc4}
.hero-stage{position:absolute;inset:0;z-index:2;min-height:0;display:block;pointer-events:none;user-select:none}
.hero-ribbon-wrap{position:absolute;inset:-24% -30% -28% 25%;z-index:0;pointer-events:none;mask-image:linear-gradient(to right,transparent 0%,#000 12%,#000 100%);backface-visibility:hidden}.hero-ribbon{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% center}
.hero-donut{position:absolute;aspect-ratio:1.08;z-index:2;pointer-events:auto;cursor:pointer;will-change:transform;backface-visibility:hidden}.hero-donut-parallax{width:100%;height:100%;will-change:transform;backface-visibility:hidden}.hero-donut img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 14px 18px rgba(120,60,30,.2));will-change:transform;backface-visibility:hidden}
.hero-donut--ube{width:var(--ube-w);right:var(--ube-x);top:var(--ube-y);rotate:15deg;z-index:2}.hero-donut--oreo{width:var(--oreo-w);left:var(--oreo-x);top:var(--oreo-y);rotate:-10deg;z-index:3}.hero-donut--pink{width:var(--pink-w);right:var(--pink-x);bottom:var(--pink-y);rotate:20deg;z-index:4}
.hero-doodle{position:absolute;z-index:5;width:52px;height:52px;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.hero-doodle--heart{left:66%;top:8%;stroke:#8b6bc4;rotate:-14deg}.hero-doodle--sparkle{right:3%;top:39%;stroke:#ff5a2c;rotate:14deg}
.hero-note{position:absolute;z-index:5;color:#3a2318;font-family:Caveat,var(--hand);font-size:clamp(25px,2.2vw,31px);line-height:1;white-space:nowrap;text-shadow:none;pointer-events:none}.hero-note svg{width:46px;height:38px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.hero-note--top{left:48%;top:22%;rotate:-12deg}.hero-note--bottom{right:3%;top:56%;rotate:-8deg}.hero-note--bottom svg{width:30px;height:28px;vertical-align:bottom;translate:-8px 22px}.hero .scroll-cue{z-index:8}
@media(max-width:1024px){.hero.section-pad{min-height:800px;max-height:none;aspect-ratio:auto;padding:60px 44px;align-items:flex-start}.hero-copy{width:70%;max-width:580px}.hero-stage{top:270px}.hero-donut--ube{width:33%}.hero-donut--oreo{width:33%;left:47%;top:41%}.hero-donut--pink{width:27%;bottom:5%}.hero-note--top{left:43%;top:15%}.hero-note--bottom{top:53%}}
@media(max-width:640px){.site-header{width:calc(100% - 20px);padding:6px 10px 6px 16px}.hero.section-pad{--ube-x:4%;--ube-y:5%;--ube-w:36%;--oreo-x:50%;--oreo-y:45%;--oreo-w:34%;--pink-x:7%;--pink-y:4%;--pink-w:28%;width:calc(100% - 20px);min-height:780px;margin:8px 10px 0;padding:44px 24px;border-radius:22px}.hero-copy{width:100%}.hero .eyebrow{font-size:18px;margin-bottom:8px}.hero h1{font-size:clamp(49px,12vw,62px);letter-spacing:0}.hero-copy>p{font-size:15px;line-height:1.5;max-width:36ch;margin:18px 0 22px}.hero-actions{flex-wrap:nowrap;gap:10px}.hero-actions .pill{padding:13px 18px;font-size:14px}.hero-actions .text-link{font-size:13px;white-space:nowrap}.mini-note{margin-top:20px;font-size:17px}.hero-stage{inset:auto auto 4px -15%;width:120%;aspect-ratio:16/10;overflow:hidden}.hero-ribbon-wrap{inset:-10% -30% -25% 20%}.hero-donut--ube{width:var(--ube-w);top:var(--ube-y);right:var(--ube-x)}.hero-donut--oreo{width:var(--oreo-w);left:var(--oreo-x);top:var(--oreo-y)}.hero-donut--pink{width:var(--pink-w);right:var(--pink-x);bottom:var(--pink-y)}.hero-note{font-size:20px}.hero-note--top{left:22%;top:19%}.hero-note--bottom{display:none}.hero-doodle{width:32px;height:32px}.hero-doodle--heart{left:55%;top:7%}.hero-doodle--sparkle{right:2%;top:46%}.hero .scroll-cue{display:none}}
