/* Hoonie Cakes — design language from the demo: Cormorant Garamond + Jost,
   ivory paper, olive, soft gold. Refined bakery, not loud. */
:root {
  color-scheme: light;
  --paper: #faf6ee;
  --surface: #fffdf7;
  --surface-2: #f3ecdd;
  --ink: #26281e;
  --muted: #5d6052;
  --faint: #8a8c7d;
  --olive: #4a5636;
  --olive-deep: #37451f;
  --olive-soft: #e7ead9;
  --gold: #a37c3c;
  --line: #e2d9c4;
  --error: #a33b2e;
  --shadow: 0 18px 50px rgba(55, 69, 31, 0.10);
  --header-bg: rgba(250, 246, 238, 0.88);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #15170f;
    --surface: #1d2016;
    --surface-2: #23271b;
    --ink: #ede8da;
    --muted: #b3b5a4;
    --faint: #83867a;
    --olive: #a9bd8a;
    --olive-deep: #c3d4a4;
    --olive-soft: #2a2f1f;
    --gold: #cfa558;
    --line: #363b2a;
    --error: #e08a7d;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    --header-bg: rgba(21, 23, 15, 0.88);
  }
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", "Century Gothic", Futura, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
}
p { margin: 0; }
a { color: var(--olive); }
img { max-width: 100%; display: block; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.label {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
}
section { padding: 96px 0; scroll-margin-top: 72px; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 48px); margin: 14px 0; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-head p + p { margin-top: 12px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px; flex-wrap: wrap; padding: 8px 0;
}
.wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.wordmark em { font-style: italic; color: var(--olive); }
nav.main-nav { display: flex; gap: 26px; margin-inline-start: auto; flex-wrap: wrap; }
nav.main-nav a {
  color: var(--ink); text-decoration: none; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400;
  padding: 6px 2px; border-bottom: 1px solid transparent;
}
nav.main-nav a:hover { color: var(--olive); border-bottom-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.ig-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%;
  color: var(--olive); text-decoration: none; background: var(--surface);
}
.ig-link:hover { border-color: var(--gold); color: var(--gold); }
.ig-link svg { width: 18px; height: 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Jost", sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  text-decoration: none; border: 1px solid var(--olive);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-solid { background: var(--olive); color: var(--paper); }
.btn-solid:hover { background: var(--olive-deep); border-color: var(--olive-deep); }
.btn-ghost { background: transparent; color: var(--olive); }
.btn-ghost:hover { background: var(--olive-soft); }
.btn-small { padding: 9px 18px; font-size: 12.5px; }
@media (max-width: 760px) {
  .header-in { gap: 12px; }
  nav.main-nav { order: 3; width: 100%; margin: 0; gap: 8px 18px; padding-bottom: 4px; }
  nav.main-nav a { white-space: nowrap; font-size: 13px; }
  .header-actions { margin-inline-start: auto; }
  section { padding: 68px 0; }
  html { scroll-padding-top: 128px; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 76px); margin: 18px 0 22px; }
.hero h1 em { font-style: italic; color: var(--olive); }
.hero .lede { font-size: 20px; color: var(--muted); max-width: 30em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 40px; }
.hero-facts { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.hero-facts div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts b { display: block; font-family: "Cormorant Garamond", serif; font-size: 24px; font-weight: 600; color: var(--ink); }
.hero-facts span { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.hero-art {
  border-radius: 220px 220px 14px 14px;
  overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: var(--surface-2);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 4.6; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art img { aspect-ratio: 4 / 3; }
  .hero-art { border-radius: 120px 120px 14px 14px; }
}

/* ---------- Story ---------- */
.story { background: var(--surface); border-block: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.story blockquote {
  margin: 0; font-family: "Cormorant Garamond", serif;
  font-size: clamp(27px, 3.4vw, 36px); font-style: italic; line-height: 1.3; color: var(--olive-deep);
}
.story blockquote footer {
  margin-top: 18px; font-family: "Jost", sans-serif; font-style: normal;
  font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
}
.story-copy .label { display: block; margin-bottom: 14px; }
.story-copy h2 { font-size: clamp(34px, 4.6vw, 48px); margin-bottom: 18px; }
.story-copy p { color: var(--muted); font-size: 18px; margin-bottom: 18px; }
.story-copy p strong { color: var(--ink); font-weight: 500; }
.story-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.story-photos figure { margin: 0; }
.story-photos img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2);
}
.story-photos figcaption {
  margin-top: 8px; font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 17px; color: var(--muted);
}
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 34px; }
  .story-photos { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 560px) { .story-photos { grid-template-columns: 1fr; } }

/* ---------- Menu ---------- */
.menu-list { border-top: 1px solid var(--line); }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 24px;
  padding: 30px 4px; border-bottom: 1px solid var(--line); align-items: baseline;
}
.menu-item h3 { font-size: 29px; }
.menu-item h3 .tag {
  font-family: "Jost", sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  vertical-align: middle; margin-left: 12px; white-space: nowrap;
}
.menu-item .desc { color: var(--muted); max-width: 56ch; grid-column: 1; }
.menu-item .price {
  font-family: "Cormorant Garamond", serif; font-size: 27px; font-weight: 600;
  color: var(--olive); text-align: right; white-space: nowrap;
}
.menu-item .order-cell { grid-row: 2; grid-column: 2; text-align: right; }
.menu-note { margin-top: 26px; color: var(--faint); font-size: 15px; }
.flavor-strip { margin-top: 56px; }
.flavor-strip-title {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; color: var(--muted); margin-bottom: 20px;
}
.flavor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.flavor-card { margin: 0; }
.flavor-card img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2);
}
.flavor-card figcaption {
  margin-top: 10px; font-family: "Cormorant Garamond", serif;
  font-style: italic; font-size: 18px; color: var(--muted);
}
@media (max-width: 900px) { .flavor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .menu-item { grid-template-columns: 1fr; }
  .menu-item .price { text-align: left; }
  .menu-item .order-cell { grid-row: auto; grid-column: 1; text-align: left; margin-top: 8px; }
  .flavor-grid { grid-template-columns: 1fr; }
  .flavor-card img { aspect-ratio: 4 / 3.4; }
}

