:root {
  --cream: #fff8f1;
  --paper: #fffdf9;
  --ink: #3d2925;
  --muted: #755f59;
  --rose: #a8515a;
  --rose-dark: #813a43;
  --blush: #f4c7c2;
  --peach: #f5d3b8;
  --sage: #718a71;
  --line: rgba(61, 41, 37, .14);
  --shadow: 0 24px 70px rgba(95, 56, 48, .12);
  --radius: 1.5rem;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset, 6.5rem);
}

section[id], main[id] { scroll-margin-top: var(--header-offset, 6.5rem); }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

h1, h2, h3, .brand-lockup strong {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}

h2 { font-size: clamp(2.15rem, 5vw, 3.65rem); line-height: 1.08; }
h3 { font-size: 1.6rem; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1100;
  background: var(--ink);
  color: white;
  padding: .7rem 1rem;
  border-radius: .5rem;
}

.skip-link:focus { top: 1rem; }

.site-header {
  background: rgba(255, 248, 241, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-lockup {
  color: var(--ink);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .05rem;
  text-decoration: none;
}

.brand-lockup strong,
.brand-lockup small { display: block; line-height: 1; }
.brand-lockup strong { font-size: 1.2rem; }
.brand-lockup small { font-size: .66rem; letter-spacing: .22em; margin-top: .28rem; text-transform: uppercase; }

.site-logo {
  display: block;
  width: clamp(10rem, 18vw, 13rem);
  height: 3.25rem;
  object-fit: contain;
  object-position: left center;
}

.brand-subtitle {
  align-self: center;
  color: currentColor;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .3em;
  line-height: 1;
  padding-left: .3em;
  text-transform: uppercase;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose);
  color: white;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
}

.navbar .nav-link { color: var(--ink); font-weight: 650; padding: .7rem .85rem !important; }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--rose); }

