/* ============================================
   BROWN SUGAR BAKERY — SITE STYLES
   Editorial bakery aesthetic
   ============================================ */

:root {
  /* Brand palette */
  --deep-teal: #1F4E4A;
  --deep-teal-dark: #143430;
  --mauve: #B89BA0;
  --dusty-rose: #D4A5A5;
  --cream: #F5EDE4;
  --cream-light: #FBF6EE;
  --cream-warm: #EBDDD0;
  --brown-sugar: #7A4A3A;
  --brown-sugar-light: #A86B58;
  --soft-peach: #F2C9B4;
  --antique-gold: #C9A961;
  --coral: #E8826F;
  --leaf-green: #9DBDB0;
  --ink: #2A1F1A;

  /* Typography */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Spacing */
  --container: 1280px;
  --container-narrow: 880px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Radii / shadows */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 28px;
  --shadow-soft: 0 12px 40px -16px rgba(122, 74, 58, 0.18);
  --shadow-deep: 0 24px 60px -20px rgba(31, 78, 74, 0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  font-size: 16px;
  overflow-x: hidden;
  /* subtle paper grain */
  background-image:
    radial-gradient(rgba(122, 74, 58, 0.025) 1px, transparent 1px),
    radial-gradient(rgba(122, 74, 58, 0.015) 1px, transparent 1px);
  background-size: 32px 32px, 80px 80px;
  background-position: 0 0, 16px 16px;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--brown-sugar);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.92;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  font-variation-settings: "opsz" 14, "SOFT" 50;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  font-variation-settings: "opsz" 14, "SOFT" 50;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  font-variation-settings: "opsz" 14, "SOFT" 50;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--deep-teal);
  display: inline-block;
}

.eyebrow::before {
  content: '✿';
  margin-right: 0.6em;
  color: var(--brown-sugar);
  letter-spacing: 0;
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
}

p.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.55;
  color: var(--brown-sugar);
  font-weight: 400;
  font-family: var(--font-body);
  font-style: normal;
}

p.lead em {
  font-family: var(--font-display);
  font-style: italic;
  color: inherit;
  font-variation-settings: "opsz" 14, "SOFT" 50;
}

/* ============================================
   LAYOUT PRIMITIVES
   ============================================ */

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

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.divider-floral {
  display: block;
  margin: 0 auto;
  width: clamp(280px, 40%, 480px);
  height: auto;
  opacity: 0.85;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 237, 228, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(122, 74, 58, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  padding: 0.25rem 0;
}

.nav__brand-flowers {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.nav__brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--brown-sugar);
  line-height: 1;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .nav__brand-name { font-size: 1rem; }
  .nav__brand-flowers { height: 30px; }
}

@media (max-width: 380px) {
  .nav__brand-name { display: none; }
}

.nav__menu {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  align-items: center;
}

.nav__menu a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-teal);
  position: relative;
  padding: 0.25rem 0;
}

.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--coral);
  transition: width 0.35s var(--ease);
}

.nav__menu a:hover::after,
.nav__menu a.active::after {
  width: 100%;
}

.nav__menu a.active {
  color: var(--brown-sugar);
}

.nav__cta {
  background: var(--deep-teal);
  color: var(--cream-light);
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
}

.nav__cta:hover {
  background: var(--deep-teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  position: relative;
  z-index: 110;
}

.nav__toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--brown-sugar);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
  transform-origin: center;
}

@media (max-width: 900px) {
  .nav__menu {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }
  .nav__cta { padding: 0.6rem 1rem; font-size: 0.7rem; }

  /* Mobile drawer: opens below the nav header.
     Note: .nav has backdrop-filter, which creates a containing block
     for position: fixed descendants — so we use absolute + explicit
     height/width relative to the viewport. */
  .nav--open .nav__menu {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100vw;
    height: calc(100dvh - 64px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.75rem;
    padding: 2.5rem var(--gutter) 3rem;
    background: var(--cream);
    z-index: 95;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav--open .nav__menu a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--brown-sugar);
    font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
    padding: 0.4rem 0;
  }

  .nav--open .nav__menu a.active {
    color: var(--coral);
  }

  /* Hide the underline animation in drawer mode */
  .nav--open .nav__menu a::after {
    display: none;
  }

  /* Hamburger → X */
  .nav--open .nav__toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .nav--open .nav__toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav--open .nav__toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--deep-teal);
  color: var(--cream-light);
}
.btn--primary:hover {
  background: var(--deep-teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--brown-sugar);
  border-color: var(--brown-sugar);
}
.btn--ghost:hover {
  background: var(--brown-sugar);
  color: var(--cream-light);
}

