:root {
  --cream: #F6F1EB;
  --paper: #FFFDF9;
  --tint: #EFE7DE;
  --ink: #2B2622;
  --ink-2: #4A433D;
  --muted: #7A7068;
  --line: #E2D8CD;
  --rose: #B4475F;
  --rose-soft: #F3DCE0;
  --sage: #A9C4A2;
  --honey: #E7B743;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(43,38,34,.05), 0 10px 30px -12px rgba(43,38,34,.18);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--rose); }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }

.eyebrow {
  font: 500 12px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 16px;
}

/* Buttons */
.btn { white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 15px/1 var(--sans); letter-spacing: .04em; text-decoration: none;
  padding: 16px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--rose); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--rose-soft); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--rose); }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--rose); padding-bottom: 2px; }
.link-arrow::after { content: ' →'; }
.link-arrow:hover { color: var(--rose); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246,241,235,.88); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.brand-name { font: 500 13px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.nav { display: flex; gap: 32px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.nav a:hover { color: var(--rose); }
.cart-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 600;
}

/* Hero */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); }
.lede { font-size: 19px; color: var(--ink-2); margin-top: 24px; max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { list-style: none; padding: 0; margin: 48px 0 0; display: flex; gap: 32px; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; border-left: 2px solid var(--rose-soft); }
.hero-facts strong { font: 500 15px/1.3 var(--sans); letter-spacing: .04em; }
.hero-facts span { font-size: 14px; color: var(--muted); }

.hero-art { position: relative; height: 560px; }
.ha { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); padding: 8px; }
.ha img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.ha-1 { width: 58%; height: 78%; left: 0; top: 4%; transform: rotate(-3deg); }
.ha-2 { width: 50%; height: 56%; right: 0; top: 0; transform: rotate(4deg); }
.ha-3 { width: 46%; height: 46%; right: 6%; bottom: 0; transform: rotate(-2deg); }
.sticker {
  position: absolute; left: 46%; bottom: 6%; width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; background: var(--rose); color: var(--paper);
  font: italic 500 19px/1.1 var(--serif); transform: rotate(-10deg); box-shadow: var(--shadow);
}

/* Ribbon */
.ribbon { background: var(--ink); color: var(--cream); overflow: hidden; padding: 16px 0; }
.ribbon-track { display: flex; gap: 28px; width: max-content; animation: scroll 40s linear infinite; font: italic 400 20px/1 var(--serif); white-space: nowrap; }
.ribbon-track span:nth-child(even) { color: var(--rose-soft); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon-track { animation: none; } }

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); }
.section-sub { color: var(--ink-2); margin-top: 16px; }

/* Menu */
.menu-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.card { grid-column: span 2; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card-img { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.tag { position: absolute; top: 14px; left: 14px; background: var(--paper); color: var(--rose); font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.card-body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 24px; }
.card-body > p { color: var(--muted); font-size: 15px; margin-top: 10px; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.price { font: 500 22px/1 var(--serif); }
.price span { font: 400 14px var(--sans); color: var(--muted); }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.stepper button { width: 38px; height: 38px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--rose-soft); }
.stepper span { min-width: 72px; text-align: center; font-size: 14px; font-weight: 500; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 18px; margin-bottom: 40px; }
.g { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.g-tall { grid-row: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g:hover img { transform: scale(1.04); }
.g figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(255,253,249,.94);
  font: italic 400 16px/1 var(--serif); padding: 10px 14px; border-radius: 999px;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rose-soft); color: var(--rose); font: 500 20px/1 var(--serif); margin-bottom: 20px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Order */
.order-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.order-summary { position: sticky; top: 100px; }
.order-summary h2 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 28px; }
.cart { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 24px; }
.cart-empty { padding: 28px 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; color: var(--muted); }
.cart-lines { list-style: none; padding: 0; margin: 0; }
.cart-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-lines img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.cart-lines strong { display: block; font-weight: 500; font-size: 15px; }
.cart-lines span { font-size: 14px; color: var(--muted); }
.cart-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cart-right > span { color: var(--ink); font-weight: 500; }
.cart-right .link-btn { font-size: 13px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0 16px; }
.cart-total strong { font: 500 28px/1 var(--serif); }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }

.order-form { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
fieldset { border: 0; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 16px; }
legend { font: 500 22px/1 var(--serif); margin-bottom: 20px; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.order-form label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--cream);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%;
  transition: border-color .2s, background .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rose); background-color: var(--paper); }
