/* ===========================================================
   Ozarks Coffee Co — styles.css
   Palette + type system per brief, mobile-first.
   =========================================================== */

:root {
  --espresso: #3B2418;
  --walnut:   #6B4423;
  --cream:    #F4ECD8;
  --cream-2:  #EFE5CC;
  --moss:     #4A5D3A;
  --burnt:    #C8551B;
  --burnt-2:  #B14914;
  --charcoal: #2A1F18;

  --bg:       var(--cream);
  --ink:      var(--charcoal);
  --ink-soft: rgba(42, 31, 24, 0.72);
  --rule:     rgba(59, 36, 24, 0.18);
  --paper:    #FBF6E8;

  --serif:  'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
  --mono:   ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace;

  --maxw:   1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(42,31,24,.06), 0 2px 8px rgba(42,31,24,.06);
  --shadow-md: 0 6px 22px rgba(42,31,24,.10), 0 2px 6px rgba(42,31,24,.06);
  --shadow-lg: 0 24px 60px rgba(42,31,24,.22);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--burnt);
  outline-offset: 3px;
  border-radius: 4px;
}

/* paper-grain background overlay on the whole page */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.23  0 0 0 0 0.14  0 0 0 0 0.09  0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.16'/></svg>");
  opacity: .35;
  mix-blend-mode: multiply;
  z-index: 1000;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 .5em;
  color: var(--espresso);
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 144;
}
h1 { font-size: clamp(38px, 7vw, 76px); letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.6vw, 52px); }
h3 { font-size: clamp(22px, 2.6vw, 30px); }
h4 { font-size: clamp(18px, 2vw, 22px); font-weight: 500; }
p  { margin: 0 0 1em; max-width: 65ch; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burnt);
  margin: 0 0 1.2rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--burnt);
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--espresso); color: var(--cream);
  padding: 10px 16px; border-radius: var(--r-sm);
  z-index: 2000; font-family: var(--mono); font-size: 13px;
}
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--cream { background: var(--cream-2); }
.section--paper { background: var(--paper); }
.section--espresso { background: var(--espresso); color: var(--cream); }
.section--espresso h1, .section--espresso h2, .section--espresso h3 { color: var(--cream); }

/* hairline divider with wood-grain feel */
.rule {
  height: 1px;
  background:
    linear-gradient(to right, transparent, rgba(59,36,24,.35), transparent);
  border: 0; margin: 0;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 236, 216, 0.92);
  backdrop-filter: saturate(1.1) blur(10px);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0; min-height: 64px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--espresso);
  font-size: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.wordmark svg { flex: 0 0 auto; }
.wordmark small {
  display: none;
  font-family: var(--mono); font-weight: 500; font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
}
@media (min-width: 720px) { .wordmark small { display: inline; margin-left: 4px; } }

.nav-list {
  display: none;
  list-style: none; margin: 0; padding: 0; gap: 28px;
}
.nav-list a {
  font-size: 14px; font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav-list a[aria-current="page"]::after,
.nav-list a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--burnt);
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--espresso); color: var(--cream);
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--charcoal); }

.nav-right { display: flex; align-items: center; gap: 12px; }

@media (min-width: 880px) {
  .nav-list { display: flex; }
  .nav-toggle { display: none !important; }
}

/* hamburger */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: transparent; border: 1px solid var(--rule);
  border-radius: 10px; color: var(--espresso);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor;
  position: relative; transition: transform .2s, top .2s, opacity .2s;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul {
  list-style: none; margin: 0; padding: 12px var(--gutter) 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-nav a {
  display: block; padding: 14px 0; font-size: 18px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif); font-weight: 500;
}
.mobile-nav a:last-child { border-bottom: 0; }

/* cart button */
.cart-btn {
  position: relative;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--rule); border-radius: 10px;
  color: var(--espresso);
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-btn:hover { background: rgba(59,36,24,.06); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--burnt); color: var(--cream);
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  min-width: 20px; height: 20px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 6px;
  border: 2px solid var(--cream);
  transform: scale(0); transition: transform .18s cubic-bezier(.2,1.4,.4,1);
}
.cart-count.is-visible { transform: scale(1); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  text-align: center;
}
.btn-primary { background: var(--burnt); color: var(--cream); }
.btn-primary:hover { background: var(--burnt-2); }
.btn-secondary { background: transparent; color: var(--cream); border-color: rgba(244,236,216,.55); }
.btn-secondary:hover { background: rgba(244,236,216,.12); }
.btn-ghost { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-ghost:hover { background: var(--espresso); color: var(--cream); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: clamp(560px, 88vh, 820px);
  display: flex; align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(20,12,8,.15) 0%, rgba(20,12,8,.0) 25%, rgba(20,12,8,.55) 75%, rgba(20,12,8,.85) 100%),
    var(--hero-img);
  background-size: cover;
  background-position: center;
}
.hero .container { padding-top: 96px; padding-bottom: clamp(48px, 7vw, 96px); width: 100%; }
.hero h1 { color: var(--cream); max-width: 14ch; }
.hero p.lede {
  color: rgba(244,236,216,.92);
  max-width: 42ch;
  font-size: clamp(17px, 1.6vw, 20px);
  margin-bottom: 1.8em;
}
.hero .eyebrow { color: var(--cream); }
.hero .eyebrow::before { background: var(--cream); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* About hero variant: shorter, copy-led overlay block */
.hero--about {
  min-height: clamp(520px, 78vh, 720px);
  background-position: center 20%;
}
.hero--about h1 { max-width: 18ch; }
.hero--about .lede { font-style: italic; font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); }