/* ---------- Steps ---------- */
.steps { background: var(--olive-soft); border-block: 1px solid var(--line); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.step .num {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 44px; color: var(--gold); line-height: 1;
}
.step h3 { font-size: 25px; margin: 12px 0 8px; }
.step p { color: var(--muted); }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Order form ---------- */
.order-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
form.order-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field > label {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; color: var(--muted);
}
.field input, .field select, .field textarea {
  font-family: "Jost", sans-serif; font-size: 16.5px; font-weight: 300;
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.field .hint { font-size: 13.5px; color: var(--faint); }
.field label .hint { text-transform: none; letter-spacing: 0; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: 9px 20px; font-size: 14.5px; cursor: pointer;
  font-family: "Jost", sans-serif; font-weight: 400;
}
.pill[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--paper); }
.pill .hint { font-size: 12.5px; opacity: 0.8; }
.summary-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 30px; box-shadow: var(--shadow); position: sticky; top: 110px;
}
.summary-card h3 { font-size: 27px; margin-bottom: 16px; }
.summary-lines { display: grid; gap: 10px; font-size: 16px; }
.summary-lines .row { display: flex; justify-content: space-between; gap: 18px; }
.summary-lines .row span:first-child { color: var(--muted); }
.summary-lines .row span:last-child { text-align: right; font-weight: 400; }
.summary-total {
  border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.summary-total .t-label {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.summary-total .t-value {
  font-family: "Cormorant Garamond", serif; font-size: 36px;
  font-weight: 600; color: var(--olive);
}
.summary-note { font-size: 14px; color: var(--faint); margin-top: 10px; }
.confirm {
  display: none; margin-top: 28px; border: 1px solid var(--gold);
  background: var(--surface); border-radius: 14px; padding: 28px;
}
.confirm.show { display: block; }
.confirm h3 { font-size: 26px; margin-bottom: 8px; }
.confirm p { color: var(--muted); margin-bottom: 14px; }
.confirm pre {
  white-space: pre-wrap; word-break: break-word; margin: 0 0 18px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 16px; font-family: "Jost", sans-serif; font-size: 15px; line-height: 1.6; color: var(--ink);
}
.confirm-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form-error { display: none; color: var(--error); font-size: 15px; grid-column: 1 / -1; }
.form-error.show { display: block; }
@media (max-width: 860px) {
  .order-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  form.order-form { grid-template-columns: 1fr; }
}

/* ---------- Press ---------- */
.press { background: var(--surface); border-block: 1px solid var(--line); }
.press-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: stretch; }
.press-feature {
  border: 1px solid var(--line); border-radius: 14px; padding: 38px; background: var(--paper);
  display: flex; flex-direction: column;
}
.press-feature .outlet {
  font-family: "Cormorant Garamond", serif; font-size: 21px;
  letter-spacing: 0.06em; color: var(--gold); font-weight: 600;
}
.press-feature h3 { font-size: clamp(28px, 3.4vw, 38px); margin: 12px 0 16px; }
.press-feature blockquote {
  margin: 0 0 22px; font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 22px; line-height: 1.4; color: var(--muted);
}
.press-feature a {
  margin-top: auto; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; font-size: 13.5px; text-decoration: none;
}
.press-feature a:hover { text-decoration: underline; }
.press-side { display: grid; gap: 28px; align-content: start; }
.press-note { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: var(--paper); }
.press-note h3 { font-size: 24px; margin-bottom: 8px; }
.press-note p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .press-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 32px 30px; display: flex; flex-direction: column; margin: 0;
}
.quote-card .mark {
  font-family: "Cormorant Garamond", serif; font-size: 44px;
  line-height: 0.6; color: var(--gold); margin-bottom: 18px;
}
.quote-card blockquote {
  margin: 0 0 20px; font-family: "Cormorant Garamond", serif;
  font-size: 21.5px; line-height: 1.42; font-style: italic;
}
.quote-card figcaption {
  margin-top: auto; font-size: 14px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint); font-weight: 500;
}
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { background: var(--surface); border-block: 1px solid var(--line); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.photo-card {
  margin: 0; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; background: var(--surface); display: flex; flex-direction: column;
}
.photo-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--surface-2); }
.photo-card figcaption {
  padding: 14px 18px; font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 18.5px; line-height: 1.35; color: var(--muted);
}
@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- Follow ---------- */
.follow { text-align: center; }
.follow .label { display: block; }
.follow h2 { font-size: clamp(36px, 5vw, 54px); margin: 14px 0 16px; }
.follow p { color: var(--muted); font-size: 18.5px; max-width: 34em; margin: 0 auto 30px; }
.follow .btn { font-size: 15px; padding: 16px 34px; }

/* ---------- Footer ---------- */
footer.site-footer { border-top: 1px solid var(--line); padding: 54px 0 40px; background: var(--surface); }
.footer-grid { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
.footer-grid nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-grid nav a {
  color: var(--muted); text-decoration: none; font-size: 14px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.footer-grid nav a:hover { color: var(--olive); }
.footer-meta {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-between;
  color: var(--faint); font-size: 14px;
}
.footer-meta a { color: var(--muted); }
