:root {
  --maroon: #6B0000;
  --red: #8A120C;
  --coffee: #2A130B;
  --cream: #F5E8D6;
  --beige: #E8C79D;
  --white: #FFFFFF;
  --black: #111111;
  --shadow: 0 18px 45px rgba(42, 19, 11, .18);
  --radius: 8px;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--coffee);
  background: var(--cream);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 60px);
  color: var(--cream);
  background: linear-gradient(180deg, rgba(17, 17, 17, .72), rgba(17, 17, 17, 0));
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}
.site-header.scrolled, body:not(.on-home) .site-header {
  color: var(--coffee);
  background: rgba(245, 232, 214, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(42, 19, 11, .12);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 900;
}
.brand-text { max-width: 170px; line-height: 1.1; }
.desktop-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 700; }
.desktop-nav a { opacity: .9; }
.desktop-nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .hamburger, .panel-close {
  border: 0;
  cursor: pointer;
  color: inherit;
  background: transparent;
}
.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
}
.site-header.scrolled .icon-button, body:not(.on-home) .icon-button { border-color: rgba(42, 19, 11, .22); }
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-size: 12px;
  font-style: normal;
}
.cart-toggle em { position: absolute; top: -5px; right: -5px; }
.hamburger { display: none; width: 42px; height: 42px; }
.hamburger span { display: block; height: 2px; margin: 6px 7px; background: currentColor; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.button-small { min-height: 42px; padding: 0 18px; }
.button.primary { background: var(--maroon); color: var(--cream); }
.button.primary:hover { background: var(--cream); color: var(--maroon); }
.button.primary.dark:hover { background: var(--coffee); color: var(--cream); }
.button.secondary { border-color: currentColor; color: var(--cream); background: transparent; }
.button.secondary:hover { background: var(--cream); color: var(--maroon); }
.button.secondary.dark { color: var(--maroon); border-color: var(--maroon); }
.button.secondary.dark:hover { background: var(--maroon); color: var(--cream); }
.button.full { width: 100%; margin-top: 10px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center-row { justify-content: center; }
.center { margin-top: 28px; text-align: center; }

.page { display: none; min-height: 70vh; }
.page-active { display: block; animation: pageIn .35s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: var(--header-h) clamp(20px, 7vw, 110px) 70px;
  overflow: hidden;
  color: var(--cream);
}
.hero-video, .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  background:
    radial-gradient(circle at 22% 45%, rgba(138, 18, 12, .54), transparent 32%),
    linear-gradient(90deg, rgba(42, 19, 11, .88), rgba(107, 0, 0, .62) 44%, rgba(17, 17, 17, .42));
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--beige);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
}
.eyebrow.dark { color: var(--red); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.05; margin: 0 0 18px; letter-spacing: 0; }
h1 { font-size: clamp(44px, 6vw, 86px); max-width: 850px; }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: 24px; }
.hero-copy { max-width: 620px; font-size: clamp(18px, 2vw, 22px); margin: 0 0 30px; color: rgba(245, 232, 214, .9); }
.reveal { animation: fadeUp .8s ease .15s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

.steam {
  position: absolute;
  z-index: 1;
  width: 90px;
  height: 160px;
  border-radius: 50%;
  border-left: 2px solid rgba(245, 232, 214, .28);
  filter: blur(.2px);
  animation: steam 4.5s infinite ease-in-out;
}
.steam-one { left: 55%; top: 42%; }
.steam-two { left: 61%; top: 36%; animation-delay: 1.2s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(30px) scale(.8); } 45% { opacity: .9; } 100% { opacity: 0; transform: translateY(-70px) scale(1.25); } }
.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(245, 232, 214, .75);
  border-radius: 999px;
}
.scroll-cue:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  border-radius: 8px;
  background: var(--cream);
  transform: translateX(-50%);
  animation: cue 1.4s infinite;
}
@keyframes cue { to { transform: translate(-50%, 14px); opacity: 0; } }

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--coffee);
}
.trust-bar article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 112px;
  padding: 24px;
  color: var(--cream);
  background: linear-gradient(135deg, var(--maroon), var(--coffee));
}
.trust-bar span { font-size: 28px; color: var(--beige); }

