/*
Theme Name: Kabayan Market
Theme URI: https://kabayanmarket.com.au
Author: Kabayan Market
Description: Native WordPress theme for Kabayan Market meals, groceries, catering and local market appearances.
Version: 1.1.0
Text Domain: kabayan-market
*/

@font-face {
  font-display: swap;
  font-family: "Kabayan Display";
  font-style: normal;
  font-weight: 700 900;
  src: url("assets/fonts/kabayan-display.otf") format("opentype");
}

:root {
  --cream: #fff4de;
  --cream-soft: #fffaf0;
  --tomato: #e93620;
  --tomato-dark: #c72816;
  --mango: #f6ae00;
  --navy: #071d46;
  --navy-soft: #102957;
  --white: #fffdf7;
  --line: rgba(7, 29, 70, 0.18);
  --font-display: "Kabayan Display", "Arial Narrow", Impact, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.sub-hero {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  min-height: 720px;
}

.sub-hero > div {
  align-self: center;
  padding: clamp(72px, 8vw, 130px) clamp(28px, 6vw, 96px);
}

.sub-hero h1 {
  color: var(--tomato);
  font-family: var(--font-display);
  font-size: clamp(66px, 6.5vw, 108px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: .87;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.sub-hero p:not(.eyebrow) {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 650;
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 620px;
}

.sub-hero > img {
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  width: 100%;
}

.about-hero-photo { object-position: 68% center; }

.sub-section {
  padding: clamp(82px, 9vw, 140px) clamp(28px, 7vw, 112px);
}

.sub-section h2,
.page-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(50px, 5.6vw, 88px);
  font-weight: 900;
  letter-spacing: -.018em;
  line-height: .94;
  margin: 0;
  text-transform: uppercase;
}

.intro-band {
  background: var(--tomato);
  color: var(--white);
  display: grid;
  gap: 30px 70px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .65fr);
}

.intro-band .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.intro-band > p:last-child { font-size: 19px; line-height: 1.65; margin: 0; }

.catering-grid,
.event-copy,
.origin-story {
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, .8fr) minmax(420px, 1fr);
}

.dish-list {
  border-top: 2px solid var(--navy);
  list-style: none;
  margin: 0;
  padding: 0;
}

.dish-list li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 850;
  gap: 24px;
  padding: 20px 0;
}

.dish-list span { color: var(--tomato); font-family: var(--font-display); font-size: 25px; }

.process-strip {
  background: var(--mango);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 clamp(28px, 7vw, 112px);
}

.process-strip article { border-left: 1px solid rgba(7,29,70,.25); padding: 70px 38px; }
.process-strip article:last-child { border-right: 1px solid rgba(7,29,70,.25); }
.process-strip span { font-family: var(--font-display); font-size: 42px; }
.process-strip h3 { font-size: 25px; margin: 18px 0 12px; }
.process-strip p { line-height: 1.6; margin: 0; }

.page-cta {
  background: var(--navy);
  color: var(--white);
  padding: clamp(90px, 10vw, 150px) 28px;
  text-align: center;
}

.page-cta .eyebrow { color: var(--mango); }
.page-cta p:not(.eyebrow) { font-size: 19px; line-height: 1.6; margin: 26px auto 34px; max-width: 720px; }
.page-cta .button { margin-inline: auto; }

