:root {
  --ink: #2d1b16;
  --muted: #705f58;
  --cream: #fbf7f0;
  --paper: #ffffff;
  --wine: #6f1724;
  --wine-dark: #4b1019;
  --gold: #c99a42;
  --gold-light: #e5c887;
  --green: #718d35;
  --line: rgba(45, 27, 22, .14);
  --shadow: 0 24px 70px rgba(50, 25, 17, .13);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: absolute; top: -70px; left: 1rem; z-index: 99; padding: .75rem 1rem; background: white; border-radius: 4px; }
.skip-link:focus { top: 1rem; }

.announcement { background: var(--wine); color: white; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.announcement-inner { min-height: 38px; display: flex; justify-content: center; align-items: center; gap: 1.2rem; }
.announcement-inner span::after { content: "•"; margin-left: 1.2rem; color: var(--gold-light); }
.announcement a { color: white; font-weight: 700; text-underline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,247,240,.94); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav { min-height: 176px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.header-logo { width: 160px; height: 160px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { text-decoration: none; font-size: .88rem; font-weight: 700; }
.nav-links > a:not(.nav-button):hover { color: var(--wine); }
.nav-button { padding: .72rem 1.05rem; color: white; background: var(--wine); border-radius: 5px; transition: background .2s ease, transform .2s ease; }
.nav-button:hover { background: var(--wine-dark); transform: translateY(-1px); }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #fbf7f0 0%, #fbf7f0 55%, #f3eadb 55%, #f3eadb 100%); }
.hero-grid { min-height: 730px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); padding-top: 5rem; padding-bottom: 5rem; }
.kicker { margin: 0 0 1.15rem; color: var(--wine); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.kicker.light { color: var(--gold-light); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.08; }
h1 { max-width: 670px; margin-bottom: 1rem; font-size: clamp(3.3rem, 6.2vw, 6.25rem); }
h2 { margin-bottom: 1.1rem; font-size: clamp(2.45rem, 4.5vw, 4.35rem); }
h3 { margin-bottom: .75rem; font-size: 1.85rem; }
.hero-tagline { margin-bottom: 1.5rem; color: var(--wine); font: italic 400 clamp(1.45rem, 2.5vw, 2.25rem)/1.2 Georgia, "Times New Roman", serif; }
.hero-text { max-width: 590px; margin-bottom: 2rem; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; padding: .78rem 1.3rem; border: 1px solid transparent; border-radius: 5px; font-size: .9rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--wine); }
.button.primary:hover { background: var(--wine-dark); }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.button.secondary:hover { border-color: var(--gold); background: white; }
.button.gold { color: var(--wine-dark); background: var(--gold-light); }
.button.gold:hover { background: white; }
.highlights { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; margin: 2.3rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .84rem; font-weight: 700; }
.highlights li { display: flex; align-items: center; gap: .55rem; }
.highlights li::before { content: ""; width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--gold); }
.hero-media { position: relative; }
.image-frame { overflow: hidden; border-radius: 4px 4px 82px 4px; box-shadow: var(--shadow); outline: 1px solid rgba(45,27,22,.08); outline-offset: 8px; background: white; }
.image-frame img { width: 100%; height: min(640px, 68vw); object-fit: cover; object-position: center 46%; }
.image-note { position: absolute; right: -24px; bottom: 42px; padding: 1rem 1.25rem; color: white; background: var(--wine); border-left: 4px solid var(--gold); box-shadow: 0 14px 35px rgba(50,25,17,.2); font: italic 400 1.08rem/1.2 Georgia, "Times New Roman", serif; }
.image-note strong { font-style: normal; }

.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 4rem; align-items: end; margin-bottom: 3rem; }
.section-heading h2 { max-width: 800px; margin-bottom: 0; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); }
.section-heading.centered { grid-template-columns: 1fr; justify-items: center; gap: .8rem; text-align: center; }
.section-heading.centered > p { max-width: 610px; }