.btn--cream {
  background: var(--cream-light);
  color: var(--deep-teal);
  border: 1px solid rgba(31, 78, 74, 0.15);
}
.btn--cream:hover {
  background: var(--cream-warm);
  transform: translateY(-2px);
}

.btn .arrow {
  transition: transform 0.35s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(4px);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 165, 165, 0.25), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(31, 78, 74, 0.12), transparent 70%);
  pointer-events: none;
}

.hero__flowers-watermark {
  position: absolute;
  top: -40px;
  left: -60px;
  width: 280px;
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  transform: rotate(-12deg);
  z-index: 0;
}

@media (max-width: 900px) {
  .hero__flowers-watermark { width: 180px; top: -20px; left: -40px; opacity: 0.12; }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__lockup {
  display: block;
  height: 140px;
  width: auto;
  max-width: 100%;
  margin: 0 0 1.75rem -0.5rem;
}

@media (max-width: 900px) {
  .hero__lockup { height: 110px; }
}

@media (max-width: 600px) {
  .hero__lockup { height: 88px; margin-left: 0; }
}

.hero__content .eyebrow {
  margin-bottom: 1.5rem;
}

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-family: var(--font-display);
  font-style: italic;
  color: inherit;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
}

.hero__lede {
  margin-bottom: 2.5rem;
  max-width: 36ch;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
}

.hero__visual img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-deep);
  width: 100%;
  height: auto;
  display: block;
}

.hero__badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--cream-light);
  padding: 1.2rem 1.5rem 1.2rem 1.4rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--brown-sugar);
  max-width: 260px;
  border: 1px solid rgba(122, 74, 58, 0.08);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero__badge-flowers {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.hero__badge strong {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-teal);
  margin-bottom: 0.4rem;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__badge {
    left: 1rem;
    bottom: -1rem;
    max-width: 200px;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
  }
}

/* ============================================
   STORY STRIP
   ============================================ */

.story-strip {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  text-align: center;
  position: relative;
}

.story-strip__inner {
  max-width: 720px;
  margin: 0 auto;
}

.story-strip h2 {
  margin: 1.25rem 0 1.75rem;
}

.story-strip h2 em {
  font-style: italic;
  color: var(--coral);
}

.story-strip p {
  color: var(--brown-sugar);
  font-size: 1.0625rem;
}

.story-strip__divider {
  margin: 2.5rem auto 0;
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */

.featured {
  background: var(--cream-light);
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head .eyebrow {
  margin-bottom: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(122, 74, 58, 0.08);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
  border-color: rgba(212, 165, 165, 0.4);
}

.product-card__media {
  background: linear-gradient(135deg, var(--cream-warm), var(--cream));
  padding: 2rem;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-card__media img {
  max-height: 200px;
  width: auto;
  filter: drop-shadow(0 8px 16px rgba(122, 74, 58, 0.12));
  transition: transform 0.5s var(--ease);
}

.product-card__media--photo {
  padding: 0;
  background: var(--cream-light);
  overflow: hidden;
}

.product-card__media--photo img {
  max-height: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--deep-teal);
  color: var(--cream-light);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-weight: 500;
}

.product-card__body {
  padding: 1.5rem 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--brown-sugar);
}

.product-card__desc {
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.75;
  flex: 1;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(122, 74, 58, 0.2);
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--deep-teal);
  font-weight: 500;
}

.product-card__price .from {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brown-sugar);
  margin-right: 0.3rem;
  font-weight: 600;
  font-family: var(--font-body);
}

.product-card__cta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-teal);
}

/* ============================================
   STORY SECTION (full-bleed)
   ============================================ */

.our-story {
  background: var(--deep-teal);
  color: var(--cream-light);
  position: relative;
  overflow: hidden;
}

.our-story::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212, 165, 165, 0.12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(242, 201, 180, 0.08), transparent 40%);
  pointer-events: none;
}

.our-story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.our-story h2 {
  color: var(--cream-light);
}

.our-story h2 em {
  font-style: italic;
  color: var(--soft-peach);
}

.our-story p {
  color: rgba(245, 237, 228, 0.9);
  margin-bottom: 1.25rem;
}

.our-story .eyebrow {
  color: var(--soft-peach);
}

.our-story .eyebrow::before {
  color: var(--coral);
}

.our-story__visual {
  position: relative;
}

.our-story__visual img {
  border-radius: var(--r-lg);
}

.our-story__heritage-tag {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: var(--coral);
  color: var(--cream-light);
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 900px) {
  .our-story__inner { grid-template-columns: 1fr; }
}

