/* =====================================================================
   Fuel Forward Foods: styles
   Layout: one long page of alternating cream/linen bands; arch-framed
   photography echoes the round logo, cut-out bakes sit on oat "plates".
   Single deliberate light theme, matching the printed brand.
   ===================================================================== */

@font-face {
  font-family: "Milk and Honey";
  src: url("../fonts/milk-and-honey.woff2") format("woff2"),
       url("../fonts/milk-and-honey.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}

:root {
  color-scheme: light;
  /* brand palette (from the business card) */
  --cream: #FCF7EA;      /* page ground */
  --linen: #F4ECD9;      /* alternate band */
  --oat: #E9DEC5;        /* plates, pills */
  --paper: #FFFDF8;      /* form card */
  --sage: #81AE88;       /* brand green */
  --sage-deep: #4D7555;  /* accessible green for text + buttons */
  --sage-ink: #3C5E43;   /* hover */
  --sage-tint: #E6EFE3;
  --bark: #716558;       /* brand brown */
  --ink: #3F362D;        /* body text */
  --wheat: #C3B091;      /* brand wheat */
  --line: #DCCFB4;
  --shadow: 63 54 45;

  --display: "Milk and Honey", "Cooper Black", "Recoleta", Georgia, serif;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  --step-3: clamp(2.3rem, 1.6rem + 2.6vw, 3.4rem);
  --step-4: clamp(2.9rem, 1.9rem + 4.4vw, 5.4rem);

  --radius: 28px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.display, .card-title, legend { font-variant-ligatures: none; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.005em; }
/* the font's swash ligatures, used only on the tagline as on the business card */
.hero-title, .footer-tag { font-variant-ligatures: common-ligatures; }
.h2 { font-size: var(--step-3); line-height: 1.02; color: var(--sage-deep); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--cream); padding: .5rem 1rem; z-index: 100; border-radius: 8px; }
.skip:focus { left: 12px; }

/* eyebrow echoes the "— FOODS —" lockup in the logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bark); margin-bottom: .9rem;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--sage); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: 1rem 1.6rem; border: 2px solid transparent;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn-primary { background: var(--sage-deep); color: var(--cream); }
.btn-primary:hover { background: var(--sage-ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--sage-deep); border-color: color-mix(in srgb, var(--sage-deep) 35%, transparent); }
.btn-ghost:hover { border-color: var(--sage-deep); }
.btn-sm { padding: .7rem 1.15rem; font-size: .92rem; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 2rem; padding-block: .7rem; }
.brand img { height: 72px; width: auto; }
.nav { display: flex; gap: 1.8rem; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--sage-deep); }
@media (max-width: 820px) {
  .nav { display: none; }
  .header-inner > .btn { margin-left: auto; }
  .brand img { height: 56px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='96' viewBox='0 0 120 96'%3E%3Cg fill='%23C3B091' fill-opacity='.2'%3E%3Cg id='s'%3E%3Crect x='19' y='14' width='2' height='34' rx='1'/%3E%3Cellipse cx='20' cy='10' rx='3' ry='6'/%3E%3Cellipse cx='14.5' cy='22' rx='2.6' ry='6' transform='rotate(-38 14.5 22)'/%3E%3Cellipse cx='25.5' cy='22' rx='2.6' ry='6' transform='rotate(38 25.5 22)'/%3E%3Cellipse cx='14.5' cy='32' rx='2.6' ry='6' transform='rotate(-38 14.5 32)'/%3E%3Cellipse cx='25.5' cy='32' rx='2.6' ry='6' transform='rotate(38 25.5 32)'/%3E%3C/g%3E%3Cuse href='%23s' x='60' y='48'/%3E%3C/g%3E%3C/svg%3E");
}
.hero::after { /* fade the pattern behind the copy */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 80% at 22% 50%, var(--cream) 30%, color-mix(in srgb, var(--cream) 0%, transparent) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
}
.hero-copy { min-width: 0; }
.hero-title { font-size: var(--step-4); line-height: .98; color: var(--sage-deep); margin: 1.4rem 0 1.5rem; }
.hero-title .heart { display: inline-block; width: .34em; height: auto; margin-left: .1em; vertical-align: baseline; }
.lede { font-size: 1.18rem; line-height: 1.6; max-width: 34rem; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* status badge */
.status { display: inline-flex; align-items: center; gap: .75rem; padding: .55rem 1.1rem .55rem .7rem; border-radius: 999px;
  background: var(--paper); border: 1.5px solid color-mix(in srgb, var(--sage) 60%, transparent); box-shadow: 0 6px 20px rgb(var(--shadow) / .06); }
.status:empty { display: none; }
.status-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--sage); flex: none; margin-left: .3rem; }
.status-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--sage); opacity: 0; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.status-cal { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sage-tint); display: grid; place-items: center; color: var(--sage-deep); }
.status-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.status-label { font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); }
.status-detail { font-size: .95rem; color: var(--ink); }
.status-detail a { font-weight: 700; }