.market-cards { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.market-card { border: 2px solid var(--navy); border-radius: 22px; min-height: 440px; padding: 50px; }
.market-card { align-items: center; display: grid; gap: 36px; grid-template-columns: 145px 1fr; }
.market-card > img { background: var(--white); border: 6px solid var(--white); border-radius: 14px; box-shadow: 6px 8px 0 rgba(7,29,70,.2); width: 145px; }
.market-card p { font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.market-card h2 { font-size: clamp(44px, 4vw, 70px); margin: 32px 0 22px; }
.market-card strong, .market-card span { display: block; }
.market-card strong { font-size: 22px; margin-bottom: 14px; }
.market-card span { font-weight: 700; line-height: 1.5; }
.tomato-card { background: var(--tomato); color: var(--white); }
.mango-card { background: var(--mango); }

.event-copy { align-items: start; background: var(--white); }
.event-copy > div:last-child p,
.origin-story > div:last-child p { font-size: 18px; line-height: 1.7; margin: 0 0 28px; }

.story-grid {
  align-items: center;
  display: grid;
  gap: clamp(50px, 8vw, 130px);
  grid-template-columns: minmax(280px, .65fr) minmax(0, 1fr);
}

.story-marker {
  align-items: center;
  aspect-ratio: 1;
  background: var(--mango);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.story-marker span { font-family: var(--font-display); font-size: clamp(70px, 8vw, 120px); line-height: .9; }
.story-marker strong { font-size: 16px; letter-spacing: .12em; margin-top: 12px; text-transform: uppercase; }
.story-grid > div:last-child p:last-child { font-size: 19px; line-height: 1.75; }

.story-photo { position: relative; }
.story-photo img { border-radius: 48% 48% 20px 20px / 18% 18% 20px 20px; display: block; height: 570px; object-fit: cover; width: 100%; }
.story-photo span { background: var(--mango); bottom: 24px; font-size: 13px; font-weight: 900; left: 24px; letter-spacing: .08em; padding: 13px 16px; position: absolute; text-transform: uppercase; }

.travel-banner { background: var(--navy); color: var(--white); display: grid; grid-template-columns: 1.25fr .75fr; }
.travel-banner img { height: 480px; object-fit: cover; width: 100%; }
.travel-banner p { align-self: center; font-family: var(--font-display); font-size: clamp(38px, 4vw, 64px); line-height: .98; margin: 0; padding: 50px; text-transform: uppercase; }

.catering-gallery { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; grid-template-rows: 330px 330px; }
.catering-gallery figure { border-radius: 20px; margin: 0; overflow: hidden; position: relative; }
.catering-gallery .gallery-large { grid-row: 1 / 3; }
.catering-gallery img { height: 100%; object-fit: cover; width: 100%; }
.catering-gallery figcaption { background: var(--navy); bottom: 18px; color: var(--white); font-size: 13px; font-weight: 850; left: 18px; padding: 10px 13px; position: absolute; }

.package-section { background: var(--white); }
.package-heading { margin-bottom: 52px; max-width: 880px; }
.package-heading > p:last-child { font-size: 18px; line-height: 1.6; margin-top: 28px; }
.package-cards { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.package-cards article { border: 2px solid var(--navy); border-radius: 18px; min-height: 340px; padding: 36px; }
.package-cards span { font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.package-cards h3 { font-family: var(--font-display); font-size: 52px; margin: 40px 0 24px; text-transform: uppercase; }
.package-cards p { font-weight: 680; line-height: 1.75; }
.classic-package { background: var(--cream); }
.signature-package { background: #dcefcf; }
.premium-package { background: #ffe0d8; }
.package-guide-link { border-bottom: 3px solid var(--tomato); display: inline-flex; font-weight: 900; gap: 12px; margin-top: 36px; padding-bottom: 6px; }

.trailer-feature { align-items: center; background: var(--navy); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; }
.trailer-feature img { height: 620px; object-fit: cover; width: 100%; }
.trailer-feature > div { padding: clamp(50px, 7vw, 110px); }
.trailer-feature h2 { font-family: var(--font-display); font-size: clamp(52px, 5vw, 82px); line-height: .94; margin: 0 0 26px; text-transform: uppercase; }
.trailer-feature .eyebrow { color: var(--mango); }
.trailer-feature p:last-child { font-size: 18px; line-height: 1.65; }

.founders-grid { background: var(--white); display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.founders-grid article { border: 2px solid var(--navy); border-radius: 22px; padding: 48px; position: relative; }
.founders-grid article:first-child { background: var(--tomato); color: var(--white); }
.founders-grid article:last-child { background: var(--mango); }
.founders-grid h2 { font-size: clamp(43px, 4vw, 65px); margin-bottom: 28px; }
.founders-grid article > p:last-child { font-size: 17px; line-height: 1.7; }
.founder-number { float: right; font-family: var(--font-display); font-size: 80px; line-height: .8; opacity: .28; }
.origin-story { background: var(--cream); }

@media (max-width: 980px) {
  .sub-hero { grid-template-columns: 1fr; }
  .sub-hero > img { max-height: 560px; min-height: 440px; }
  .intro-band, .catering-grid, .event-copy, .origin-story { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: 1fr; padding-block: 24px; }
  .process-strip article, .process-strip article:last-child { border: 0; border-bottom: 1px solid rgba(7,29,70,.25); padding: 36px 10px; }
  .package-cards { grid-template-columns: 1fr; }
  .travel-banner, .trailer-feature { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .market-cards, .founders-grid, .story-grid { grid-template-columns: 1fr; }
  .market-card { grid-template-columns: 92px 1fr; padding: 26px; }
  .market-card > img { width: 92px; }
  .market-card { min-height: 360px; padding: 34px; }
  .market-card h2 { margin-top: 44px; }
  .founders-grid article { padding: 34px; }
  .story-marker { justify-self: center; width: min(78vw, 330px); }
  .catering-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 330px); }
  .catering-gallery .gallery-large { grid-row: auto; }
  .travel-banner img, .trailer-feature img { height: 400px; }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.site-shell {
  min-width: 320px;
  overflow: hidden;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 244, 222, 0.93);
  border-bottom: 1px solid rgba(7, 29, 70, 0.08);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 92px;
  padding: 8px clamp(24px, 4.5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 0.82;
  width: max-content;
}

.brand strong {
  display: block;
  font-size: 1.2em;
  font-weight: 900;
}

.brand-star {
  color: var(--mango);
  font-family: Arial, sans-serif;
  font-size: 28px;
  margin-right: 10px;
}

.brand-header {
  height: 76px;
  overflow: hidden;
  position: relative;
  width: clamp(230px, 21vw, 300px);
}

.brand-header img {
  display: block;
  height: auto;
  left: 0;
  mix-blend-mode: multiply;
  position: absolute;
  top: 56%;
  transform: translateY(-50%);
  width: 100%;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(24px, 3vw, 50px);
  justify-content: center;
}

.main-nav a {
  font-size: 15px;
  font-weight: 800;
  padding-block: 10px;
  position: relative;
}

.main-nav a::after {
  background: var(--tomato);
  bottom: 5px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease-out;
  width: 100%;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-header > .button {
  justify-self: end;
}

.mobile-menu-toggle {
  align-items: center;
  background: var(--navy);
  border: 0;
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
  display: none;
  font-size: 14px;
  font-weight: 900;
  gap: 8px;
  min-height: 46px;
  padding: 0 15px;
}

.mobile-menu {
  background: var(--navy);
  color: var(--white);
  display: none;
  padding: 8px 24px 22px;
  position: sticky;
  top: 78px;
  z-index: 49;
}

.mobile-menu.open { display: grid; }
.mobile-menu a { border-bottom: 1px solid rgba(255,255,255,.18); font-weight: 850; padding: 16px 2px; }

.button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 13px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 850;
  gap: 12px;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  transition: box-shadow 160ms ease-out, transform 160ms ease-out, background 160ms ease-out;
  width: max-content;
}

.button:hover {
  box-shadow: 0 10px 24px rgba(7, 29, 70, 0.16);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.day-tabs button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--mango);
  outline-offset: 3px;
}

.button-small {
  min-height: 50px;
  padding-inline: 20px;
}

.button-mango {
  background: var(--mango);
  color: var(--navy);
}

.button-tomato {
  background: var(--tomato);
  color: var(--white);
}

.button-outline {
  border-color: var(--navy);
  color: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  min-height: calc(900px - 92px);
  padding: clamp(68px, 7vw, 112px) clamp(24px, 4.5vw, 72px) 170px;
  position: relative;
}

.hero::before {
  background-image: radial-gradient(rgba(7, 29, 70, 0.055) 0.7px, transparent 0.7px);
  background-size: 5px 5px;
  content: "";
  inset: 0;
  opacity: 0.38;
  pointer-events: none;
  position: absolute;
}

.hero-copy {
  align-self: center;
  max-width: 660px;
  padding-right: 18px;
  position: relative;
  z-index: 3;
}

.eyebrow {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.grocery-copy h2,
.weekend h2,
.closing-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.018em;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--tomato);
  font-size: clamp(72px, 6vw, 98px);
  line-height: 0.86;
  margin: 0;
  max-width: 710px;
}

.hero-intro {
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 650;
  line-height: 1.36;
  margin: 25px 0 28px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-feast {
  align-self: stretch;
  background: var(--tomato);
  border-radius: 48% 48% 6% 6% / 18% 18% 6% 6%;
  box-shadow: inset 0 0 0 1px rgba(7, 29, 70, 0.08);
  min-height: 600px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.hero-feast::after {
  background: linear-gradient(90deg, rgba(233, 54, 32, 0.22), transparent 35%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-feast img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  width: 100%;
}

.dish-label {
  background: var(--navy);
  border: 1px solid rgba(255, 253, 247, 0.22);
  border-radius: 999px;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 7px 11px;
  position: absolute;
  z-index: 3;
}

.label-one { left: 8%; top: 23%; }
.label-two { right: 9%; top: 17%; }
.label-three { right: 5%; top: 58%; }

.spark {
  color: var(--mango);
  font-size: 50px;
  position: absolute;
  z-index: 4;
}

.spark-one { left: 44%; top: 8%; }
.spark-two { bottom: 25%; left: 40%; }

.schedule-strip {
  background: var(--navy);
  border: 4px solid var(--cream);
  border-radius: 22px;
  bottom: 28px;
  color: var(--white);
  display: grid;
  grid-template-columns: 0.72fr 0.9fr 1.38fr;
  left: 9%;
  max-width: 1120px;
  padding: 24px 28px;
  position: absolute;
  width: min(84%, 1120px);
  z-index: 6;
}

.schedule-item {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  padding-inline: 12px 22px;
}

.schedule-item + .schedule-item {
  border-left: 1px dashed rgba(255, 244, 222, 0.55);
  padding-left: 28px;
}

.schedule-icon {
  align-items: center;
  border: 2px solid var(--mango);
  border-radius: 50%;
  color: var(--mango);
  display: flex;
  font-size: 24px;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.schedule-item strong,
.schedule-item small {
  display: block;
}

.schedule-item strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.schedule-item small {
  color: var(--mango);
  font-size: 14px;
  font-weight: 800;
  margin-top: 4px;
}

.marquee {
  align-items: center;
  background: var(--tomato);
  color: var(--white);
  display: flex;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.25vw, 36px);
  gap: clamp(14px, 2vw, 34px);
  justify-content: center;
  letter-spacing: 0.025em;
  min-height: 94px;
  padding: 18px 24px;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee i {
  color: var(--mango);
  font-family: Arial, sans-serif;
  font-style: normal;
}

.section-pad {
  padding: clamp(82px, 9vw, 140px) clamp(24px, 6vw, 96px);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  margin-bottom: 58px;
}

.section-heading h2,
.grocery-copy h2,
.weekend h2,
.closing-cta h2 {
  font-size: clamp(56px, 6.1vw, 96px);
  line-height: 0.94;
  margin: 0;
}

.section-heading > p {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 5px;
}

.meal-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.meal-card {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
  padding: 0 24px 24px;
  position: relative;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}

.meal-card:hover {
  box-shadow: 8px 8px 0 var(--navy);
  transform: translate(-3px, -3px);
}

.meal-card.tomato { --meal-accent: var(--tomato); }
.meal-card.mango { --meal-accent: var(--mango); }
.meal-card.navy { --meal-accent: var(--navy); }

.meal-image {
  height: 220px;
  margin: 0 -24px;
  overflow: hidden;
  position: relative;
}

.meal-image::after {
  background: linear-gradient(180deg, transparent 62%, rgba(7, 29, 70, 0.48));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.meal-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease-out;
  width: 100%;
}

.meal-card:hover .meal-image img {
  transform: scale(1.035);
}

.meal-number {
  background: var(--meal-accent);
  border-radius: 999px;
  bottom: 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  left: 16px;
  line-height: 1;
  padding: 9px 12px 7px;
  position: absolute;
  z-index: 2;
}

.meal-copy {
  margin: 22px 0 auto;
}

.meal-card h3 {
  font-size: 27px;
  line-height: 1.02;
  margin: 0 0 12px;
}

.meal-card p {
  font-size: 15px;
  line-height: 1.52;
  margin: 0;
}

.meal-card a {
  align-items: center;
  border-top: 1px solid currentColor;
  display: flex;
  font-size: 13px;
  font-weight: 850;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 15px;
}

.market-note a {
  color: var(--mango);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.groceries {
  align-items: center;
  background: var(--white);
  display: grid;
  gap: clamp(52px, 7vw, 110px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
}

.grocery-image {
  background: var(--mango);
  border-radius: 42% 42% 20px 20px / 18% 18% 20px 20px;
  min-height: 650px;
  overflow: hidden;
  position: relative;
}

.grocery-image img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.image-stamp {
  align-items: center;
  background: var(--navy);
  border: 5px solid var(--white);
  border-radius: 50%;
  bottom: 28px;
  color: var(--white);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  height: 140px;
  justify-content: center;
  line-height: 1.25;
  position: absolute;
  right: 28px;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(7deg);
  width: 140px;
}

.grocery-copy .lead {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
  margin: 28px 0 34px;
}

.grocery-list {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
}

.grocery-list li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 16px;
  font-weight: 800;
  gap: 18px;
  padding: 19px 0;
}

.grocery-list span {
  color: var(--tomato);
  font-family: var(--font-display);
  font-size: 22px;
}

.text-link {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--tomato);
}

.weekend {
  background: var(--navy);
  color: var(--white);
}

.eyebrow-light {
  color: var(--mango);
}

.weekend-topline {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: 1.2fr 0.5fr;
}

.weekend-topline > p {
  color: rgba(255, 253, 247, 0.74);
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 8px;
}

.day-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 62px;
}

.day-tabs button {
  background: transparent;
  border: 0;
  color: rgba(255, 253, 247, 0.52);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.5vw, 40px);
  letter-spacing: 0.03em;
  padding: 18px 10px;
  position: relative;
  text-transform: uppercase;
}

.day-tabs button::after {
  background: var(--mango);
  bottom: -2px;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transition: transform 180ms ease-out;
  width: 100%;
}

.day-tabs button.active {
  color: var(--white);
}

.day-tabs button.active::after {
  transform: scaleX(1);
}

.day-panel {
  align-items: center;
  background: var(--cream);
  border-radius: 20px;
  color: var(--navy);
  display: grid;
  gap: 36px;
  grid-template-columns: 180px 1fr auto;
  margin-top: 42px;
  min-height: 245px;
  padding: 34px;
}

.day-marker {
  align-items: center;
  background: var(--tomato);
  border-radius: 15px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 62px;
  height: 176px;
  justify-content: center;
}

.day-marker span {
  font-family: var(--font-geist-sans), Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  margin-bottom: 7px;
}

.day-detail > p {
  color: var(--tomato);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.day-detail h3 {
  font-size: clamp(27px, 3vw, 45px);
  line-height: 1.05;
  margin: 0 0 12px;
}

.day-detail span {
  display: block;
  font-size: 17px;
  line-height: 1.55;
  max-width: 650px;
}

.market-note {
  color: rgba(255, 253, 247, 0.64);
  font-size: 12px;
  margin: 18px 0 0;
  text-align: right;
}

.catering-note {
  background: #fff2a8;
  box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.16);
  color: var(--navy);
  margin: 48px 0 0 auto;
  max-width: 430px;
  padding: 34px 34px 30px;
  position: relative;
  transform: rotate(-1.2deg);
}

.catering-pin {
  background: var(--tomato);
  border-radius: 50%;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
  height: 15px;
  left: 50%;
  position: absolute;
  top: 12px;
  transform: translateX(-50%);
  width: 15px;
}

.catering-note p {
  color: var(--tomato);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.catering-note strong,
.catering-note > span:not(.catering-pin) {
  display: block;
}

.catering-note strong {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}

.catering-note > span:not(.catering-pin) {
  font-size: 15px;
  line-height: 1.45;
  margin-top: 10px;
}

.catering-note a {
  border-bottom: 3px solid var(--tomato);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 4px;
}

.closing-cta {
  align-items: center;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  min-height: 620px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.closing-cta h2 {
  color: var(--tomato);
  max-width: 900px;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}

.closing-sun {
  color: var(--mango);
  font-size: 330px;
  line-height: 1;
  opacity: 0.16;
  position: absolute;
  right: -60px;
  top: -80px;
}

footer {
  align-items: center;
  background: var(--tomato);
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 42px clamp(24px, 6vw, 96px);
}

.brand-footer .brand-star {
  color: var(--mango);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  gap: 6px;
  line-height: 1.45;
  text-align: center;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-self: end;
}

.footer-links a {
  font-size: 13px;
  font-weight: 850;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle { display: inline-flex; justify-self: end; }
  .site-header > .button { display: none; }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
  }

  .schedule-strip {
    left: 4%;
    width: 92%;
  }

  .meal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .day-panel {
    grid-template-columns: 150px 1fr;
  }

  .day-panel .button {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 78px;
  }

  .site-header > .button {
    font-size: 0;
    min-height: 46px;
    padding-inline: 16px;
  }

  .site-header > .button span {
    font-size: 17px;
  }

  .hero {
    display: block;
    min-height: 0;
    padding-bottom: 0;
  }

  .hero-copy {
    padding: 0 0 50px;
  }

  .hero h1 {
    font-size: clamp(68px, 15vw, 104px);
  }

  .hero-feast {
    border-radius: 48% 48% 0 0 / 18% 18% 0 0;
    min-height: 570px;
    margin-inline: -24px;
  }

  .schedule-strip {
    border: 0;
    border-radius: 0;
    bottom: auto;
    grid-template-columns: 1fr;
    left: auto;
    margin-inline: -24px;
    max-width: none;
    padding: 22px 24px;
    position: relative;
    width: auto;
  }

  .schedule-item {
    padding: 14px 0;
  }

  .schedule-item + .schedule-item {
    border-left: 0;
    border-top: 1px dashed rgba(255, 244, 222, 0.55);
    padding-left: 0;
  }

  .spark {
    display: none;
  }

  .marquee {
    justify-content: flex-start;
    overflow: hidden;
    width: 100%;
  }

  .section-heading,
  .weekend-topline,
  .groceries {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .section-heading,
  .weekend-topline {
    gap: 26px;
  }

  .grocery-image {
    min-height: 500px;
  }

  .day-panel {
    grid-template-columns: 120px 1fr;
  }

  .day-marker {
    height: 145px;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer .brand,
  footer .footer-links {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 21px;
  }

  .brand-header img {
    height: auto;
    width: 100%;
  }

  .brand-header {
    height: 56px;
    width: 175px;
  }

  .brand-star {
    font-size: 21px;
    margin-right: 7px;
  }

  .hero {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-actions,
  .closing-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .closing-actions .button {
    width: 100%;
  }

  .hero-feast {
    min-height: 420px;
  }

  .dish-label {
    display: none;
  }

  .schedule-icon {
    height: 46px;
    width: 46px;
  }

  .schedule-item strong {
    font-size: 25px;
  }

  .schedule-item small {
    font-size: 13px;
  }

  .marquee {
    font-size: 21px;
  }

  .marquee span:nth-of-type(n+3),
  .marquee i:nth-of-type(n+3) {
    display: none;
  }

  .meal-grid {
    grid-template-columns: 1fr;
  }

  .meal-card {
    min-height: 260px;
  }

  .grocery-image {
    min-height: 390px;
  }

  .image-stamp {
    bottom: 16px;
    height: 108px;
    right: 16px;
    width: 108px;
  }

  .day-tabs button {
    font-size: 20px;
  }

  .day-panel {
    align-items: stretch;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .day-marker {
    height: 96px;
  }

  .day-panel .button {
    grid-column: auto;
    width: 100%;
  }

  .market-note {
    text-align: left;
  }

  .catering-note {
    margin: 38px auto 0;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: rise-in 420ms ease-out both;
  }

  .hero-feast img {
    animation: feast-in 520ms 80ms ease-out both;
  }

  .spark {
    animation: drift 6s ease-in-out infinite alternate;
  }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes feast-in {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1.015); }
}

@keyframes drift {
  from { transform: translateY(-2px) rotate(-3deg); }
  to { transform: translateY(3px) rotate(4deg); }
}

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