/* ============================================
   VISIT BLOCK
   ============================================ */

.visit-block {
  background: var(--cream-warm);
}

.visit-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.visit-info dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 2rem;
  row-gap: 1.25rem;
  margin-top: 2rem;
}

.visit-info dt {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--deep-teal);
  padding-top: 0.35rem;
}

.visit-info dd {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--brown-sugar);
  font-weight: 400;
}

.visit-info dd small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
  opacity: 0.7;
  font-style: normal;
  margin-top: 0.2rem;
}

.visit-map {
  background: var(--cream-light);
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid rgba(122, 74, 58, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visit-map__placeholder {
  text-align: center;
  padding: 2rem;
}

.visit-map__placeholder .eyebrow {
  margin-bottom: 1rem;
}

.visit-map__placeholder p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brown-sugar);
  font-size: 1.25rem;
  line-height: 1.4;
}

@media (max-width: 800px) {
  .visit-block__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--ink);
  color: rgba(245, 237, 228, 0.7);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 237, 228, 0.1);
}

.footer__brand img {
  max-height: 110px;
  max-width: 100%;
  height: auto;
  width: auto;
  margin-bottom: 1rem;
  margin-left: -10px;
}

.footer__brand h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--cream-light);
  margin-bottom: 0.75rem;
}

.footer__brand p {
  font-size: 0.95rem;
  color: rgba(245, 237, 228, 0.78);
  max-width: 28ch;
}

.footer__col h3 {
  color: var(--cream-light);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-variation-settings: normal;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__col a {
  color: rgba(245, 237, 228, 0.65);
  font-size: 0.95rem;
  transition: color 0.3s var(--ease);
}

.footer__col a:hover {
  color: var(--soft-peach);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(245, 237, 228, 0.78);
}

.footer__bottom em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--soft-peach);
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ============================================
   PAGE HEAD (interior pages)
   ============================================ */

.page-head {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
  position: relative;
}

.page-head .eyebrow { margin-bottom: 1rem; }

.page-head__signature {
  display: block;
  margin: 0 auto 1.5rem;
  height: 60px;
  width: auto;
  opacity: 0.9;
}

.page-head__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  color: var(--brown-sugar);
  max-width: 56ch;
  margin: 1.5rem auto 0;
  line-height: 1.5;
  font-weight: 300;
}

.page-head .divider-floral {
  margin-top: 2rem;
}

/* ============================================
   MENU PAGE
   ============================================ */

.menu-section {
  margin-bottom: 4rem;
}

.menu-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(122, 74, 58, 0.3);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.menu-section__head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--brown-sugar);
}

.menu-section__head h2 em {
  font-style: italic;
  color: var(--coral);
  font-size: 0.65em;
  font-weight: 300;
  margin-left: 0.5rem;
  letter-spacing: 0.05em;
}

.menu-section__head .lead-time {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--deep-teal);
  font-weight: 500;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.menu-item {
  display: flex;
  flex-direction: column;
  background: var(--cream-light);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(122, 74, 58, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.menu-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(122, 74, 58, 0.12);
}

.menu-item__media {
  aspect-ratio: 4/3;
  background: var(--cream-warm);
  overflow: hidden;
}

.menu-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease);
}

.menu-item__media--photo {
  background: var(--cream-light);
  cursor: zoom-in;
}

.menu-item:hover .menu-item__media img {
  transform: scale(1.03);
}

.menu-item__body {
  padding: 1.1rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.menu-item__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.menu-item__head h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brown-sugar);
  font-weight: 500;
  flex: 1;
  font-variation-settings: "opsz" 14;
}

.menu-item__price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--deep-teal);
  font-weight: 500;
  white-space: nowrap;
}

.menu-item__desc {
  font-size: 0.875rem;
  color: var(--ink);
  opacity: 0.72;
  line-height: 1.55;
}

.menu-item__tags {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.menu-item__tag {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-teal);
  background: rgba(31, 78, 74, 0.08);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-weight: 500;
}

.menu-item__tag--signature {
  background: var(--coral);
  color: var(--ink);
}

/* ============================================
   CUSTOM CAKES PAGE
   ============================================ */

.custom-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.custom-hero__visual {
  background: linear-gradient(135deg, var(--cream-warm), var(--cream));
  border-radius: var(--r-lg);
  padding: 3rem;
  text-align: center;
}

.custom-process {
  background: var(--cream-light);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 4rem);
  margin-bottom: 4rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  text-align: center;
}