/* arch frames */
.arch { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 999px 999px var(--radius) var(--radius); }
.arch img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; position: relative; z-index: 1; }
.arch-hero::before {
  content: ""; position: absolute; inset: -14px; border-radius: inherit; border: 2px solid var(--wheat); z-index: 0;
}
.hero-art { position: relative; max-width: 470px; justify-self: end; width: 100%; }
.slides { position: absolute; inset: 0; z-index: 1; border-radius: inherit; overflow: hidden; box-shadow: 0 30px 60px -20px rgb(var(--shadow) / .35); background: var(--oat); }
.arch .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0;
  opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s ease-out; }
.arch .slide.is-active { opacity: 1; transform: scale(1); }
.slide-dots { display: flex; justify-content: center; gap: .55rem; margin-top: 1.6rem; }
.slide-dots:empty { display: none; }
.slide-dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: var(--wheat); cursor: pointer; transition: width .3s, background .3s; }
.slide-dots button[aria-current="true"] { width: 28px; background: var(--sage-deep); }
.slide-dots button:hover { background: var(--bark); }

.seal {
  position: absolute; z-index: 2; left: -54px; bottom: 44px; width: 150px; height: 150px; border-radius: 50%;
  background: var(--cream); display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgb(var(--shadow) / .3);
}
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.seal-ring text { font: 700 13.2px var(--sans); letter-spacing: .16em; fill: var(--bark); }
.seal-icon { width: 54px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 380px; margin-top: 1rem; }
  .hero::after { background: linear-gradient(var(--cream) 35%, color-mix(in srgb, var(--cream) 40%, transparent)); }
  .seal { left: -18px; bottom: 24px; width: 122px; height: 122px; }
  .seal-ring text { font-size: 13.6px; }
  .seal-icon { width: 44px; }
}

/* ---------- ribbon ---------- */
.ribbon { background: var(--sage-deep); color: var(--cream); }
.ribbon-list { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem; padding-block: 1.1rem; }
.ribbon-list li { display: flex; align-items: center; gap: .55rem; font-size: .95rem; }
.ribbon-list strong { font-weight: 700; }
.ribbon-list svg { flex: none; opacity: .85; }

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto clamp(2.5rem, 5vw, 3.8rem); }
.section-intro { margin-top: 1rem; font-size: 1.1rem; color: var(--bark); }

