/* Whisk Me Away — warm, mobile-first bakery site */

:root {
  --cream: #fbf4ea;
  --paper: #f3e6d4;
  --foam: #fffdf8;
  --butter: #e8c9a0;
  --crust: #8f4e2e;
  --cocoa: #3d2a24;
  --ink: #2a1c18;
  --rose: #b45a45;
  --gold: #c4a574;
  --muted: #6b5248;
  --shadow: 0 10px 30px rgba(61, 42, 36, 0.1);
  --radius: 18px;
  --header-h: 4.25rem;
  --font-display: "Fraunces", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--crust);
  text-underline-offset: 0.15em;
}

a:hover { color: var(--rose); }

:focus-visible {
  outline: 3px solid var(--crust);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 100;
  background: var(--cocoa);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
}
.skip:focus { top: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.1rem;
  background: rgba(251, 244, 234, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 165, 116, 0.35);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--cocoa);
  min-height: 44px;
}

.logo svg {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.logo-word {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.15rem;
}

.site-nav a {
  color: var(--cocoa);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.55rem 0.7rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--paper);
  color: var(--crust);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 42rem);
  display: flex;
  align-items: flex-end;
  color: var(--foam);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(42, 28, 24, 0.15) 0%, rgba(42, 28, 24, 0.15) 35%, rgba(42, 28, 24, 0.78) 100%);
}

.hero-inner {
  width: min(1100px, calc(100% - 2.2rem));
  margin: 0 auto;
  padding: 3.5rem 0 3rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--butter);
  margin: 0 0 0.7rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  max-width: 12ch;
}

.hero .lede {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  max-width: 28ch;
  margin: 0 0 1.5rem;
  color: #f6ead8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--cream);
  color: var(--cocoa);
}
.btn-primary:hover {
  background: #fff;
  color: var(--crust);
}

.btn-ghost {
  background: transparent;
  color: var(--foam);
  border-color: rgba(255, 253, 248, 0.55);
}
.btn-ghost:hover {
  background: rgba(255, 253, 248, 0.12);
  color: #fff;
}

/* Layout */
.section {
  padding: 3.5rem 0;
}

.wrap {
  width: min(1100px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--cocoa);
}

.section-intro {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 2rem;
  font-size: 1.12rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: start;
}

.card {
  margin: 0;
  background: var(--foam);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(196, 165, 116, 0.25);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper);
}


.card figcaption {
  padding: 0.85rem 1rem 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--cocoa);
}

/* About */
.about {
  background:
    radial-gradient(1200px 400px at 10% 0%, rgba(232, 201, 160, 0.35), transparent 60%),
    var(--paper);
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-copy p { margin: 0 0 1rem; }
.about-copy p:last-child { margin-bottom: 0; }

.about-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-photo figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.7rem 0.2rem 0;
}

/* Markets + find us */
.band {
  background: var(--cocoa);
  color: var(--cream);
}

.band h2 { color: var(--cream); }

.band .section-intro,
.band p { color: #ead9c8; }

.band-grid {
  display: grid;
  gap: 2rem;
}

.find-card {
  background: rgba(251, 244, 234, 0.08);
  border: 1px solid rgba(232, 201, 160, 0.25);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
}

.find-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
  color: var(--foam);
}

.note {
  font-size: 0.98rem;
  margin: 0;
}

/* Footer */
.site-footer {
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
  border-top: 1px solid rgba(196, 165, 116, 0.35);
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .site-header { padding: 0 1.8rem; }
  .logo-word { font-size: 1.4rem; }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-grid,
  .band-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

@media (max-width: 439px) {
  :root { --header-h: 7.25rem; }
  .site-header {
    height: auto;
    min-height: var(--header-h);
    flex-wrap: wrap;
    padding: 0.45rem 0.85rem 0.55rem;
  }
  .site-nav {
    width: 100%;
    justify-content: space-between;
  }
  .site-nav a { padding: 0.45rem 0.4rem; flex: 1; justify-content: center; }
  .hero { min-height: 32rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Card captions with description + price */
.card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem 1.1rem;
}
.item-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--cocoa);
  line-height: 1.3;
}
.item-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}
.item-price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--crust);
  margin-top: 0.15rem;
}

.card-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.card-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper);
}
.card-photos img + img {
  border-left: 1px solid rgba(196, 165, 116, 0.25);
}

/* Menu tabs */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.6rem;
}
.menu-tab {
  appearance: none;
  border: 2px solid rgba(196, 165, 116, 0.55);
  background: var(--foam);
  color: var(--cocoa);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
}
.menu-tab:hover,
.menu-tab:focus-visible {
  border-color: var(--crust);
  color: var(--crust);
}
.menu-tab[aria-selected="true"] {
  background: var(--cocoa);
  border-color: var(--cocoa);
  color: var(--cream);
}
.tab-panel[hidden] { display: none; }

