/* ============================================
   ʻOno Meaʻai Farmstand & Bakeshop
   Brand palette from logo + menu flyer
   ============================================ */
:root {
  --cream: #f3e9d4;          /* logo background */
  --cream-light: #faf5e8;
  --menu-green: #e9f2cf;     /* menu flyer background */
  --leaf-green: #5c8a2e;     /* taro leaf */
  --deep-green: #274a1d;     /* island silhouette */
  --drip-green: #7fa653;     /* menu drip */
  --brown: #4a2e17;          /* logo ring & lettering */
  --brown-soft: #6b4a2c;
  --pink: #f9b8cd;           /* price badges */
  --pink-deep: #e87ba3;
  --white: #fffdf8;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Nunito", -apple-system, sans-serif;
  --font-script: "Caveat", cursive;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(74, 46, 23, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--brown);
  background: var(--cream-light);
  line-height: 1.6;
}

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

h1, h2, h3 { font-family: var(--font-display); color: var(--deep-green); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 233, 212, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(74, 46, 23, 0.1);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}

.brand-logo { width: 48px; height: 48px; border-radius: 50%; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--brown);
  letter-spacing: 0.02em;
}

.site-nav { display: flex; gap: 1.4rem; }

.site-nav a {
  text-decoration: none;
  color: var(--brown);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover { color: var(--leaf-green); border-color: var(--leaf-green); }

.header-cta {
  background: var(--deep-green);
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
}

.header-cta:hover { background: var(--leaf-green); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(92, 138, 46, 0.14), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(232, 123, 163, 0.12), transparent 50%),
    var(--cream);
  text-align: center;
  padding: 5.5rem 1.25rem 7rem;
  overflow: hidden;
}

.hero-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 1; }

.hero-script {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--leaf-green);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.08;
  color: var(--brown);
}

.hero h1 span {
  display: block;
  font-size: 0.48em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-green);
  margin-top: 0.5rem;
  font-weight: 600;
}

.hero-tag {
  font-size: 1.15rem;
  margin: 1.2rem 0 1.8rem;
  color: var(--brown-soft);
  font-weight: 600;
}

.hero-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-size: 1rem;
  transition: transform 0.15s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--deep-green);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.btn-primary:hover { background: var(--leaf-green); transform: translateY(-2px); }

.btn-outline {
  border: 2.5px solid var(--deep-green);
  color: var(--deep-green);
  background: transparent;
}

.btn-outline:hover { background: var(--deep-green); color: var(--cream); transform: translateY(-2px); }

.hero-motto {
  margin-top: 2.2rem;
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--brown-soft);
}

.hero-drip {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  color: var(--cream-light);
  transform: rotate(180deg);
  line-height: 0;
}

.hero-drip svg { width: 100%; height: 55px; }

/* ===== Highlights ===== */
.highlights {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.hl-emoji { font-size: 2.4rem; display: block; margin-bottom: 0.5rem; }

.highlight h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }

.highlight p { color: var(--brown-soft); font-size: 0.98rem; }

/* ===== Menu ===== */
.menu-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.section-head { text-align: center; margin-bottom: 2.8rem; }

.script-label {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--pink-deep);
}

.section-head h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); }

.section-sub { color: var(--brown-soft); margin-top: 0.6rem; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.menu-card {
  background: var(--menu-green);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid rgba(39, 74, 29, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(74, 46, 23, 0.18);
}

.menu-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px dotted rgba(74, 46, 23, 0.25);
}

.menu-card-head h3 { font-size: 1.6rem; color: var(--brown); }

.price-badge {
  background: var(--pink);
  color: var(--brown);
  font-weight: 800;
  font-size: 1.25rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(232, 123, 163, 0.35);
}

.price-badge small {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.menu-list { list-style: none; }

.menu-list li {
  padding: 0.42rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  border-bottom: 1px solid rgba(39, 74, 29, 0.08);
}

.menu-list li:last-child { border-bottom: none; }

.menu-list.priced li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.menu-list.priced li span { color: var(--deep-green); font-weight: 800; }

.menu-list li.limited::after {
  content: "limited";
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--pink);
  color: var(--brown);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  margin-left: 0.5rem;
  align-self: center;
}

.menu-list.priced li.limited { justify-content: flex-start; }
.menu-list.priced li.limited span { margin-left: auto; }

.menu-note {
  margin-top: 0.9rem;
  font-family: var(--font-script);
  font-size: 1.15rem;
  color: var(--pink-deep);
}

.menu-more {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--brown-soft);
  font-weight: 600;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== About ===== */
.about { background: var(--deep-green); color: var(--cream); padding: 4.5rem 1.25rem; }

.about-inner {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
  background: rgba(255, 253, 248, 0.08);
  min-height: 220px;
  display: grid;
  place-items: center;
}

.about-media img { width: 100%; height: 100%; object-fit: cover; }

.about-media-fallback { display: none; font-size: 3rem; padding: 3rem; }

.about-media.no-img .about-media-fallback { display: block; }

.about-text .script-label { color: var(--pink); }

.about-text h2 { color: var(--cream); font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1rem; }

.about-text p { margin-bottom: 1rem; color: rgba(243, 233, 212, 0.92); }

.about-motto {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--pink) !important;
  margin: 1.2rem 0 1.6rem !important;
}

