:root {
  --bg: #fbf4ec;
  --bg-2: #f5e8da;
  --card: #ffffff;
  --ink: #33200f;
  --ink-2: #6f5643;
  --accent: #b0513a;
  --accent-2: #8d3f2d;
  --line: #e7d6c3;
  --wa: #2fa463;
  --shadow: 0 18px 40px -22px rgba(60, 32, 15, 0.45);
  --shadow-sm: 0 8px 20px -14px rgba(60, 32, 15, 0.5);
  --radius: 18px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bar: rgba(251, 244, 236, 0.88);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191009;
    --bg-2: #1f150d;
    --card: #251a12;
    --ink: #f5e8db;
    --ink-2: #c6ae9a;
    --accent: #e5896b;
    --accent-2: #f0a188;
    --line: #3e2c20;
    --wa: #46b87c;
    --shadow: 0 20px 44px -24px rgba(0, 0, 0, 0.8);
    --shadow-sm: 0 10px 22px -16px rgba(0, 0, 0, 0.85);
    --bar: rgba(25, 16, 9, 0.9);
  }
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-2); }

h1, h2, h3, .brand-name, .panel-title, .footer-name {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bar);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar-in {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.brand-name { font-size: 1.22rem; }

.nav { display: none; gap: 26px; }

.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav a:hover { color: var(--accent-2); border-bottom-color: var(--accent); }

.nav-cta { display: none; }

@media (min-width: 900px) {
  .nav, .nav-cta { display: flex; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-sm { padding: 11px 18px; font-size: 0.93rem; }

.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-call { background: var(--accent); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--accent-2);
  border-color: var(--accent);
}

.btn-ghost:hover { background: var(--accent); color: #fff; }

.ic { width: 19px; height: 19px; fill: currentColor; flex: none; }

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(1000px 420px at 12% -8%, var(--bg-2), transparent 60%),
    radial-gradient(760px 380px at 92% 6%, var(--bg-2), transparent 62%);
  padding: clamp(40px, 6vw, 82px) 0 clamp(48px, 7vw, 92px);
}

.hero-in {
  display: grid;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-2);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.9rem, 8vw, 4.6rem);
  letter-spacing: -0.02em;
}

.tagline {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.12rem, 2.6vw, 1.42rem);
  color: var(--accent-2);
}

.hero-lede {
  margin: 20px 0 0;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 1.06rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
}

.chips li {
  font-size: 0.86rem;
  color: var(--ink-2);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
}

.hero-art {
  position: relative;
  padding: 0 0 46px 0;
  max-width: 480px;
  justify-self: center;
  width: 100%;
}

.hero-img-a {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px 22px 22px;
  box-shadow: var(--shadow);
}

.hero-img-b {
  position: absolute;
  right: -6px;
  bottom: 0;
  width: 44%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 6px solid var(--card);
  box-shadow: var(--shadow);
  transform: rotate(-5deg);
}

.hero-badge {
  position: absolute;
  left: -6px;
  top: 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-size: 0.92rem;
  line-height: 1.25;
  padding: 14px 16px;
  border-radius: 50%;
  width: 92px;
  height: 92px;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(-12deg);
  box-shadow: var(--shadow-sm);
}

.hero-badge em { display: block; font-style: italic; font-size: 1.15rem; }

@media (min-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .hero-art { justify-self: end; }
}

/* ---------- sections ---------- */

.section {
  padding: clamp(48px, 6.5vw, 92px) 0;
  scroll-margin-top: 78px;
}

.section-tint { background: var(--bg-2); }

.section-head { margin-bottom: 30px; max-width: 60ch; }

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.section-lede { margin: 12px 0 0; color: var(--ink-2); }

/* ---------- panels / accordions ---------- */

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.panel + .panel, .accordions .panel + .panel { margin-top: 14px; }

.panel summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 22px 26px;
  position: relative;
  list-style: none;
  padding-right: 62px;
}

.panel summary::-webkit-details-marker { display: none; }

.panel summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

.panel-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-2);
}

.panel-title { font-size: 1.32rem; }

.panel-sm .panel-title { font-size: 1.12rem; }

.panel summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -8px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.28s ease, margin-top 0.28s ease;
}

.panel[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }

.panel summary:hover .panel-title { color: var(--accent-2); }

.panel-body { padding: 0 26px 26px; }