textarea { resize: vertical; }
/* iPhone Safari draws date boxes its own way (centered, shorter, can overflow): make it match the other fields */
input[type="date"] {
  -webkit-appearance: none; appearance: none;
  display: block; min-width: 0; max-width: 100%; height: 50px; text-align: left; line-height: 1.4;
}
input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
input[type="date"]::-webkit-datetime-edit { padding: 0; }
input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
select { -webkit-appearance: none; appearance: none; min-height: 50px; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237A7068' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.row > label { min-width: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border-radius: 999px; padding: 4px; border: 1.5px solid var(--line); }
.order-form .seg-opt { position: relative; display: block; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span { display: block; text-align: center; padding: 11px; border-radius: 999px; cursor: pointer; font-size: 15px; }
.seg-opt input:checked + span { background: var(--ink); color: var(--paper); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.form-error { background: var(--rose-soft); color: var(--rose); padding: 12px 16px; border-radius: 12px; font-size: 15px; margin-bottom: 16px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font: 500 20px/1.3 var(--serif); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 28px/1 var(--sans); color: var(--rose); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--ink-2); padding: 0 40px 24px 0; }

/* CTA + footer */
.cta-band { background: var(--rose); color: var(--paper); padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); font-style: italic; }
.site-footer { background: var(--ink); color: #CFC6BC; padding: 64px 0 28px; font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr 1fr; gap: 48px; align-items: start; }
.footer-logo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.footer-title { font: 500 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--paper); margin-bottom: 14px; }
.site-footer a { color: #CFC6BC; text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.copyright { border-top: 1px solid #443D37; margin-top: 48px; padding-top: 24px; font-size: 13px; color: #8F857B; }

/* Mobile bar */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none;
  justify-content: space-between; align-items: center; padding: 16px 22px; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500; box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.mobile-bar > span:last-child::after { content: ' →'; }

/* Dialog */
.confirm { border: 0; padding: 0; border-radius: 24px; width: min(520px, 100% - 32px); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.confirm::backdrop { background: rgba(43,38,34,.55); backdrop-filter: blur(3px); }
.confirm-inner { padding: 36px; }
.confirm h2 { font-size: 34px; margin-bottom: 12px; }
.confirm-inner > p:not(.eyebrow) { color: var(--ink-2); }
.confirm-text { white-space: pre-wrap; font: 400 14px/1.55 var(--sans); background: var(--cream); border-radius: 14px; padding: 16px 18px; margin: 20px 0; max-height: 220px; overflow: auto; }
.confirm-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1000px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { height: 440px; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: span 1; }
  .card:nth-child(5) { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .brand-name { font-size: 11px; letter-spacing: .2em; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { padding: 40px 0 56px; }
  .lede { font-size: 17px; }
  .hero-ctas .btn { flex: 1; padding-inline: 16px; }
  .hero-facts { gap: 18px; margin-top: 36px; }
  .hero-art { height: 360px; }
  .sticker { width: 88px; height: 88px; font-size: 15px; left: 40%; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .menu-grid { grid-template-columns: 1fr; }
  .card, .card:nth-child(5) { grid-column: span 1; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 10px; }
  .g figcaption { font-size: 13px; padding: 7px 10px; left: 8px; bottom: 8px; }
  .steps { grid-template-columns: 1fr; }
  .order-form { padding: 24px 20px; }
  .row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .mobile-bar:not([hidden]) { display: flex; }
  .site-footer { padding-bottom: 96px; }
  .confirm-inner { padding: 28px 22px; }
}