.btn { border-radius: 999px; font-weight: 750; padding: .72rem 1.25rem; }
.btn-lg { padding: .9rem 1.55rem; font-size: 1rem; }
.btn-brand { background: var(--rose); border-color: var(--rose); color: white; }
.btn-brand:hover, .btn-brand:focus { background: var(--rose-dark); border-color: var(--rose-dark); color: white; }
.btn-outline-brand { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline-brand:hover, .btn-outline-brand:focus { background: var(--ink); border-color: var(--ink); color: white; }

.hero {
  background:
    radial-gradient(circle at 10% 20%, rgba(244, 199, 194, .38), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(245, 211, 184, .6), transparent 28%),
    var(--cream);
  overflow: hidden;
}

.eyebrow {
  color: var(--rose-dark);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.display-title { font-size: clamp(3.4rem, 8vw, 6.6rem); line-height: .94; letter-spacing: -.065em; }
.display-title em { color: var(--rose); font-weight: 400; }
.hero-copy { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 36rem; }
.hero-notes { color: var(--muted); font-size: .92rem; font-weight: 650; }
.hero-notes span { color: var(--sage); font-weight: 900; margin-right: .25rem; }

.hero-card {
  min-height: 34rem;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 48% 48% 2rem 2rem;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  position: relative;
}

.hero-illustration { width: min(100%, 34rem); filter: drop-shadow(0 22px 22px rgba(96, 57, 48, .1)); }
.doodle { position: absolute; color: var(--rose); font-size: 2.5rem; }
.doodle-one { left: 8%; top: 19%; transform: rotate(-18deg); }
.doodle-two { right: 9%; top: 12%; color: var(--sage); }

.hero-sticker {
  position: absolute;
  right: 3%;
  bottom: 5%;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(7deg);
  box-shadow: 0 15px 35px rgba(61,41,37,.2);
}

.hero-sticker span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-sticker strong { font-family: Georgia, serif; font-size: 1.08rem; }

.section-space { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section-heading { max-width: 47rem; }
.section-heading > p:last-child, .section-space p { color: var(--muted); }

.menu-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: 0 12px 30px rgba(61, 41, 37, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.menu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.menu-number { color: var(--rose) !important; font-size: .72rem; font-weight: 850; letter-spacing: .15em; }
.text-link { color: var(--ink); font-weight: 800; text-underline-offset: .3rem; }
.text-link:hover { color: var(--rose); }

.menu-art { height: 15rem; position: relative; display: grid; place-items: center; overflow: hidden; }
.menu-art-cookie { background: #e8dbc8; }
.menu-art-cookie::before {
  content: ""; width: 9rem; height: 9rem; background: #c98245; border-radius: 47% 53% 48% 52%; box-shadow: inset -15px -10px 0 rgba(111,69,43,.12), 0 18px 28px rgba(87,54,38,.18); transform: rotate(-10deg);
}
.menu-art-cookie span { width: .7rem; height: .7rem; border-radius: 50%; position: absolute; background: #5f392e; color: transparent; }
.menu-art-cookie span:nth-child(1) { transform: translate(-2rem,-1.7rem); }
.menu-art-cookie span:nth-child(2) { transform: translate(2.3rem,-.4rem); }
.menu-art-cookie span:nth-child(3) { transform: translate(-.4rem,2.2rem); }

.menu-art-cake { background: #ead4d2; }
.menu-art-cake::before { content: ""; width: 9.5rem; height: 7rem; border-radius: 1rem 1rem .6rem .6rem; background: linear-gradient(#fff2e5 0 24%, #c87178 24% 57%, #fff2e5 57% 70%, #d98a8f 70%); box-shadow: 0 17px 25px rgba(94,48,51,.15); }
.menu-art-cake::after { content: ""; position: absolute; top: 4.5rem; width: 7rem; height: 2rem; border-radius: 50%; background: #fff8f1; box-shadow: 0 -7px 0 #f7b8b0; }

.menu-art-seasonal { background: #d8e1d3; }
.menu-art-seasonal::before { content: ""; width: 9rem; height: 8rem; border: 7px solid #8d654c; border-radius: 1rem 1rem 2.8rem 2.8rem; background: repeating-linear-gradient(90deg, #e9b66e 0 1.6rem, #f5d49d 1.6rem 3.2rem); box-shadow: 0 18px 25px rgba(61,73,51,.15); }
.menu-art-seasonal span { position: absolute; top: 3.3rem; right: 24%; color: var(--rose); font-size: 2rem; }

.gallery-section { background: #f5eee5; }
.gallery-intro { max-width: 31rem; color: var(--muted); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 15rem;
  grid-auto-flow: dense;
  gap: 1rem;
}

.gallery-item {
  grid-column: span 4;
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(168,81,90,.12), rgba(113,138,113,.14)),
    var(--paper);
  border: 1px solid rgba(61,41,37,.1);
}

.gallery-item-tall { grid-row: span 2; }
.gallery-item-wide { grid-column: span 8; }
.gallery-open { position: relative; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; background: transparent; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-focus-top img { object-position: center top; }
.gallery-item:not(.is-empty):hover img { transform: scale(1.035); }
.gallery-item img.gallery-rotate-clockwise {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transform: translate(-50%, -50%) rotate(90deg);
}
.gallery-item:not(.is-empty):hover img.gallery-rotate-clockwise { transform: translate(-50%, -50%) rotate(90deg) scale(1.035); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 1rem 1rem;
  width: fit-content;
  padding: .5rem .8rem;
  border-radius: 999px;
  background: rgba(255,253,249,.9);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.gallery-placeholder { display: none; }
.gallery-item.is-empty img { display: none; }
.gallery-item.is-empty .gallery-placeholder {
  display: grid;
  position: absolute;
  inset: 0;
  place-items: center;
  color: var(--rose-dark);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gallery-modal .modal-content {
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 35px 90px rgba(34,20,17,.35);
}

.gallery-modal.is-square .modal-dialog {
  width: min(70vh, calc(100vw - 2rem));
  max-width: min(70vh, calc(100vw - 2rem));
  margin-inline: auto;
}
.gallery-modal .btn-close { position: absolute; right: 1rem; top: 1rem; z-index: 2; padding: .7rem; border-radius: 50%; background-color: rgba(255,255,255,.9); }
.gallery-modal img { display: block; width: 100%; max-height: 78vh; object-fit: contain; background: #eadfd5; }
.gallery-modal img.gallery-modal-rotate-clockwise {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1;
  object-fit: cover;
  transform: rotate(90deg);
}
.gallery-modal p { padding: 1rem 1.25rem; color: var(--ink); font-family: Georgia, serif; font-size: 1.15rem; font-weight: 700; }

.story-section { background: var(--cream); }
.story-photo {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 38rem;
  border: 2px solid rgba(168, 81, 90, .42);
  border-radius: 48% 48% 1.5rem 1.5rem;
  object-fit: cover;
  object-position: center center;
  box-shadow: var(--shadow);
}
.story-photo-placeholder { min-height: 38rem; border-radius: 48% 48% 1.5rem 1.5rem; border: 2px dashed rgba(168,81,90,.32); background: linear-gradient(145deg, #f3c7c0, #f6deca); display: grid; place-items: center; text-align: center; padding: 2rem; }
.story-photo-placeholder div { max-width: 17rem; }
.story-photo-placeholder span, .story-photo-placeholder strong, .story-photo-placeholder small { display: block; }
.story-photo-placeholder span { font-size: 4rem; color: var(--rose); }
.story-photo-placeholder strong { font-family: Georgia, serif; font-size: 1.5rem; margin: .5rem 0; }
.story-photo-placeholder small { color: var(--muted); }
.lead-copy { font-size: 1.25rem; color: var(--ink) !important; }
.signature { color: var(--rose); font-family: "Segoe Script", "Bradley Hand", cursive; font-size: 2.2rem; }

.bakery-accordion { border-top: 1px solid var(--line); }
.bakery-accordion .accordion-item { border-color: var(--line); background: transparent; }
.bakery-accordion .accordion-button { background: transparent; color: var(--ink); box-shadow: none; font-weight: 750; font-size: 1.05rem; padding: 1.5rem .2rem; }
.bakery-accordion .accordion-button:not(.collapsed) { color: var(--rose-dark); }
.bakery-accordion .accordion-body { color: var(--muted); padding: 0 .2rem 1.5rem; }

.order-section { padding-bottom: clamp(5rem, 10vw, 8rem); }
.order-card { background: var(--rose); color: white; border-radius: 2rem; padding: clamp(3.5rem, 8vw, 6.5rem) 1.5rem; position: relative; overflow: hidden; }
.order-card::before, .order-card::after { content: ""; position: absolute; border: 2px solid rgba(255,255,255,.22); border-radius: 50%; width: 13rem; height: 13rem; }
.order-card::before { left: -5rem; top: -6rem; }
.order-card::after { right: -4rem; bottom: -6rem; }
.order-card .eyebrow { color: #ffe6db; }
.order-card p { color: #fff1ec; max-width: 35rem; }

.site-footer { background: var(--ink); color: #f9ebe4; padding: 5rem 0 2rem; }
.footer-brand { color: white; }
.footer-logo { filter: invert(1); opacity: .92; }
.footer-heading { color: white; font-family: inherit; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-links li { margin: .55rem 0; }
.footer-links a { color: #e5cfca; text-decoration: none; }
.footer-links a:hover { color: white; text-decoration: underline; }
.footer-placeholder { color: #ccb5af; }
.legal-note { border-top: 1px solid rgba(255,255,255,.14); color: #bda6a0; font-size: .82rem; }

:focus-visible { outline: 3px solid #d38b58; outline-offset: 4px; }

@media (max-width: 991.98px) {
  body { padding-top: var(--header-height, 5.3rem); }
  .site-header {
    position: fixed !important;
    inset: 0 0 auto;
    width: 100%;
  }
  .navbar-collapse { padding: 1rem 0 .5rem; }
  .hero-card { min-height: 29rem; }
  .gallery-item { grid-column: span 6; }
  .gallery-item-wide { grid-column: span 12; }
}

@media (max-width: 575.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .display-title { font-size: 3.35rem; }
  .hero-card { min-height: 24rem; border-radius: 42% 42% 1.5rem 1.5rem; }
  .hero-sticker { width: 6.4rem; height: 6.4rem; right: 0; }
  .story-photo-placeholder { min-height: 28rem; }
  .story-photo { height: 28rem; }
  .site-logo { width: 9.5rem; height: 2.6rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 20rem; }
  .gallery-item, .gallery-item-wide { grid-column: 1; }
  .gallery-item-tall { grid-row: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