/* Shop hero (simpler) */
.shop-head {
  padding: clamp(120px, 14vw, 180px) 0 clamp(48px, 6vw, 72px);
  background: var(--cream);
}
.shop-head h1 { max-width: 16ch; }
.shop-note {
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em;
  color: var(--ink-soft);
  border: 1px dashed var(--rule);
  padding: 10px 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
}
.shop-note::before {
  content: "●"; color: var(--moss); font-size: 10px;
}

/* ---------- two-col story ---------- */
.story-grid {
  display: grid; gap: clamp(32px, 5vw, 64px);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .story-grid { grid-template-columns: 1fr 1fr; } }
.story-grid.reverse > :first-child { order: 2; }
.story-grid .media img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

/* ---------- 3-up feature grid ---------- */
.tri-grid {
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .tri-grid { grid-template-columns: repeat(3, 1fr); } }
.tri-card .media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 18px;
}
.tri-card .media img { width: 100%; height: 100%; object-fit: cover; }
.tri-card h3 { margin-bottom: .25rem; }
.tri-card p { color: var(--ink-soft); margin: 0; }

/* values icons (line) */
.values-grid {
  display: grid; gap: 36px; grid-template-columns: 1fr;
}
@media (min-width: 760px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value .icon {
  width: 56px; height: 56px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--burnt);
  background: rgba(200,85,27,.06);
}
.value h3 { font-size: 22px; margin-bottom: .35rem; }
.value p { color: var(--ink-soft); margin: 0; }

/* ---------- hours/visit card ---------- */
.visit-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0)),
    var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px);
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  position: relative; overflow: hidden;
}
.visit-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='400'><g stroke='%236B4423' stroke-opacity='.07' stroke-width='1' fill='none'><path d='M0 40 Q300 50 600 38'/><path d='M0 90 Q300 100 600 88'/><path d='M0 140 Q300 150 600 138'/><path d='M0 190 Q300 200 600 188'/><path d='M0 240 Q300 250 600 238'/><path d='M0 290 Q300 300 600 288'/><path d='M0 340 Q300 350 600 338'/></g></svg>");
  background-size: cover;
  pointer-events: none;
}
.visit-card > * { position: relative; }
@media (min-width: 760px) { .visit-card { grid-template-columns: repeat(3, 1fr); } }
.visit-col h3 {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--burnt); margin-bottom: 14px;
}
.visit-col p { margin: 0 0 .25em; font-size: 16px; line-height: 1.7; }
.visit-col .row {
  display: flex; justify-content: space-between; gap: 16px;
  border-bottom: 1px dotted var(--rule);
  padding: 6px 0;
  font-size: 15px;
}
.visit-col .row:last-child { border-bottom: 0; }

/* map */
.map-wrap {
  margin-top: 28px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe { width: 100%; height: clamp(280px, 38vw, 420px); border: 0; display: block; }

/* ---------- instagram-style 4-photo grid ---------- */
.gram-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 880px) { .gram-grid { grid-template-columns: repeat(4, 1fr); } }
.gram-grid .tile {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-md);
}
.gram-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gram-grid .tile:hover img { transform: scale(1.05); }

/* ---------- bean section (dark) ---------- */
.bean {
  position: relative; color: var(--cream);
  padding: clamp(80px, 12vw, 140px) 0;
  overflow: hidden;
}
.bean::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--bean-img);
  background-size: cover; background-position: center;
  z-index: -2;
}
.bean::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,12,8,.78), rgba(20,12,8,.86));
  z-index: -1;
}
.bean h2 { color: var(--cream); max-width: 18ch; }
.bean p  { color: rgba(244,236,216,.88); max-width: 60ch; }
.bean .eyebrow { color: var(--cream); }
.bean .eyebrow::before { background: var(--cream); }