/* Christmas menu */
.christmas-panel {
  --cranberry: #9B1B30;
  --evergreen: #1F5130;
  --xmas-cream: #FFF8EC;
  --gold: #C9A227;
}
.xmas {
  background:
    radial-gradient(900px 280px at 100% 0%, rgba(155, 27, 48, 0.08), transparent 60%),
    radial-gradient(700px 240px at 0% 100%, rgba(31, 81, 48, 0.08), transparent 55%),
    var(--xmas-cream);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius);
  padding: 1.6rem 1.15rem 1.8rem;
  overflow: hidden;
}
.xmas-header {
  position: relative;
  text-align: center;
  padding: 0.4rem 0.5rem 0.2rem;
}
.xmas-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--evergreen);
}
.holly { width: 2.4rem; height: 1.2rem; }
.xmas-script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  color: var(--cranberry);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 0.7rem;
}
.xmas-intro {
  max-width: 36rem;
  margin: 0 auto 0.4rem;
  color: var(--cocoa);
  font-size: 1.08rem;
}
.xmas-stars {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.6rem;
}
.xmas-stars svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: var(--gold);
}
.xmas-stars svg.twinkle-2 { animation-delay: 0.6s; }
.xmas-stars svg.twinkle-3 { animation-delay: 1.2s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .xmas-stars svg { animation: twinkle 2.4s ease-in-out infinite; }
}

/* Light snowfall over the Christmas header only */
.snow {
  pointer-events: none;
  position: absolute;
  inset: -1rem -1rem 30%;
  background-image:
    radial-gradient(2px 2px at 12% 20%, #fff, transparent),
    radial-gradient(2px 2px at 40% 60%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 70% 15%, #fff, transparent),
    radial-gradient(2px 2px at 88% 45%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 28% 80%, #fff, transparent),
    radial-gradient(2px 2px at 60% 30%, #fff, transparent);
  opacity: 0.8;
}
@media (prefers-reduced-motion: no-preference) {
  .snow { animation: snowfall 14s linear infinite; }
}
@keyframes snowfall {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 20px 80px, -15px 90px, 10px 70px, -20px 85px, 15px 75px, -10px 80px; }
}

.cane-divider {
  height: 8px;
  margin: 1.15rem 0 1.4rem;
  border-radius: 999px;
  background: repeating-linear-gradient(
    115deg,
    #f4f4f4 0 10px,
    var(--cranberry) 10px 20px
  );
}

.xmas-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.gift-tag {
  position: relative;
  background: var(--xmas-cream);
  border: 2px dashed rgba(201, 162, 39, 0.7);
  border-radius: 14px;
  padding: 1.1rem 1rem 1rem 1.15rem;
  box-shadow: 0 6px 18px rgba(61, 42, 36, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.gift-tag .tag-hole {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #f3e6d4;
  box-shadow: inset 0 0 0 2px rgba(201, 162, 39, 0.8);
}
.gift-tag .item-name { padding-right: 1.2rem; }
.gift-tag .item-price { color: var(--gold); }

.xmas-order {
  text-align: center;
  margin: 1.4rem 0 0;
  color: var(--cocoa);
  font-weight: 600;
}

@media (min-width: 640px) {
  .xmas { padding: 2rem 1.6rem 2.1rem; }
  .xmas-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .xmas-list { grid-template-columns: repeat(2, 1fr); }
}

.hero-image img { object-position: center 45%; }

/* Pumpkin cream cheese bread: tight wide crop so the board barely shows.
   Stack the loaf + muffin photos so the loaf is not side-cropped in a 4:3 box. */
.card-multi .card-photos {
  display: grid;
  grid-template-columns: 1fr;
}
.card-multi .card-photos img + img {
  border-left: none;
  border-top: 1px solid rgba(196, 165, 116, 0.25);
}
.card img.photo-wide,
.card-photos img.photo-wide,
.about-photo img.photo-wide {
  aspect-ratio: 1.85 / 1;
  object-fit: cover;
  object-position: center center;
}

/* Cinnamon roll cake tray photo is a bit taller than 4:3; keep the glaze cup and tray in frame. */
.card img.photo-tray {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center center;
}

.find-card .btn { margin-top: 1rem; }
.find-card h3 a {
  color: inherit;
  text-decoration: none;
}
.find-card h3 a:hover { text-decoration: underline; }

.xmas-order {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.xmas-order p { margin: 0; }
.xmas .btn-primary {
  background: #9B1B30;
  color: #FFF8EC;
  border-color: #9B1B30;
}
.xmas .btn-primary:hover {
  background: #7E1626;
  color: #FFF8EC;
  border-color: #7E1626;
}
.site-footer .disclaimer{font-size:.8rem;line-height:1.5;opacity:.8;max-width:46rem;margin:.75rem auto 0;}

.logo-badge{width:2.75rem;height:2.75rem;flex-shrink:0;}
.hero-logo{display:block;width:clamp(11rem,42vw,17rem);height:auto;margin:0 0 1rem;filter:drop-shadow(0 6px 18px rgba(0,0,0,.35));}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
