/* ==========================================================
   Ever Rise Foods — design tokens
   ========================================================== */
:root {
  --forest: #0E2D25;
  --forest-2: #163B30;
  --forest-3: #0A231C;
  --sunset: #FF6A16;
  --sunset-dark: #E85A0C;
  --amber: #F2A93C;
  --gold: #C4A167;
  --cream: #F6EFE1;
  --cream-2: #EDE1CB;
  --ink: #182B23;
  --white: #FFFFFF;

  --font-display: 'Zilla Slab', Georgia, serif;
  --font-body: 'Mulish', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 45px -20px rgba(10, 30, 24, 0.45);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--amber);
  margin: 0 0 14px;
}
.eyebrow--dark { color: var(--sunset-dark); }

.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head__sub { font-size: 17px; color: #4b5c53; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn--sunset { background: var(--sunset); color: var(--white); }
.btn--sunset:hover { background: var(--sunset-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(255,106,22,0.55); }
.btn--sunset:disabled { background: #d9b79a; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(246,239,225,0.4); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(246,239,225,0.08); }
.btn--ghost-dark { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost-dark:hover { background: var(--forest); color: var(--cream); }
.btn--text { background: none; border: none; color: var(--forest); text-decoration: underline; padding: 10px; font-size: 14px; }
.btn--small { padding: 10px 20px; font-size: 14px; }
.btn--full { width: 100%; }

/* ==========================================================
   Nav
   ========================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 45, 37, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196,161,103,0.18);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--cream);
  margin-right: auto;
}
.nav__mark { border-radius: 8px; }
.nav__links {
  display: flex;
  gap: 28px;
}
.nav__links a {
  color: var(--cream);
  opacity: 0.85;
  font-weight: 600;
  font-size: 15px;
}
.nav__links a:hover { opacity: 1; }
.nav__cta { display: inline-flex; }
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--cream); margin: 0 auto; }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  background: var(--forest);
  overflow: hidden;
  padding: 76px 0 60px;
}
.hero__arc {
  position: absolute;
  inset: 0;
  background-image: url('/assets/logo-arc.jpg');
  background-repeat: no-repeat;
  background-position: center 120px;
  background-size: 1600px auto;
  opacity: 0.9;
}
.hero__arc::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,45,37,0.15) 0%, rgba(14,45,37,0.65) 55%, var(--forest) 92%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero__copy { color: var(--cream); }
.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 4.6vw, 54px);
}
.hero__sub {
  font-size: 18px;
  color: rgba(246,239,225,0.85);
  max-width: 480px;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 40px;
}
.hero__stats {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 22px 0 0;
  margin: 0;
  border-top: 1px solid rgba(196,161,103,0.28);
  flex-wrap: wrap;
}
.hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.hero__stats strong { font-family: var(--font-display); font-size: 24px; color: var(--amber); }
.hero__stats span { font-size: 13px; color: rgba(246,239,225,0.7); }

.hero__gallery {
  position: relative;
  height: 420px;
}
.hero__card {
  position: absolute;
  width: 62%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 4px solid var(--cream);
  animation: rise 0.8s cubic-bezier(.2,.9,.3,1) both;
}
.hero__card--a { top: 6%; left: 4%; width: 66%; transform: rotate(-7deg); z-index: 3; animation-delay: .05s; }
.hero__card--b { top: 38%; right: 0%; width: 58%; transform: rotate(6deg); z-index: 2; animation-delay: .18s; }
.hero__card--c { bottom: 2%; left: 18%; width: 50%; transform: rotate(-3deg); z-index: 1; animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) rotate(var(--r,0)); } to { opacity: 1; } }

/* ==========================================================
   Why us
   ========================================================== */
.why { background: var(--cream); padding: 90px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid rgba(20,40,32,0.06);
}
.feature img { margin-bottom: 16px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: #55665c; margin: 0; }
.feature__veg, .feature__clock {
  width: 56px; height: 56px;
  border: 3px solid var(--forest);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature__veg span { width: 24px; height: 24px; background: var(--forest); border-radius: 50%; }
.feature__clock { border-radius: 50%; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--forest); }

/* ==========================================================
   Menu
   ========================================================== */
.menu { background: var(--forest-2); padding: 90px 0; }
.menu .eyebrow { color: var(--amber); }
.menu .section-head h2 { color: var(--white); }
.menu .section-head__sub { color: rgba(246,239,225,0.75); }

.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.dish {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.dish__img { width: 100%; aspect-ratio: 900/426; object-fit: cover; }
.dish__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.dish__tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--sunset-dark);
  margin-bottom: 6px;
}
.dish__body h3 { font-size: 20px; margin-bottom: 8px; }
.dish__body p { font-size: 14.5px; color: #55665c; margin-bottom: 10px; flex: 1; }
.dish__allergen { font-size: 12px; color: #8a7a5c; margin-bottom: 16px; }
.dish__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px dashed rgba(20,40,32,0.15);
  padding-top: 16px;
}
.dish__price { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--forest); }

.stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--forest);
  border-radius: 999px;
  padding: 6px;
}
.stepper button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--cream);
  color: var(--forest);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.stepper button:hover { background: var(--amber); }
.stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper__qty { color: var(--white); font-weight: 800; min-width: 18px; text-align: center; font-size: 15px; }

/* ==========================================================
   How it works
   ========================================================== */
.how { background: var(--cream); padding: 90px 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step {
  position: relative;
  padding: 34px 26px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(20,40,32,0.06);
}
.step__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sunset);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: #55665c; margin: 0; }

/* ==========================================================
   Preorder
   ========================================================== */
.preorder { background: var(--forest); padding: 90px 0 100px; }
.preorder .section-head h2 { color: var(--white); max-width: 640px; }
.preorder .section-head__sub { color: rgba(246,239,225,0.75); max-width: 560px; }

.order-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.order-summary, .order-form, .order-confirm {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px;
}
.order-summary { position: sticky; top: 96px; }
.order-summary h3, .order-form h3 { font-size: 20px; margin-bottom: 18px; }

.order-summary__list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; max-height: 320px; overflow-y: auto; }
.order-summary__empty { color: #7c8b81; font-size: 14px; }
.order-summary__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.order-summary__item strong { font-weight: 700; }
.order-summary__item .mini-stepper { display: flex; align-items: center; gap: 8px; }
.order-summary__item .mini-stepper button {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--forest);
  background: transparent; cursor: pointer; font-weight: 800; line-height: 1;
}
.order-summary__totals { border-top: 1px solid rgba(20,40,32,0.15); padding-top: 16px; }
.order-summary__row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; }
.order-summary__row:last-of-type { font-weight: 800; font-size: 17px; }
.order-summary__delivery {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sunset-dark);
  background: rgba(255,106,22,0.1);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}