.section { padding: clamp(70px, 9vw, 130px) clamp(20px, 6vw, 90px); }
.section-head { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-head.light { position: relative; z-index: 1; color: var(--cream); }
.section-head.light p { color: rgba(245, 232, 214, .82); }
.cream { background: var(--white); }
.split, .location-preview, .checkout-grid, .order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.photo-tile {
  min-height: 480px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.copy-block p { font-size: 18px; }

.product-grid, .card-grid, .gallery-grid {
  display: grid;
  gap: 24px;
}
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card, .info-card, .form-panel, .order-cart, .cart-totals {
  background: var(--white);
  border: 1px solid rgba(42, 19, 11, .11);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(42, 19, 11, .08);
}
.product-card { overflow: hidden; }
.product-card figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--coffee); }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover img { transform: scale(1.07); }
.product-card .card-body { padding: 22px; }
.product-card p { min-height: 52px; margin: 0 0 16px; color: rgba(42, 19, 11, .75); }
.price { display: block; margin-bottom: 18px; color: var(--maroon); font-size: 20px; font-weight: 900; }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.info-card { padding: 28px; }
.info-card span, .timeline-grid span { display: block; color: var(--red); font-weight: 900; margin-bottom: 10px; }

.story-band {
  position: relative;
  padding: clamp(80px, 12vw, 150px) 20px;
  overflow: hidden;
  text-align: center;
  color: var(--cream);
  background: linear-gradient(135deg, var(--coffee), var(--maroon));
}
.pattern {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(45deg, rgba(245, 232, 214, .35) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(245, 232, 214, .35) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(245, 232, 214, .35) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(245, 232, 214, .35) 75%);
  background-size: 46px 46px;
  background-position: 0 0, 0 23px, 23px -23px, -23px 0;
}

.map-card {
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.map-card.compact, .map-card.compact iframe { min-height: 260px; }

.testimonial-slider { position: relative; max-width: 860px; min-height: 220px; margin: auto; }
.review {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 36px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: .45s ease;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.review.active { opacity: 1; transform: translateY(0); }
.review strong { color: var(--red); }
.review p { max-width: 680px; font-size: 22px; font-family: Georgia, serif; }

.gallery-grid { grid-template-columns: repeat(6, 1fr); }
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .3s ease, filter .3s ease;
}
.gallery-grid img:hover { transform: scale(1.04); filter: saturate(1.08); }

.final-cta {
  display: grid;
  place-items: center;
  gap: 18px;
  padding: clamp(70px, 10vw, 120px) 20px;
  text-align: center;
  color: var(--cream);
  background: linear-gradient(135deg, var(--maroon), var(--coffee));
}
.final-cta h2 { margin: 0; }

.sub-hero {
  min-height: 470px;
  display: grid;
  place-items: end start;
  padding: calc(var(--header-h) + 80px) clamp(20px, 7vw, 110px) 70px;
  color: var(--cream);
  background: linear-gradient(rgba(42, 19, 11, .55), rgba(42, 19, 11, .65)), center / cover no-repeat;
}
.sub-hero.short { min-height: 300px; background: linear-gradient(135deg, var(--coffee), var(--maroon)); }
.sub-hero p { max-width: 660px; margin: 0; font-size: 20px; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}
.tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(107, 0, 0, .22);
  border-radius: 999px;
  color: var(--maroon);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}
.tab.active { color: var(--cream); background: var(--maroon); }

.heritage {
  color: var(--cream);
  background:
    linear-gradient(rgba(42, 19, 11, .78), rgba(42, 19, 11, .84)),
    url("https://images.unsplash.com/photo-1442512595331-e89e73853f31?auto=format&fit=crop&w=1800&q=82") center / cover;
}
.heritage p { max-width: 850px; font-size: 20px; }
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
.timeline-grid article { padding: 28px; background: var(--cream); border-radius: var(--radius); }
.wide-photo {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 40px;
  color: var(--cream);
  text-align: center;
  background: linear-gradient(rgba(42, 19, 11, .42), rgba(42, 19, 11, .58)), center / cover no-repeat;
}