.process-step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  color: var(--deep-teal);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.process-step h3 {
  margin-bottom: 0.5rem;
  color: var(--brown-sugar);
  font-size: 1.25rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--ink);
  opacity: 0.75;
}

/* Form */
.cake-form {
  background: var(--cream-light);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(122, 74, 58, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-row--single {
  grid-template-columns: 1fr;
}

.form-field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--deep-teal);
  margin-bottom: 0.6rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(122, 74, 58, 0.2);
  border-radius: var(--r-sm);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--deep-teal);
  background: var(--cream-light);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-body);
}

.form-field__hint {
  font-size: 0.8rem;
  color: var(--ink);
  opacity: 0.85;
  margin-top: 0.4rem;
  font-style: italic;
}

.upload-area {
  border: 2px dashed rgba(122, 74, 58, 0.25);
  border-radius: var(--r-md);
  padding: 2rem;
  text-align: center;
  background: var(--cream);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.upload-area:hover {
  border-color: var(--coral);
  background: var(--cream-warm);
}

.upload-area p {
  font-size: 0.9rem;
  color: var(--brown-sugar);
}

.upload-area p strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; }
  .custom-hero { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   STORY PAGE
   ============================================ */

.story-page {
  max-width: 720px;
  margin: 0 auto;
}

.story-page p {
  font-size: 1.0625rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.story-page > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.5rem;
  float: left;
  line-height: 0.85;
  margin: 0.4rem 0.6rem 0 0;
  color: var(--coral);
  font-weight: 400;
  font-style: italic;
}

.story-page h3 {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brown-sugar);
  margin: 3rem 0 1rem;
  font-weight: 400;
}

.story-pullquote {
  margin: 3rem 0;
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(122, 74, 58, 0.2);
  border-bottom: 1px solid rgba(122, 74, 58, 0.2);
  text-align: center;
}

.story-pullquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  font-weight: 300;
  color: var(--coral);
  line-height: 1.4;
  margin: 0;
}

.story-pullquote p::before, .story-pullquote p::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--brown-sugar);
  vertical-align: middle;
  margin: 0 1rem;
  opacity: 0.4;
}

.story-heritage {
  background: var(--cream-warm);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  margin: 3rem 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}

.story-heritage__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--coral);
  flex-shrink: 0;
}

.story-heritage h3 {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brown-sugar);
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 1.25rem;
}

.story-heritage p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.85;
}

/* ============================================
   VISIT PAGE
   ============================================ */

.visit-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.hours-card {
  background: var(--cream-light);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid rgba(122, 74, 58, 0.08);
}

.hours-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brown-sugar);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(122, 74, 58, 0.15);
  font-size: 0.95rem;
}

.hours-list li:last-child { border: none; }

.hours-list span:first-child {
  color: var(--brown-sugar);
  font-weight: 500;
}

.hours-list span:last-child {
  color: var(--ink);
  opacity: 0.8;
}

.hours-list li.closed span:last-child {
  color: var(--brown-sugar);
  font-style: italic;
  font-family: var(--font-display);
  opacity: 1;
}

@media (max-width: 800px) {
  .visit-page-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   CART PAGE
   ============================================ */

.cart-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}

.cart-items {
  background: var(--cream-light);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid rgba(122, 74, 58, 0.08);
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px dashed rgba(122, 74, 58, 0.2);
}

.cart-item:last-of-type { border: none; }

.cart-item__media {
  background: var(--cream-warm);
  border-radius: var(--r-sm);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
}

.cart-item__media img { width: 100%; }

.cart-item__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brown-sugar);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.cart-item__meta {
  font-size: 0.85rem;
  color: var(--ink);
  opacity: 0.65;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.cart-item__qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream-warm);
  color: var(--brown-sugar);
  border: 1px solid rgba(122, 74, 58, 0.2);
  font-size: 0.85rem;
}

.cart-item__qty button:hover { background: var(--cream); }

.cart-item__price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--deep-teal);
  font-weight: 500;
}

.cart-summary {
  background: var(--cream-light);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid rgba(122, 74, 58, 0.08);
  position: sticky;
  top: 6rem;
}

.cart-summary h3 {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brown-sugar);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.summary-line--total {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--deep-teal);
  font-weight: 500;
  padding: 1.25rem 0 0.5rem;
  border-top: 1px dashed rgba(122, 74, 58, 0.3);
  margin-top: 0.75rem;
}

.cart-summary .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
}