/* ---------- team grid ---------- */
.team-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card .media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 18px;
}
.team-card .media img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: .15rem; }
.team-card .role {
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--burnt); margin-bottom: 12px;
}
.team-card p { color: var(--ink-soft); margin: 0; }

/* closing strip */
.closing {
  background: var(--cream-2);
  padding: clamp(80px, 10vw, 120px) 0;
  text-align: center;
}
.closing blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.25; color: var(--espresso);
  max-width: 22ch; margin: 0 auto 28px;
}

/* ---------- shop grid ---------- */
.shop-section { padding: 0 0 clamp(80px, 8vw, 120px); }
.product-grid {
  display: grid; gap: clamp(20px, 3vw, 32px);
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product .media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.product .media img { width: 100%; height: 100%; object-fit: cover; }
.product .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product .meta {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.product h3 { font-size: 22px; margin: 0; }
.product .roast {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-soft);
}
.product .desc { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; flex: 1; margin: 0; }
.product .row-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; gap: 14px;
}
.product .price {
  font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--espresso);
}

.shop-subhead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin: clamp(40px, 6vw, 72px) 0 28px;
}
.shop-subhead h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); }
.shop-subhead .count {
  font-family: var(--mono); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ---------- cart panel ---------- */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(20,12,8,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
  z-index: 200;
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--cream);
  z-index: 210;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-panel.is-open { transform: translateX(0); }

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h2 { margin: 0; font-size: 24px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 8px;
  background: transparent; border: 1px solid var(--rule);
  color: var(--espresso); display: inline-flex; align-items: center; justify-content: center;
}

.cart-body {
  flex: 1; overflow: auto; padding: 12px 24px;
}
.cart-empty {
  text-align: center; padding: 60px 16px;
  color: var(--ink-soft);
}
.cart-empty p { margin: 8px 0 0; }

.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.cart-item .name { font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--espresso); }
.cart-item .sub { font-size: 13px; color: var(--ink-soft); }
.cart-item .qty {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px;
}
.cart-item .qty button {
  width: 24px; height: 24px; border: 1px solid var(--rule); border-radius: 5px;
  background: transparent; color: var(--espresso); font-family: var(--mono);
}
.cart-item .qty span { font-family: var(--mono); min-width: 22px; text-align: center; font-size: 14px; }
.cart-item .line-total { font-family: var(--serif); font-weight: 600; color: var(--espresso); }

.cart-footer {
  border-top: 1px solid var(--rule);
  padding: 20px 24px 24px;
  background: var(--paper);
}
.cart-totals {
  display: flex; justify-content: space-between;
  font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--espresso);
  margin-bottom: 14px;
}

/* ---------- modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20,12,8,.6);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal {
  width: min(520px, 100%);
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform .25s;
  max-height: 90vh; overflow: auto;
}
.modal-overlay.is-open .modal { transform: translateY(0); }
.modal h2 { margin-top: 0; }
.modal .modal-sub { color: var(--ink-soft); margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-family: var(--mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--rule); border-radius: 8px;
  background: var(--paper);
  font: inherit; color: var(--ink);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--burnt);
  box-shadow: 0 0 0 3px rgba(200,85,27,.18);
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } }

.success-screen { text-align: center; }
.success-screen .check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--moss); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.success-screen .order-id {
  font-family: var(--mono); font-size: 13px; letter-spacing: .15em;
  color: var(--burnt); margin-top: 8px;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--espresso); color: rgba(244,236,216,.85);
  padding: clamp(56px, 7vw, 88px) 0 32px;
}
.site-footer .grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .site-footer .grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.site-footer h4 {
  color: var(--cream);
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a { color: rgba(244,236,216,.85); }
.site-footer a:hover { color: var(--cream); }
.site-footer .wordmark { color: var(--cream); }
.site-footer .wordmark svg path { fill: currentColor; }
.site-footer .col p { font-size: 14.5px; line-height: 1.7; margin: 0 0 .35em; max-width: 36ch; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.site-footer .socials { display: flex; gap: 10px; margin-top: 12px; }
.site-footer .socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(244,236,216,.25);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.site-footer .socials a:hover { background: rgba(244,236,216,.1); }
.site-footer .legal {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(244,236,216,.15);
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  color: rgba(244,236,216,.55);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.shop-disclaimer {
  margin-top: 14px; padding: 10px 14px;
  border: 1px dashed rgba(244,236,216,.3);
  border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  color: rgba(244,236,216,.75); display: inline-block;
}

/* ---------- utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lock-scroll { overflow: hidden; }

/* prevent layout shift on lazy images */
img[loading="lazy"] { background: rgba(59,36,24,.04); }

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