.flavours { background: white; }
.flavour-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.45rem; }
.flavour-card { overflow: hidden; position: relative; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 6px; background: white; box-shadow: 0 14px 38px rgba(50,25,17,.08); transition: transform .25s ease, box-shadow .25s ease; }
.flavour-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(50,25,17,.14); }
.flavour-media { overflow: hidden; aspect-ratio: 1; background: var(--wine-dark); }
.flavour-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.flavour-card:hover .flavour-media img { transform: scale(1.035); }
.flavour-meta { min-height: 112px; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.35rem 1.45rem 1.5rem; }
.flavour-number { padding-top: .25rem; color: #a99a92; font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.flavour-card h3 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.flavour-card p { margin: .5rem 0 0; color: inherit; font-size: .95rem; }
.strawberry { --accent: #bd3b51; }
.blueberry { --accent: #666099; }
.chocolate { --accent: #4b2b23; }
.smore { --accent: #c58f4d; }
.nutella { --accent: #87502e; }
.georgia { --accent: #9b5a33; }
.biscoff { --accent: #bd7a35; }
.cappuccino { --accent: #7a5645; }
.peanut { --accent: #c89a4a; }
.cookies { --accent: #39302d; }
.seasonal { --accent: var(--gold-light); grid-column: span 2; min-height: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: clamp(2rem, 4vw, 3.2rem); color: white; background: linear-gradient(120deg, var(--wine-dark), var(--wine)); }
.seasonal .flavour-number { color: var(--gold-light); }
.seasonal h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.seasonal p { color: #f0dfdc; }
.seasonal > a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1rem; color: var(--wine-dark); background: var(--gold-light); border-radius: 4px; font-size: .84rem; font-weight: 800; text-decoration: none; }
.story { color: white; background: var(--wine-dark); }
.story-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 10vw, 9rem); align-items: center; }
.story-year { color: var(--gold-light); border-left: 1px solid rgba(255,255,255,.22); padding-left: 2rem; }
.story-year span { display: block; margin-bottom: .4rem; font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.story-year strong { display: block; font: 400 clamp(5.4rem, 11vw, 10rem)/.85 Georgia, "Times New Roman", serif; letter-spacing: -.08em; }
.story-copy h2 { color: white; }
.story-copy > p:not(.kicker):not(.story-signoff) { max-width: 720px; color: #eaded9; }
.story-signoff { margin: 1.8rem 0 0; color: var(--gold-light); font: italic 400 1.3rem/1.2 Georgia, "Times New Roman", serif; }

.business { background: var(--cream); }
.business-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.business-card { padding: clamp(2rem, 4vw, 3.6rem); background: white; border: 1px solid var(--line); box-shadow: 0 14px 42px rgba(50,25,17,.07); }
.business-card.featured { color: white; background: var(--wine); border-color: var(--wine); }
.business-label { display: inline-block; margin-bottom: 1.4rem; color: var(--wine); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.featured .business-label { color: var(--gold-light); }
.business-photo { width: 100%; height: auto; margin-bottom: 1.8rem; border-radius: 3px; }
.business-card h3 { max-width: 490px; font-size: clamp(2rem, 3vw, 2.75rem); }
.business-card > p { color: var(--muted); }
.featured > p { color: #f0dfdc; }
.business-card ul { margin: 1.5rem 0 2rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.featured ul { border-color: rgba(255,255,255,.2); }
.business-card li { padding: .72rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 700; }
.featured li { border-color: rgba(255,255,255,.2); }
.business-card li::before { content: "—"; margin-right: .6rem; color: var(--gold); }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.card-actions > a:first-child { display: inline-flex; padding: .7rem 1rem; color: white; background: var(--wine); border-radius: 4px; font-size: .86rem; font-weight: 800; text-decoration: none; }
.featured .card-actions > a:first-child { color: var(--wine-dark); background: var(--gold-light); }
.text-link { font-size: .83rem; font-weight: 700; text-underline-offset: 4px; }
.muted { color: var(--muted); }
.featured .muted { color: #f0dfdc; }

.occasions { background: white; }
.occasions-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr); gap: clamp(3rem, 7vw, 6.5rem); align-items: center; }
.occasions-media { padding: .7rem; background: var(--cream); border: 1px solid var(--line); box-shadow: var(--shadow); }
.occasions-media img { width: 100%; height: auto; }
.occasions-copy > p:not(.kicker) { max-width: 540px; color: var(--muted); font-size: 1.05rem; }
.occasions-copy ul { margin: 1.8rem 0 2rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.occasions-copy li { padding: .72rem 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.occasions-copy li::before { content: "—"; margin-right: .65rem; color: var(--gold); }
.occasion-link { display: inline-block; margin-left: 1rem; color: var(--wine); }

.seo-page-main { background: white; }
.seo-hero { padding: clamp(4rem, 9vw, 7.5rem) 0; color: white; background: linear-gradient(125deg, var(--wine-dark), var(--wine)); }
.seo-hero .kicker { color: var(--gold-light); }
.seo-hero h1 { max-width: 900px; font-size: clamp(3rem, 6vw, 5.6rem); }
.seo-hero p:not(.kicker) { max-width: 720px; color: #f0dfdc; font-size: 1.1rem; }
.seo-content { padding: clamp(4rem, 8vw, 7rem) 0; }
.seo-content-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.seo-content-grid:has(.flavour-list),
.seo-content-grid:has(.seo-side img[src*="pappagallo-catering-full"]),
.seo-content-grid:has(.seo-side img[src*="pappagallo-retail-full"]),
.seo-content-grid:has(.seo-side img[src*="pappagallo-special-occasions"]) {
  grid-template-columns: minmax(0, .82fr) minmax(430px, 1.18fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.seo-content h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.seo-content h3 { margin-top: 2rem; font-size: 1.6rem; }
.seo-content p, .seo-content li { color: var(--muted); }
.seo-content ul { padding-left: 1.2rem; }
.seo-content li { margin-bottom: .55rem; }
.seo-side { position: sticky; top: 210px; padding: 1.5rem; background: var(--cream); border-top: 4px solid var(--gold); }
.seo-side img { width: 100%; margin-bottom: 1.3rem; }
.seo-content-grid:has(.flavour-list) .seo-side,
.seo-side:has(img[src*="pappagallo-catering-full"]),
.seo-side:has(img[src*="pappagallo-retail-full"]),
.seo-side:has(img[src*="pappagallo-special-occasions"]) {
  position: static;
  overflow: hidden;
  padding: clamp(.8rem, 1.8vw, 1.3rem);
}
.seo-content-grid:has(.flavour-list) .seo-side img,
.seo-side img[src*="pappagallo-catering-full"],
.seo-side img[src*="pappagallo-retail-full"],
.seo-side img[src*="pappagallo-special-occasions"] {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0 0 1.5rem;
  object-fit: contain;
  object-position: center;
}
.seo-side h2 { font-size: 2rem; }
.seo-breadcrumbs { margin: 0 0 1rem; color: #eaded9; font-size: .86rem; }
.seo-breadcrumbs a { color: white; }
.flavour-list { columns: 2; column-gap: 2.5rem; }
.flavour-list li { break-inside: avoid; }

.order-section { background: white; }
.order-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; padding: clamp(2.5rem, 6vw, 5rem); color: white; background: var(--wine-dark); border-top: 5px solid var(--gold); }
.order-panel h2 { margin-bottom: 0; color: white; }
.order-copy p { color: #eaded9; }

.footer { padding: 4.5rem 0 2rem; color: white; background: #24130f; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; }
.footer-title { margin-bottom: .35rem; color: var(--gold-light); font: italic 400 1.5rem/1.2 Georgia, "Times New Roman", serif; }
.footer-grid p:not(.footer-title) { margin: 0; color: #cfbeb7; font-size: .9rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.footer-links a { color: #e8dbd5; font-size: .84rem; text-decoration: none; }
.footer-links a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.copyright { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); color: #9f8e87; font-size: .78rem; }

a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 940px) {
  .nav-links > a:not(.nav-button) { display: none; }
  .hero { background: var(--cream); }
  .hero-grid, .story-grid, .occasions-grid, .order-panel { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding-top: 4rem; }
  .hero-copy { max-width: 720px; }
  .hero-media { max-width: 680px; }
  .image-frame img { height: min(720px, 100vw); }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .flavour-grid { grid-template-columns: repeat(2, 1fr); }
  .seasonal { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-links { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .seo-content-grid { grid-template-columns: 1fr; }
  .seo-content-grid:has(.flavour-list),
  .seo-content-grid:has(.seo-side img[src*="pappagallo-catering-full"]),
  .seo-content-grid:has(.seo-side img[src*="pappagallo-retail-full"]),
  .seo-content-grid:has(.seo-side img[src*="pappagallo-special-occasions"]) { grid-template-columns: 1fr; }
  .seo-side { position: static; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 30px, 1180px); }
  .announcement-inner { justify-content: center; flex-wrap: wrap; gap: .2rem .7rem; padding: .45rem 0; }
  .announcement-inner span::after { margin-left: .7rem; }
  .nav { min-height: 132px; gap: .7rem; }
  .header-logo { width: 118px; height: 118px; }
  .nav-button { padding: .61rem .76rem; font-size: .78rem !important; }
  .hero-grid { padding-top: 3.2rem; padding-bottom: 4rem; gap: 3rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.25rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .highlights { display: grid; }
  .image-frame { border-radius: 3px 3px 55px 3px; outline-offset: 5px; }
  .image-note { right: -4px; bottom: 22px; }
  .flavour-grid { grid-template-columns: 1fr; }
  .flavour-meta { min-height: 0; }
  .seasonal { grid-column: span 1; }
  .seasonal { grid-template-columns: 1fr; align-items: start; }
  .seasonal > a { width: 100%; }
  .business-grid { grid-template-columns: 1fr; }
  .business-card { padding: 2rem 1.4rem; }
  .order-panel { padding: 2rem 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-column: auto; align-items: flex-start; flex-direction: column; }
  .occasion-link { display: block; margin: 1rem 0 0; }
  .flavour-list { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
