:root {
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --ink: #1d261f;
  --muted: #6f776f;
  --green: #254d39;
  --green-dark: #183427;
  --sage: #dfe8dc;
  --gold: #c79a52;
  --line: rgba(29, 38, 31, 0.12);
  --shadow: 0 20px 60px rgba(34, 47, 39, 0.12);
  --radius-lg: 30px;
  --radius-md: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 700;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-family: "Playfair Display", serif; font-size: 1.05rem; }
.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 0.95rem; font-weight: 600; }
.site-nav a { transition: color 180ms ease, background 180ms ease; }
.site-nav a:hover { color: var(--green); }
.nav-cta { padding: 10px 18px; border-radius: 999px; background: var(--green); color: white; }
.nav-cta:hover { color: white !important; background: var(--green-dark); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform 180ms ease; }

.hero {
  overflow: hidden;
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 12% 20%, rgba(199, 154, 82, 0.16), transparent 32%),
    linear-gradient(135deg, var(--cream), #eef2e8 70%, var(--paper));
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(48px, 7vw, 92px); }
.hero-copy { max-width: 650px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.72); }
h1, h2, h3 { margin: 0; font-family: "Playfair Display", serif; line-height: 1.05; }
h1 { max-width: 760px; font-size: clamp(3.4rem, 7.2vw, 6.5rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2.4rem, 4.5vw, 4.3rem); letter-spacing: -0.04em; }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.hero-text { max-width: 590px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { border-color: var(--line); background: rgba(255, 255, 255, 0.55); }
.button-secondary:hover { border-color: rgba(29, 38, 31, 0.3); background: white; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; color: var(--muted); font-size: 0.9rem; }
.hero-meta span { position: relative; }
.hero-meta span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -14px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
  transform: translateY(-50%);
}
.hero-visual { position: relative; min-height: 560px; }
.photo-card,
.menu-image,
.story-photo {
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.55), transparent 20%),
    linear-gradient(145deg, #d7c7ac, #8a6649);
}
.photo-card { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.photo-main { position: absolute; inset: 0 0 28px 42px; transform: rotate(2deg); }
.image-fallback::after {
  display: grid;
  height: 100%;
  min-height: 240px;
  place-items: center;
  padding: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  content: "Add your bakery photo here";
}
.floating-note {
  position: absolute;
  right: -12px;
  bottom: 0;
  display: grid;
  min-width: 230px;
  padding: 19px 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 18px 50px rgba(34, 47, 39, 0.16);
  backdrop-filter: blur(14px);
}
.floating-note span { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.floating-note strong { margin-top: 4px; font-family: "Playfair Display", serif; font-size: 1.25rem; }

.announcement { border-block: 1px solid var(--line); background: var(--green); color: white; }
.announcement-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.announcement p { margin: 0; }
.announcement a { flex: 0 0 auto; font-weight: 700; }

.section { padding: 110px 0; scroll-margin-top: 86px; }
.section-soft { background: var(--cream); }
.section-heading { display: grid; grid-template-columns: 1.3fr 0.7fr; align-items: end; gap: 60px; margin-bottom: 46px; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.menu-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: 0 10px 35px rgba(34, 47, 39, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.menu-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(34, 47, 39, 0.11); }
.menu-image { height: 245px; }
.menu-card-body { padding: 22px; }
.menu-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.menu-kicker { margin: 0 0 7px; color: var(--green); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.price { flex: 0 0 auto; color: var(--green); font-size: 1.15rem; font-weight: 700; }
.menu-card-body > p { margin: 14px 0 0; color: var(--muted); font-size: 0.95rem; }
.allergen-note { margin: 28px 0 0; color: var(--muted); font-size: 0.82rem; text-align: center; }

.story-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center; gap: clamp(48px, 8vw, 100px); }
.story-photo { min-height: 570px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story-copy { max-width: 620px; }
.story-copy p:not(.eyebrow) { margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; }

.pickup-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 70px; }
.pickup-intro > p:not(.eyebrow) { max-width: 440px; margin: 24px 0 0; color: var(--muted); }
.info-cards { display: grid; gap: 16px; }
.info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
}
.info-number { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--sage); color: var(--green); font-weight: 700; }
.info-card p { margin: 8px 0 0; color: var(--muted); }

.order-section { padding-top: 0; }
.order-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 70px;
  padding: clamp(36px, 7vw, 78px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  box-shadow: var(--shadow);
}
.order-copy { max-width: 760px; }
.order-copy p:not(.eyebrow) { max-width: 650px; margin: 22px 0 0; color: rgba(255, 255, 255, 0.72); }
.order-actions { display: grid; gap: 12px; min-width: 225px; }
.button-light { background: white; color: var(--green-dark); }
.button-outline-light { border-color: rgba(255, 255, 255, 0.42); color: white; }
.button-outline-light:hover { background: rgba(255, 255, 255, 0.08); }

.site-footer { padding: 72px 0 28px; background: #151e18; color: white; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer-brand .brand-mark { background: white; color: var(--green-dark); }
.footer-brand .brand-copy small { color: rgba(255, 255, 255, 0.52); }
.footer-grid p { margin: 20px 0 0; color: rgba(255, 255, 255, 0.58); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; padding-top: 10px; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.46); font-size: 0.82rem; }

@media (min-width: 900px) {
  .menu-card-wide { grid-column: span 2; display: grid; grid-template-columns: 1.05fr 0.95fr; }
  .menu-card-wide .menu-image { height: 100%; min-height: 320px; }
  .menu-card-wide .menu-card-body { display: flex; flex-direction: column; justify-content: center; padding: 34px; }
}

@media (max-width: 980px) {
  .hero-grid, .story-grid, .pickup-grid, .section-heading, .order-panel { grid-template-columns: 1fr; }
  .hero { padding-top: 72px; }
  .hero-visual { min-height: 520px; }
  .photo-main { inset: 0 24px 30px 24px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { gap: 18px; }
  .order-actions { width: min(100%, 360px); }
}

@media (max-width: 760px) {
  .nav-wrap { min-height: 70px; }
  .menu-toggle { position: relative; z-index: 102; display: block; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 70px 0 auto;
    z-index: 101;
    display: none;
    padding: 22px 20px 26px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 40px rgba(34, 47, 39, 0.12);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 12px 2px; }
  .nav-cta { padding: 12px 18px !important; text-align: center; }
  .brand-copy strong { font-size: 0.92rem; }
  .brand-copy small { font-size: 0.66rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero { padding: 58px 0 52px; }
  .hero-visual { min-height: 430px; }
  .floating-note { right: 6px; min-width: 195px; }
  .announcement-inner { align-items: flex-start; flex-direction: column; padding-block: 18px; gap: 8px; }
  .section { padding: 82px 0; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-image { height: 230px; }
  .story-photo { min-height: 420px; }
  .order-panel { gap: 34px; padding: 36px 24px; }
  .footer-grid, .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 500px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero-meta { display: grid; gap: 6px; }
  .hero-meta span::after { display: none; }
  .hero-visual { min-height: 360px; }
  .photo-main { inset: 0 10px 18px 10px; }
  .floating-note { right: 0; bottom: -8px; min-width: 180px; padding: 16px 18px; }
  .info-card { grid-template-columns: 1fr; }
  .info-number { margin-bottom: 18px; }
}
