/* Mary's Kitchen Catering — shared styles
   Direction: "the set table" — deep herb green, warm ivory, brass serving-line accents.
   Display: Fraunces (soft serif). Body: Hanken Grotesk. */

:root {
  --ivory: #FBF8F1;
  --ivory-2: #F2EADA;
  --green-900: #1C3528;
  --green-700: #2E4E3C;
  --green-600: #3C6149;
  --brass: #A9792B;
  --brass-light: #C49A4E;
  --ink: #25241E;
  --muted: #6E6C5F;
  --line: #E0D7C4;
  --radius: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--green-900);
  margin: 0 0 0.4em;
}

a { color: var(--green-700); }
a:hover { color: var(--brass); }

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

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

/* Eyebrow — styled like a menu-card heading */
.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before,
.eyebrow.center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass-light);
}
.eyebrow.center { justify-content: center; }

/* Serving-line divider — the page signature */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
  color: var(--brass-light);
}
.rule::before, .rule::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 160px;
  background: linear-gradient(90deg, transparent, var(--brass-light));
}
.rule::after { background: linear-gradient(90deg, var(--brass-light), transparent); }
.rule span { width: 7px; height: 7px; transform: rotate(45deg); background: var(--brass); }

/* ---- Header ---- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251,248,241,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px; gap: 20px;
}
.brand {
  font-family: "Fraunces", serif;
  font-size: 1.32rem; font-weight: 600; color: var(--green-900);
  text-decoration: none; letter-spacing: -0.01em; white-space: nowrap;
}
.brand small { display: block; font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brass); font-weight: 600; margin-top: 2px; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--brass); }

/* Buttons */
.btn {
  display: inline-block; background: var(--green-700); color: var(--ivory);
  padding: 13px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--green-900); color: var(--ivory); transform: translateY(-1px); }
.btn-brass { background: var(--brass); }
.btn-brass:hover { background: #946a22; color: var(--ivory); }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(169,121,43,0.10), transparent 60%),
    radial-gradient(90% 70% at 0% 110%, rgba(28,53,40,0.06), transparent 60%),
    var(--ivory);
  padding: clamp(70px, 12vw, 130px) 0 clamp(60px, 9vw, 110px);
}
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); max-width: 14ch; }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.32rem); color: var(--muted); max-width: 46ch; margin: 1.2rem 0 2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Sections ---- */
section { padding: clamp(56px, 9vw, 96px) 0; }
.section-head { max-width: 60ch; }
.section-head.center { margin: 0 auto; text-align: center; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.lead { color: var(--muted); font-size: 1.1rem; }

.alt { background: var(--ivory-2); }

/* Service cards */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 40px; }
.card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: border-color .2s ease, transform .2s ease;
}
.alt .card { background: #fff; }
.card:hover { border-color: var(--brass-light); transform: translateY(-2px); }
.card .num { font-family: "Fraunces", serif; font-size: 0.95rem; color: var(--brass); font-weight: 600; }
.card h3 { font-size: 1.3rem; margin-top: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); margin-top: 40px; }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--brass-light); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; font-size: 0.96rem; }
.step .kicker { font-family:"Fraunces",serif; color: var(--brass); font-weight:600; font-size:0.95rem; }