/* ---------- products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
.card {
  grid-column: span 2; min-width: 0;
  display: flex; flex-direction: column;
  background: var(--linen); border-radius: var(--radius); padding: 1.4rem 1.6rem 1.6rem;
}
.card-media { position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; margin: -.2rem 0 1rem; }
.card-media::before {
  content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: var(--oat); top: 50%; left: 50%; transform: translate(-50%, -46%);
}
.card-media img {
  position: relative; width: 88%; height: 88%; object-fit: contain;
  filter: drop-shadow(0 18px 16px rgb(var(--shadow) / .24));
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.card:hover .card-media img { transform: translateY(-6px) rotate(-2deg); }
.card-media .soon {
  position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%);
  background: var(--paper); color: var(--bark); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px; white-space: nowrap; z-index: 1;
}
.card-body { display: flex; flex-direction: column; gap: .8rem; flex: 1; min-width: 0; }
.card-title { font-family: var(--display); font-size: var(--step-2); line-height: 1.05; color: var(--sage-deep); }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.unit { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bark); background: var(--oat); padding: .35rem .75rem; border-radius: 999px; }
.price { font-weight: 800; font-size: 1.2rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.card-desc { color: var(--ink); font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: .82rem; font-weight: 600; color: var(--sage-deep); border: 1.5px solid color-mix(in srgb, var(--sage) 70%, transparent); border-radius: 999px; padding: .22rem .7rem; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-top: auto; padding-top: .6rem; }
.link-btn {
  display: inline-flex; align-items: center; gap: .45rem; background: none; border: 0; padding: .35rem 0; cursor: pointer;
  font: 700 .95rem var(--sans); color: var(--bark); text-decoration: underline; text-decoration-color: var(--wheat);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.link-btn:hover { color: var(--ink); text-decoration-color: var(--bark); }
.add-link { font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--sage-deep); }
.add-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* the two cards in row two are wider: image beside text */
.card.wide { grid-column: span 3; display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.4rem; align-items: center; }
.card.wide .card-media { margin: 0; aspect-ratio: 1; }
.card.wide .card-media img { width: 100%; height: 100%; }
.card.wide .card-media::before { width: 82%; }