.panel-note { margin: 0; color: var(--ink-2); max-width: 62ch; }

/* ---------- story ---------- */

.story-grid { display: grid; gap: 30px; }

.story-text p { margin: 0 0 16px; max-width: 64ch; }

.story-text p:last-child { margin-bottom: 0; }

.signoff {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-2);
  margin-top: 22px !important;
}

.signoff span { font-size: 1.45rem; color: var(--accent-2); }

.story-photos {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 12px;
}

.polaroid {
  margin: 0;
  background: #fff;
  padding: 10px 10px 30px;
  border-radius: 3px;
  box-shadow: var(--shadow);
  position: relative;
  flex: 1 1 0;
  max-width: 210px;
}

.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 1px;
}

.polaroid::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 58px;
  height: 20px;
  background: rgba(176, 81, 58, 0.45);
  transform: translateX(-50%) rotate(-3deg);
  border-radius: 2px;
}

.tilt-a { transform: rotate(-4deg); }
.tilt-b { transform: rotate(3.5deg); }

@media (min-width: 880px) {
  .story-grid { grid-template-columns: 320px minmax(0, 1fr); gap: 46px; align-items: start; }
  .story-photos { padding-top: 6px; }
  .polaroid { max-width: none; }
}

/* ---------- menu items ---------- */

.items { list-style: none; margin: 0; padding: 0; }

.item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px dashed var(--line);
}

.item:first-child { border-top: none; padding-top: 0; }

.item-name { font-size: 1.02rem; }

.dots {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  min-width: 24px;
  transform: translateY(-4px);
}

.price { color: var(--accent-2); font-weight: 600; }

@media (min-width: 760px) {
  .accordions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-content: start; }
  .accordions .panel + .panel { margin-top: 0; }
}

/* ---------- gallery ---------- */

.gal {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gal img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s ease;
}

.gal img:hover { transform: scale(1.03); }

.gal-cta {
  aspect-ratio: 1;
  border-radius: 14px;
  border: 2px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 18px;
  background: var(--card);
}

.gal-cta-line {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--accent-2);
}