/* ---- Quote form ---- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(28px, 4vw, 48px); max-width: 720px; margin: 40px auto 0;
  box-shadow: 0 22px 60px -40px rgba(28,53,40,0.5);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; color: var(--green-900); }
.req { color: var(--brass); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--line); border-radius: 10px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass); background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.two { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }

/* Consent block */
.consent {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--ivory-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 22px;
}
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--green-700); }
.consent label { font-weight: 400; font-size: 0.86rem; color: var(--muted); line-height: 1.55; margin: 0; }
.consent a { color: var(--green-700); }

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: 0.95rem; display: none; }
.form-status.ok { display: block; background: #E7F0E7; color: var(--green-900); border: 1px solid #BCD4BC; }
.form-status.err { display: block; background: #F6E7DA; color: #7A3E12; border: 1px solid #E2C4A8; }

/* ---- Footer ---- */
.site-foot { background: var(--green-900); color: #CFD8CF; padding: 56px 0 30px; }
.site-foot a { color: #E7C988; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.foot-brand { font-family:"Fraunces",serif; font-size: 1.4rem; color: #fff; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-cols h4 { color:#fff; font-family:"Hanken Grotesk",sans-serif; font-size:0.74rem; letter-spacing:0.18em; text-transform:uppercase; margin:0 0 14px; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; line-height: 2; font-size: 0.95rem; }
.foot-legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 22px; font-size: 0.82rem; color: #9DB0A0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }

/* ---- Legal pages ---- */
.legal { padding: clamp(60px,9vw,90px) 0; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem,5vw,3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal p, .legal li { color: var(--ink); }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-top: -0.4em; }
.legal .box { background: var(--ivory-2); border:1px solid var(--line); border-left: 3px solid var(--brass); border-radius: 8px; padding: 18px 22px; }

@media (max-width: 720px) {
  .nav { gap: 16px; }
  .nav a:not(.btn) { display: none; }
  .two { grid-template-columns: 1fr; }
  .foot-cols { gap: 36px; }
}

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

/* honeypot (bot trap) — visually hidden, not display:none so bots still fill it */
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden;}

/* ============================================================
   STYLED-UP ADDITIONS — hero photo, weeknight-dinner cards,
   deep "how it works" band. Food images load as background
   layers over warm gradient fallbacks: looks intentional with
   no photos, and real photos drop straight in at images/*.jpg.
   ============================================================ */

/* Hero: copy + photo panel */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { max-width: 16ch; }
.hero-photo {
  position: relative; min-height: clamp(280px, 42vw, 460px);
  border-radius: 20px; border: 1px solid var(--line); overflow: hidden;
  background-image: url('images/hero.jpg'), linear-gradient(158deg, #335741, #1C3528 66%);
  background-size: cover; background-position: center;
  box-shadow: 0 30px 70px -46px rgba(28,53,40,0.85);
}
.hero-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(28,53,40,0.80); color: var(--ivory);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; padding: 7px 13px; border-radius: 999px; backdrop-filter: blur(2px);
}

/* Ghost button (replaces inline-styled hero secondary) */
.btn-ghost { background: transparent; color: var(--green-900); border: 1px solid var(--green-700); }
.btn-ghost:hover { background: var(--green-900); color: var(--ivory); }

/* Service-card marker — brass diamond, tied to the serving-line signature */
.card .mark { display: block; width: 9px; height: 9px; transform: rotate(45deg); background: var(--brass); margin: 2px 0 18px 2px; }

/* Weeknight dinners */
.dinners .section-head.center { margin-left: auto; margin-right: auto; }
.dish-row { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 44px; }
.dish { margin: 0; }
.photo-well {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius);
  background-size: cover; background-position: center; background-color: var(--green-700);
  border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 16px 38px -28px rgba(28,53,40,0.7);
}
.photo-well.ziti      { background-image: url('images/baked-ziti.jpg'),  linear-gradient(150deg, #8a4a1c, #b9842f 72%); }
.photo-well.joes      { background-image: url('images/sloppy-joes.jpg'), linear-gradient(150deg, #7a3a18, #a4632b 72%); }
.photo-well.spaghetti { background-image: url('images/spaghetti.jpg'),   linear-gradient(150deg, #7d2f24, #b35a39 72%); }
.photo-well .day {
  position: absolute; top: 12px; left: 12px;
  background: rgba(28,53,40,0.78); color: var(--ivory);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(2px);
}
.dish figcaption { padding: 18px 4px 0; }
.dish figcaption h3 { font-size: 1.25rem; margin-bottom: 0.3em; }
.dish figcaption p { color: var(--muted); margin: 0 0 0.45em; font-size: 0.96rem; }
.dish .price { color: var(--green-700); font-weight: 600; font-size: 0.9rem; }
.dinners-note { text-align: center; color: var(--muted); font-size: 0.95rem; margin-top: 34px; }
.dinners-note a { color: var(--green-700); font-weight: 600; }

/* Deep-green "How it works" band for vertical rhythm */
.alt-deep { background: var(--green-900); }
.alt-deep .eyebrow { color: var(--brass-light); }
.alt-deep .eyebrow::before { background: var(--brass-light); }
.alt-deep h2 { color: #fff; }
.alt-deep .step { border-top-color: var(--brass); }
.alt-deep .step h3 { color: #fff; }
.alt-deep .step p { color: #C7D2C7; }
.alt-deep .step .kicker { color: var(--brass-light); }

/* About + footer tidy (replaces former inline styles) */
.about-wrap { max-width: 760px; }
.about-cta { text-align: center; margin-top: 36px; }
.foot-blurb { max-width: 40ch; margin: 0.6rem 0 0; color: #9DB0A0; font-size: 0.95rem; }

/* Gentle hero entrance */
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: riseIn 0.7s cubic-bezier(0.2,0.7,0.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.18s; }

@media (max-width: 840px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: 240px; order: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy > * { animation: none !important; }
}