.order-summary__delivery.is-free { color: #16693f; background: rgba(22,105,63,0.1); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.field em { font-weight: 400; color: #7c8b81; font-style: normal; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(20,40,32,0.18);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--sunset); outline-offset: 1px; }
.hidden-field { position: absolute; left: -5000px; }

/* Field validation state */
.field__error {
  display: block;
  color: #b3261e;
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 6px;
}
.field.is-invalid input { border-color: #b3261e; }
.field.is-valid input { border-color: #16693f; }

/* Suburb combobox */
.combobox { position: relative; }
.combobox__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--white);
  border: 1.5px solid rgba(20,40,32,0.18);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 260px;
  overflow-y: auto;
}
.combobox__item {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.combobox__item span:last-child { color: #7c8b81; font-size: 13px; white-space: nowrap; }
.combobox__item:hover,
.combobox__item.is-active { background: var(--cream-2); }
.combobox__empty { padding: 10px 12px; font-size: 13.5px; color: #7c8b81; }
.order-form__fineprint { font-size: 13px; color: #6c7d72; margin-top: 14px; text-align: center; }
.order-form__error { color: #b3261e; font-size: 14px; text-align: center; }

.order-confirm { text-align: center; }
.order-confirm__badge { font-size: 40px; margin-bottom: 6px; }
.order-confirm__recap { background: var(--white); border-radius: var(--radius-sm); padding: 16px; margin: 18px 0; text-align: left; font-size: 14px; }
.order-confirm__recap p { margin: 0 0 6px; }
.order-confirm .btn { margin: 6px 6px 0; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { background: var(--cream); padding: 90px 0 100px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq__item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  border: 1px solid rgba(20,40,32,0.08);
}
.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 22px; color: var(--sunset); font-weight: 400; margin-left: 12px; }
.faq__item[open] summary::after { content: '\2212'; }
.faq__item p { margin: 12px 0 0; color: #55665c; font-size: 14.5px; }

/* ==========================================================
   Footer
   ========================================================== */
.footer { background: var(--forest-3); color: rgba(246,239,225,0.8); padding: 54px 0 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(196,161,103,0.15); }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__mark { border-radius: 8px; }
.footer__brand strong { display: block; color: var(--cream); font-family: var(--font-display); font-size: 18px; }
.footer__brand span { font-size: 13px; color: rgba(246,239,225,0.6); }
.footer__details p { margin: 0 0 6px; font-size: 14px; }
.footer__details a { text-decoration: underline; }
.footer__legal { padding: 18px 0; font-size: 12.5px; color: rgba(246,239,225,0.5); }

/* ==========================================================
   Floating order bar
   ========================================================== */
.order-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--forest);
  border-top: 2px solid var(--sunset);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
}
.order-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; }
.order-bar__inner span { color: var(--cream); font-weight: 700; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__gallery { height: 320px; margin-top: 20px; }
  .order-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--forest);
    padding: 20px 24px 26px;
    gap: 18px;
    border-bottom: 1px solid rgba(196,161,103,0.2);
  }
  .nav.is-open .nav__cta { display: inline-flex; margin: 0 24px 20px; }
  .feature-grid, .menu__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
  .hero__stats { gap: 20px; }
  .footer__inner { flex-direction: column; }
}
