:root {
  --cream: #fff5dc;
  --paper: #fffaf0;
  --ink: #2e1b11;
  --muted: #745e50;
  --orange: #e95d2a;
  --orange-dark: #bd3f18;
  --gold: #f2b441;
  --berry: #8f2636;
  --green: #345d42;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
main { min-height: 100vh; overflow: hidden; }

.site-header {
  width: min(1240px, calc(100% - 48px)); height: 94px; display: flex; align-items: center;
  justify-content: space-between; margin: 0 auto;
}
.brand { display: inline-flex; align-items: baseline; gap: 7px; }
.brand span { color: var(--orange); font-size: 38px; font-weight: 950; letter-spacing: -0.09em; line-height: 1; }
.brand b { font-size: 19px; font-weight: 850; letter-spacing: -0.04em; }
nav { display: flex; gap: 34px; color: var(--muted); font-size: 14px; font-weight: 700; }
nav a { transition: color 180ms ease; }
nav a:hover, nav a:focus-visible { color: var(--orange); }

.hero {
  width: min(1240px, calc(100% - 48px)); min-height: 680px; display: grid;
  grid-template-columns: 0.86fr 1.14fr; align-items: center; gap: 64px; margin: 0 auto; padding: 46px 0 82px;
}
.eyebrow, .section-kicker {
  display: flex; align-items: center; gap: 10px; color: var(--orange-dark); font-size: 12px;
  font-weight: 850; letter-spacing: 0.2em; text-transform: uppercase;
}
.eyebrow i { width: 24px; height: 3px; border-radius: 10px; background: var(--gold); }
h1 { max-width: 660px; margin: 20px 0 26px; font-size: clamp(56px, 6.6vw, 100px); font-weight: 930; letter-spacing: -0.075em; line-height: 0.88; }
h1 em { color: var(--orange); font-family: Georgia, serif; font-size: .72em; font-weight: 500; letter-spacing: -0.055em; }
.hero-copy > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px;
  border: 2px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button.primary { color: white; background: var(--orange); box-shadow: 4px 5px 0 var(--ink); }
.button.secondary { background: transparent; }

.hero-image {
  height: 590px; position: relative; border-radius: 46% 46% 14% 14% / 34% 34% 12% 12%;
  background: var(--gold); box-shadow: 18px 20px 0 var(--gold); overflow: visible;
}
.hero-image img { height: 100%; object-fit: cover; object-position: 50% 52%; border-radius: inherit; }
.hero-sticker {
  width: 144px; height: 144px; display: flex; align-items: center; justify-content: center; gap: 8px;
  position: absolute; right: -28px; bottom: -24px; border: 4px solid var(--ink); border-radius: 50%;
  color: white; background: var(--berry); transform: rotate(7deg);
}
.hero-sticker b { font-size: 44px; letter-spacing: -0.08em; }
.hero-sticker span { font-size: 11px; font-weight: 800; line-height: 1.15; text-transform: uppercase; }

.menu-section { padding: 110px max(24px, calc((100vw - 1240px) / 2)); }
.sweet-section { background: var(--cream); }
.savory-section { color: white; background: var(--green); }
.section-heading { display: grid; grid-template-columns: 1fr 340px; align-items: end; gap: 40px; margin-bottom: 48px; }
.section-heading h2, .closing h2 { margin: 10px 0 0; font-size: clamp(42px, 5vw, 70px); font-weight: 920; letter-spacing: -0.06em; line-height: .95; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.section-heading.light > p { color: rgb(255 255 255 / 65%); }
.section-heading.light .section-kicker { color: var(--gold); }

.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pie-card { border: 1px solid rgb(46 27 17 / 10%); border-radius: 24px; background: var(--paper); overflow: hidden; transition: transform 220ms ease, box-shadow 220ms ease; }
.pie-card:hover { transform: translateY(-5px) rotate(-.3deg); box-shadow: 0 18px 36px rgb(60 31 17 / 10%); }
.pie-photo { height: 246px; position: relative; overflow: hidden; background: #e5c79e; }
.pie-photo img { height: 100%; object-fit: cover; transition: transform 500ms ease; }
.pie-card:hover .pie-photo img { transform: scale(1.04); }
.pie-photo span { width: 44px; height: 44px; display: grid; place-items: center; position: absolute; top: 14px; left: 14px; border-radius: 50%; color: var(--ink); background: var(--cream); font-size: 12px; font-weight: 850; }
.pie-copy { min-height: 158px; padding: 24px 24px 28px; }
.pie-copy h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.12; letter-spacing: -0.04em; }
.pie-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.savory-grid .pie-card { border-color: rgb(255 255 255 / 10%); background: #fff8e8; color: var(--ink); }

.closing {
  padding: 120px 24px; text-align: center;
  background: radial-gradient(circle at 15% 18%, rgb(233 93 42 / 16%) 0 3px, transparent 4px), radial-gradient(circle at 84% 72%, rgb(242 180 65 / 25%) 0 3px, transparent 4px), var(--paper);
  background-size: 62px 62px, 74px 74px, auto;
}
.closing > span { color: var(--orange); font-size: 12px; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
.closing h2 { margin: 16px auto 20px; }
.closing p { margin: 0 0 30px; color: var(--muted); font-size: 17px; }

footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px max(24px, calc((100vw - 1240px) / 2)); color: rgb(255 255 255 / 72%); background: var(--ink); font-size: 13px; }
footer p { margin: 0; }
.footer-brand b { color: white; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 46px; padding-top: 60px; }
  .hero-image { height: min(620px, 78vw); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-header { width: calc(100% - 32px); height: 78px; }
  .brand span { font-size: 32px; }
  .brand b { font-size: 17px; }
  nav { gap: 16px; font-size: 12px; }
  .hero { width: calc(100% - 32px); min-height: auto; padding: 54px 0 72px; }
  h1 { font-size: clamp(50px, 16vw, 76px); }
  .hero-copy > p { font-size: 17px; }
  .hero-image { height: 112vw; max-height: 570px; border-radius: 42% 42% 12% 12% / 28% 28% 10% 10%; }
  .hero-sticker { width: 116px; height: 116px; right: -6px; bottom: -22px; }
  .hero-sticker b { font-size: 36px; }
  .menu-section { padding-top: 82px; padding-bottom: 82px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .section-heading > p { max-width: 400px; }
  .menu-grid { grid-template-columns: 1fr; gap: 18px; }
  .pie-photo { height: 250px; }
  .pie-copy { min-height: auto; }
  .closing { padding: 92px 22px; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise 600ms ease both; }
  .hero-image { animation: rise 700ms 80ms ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}

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