.payment-note {
  font-size: 0.8rem;
  color: var(--ink);
  opacity: 0.85;
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

@media (max-width: 900px) {
  .cart-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: var(--cream-light);
  border-radius: var(--r-md);
  padding: 1.75rem;
  border: 1px solid rgba(122, 74, 58, 0.08);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-light);
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

.contact-card h3 {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-teal);
  font-family: var(--font-body);
  font-weight: 600;
  font-variation-settings: normal;
  margin-bottom: 0.4rem;
}

.contact-card p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--brown-sugar);
  line-height: 1.4;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================
   ZOOM LIGHTBOX
   ============================================ */

.zoom-dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 95vw;
  max-height: 95vh;
  overflow: visible;
  position: fixed;
  inset: 0;
  margin: auto;
}

.zoom-dialog::backdrop {
  background: rgba(42, 31, 26, 0.85);
  backdrop-filter: blur(6px);
}

.zoom-dialog img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--r-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: var(--cream-light);
}

.zoom-dialog__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid rgba(122, 74, 58, 0.15);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1;
  padding: 0;
  font-family: var(--font-body);
}

.zoom-dialog__close:hover {
  background: var(--cream-light);
}

.zoom-dialog__close:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .zoom-dialog[open] {
    animation: zoom-in 0.22s var(--ease);
  }
  .zoom-dialog[open]::backdrop {
    animation: backdrop-in 0.22s var(--ease);
  }
}

@keyframes zoom-in {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__content > * {
  animation: fade-up 0.9s var(--ease) backwards;
}
.hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero__content > *:nth-child(2) { animation-delay: 0.18s; }
.hero__content > *:nth-child(3) { animation-delay: 0.32s; }
.hero__content > *:nth-child(4) { animation-delay: 0.46s; }
.hero__content > *:nth-child(5) { animation-delay: 0.60s; }

.hero__visual {
  animation: fade-up 1.1s var(--ease) 0.25s backwards;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============================================
   BROWN SUGARED — MERCH PAGE
   ============================================ */

.product-card__media svg {
  max-height: 240px;
  width: auto;
  height: 100%;
  max-width: 100%;
  filter: drop-shadow(0 10px 18px rgba(122, 74, 58, 0.14));
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card__media svg {
  transform: translateY(-3px) scale(1.03);
}

.product-card__series {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brown-sugar-light, #A86B58);
  margin-bottom: 0.5rem;
}

.product-card--merch .product-card__media {
  aspect-ratio: 4/5;
  background: var(--cream-light);
}

.section-head__sub {
  max-width: 52ch;
  margin: 1rem auto 0;
  color: var(--ink);
  opacity: 0.72;
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* Recipe / concept strip */
.merch-recipe {
  background: var(--cream-light);
  border-top: 1px dashed rgba(122, 74, 58, 0.18);
  border-bottom: 1px dashed rgba(122, 74, 58, 0.18);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.merch-recipe__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.merch-recipe__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  color: var(--brown-sugar);
  margin: 0.75rem auto 2rem;
  max-width: 28ch;
}

.merch-recipe__title em {
  color: var(--coral, #E8826F);
  font-style: italic;
}

.merch-recipe__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--ink);
}

.merch-recipe__list li {
  position: relative;
  padding: 0 0.25rem;
}

.merch-recipe__list li + li::before {
  content: "·";
  position: absolute;
  left: -1rem;
  color: var(--brown-sugar);
  opacity: 0.5;
}

.merch-recipe__list em {
  font-style: italic;
  color: var(--coral, #E8826F);
}

.merch-recipe__list strong {
  font-weight: 500;
  color: var(--brown-sugar);
}

.merch-recipe__note {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.7;
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.65;
}

/* Waitlist strip */
.merch-waitlist {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}

.merch-waitlist__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.merch-waitlist__headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  color: var(--brown-sugar);
  margin: 1rem auto 1.25rem;
  max-width: 18ch;
}

.merch-waitlist__headline em {
  color: var(--coral, #E8826F);
  font-style: italic;
}

.merch-waitlist__sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.78;
  max-width: 46ch;
  margin: 0 auto 2rem;
}

.merch-waitlist__form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.merch-waitlist__form input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(122, 74, 58, 0.22);
  border-radius: 999px;
  background: var(--cream-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.merch-waitlist__form input[type="email"]:focus {
  outline: none;
  border-color: var(--deep-teal);
  background: #fff;
}

.merch-waitlist__form button {
  flex: 0 0 auto;
}

.merch-waitlist__fine {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--ink);
  opacity: 0.55;
  margin-top: 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Form submission status */
.form-status--ok { color: var(--deep-teal); font-weight: 600; }
.form-status--error { color: #b3261e; font-weight: 600; }