.about .btn-primary { background: var(--pink); color: var(--brown); }

.about .btn-primary:hover { background: var(--pink-deep); color: var(--white); }

/* ===== Order ===== */
.order { max-width: 1100px; margin: 0 auto; padding: 4.5rem 1.25rem; }

.order-builder {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 3rem;
}

.order-cat {
  background: var(--white);
  border: 2px solid rgba(39, 74, 29, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.order-cat h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--deep-green);
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px dotted rgba(74, 46, 23, 0.25);
}

.order-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(39, 74, 29, 0.08);
}

.order-item:last-child { border-bottom: none; }

.oi-name { flex: 1; font-weight: 600; font-size: 0.98rem; }

.oi-price { font-weight: 800; color: var(--deep-green); }

.oi-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--leaf-green);
  background: var(--menu-green);
  color: var(--deep-green);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.step-btn:hover { background: var(--leaf-green); color: var(--cream); }

.step-btn:active { transform: scale(0.92); }

.oi-qty {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
}

.order-summary {
  position: sticky;
  top: 84px;
  background: var(--menu-green);
  border: 2px solid rgba(39, 74, 29, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.order-summary h3 {
  font-size: 1.4rem;
  color: var(--brown);
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px dotted rgba(74, 46, 23, 0.25);
}

.summary-empty {
  color: var(--brown-soft);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.summary-list { list-style: none; margin-bottom: 0.5rem; }

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.93rem;
  padding: 0.3rem 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--deep-green);
  border-top: 2px solid rgba(39, 74, 29, 0.15);
  padding-top: 0.6rem;
  margin-bottom: 1rem;
}

.field { display: block; margin-bottom: 0.8rem; }

.field span {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: var(--brown);
}

.field input,
.field textarea {
  width: 100%;
  border: 2px solid rgba(39, 74, 29, 0.2);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brown);
  background: var(--white);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--leaf-green);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 0.6rem;
}

.summary-alt {
  text-align: center;
  font-size: 0.9rem;
  color: var(--brown-soft);
  font-weight: 600;
}

.summary-alt a { color: var(--deep-green); font-weight: 800; }

.order-alt-head { margin-bottom: 1.5rem; }

.order-alt-head h3 { font-size: 1.5rem; }

.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.order-card {
  background: var(--white);
  border: 2px solid rgba(39, 74, 29, 0.12);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--brown);
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
}

.order-card:hover { transform: translateY(-4px); border-color: var(--leaf-green); }

.order-icon { font-size: 2.3rem; display: block; margin-bottom: 0.6rem; }

.order-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }

.order-detail { color: var(--brown-soft); font-weight: 700; }

/* ===== Legal pages & disclosures ===== */
.summary-disclosure {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(39, 74, 29, 0.15);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--brown-soft);
}

.summary-disclosure a { color: var(--deep-green); font-weight: 700; }

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4.5rem;
}

.legal-page h1 {
  font-size: clamp(2rem, 4.5vw, 2.7rem);
  color: var(--brown);
  margin-bottom: 0.3rem;
}

.legal-updated {
  color: var(--brown-soft);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.6rem;
}

.legal-page p { margin-bottom: 0.9rem; }

.legal-page ul {
  margin: 0 0 0.9rem 1.3rem;
}

.legal-page li { margin-bottom: 0.45rem; }

.legal-page a { color: var(--deep-green); font-weight: 700; }

.disclosure-box {
  background: var(--menu-green);
  border: 2px solid rgba(39, 74, 29, 0.15);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  color: var(--deep-green);
}

.footer-disclosure {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: rgba(243, 233, 212, 0.75);
  max-width: 34ch;
  line-height: 1.5;
}

.footer-legal-links {
  text-align: center;
  padding-top: 1.4rem;
  font-size: 0.88rem;
}

.footer-legal-links a {
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
}

.footer-legal-links a:hover { color: var(--pink); }

/* ===== Footer ===== */
.site-footer {
  background: var(--brown);
  color: var(--cream);
  padding: 3.5rem 1.25rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(243, 233, 212, 0.2);
}

.footer-logo { width: 72px; border-radius: 50%; margin-bottom: 0.8rem; }

.footer-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }

.footer-motto { font-family: var(--font-script); font-size: 1.25rem; color: var(--pink); margin-top: 0.3rem; }

.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.4rem;
}

.footer-links a, .footer-contact a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover, .footer-contact a:hover { color: var(--pink); }

.footer-copy {
  text-align: center;
  padding-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(243, 233, 212, 0.65);
}

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 2px solid rgba(74, 46, 23, 0.1);
    padding: 0.5rem 0;
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 0.8rem 1.5rem; border-bottom: none; }

  .nav-toggle { display: flex; }

  .header-cta { display: none; }

  /* Legal pages have no hamburger — keep the back-home button visible */
  .site-header.legal .header-cta { display: inline-block; }
  .site-header.legal .site-nav { display: none; }

  .about-inner { grid-template-columns: 1fr; }

  .order-builder { grid-template-columns: 1fr; }

  .order-summary { position: static; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