@media (min-width: 820px) {
  .gal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- featured product ---------- */

.feature {
  margin-top: 34px;
  display: grid;
  gap: 24px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.feature-art {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.feature-copy h3 { margin: 6px 0 10px; font-size: clamp(1.4rem, 3vw, 1.9rem); }

.feature-copy p { margin: 0 0 12px; color: var(--ink-2); max-width: 48ch; }

.feature-price {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--accent-2) !important;
  font-weight: 600;
  margin-bottom: 18px !important;
}

@media (min-width: 820px) {
  .feature { grid-template-columns: 340px minmax(0, 1fr); gap: 42px; padding: 30px; }
  .feature-art { margin: 0; }
}

/* ---------- cards ---------- */

.cards { display: grid; gap: 18px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card h3 { margin: 0 0 12px; font-size: 1.22rem; }

.card p { margin: 0 0 10px; color: var(--ink-2); }

.card .big { color: var(--ink); font-size: 1.06rem; }

.card .btn { margin-top: auto; }

.card address { font-style: normal; color: var(--ink-2); margin-bottom: 18px; }

.contact-list { list-style: none; margin: 0; padding: 0; }

.contact-list li { padding: 7px 0; border-top: 1px dashed var(--line); }

.contact-list li:first-child { border-top: none; padding-top: 0; }

.contact-list a { color: var(--ink); text-decoration: none; }

.contact-list a:hover { color: var(--accent-2); }

@media (min-width: 820px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 40px;
  text-align: center;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.footer-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 2px solid var(--accent);
}

.footer-name { font-size: 1.3rem; color: var(--ink); margin: 0 0 6px; }

.footer p { margin: 0; }

/* ---------- mobile order bar ---------- */

.mobilebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--bar);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
}

.mobilebar .btn { flex: 1; padding: 13px 10px; }

@media (min-width: 900px) { .mobilebar { display: none; } }

@media (max-width: 899px) { body { padding-bottom: 78px; } }

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

/* ---------- promo bar ---------- */

.promo {
  margin: 0;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 9px 16px;
}

/* ---------- cart buttons ---------- */

.cart-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-family: var(--sans);
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.cart-btn:hover { background: var(--accent-2); }

@media (min-width: 900px) { .cart-btn { display: inline-flex; } }

.btn-cart { background: var(--accent); color: #fff; border: none; cursor: pointer; font-family: var(--sans); position: relative; }

.cart-count {
  background: #fff;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 700;
  min-width: 21px;
  height: 21px;
  border-radius: 999px;
  display: inline-grid;
  place-content: center;
  padding: 0 5px;
}

/* ---------- menu rows with variants ---------- */

.item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name name"
    "variant price"
    "add add";
  gap: 8px 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
}

.item:first-child { border-top: none; padding-top: 0; }

.item-name { grid-area: name; font-size: 1.02rem; font-weight: 500; }

.variants {
  grid-area: variant;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.variant {
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 10px;
  cursor: pointer;
  max-width: 100%;
}

.item .price { grid-area: price; text-align: right; white-space: nowrap; }

.price s { color: var(--ink-2); opacity: 0.7; font-size: 0.86rem; margin-right: 4px; }

.price b { color: var(--accent-2); font-weight: 700; font-size: 1.05rem; }

.add {
  grid-area: add;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  justify-self: start;
  transition: background 0.2s ease;
}

.add:hover { background: var(--accent-2); }
.add.added { background: var(--wa); }

@media (min-width: 560px) {
  .item {
    grid-template-columns: 1fr auto auto auto;
    grid-template-areas: "name variant price add";
    gap: 14px;
  }
  .item .price { min-width: 92px; }
}

.feature-copy .variants { display: flex; margin-bottom: 16px; }
.feature-price.price s { font-size: 1.05rem; }
.feature-price.price b { font-size: 1.6rem; font-family: var(--serif); }
.feature-copy .add { justify-self: start; }

/* ---------- cart drawer ---------- */

.cart { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.cart.open { visibility: visible; }

.cart-scrim {
  position: absolute;
  inset: 0;
  background: rgba(30, 16, 8, 0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.cart.open .cart-scrim { opacity: 1; }

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 50px -30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.cart.open .cart-panel { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 { margin: 0; font-size: 1.3rem; }

.cart-close {
  background: none;
  border: none;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--ink-2);
  cursor: pointer;
  padding: 0 4px;
}
.cart-close:hover { color: var(--accent); }

.cart-lines { flex: 1; overflow-y: auto; padding: 14px 22px; }

.cart-empty { color: var(--ink-2); text-align: center; padding: 40px 10px; margin: 0; }

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.cart-line-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-line-name { font-weight: 500; font-size: 0.97rem; }
.cart-line-variant { font-size: 0.83rem; color: var(--ink-2); }
.cart-line-total { font-weight: 600; white-space: nowrap; }

.qty { display: flex; align-items: center; gap: 4px; }

.qty button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}
.qty button:hover { border-color: var(--accent); color: var(--accent-2); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }

.cart-summary { border-top: 1px solid var(--line); padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); background: var(--card); }
.cart-summary:empty { display: none; }

.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--ink-2); font-size: 0.95rem; }
.sum-off { color: var(--wa); font-weight: 600; }
.sum-total { color: var(--ink); font-size: 1.22rem; font-weight: 700; font-family: var(--serif); padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
.sum-note { margin: 10px 0 14px; font-size: 0.86rem; color: var(--ink-2); }
.sum-fine { margin: 10px 0 0; font-size: 0.79rem; color: var(--ink-2); text-align: center; }
.cart-summary .checkout { width: 100%; cursor: pointer; font-family: var(--sans); border: none; }

body.drawer-open { overflow: hidden; }

.mobilebar .btn { font-size: 0.88rem; gap: 6px; padding: 13px 8px; }
.mobilebar .ic { width: 17px; height: 17px; }

/* ---------- row stepper ---------- */

.buy { grid-area: add; justify-self: start; }

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  padding: 3px;
  background: var(--card);
}

.stepper .step {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-content: center;
  font-family: var(--sans);
}

.stepper .step:hover { background: var(--accent-2); }

.step-qty {
  min-width: 30px;
  text-align: center;
  font-weight: 700;
  color: var(--ink);
}

.feature-copy .stepper { padding: 4px; }
.feature-copy .stepper .step { width: 36px; height: 36px; }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translate(-50%, 14px);
  z-index: 95;
  background: var(--ink);
  color: var(--bg);
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 500;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: calc(100% - 32px);
  text-align: center;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 900px) { .toast { bottom: 32px; } }