@media (max-width: 1020px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .card, .card.wide { grid-column: span 1; display: flex; }
  .card.wide .card-media { aspect-ratio: 5 / 4; margin: -.2rem 0 1rem; }
  .card:last-child:nth-child(odd) { grid-column: span 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.4rem; align-items: center; }
  .card:last-child:nth-child(odd) .card-media { margin: 0; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
  .card:last-child:nth-child(odd) { grid-column: span 1; display: flex; }
  .card:last-child:nth-child(odd) .card-media { margin: -.2rem 0 1rem; }
}

.allergen {
  display: flex; gap: 1.1rem; align-items: flex-start; max-width: 52rem; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: 1.4rem 1.6rem; border: 2px dashed var(--wheat); border-radius: 22px;
}
.allergen img { flex: none; margin-top: .2rem; }
.allergen h3 { font-size: 1rem; font-weight: 800; margin-bottom: .3rem; }
.allergen p { color: var(--ink); }

/* ---------- about ---------- */
.about { background: var(--linen); }
.about-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-art { position: relative; max-width: 440px; width: 100%; }
.arch-about::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--sage); transform: translate(20px, 20px); z-index: 0; }
.cert {
  position: absolute; z-index: 2; right: -16px; bottom: 36px; background: var(--cream); border-radius: 18px;
  padding: .85rem 1.1rem; box-shadow: 0 14px 30px -12px rgb(var(--shadow) / .35); display: flex; flex-direction: column; gap: .15rem;
  border: 1.5px solid var(--oat);
}
.cert-k { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-deep); }
.cert-v { font-size: .88rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.about-copy { min-width: 0; }
.about-copy .h2 { margin-bottom: 1.4rem; }
.about-copy > p + p { margin-top: 1rem; }
.about-copy > p { max-width: 36rem; }
.values { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.values li { display: flex; flex-direction: column; gap: .3rem; padding-top: 1rem; border-top: 2px solid var(--oat); }
.values strong { font-weight: 800; color: var(--sage-deep); }
.values span { font-size: .92rem; color: var(--bark); line-height: 1.45; }
.signature { display: flex; flex-direction: column; }
.signature .display { font-size: 2rem; color: var(--sage-deep); line-height: 1.1; }
.signature span:last-child { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bark); }
@media (max-width: 880px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-art { justify-self: center; max-width: 340px; margin-right: 20px; }
  .values { grid-template-columns: 1fr; }
}

/* ---------- order ---------- */
.order-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.order-info { position: sticky; top: 110px; min-width: 0; }
.order-info .h2 { margin-bottom: 1rem; }
.pickup-list { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: .9rem; }
.pickup-list li { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: center; }
.pickup-list .pin { width: 40px; height: 40px; border-radius: 50%; background: var(--sage-tint); color: var(--sage-deep); display: grid; place-items: center; }
.pickup-list strong { display: block; font-weight: 800; line-height: 1.3; }
.pickup-list span { color: var(--bark); font-size: .95rem; }
.email-alt { padding: 1.2rem 1.3rem; background: var(--linen); border-radius: 18px; }
.email-alt p { font-weight: 600; margin-bottom: .4rem; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.email-link { font-weight: 800; overflow-wrap: anywhere; user-select: all; }
.copy-btn { font: 700 .8rem var(--sans); letter-spacing: .06em; padding: .35rem .8rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid currentColor; background: transparent; color: inherit; }
.email-alt .copy-btn { color: var(--sage-deep); }

.order-card { background: var(--paper); border: 1px solid var(--oat); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: 0 30px 60px -40px rgb(var(--shadow) / .4); min-width: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
legend { font-family: var(--display); font-size: 1.5rem; color: var(--sage-deep); padding: 0; margin-bottom: 1rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; min-width: 0; }
.field label { font-weight: 700; font-size: .9rem; }
input:not([type="checkbox"]), select, textarea {
  font: 500 1rem var(--sans); color: var(--ink); background: var(--cream);
  border: 1.5px solid var(--line); border-radius: 12px; padding: .78rem .9rem; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 3.2rem; }
input:focus, select, textarea:focus { outline: none; }
input:not([type="checkbox"]):focus, select:focus, textarea:focus { border-color: var(--sage-deep); box-shadow: 0 0 0 4px var(--sage-tint); }
input[aria-invalid="true"] { border-color: #A4513D; }
::placeholder { color: #9C8F7E; }
input[type="checkbox"] { accent-color: var(--sage-deep); width: 20px; height: 20px; flex: none; margin: .15rem 0 0; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; cursor: pointer; margin-top: .2rem; }
.check + .check { margin-top: .8rem; }
.field-error { color: #A4513D; font-weight: 700; font-size: .9rem; margin-top: .5rem; }

.order-items { display: grid; gap: .7rem; }
.oi-price { text-align: right; line-height: 1.2; }
.oi-price small { display: block; font-weight: 600; font-size: .78rem; color: var(--bark); }
.total-box { background: var(--linen); border-radius: 20px; padding: 1.2rem 1.3rem 1.3rem; }
.total-box legend { float: left; width: 100%; margin-bottom: .6rem; }
.total-box legend + * { clear: both; }
.total-lines { list-style: none; padding: 0; margin: 0 0 .4rem; }
.total-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.total-lines li span:last-child, .total-row strong { font-variant-numeric: tabular-nums; }
.total-empty { color: var(--bark); font-size: .95rem; padding: .2rem 0 .4rem; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: .6rem; font-weight: 800; font-size: 1.1rem; }
.total-row strong { font-size: 1.5rem; color: var(--sage-deep); }
.pay-note { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .92rem; }
.etransfer-email { overflow-wrap: anywhere; }
.oi { border: 1.5px solid var(--line); border-radius: 16px; background: var(--cream); transition: border-color .2s, background .2s; }
.oi.on { border-color: var(--sage-deep); background: var(--sage-tint); }
.oi-head { display: grid; grid-template-columns: auto 52px 1fr auto; align-items: center; gap: .85rem; padding: .7rem .9rem; cursor: pointer; }
.oi-head input { margin: 0; }
.oi-thumb { width: 52px; height: 52px; border-radius: 50%; background: var(--oat); display: grid; place-items: center; overflow: hidden; }
.oi-thumb img { width: 86%; height: 86%; object-fit: contain; }
.oi-name { font-weight: 800; line-height: 1.25; min-width: 0; }
.oi-name small { display: block; font-weight: 600; color: var(--bark); font-size: .82rem; }
.oi-price { font-weight: 800; font-variant-numeric: tabular-nums; }
.oi-opts { display: flex; flex-wrap: wrap; gap: 1rem; padding: 0 .9rem .9rem calc(.9rem + 20px + .85rem); align-items: flex-end; }
.oi-opts .field { margin: 0; flex: 1 1 160px; }
.oi-opts .field.qty-field { flex: 0 0 auto; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden; }
.qty button { width: 42px; height: 46px; border: 0; background: transparent; font: 700 1.2rem var(--sans); color: var(--sage-deep); cursor: pointer; }
.qty button:hover { background: var(--sage-tint); }
.qty input { width: 48px !important; border: 0 !important; border-radius: 0 !important; text-align: center; padding: .7rem 0 !important; background: transparent !important; box-shadow: none !important; font-weight: 800 !important; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 480px) {
  .oi-head { grid-template-columns: auto 44px 1fr; }
  .oi-thumb { width: 44px; height: 44px; }
  .oi-price { grid-column: 3; justify-self: start; margin-top: -.5rem; }
  .oi-opts { padding-left: .9rem; }
}

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.form-status { font-weight: 600; color: var(--bark); }
.form-status.err { color: #A4513D; }
.hp { position: absolute; left: -9999px; }

.thanks { text-align: center; padding: 2.5rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.thanks img { color: var(--bark); }
.thanks h3 { font-size: var(--step-3); color: var(--sage-deep); }
.thanks:focus { outline: none; }

@media (max-width: 900px) {
  .order-inner { grid-template-columns: 1fr; }
  .order-info { position: static; }
}

/* ---------- instagram ---------- */
.follow { background: var(--linen); }
.follow-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.2rem; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .9rem; }
.ig-grid a { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 1; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ig-grid a:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(3, 1fr); gap: .6rem; } .ig-grid a { border-radius: 12px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--sage-deep); color: var(--cream); padding-top: clamp(3.5rem, 7vw, 5rem); }
.site-footer a { color: var(--cream); }
.footer-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-bottom: 3rem; }
.footer-brand { display: flex; align-items: center; gap: 2rem; }
.footer-brand img { width: 140px; height: auto; flex: none; }
.footer-tag { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.05; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer-cols > div { min-width: 0; }
.footer-cols h3 { font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #E3D6BC; margin-bottom: .6rem; }
.footer-cols p { font-size: .98rem; }
.footer-cols p + p, .footer-cols p + .copy-row { margin-top: .4rem; }
.footer-cols .muted { color: #D9E4D6; font-size: .9rem; }
.footer-cols .copy-btn { color: var(--cream); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-block: 1.4rem calc(1.4rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgb(252 247 234 / .22); font-size: .88rem; color: #E6EEE3; }
@media (max-width: 1000px) {
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .footer-brand img { width: 120px; }
  .footer-cols { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ---------- ingredients dialog ---------- */
dialog.ingredients {
  border: 0; padding: 0; border-radius: var(--radius); background: var(--cream); color: var(--ink);
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px);
  box-shadow: 0 40px 80px -20px rgb(var(--shadow) / .5);
}
dialog.ingredients::backdrop { background: rgb(var(--shadow) / .55); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .28s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.ing-inner { position: relative; padding: 1.8rem clamp(1.3rem, 4vw, 2.2rem) 2rem; }
.ing-close { position: absolute; top: .9rem; right: .9rem; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--oat); color: var(--ink); font: 400 1.6rem/1 var(--sans); cursor: pointer; }
.ing-close:hover { background: var(--line); }
.ing-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.4rem; padding-right: 2.5rem; }
.ing-head img { width: 92px; height: 92px; flex: none; object-fit: contain; background: var(--oat); border-radius: 50%; padding: 8px; }
.ing-head .eyebrow { margin-bottom: .3rem; }
.ing-head h3 { font-size: var(--step-2); color: var(--sage-deep); line-height: 1.05; }
.ing-unit { color: var(--bark); font-size: .9rem; font-weight: 600; margin-top: .2rem; }
.ing-group + .ing-group { margin-top: 1.1rem; }
.ing-group h4 { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--bark); margin-bottom: .45rem; }
.ing-group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.ing-group li { background: var(--paper); border: 1px solid var(--oat); border-radius: 999px; padding: .3rem .8rem; font-size: .92rem; }
.ing-contains { margin-top: 1.4rem; padding: .8rem 1rem; background: var(--sage-tint); border-radius: 14px; font-size: .95rem; }
.ing-contains strong { color: var(--sage-deep); }
.ing-note { margin-top: 1rem; font-size: .88rem; color: var(--bark); }

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