.form-panel { display: grid; gap: 14px; padding: clamp(24px, 4vw, 42px); }
.form-panel input, .form-panel textarea, .form-panel select, .coupon-row input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(42, 19, 11, .18);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--coffee);
  background: #fffaf3;
}
.form-panel textarea { min-height: 120px; resize: vertical; }
.order-layout { align-items: start; grid-template-columns: minmax(0, 1fr) 360px; }
.order-cart { position: sticky; top: 110px; padding: 24px; }
.fast-list { display: grid; gap: 16px; }
.fast-item, .cart-line {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: var(--white);
  border: 1px solid rgba(42, 19, 11, .1);
  border-radius: var(--radius);
}
.fast-item img, .cart-line img { width: 92px; height: 78px; object-fit: cover; border-radius: var(--radius); }
.qty-row { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0; }
.qty-row button, .qty-mini button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(107, 0, 0, .25);
  border-radius: 50%;
  color: var(--maroon);
  background: transparent;
  cursor: pointer;
}
.qty-row input { width: 46px; height: 34px; text-align: center; border: 0; background: transparent; font-weight: 900; }
.qty-mini { display: flex; align-items: center; gap: 8px; }
.drawer-total, .cart-totals p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(42, 19, 11, .12);
}
.coupon-row {
  display: flex;
  gap: 12px;
  max-width: 650px;
  margin: 22px 0;
}
.cart-totals { max-width: 520px; margin-left: auto; padding: 28px; }
.checkout-grid { align-items: start; grid-template-columns: minmax(0, 1fr) 380px; }
.toast-box {
  min-height: 86px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(107, 0, 0, .4);
  border-radius: var(--radius);
  color: var(--maroon);
  background: #fff7eb;
  font-weight: 800;
}
.small-note { font-size: 14px; color: rgba(42, 19, 11, .7); }

.mobile-panel, .cart-drawer, .quick-modal {
  position: fixed;
  z-index: 80;
  transition: transform .28s ease, opacity .28s ease;
}
.mobile-panel, .cart-drawer {
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100vh;
  padding: 26px;
  color: var(--coffee);
  background: var(--cream);
  box-shadow: -18px 0 45px rgba(17, 17, 17, .22);
  transform: translateX(104%);
}
.mobile-panel.open, .cart-drawer.open { transform: translateX(0); }
.mobile-panel { display: grid; align-content: start; gap: 18px; font-size: 20px; font-weight: 800; }
.panel-close { justify-self: end; font-size: 34px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-items { display: grid; gap: 14px; max-height: 52vh; overflow: auto; }
.scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(17, 17, 17, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.scrim.show { opacity: 1; pointer-events: auto; }

.quick-modal {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 17, 17, .56);
  opacity: 0;
  pointer-events: none;
}
.quick-modal.open { opacity: 1; pointer-events: auto; }
.modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  width: min(920px, 100%);
  padding: 24px;
  border-radius: var(--radius);
  background: var(--cream);
}
.modal-card img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.modal-close { position: absolute; top: 10px; right: 18px; color: var(--coffee); }

.site-footer {
  padding: 60px clamp(20px, 6vw, 90px);
  color: var(--cream);
  background: var(--coffee);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-footer a { display: block; margin: 8px 0; color: rgba(245, 232, 214, .78); }
.footer-brand { color: var(--cream); margin-bottom: 20px; }
.payment-icons { color: var(--beige); font-weight: 900; }

.mobile-cart-bar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  color: var(--cream);
  background: var(--coffee);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.mobile-cart-bar .button { min-height: 38px; padding: 0 12px; font-size: 13px; }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .hamburger { display: block; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid.four, .timeline-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .site-header { padding: 0 14px; }
  .brand-text { display: none; }
  .header-actions .button-small { display: none; }
  .hero { min-height: 92vh; }
  h1 { font-size: 42px; }
  .trust-bar, .split, .location-preview, .checkout-grid, .order-layout, .modal-card { grid-template-columns: 1fr; }
  .product-grid, .card-grid.three, .card-grid.four, .timeline-grid, .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
  .photo-tile { min-height: 340px; }
  .gallery-grid img { height: 260px; }
  .fast-item, .cart-line { grid-template-columns: 76px 1fr; }
  .fast-item > .button, .cart-line > .qty-mini { grid-column: 1 / -1; width: 100%; }
  .fast-item img, .cart-line img { width: 76px; height: 70px; }
  .coupon-row { flex-direction: column; }
  .order-cart { position: static; }
  .modal-card img { height: 300px; }
  .mobile-cart-bar { display: flex; }
  body { padding-bottom: 80px; }
}
