:root {
  --page: #f3f1e9;
  --accent: #46503a;
  --text: #20241c;
  --muted: #565a4e;
  --line: #d3d0c3;
  --on-photo: #f3f1e9;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --headline: clamp(44px, 8vw, 96px);
  --gutter: clamp(16px, 2.6vw, 40px);
  --header: 68px;
  --fade: 300ms ease;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }

h1, h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

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

.skip {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 60;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--page);
}
.skip:focus { top: 8px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 40px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: var(--page);
  font: 600 16px/1 var(--body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--fade), color var(--fade);
}
.btn:hover { background: var(--text); }
.btn:disabled {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}
.btn-light { background: var(--on-photo); color: var(--text); }
.btn-light:hover { background: var(--accent); color: var(--on-photo); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  padding: 0 var(--gutter);
  background: var(--page);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--fade), color var(--fade), border-color var(--fade);
}
.site-header.is-clear {
  background: transparent;
  border-bottom-color: transparent;
  color: var(--on-photo);
}
.site-header.is-clear :focus-visible { outline-color: var(--on-photo); }

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 700 24px/1 var(--display);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.site-header nav { display: flex; gap: clamp(16px, 2.4vw, 32px); }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
}
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  margin-top: calc(var(--header) * -1);
  overflow: hidden;
  color: var(--on-photo);
  background: var(--accent);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 23, 17, 0.42), rgba(20, 23, 17, 0) 24%, rgba(20, 23, 17, 0) 50%, rgba(20, 23, 17, 0.62) 76%, rgba(20, 23, 17, 0.72));
}
/* The pale second hero photo: keep both people in the frame on phones. */
@media (max-width: 767px) {
  .hero-slide:nth-of-type(2) { object-position: 46% 50%; }
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1800ms ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-body {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(28px, 6vh, 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.hero h1 { font-size: var(--headline); max-width: 11em; }
.hero :focus-visible { outline-color: var(--on-photo); }

/* ---------- Section heading ---------- */

.section-head {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(72px, 11vw, 150px) var(--gutter) clamp(40px, 6vw, 72px);
  text-align: center;
}
.label {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-head h2 { font-size: var(--headline); margin-bottom: 22px; }
.section-head p:last-child { font-size: 18px; color: var(--muted); }

/* ---------- Product grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 4px;
}
.card {
  grid-column: span var(--span-m, 1);
  text-decoration: none;
}
.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--line);
}
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-alt { opacity: 0; transition: opacity 400ms ease; }
.card-info { padding: 12px var(--gutter) 0; }
.card:nth-child(2n) .card-info { padding-left: 12px; }
.card h3 { font: 600 16px/1.3 var(--body); }
.card p { margin-top: 2px; font-size: 15px; color: var(--muted); }

@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 4px; }
  .card { grid-column: var(--start-d, auto) / span var(--span-d, 4); }
  .card-info, .card:nth-child(2n) .card-info { padding: 14px var(--gutter) 0; }
  .card h3 { font-size: 17px; }
}
@media (min-width: 768px) and (hover: hover) {
  .card:hover .card-alt { opacity: 1; }
}

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

.story {
  display: grid;
  margin-top: clamp(72px, 11vw, 150px);
}
.story img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-text { padding: 40px var(--gutter) 0; }
.story h2 { font-size: var(--headline); margin-bottom: 24px; }
.story p { max-width: 30em; font-size: 18px; }

@media (min-width: 900px) {
  .story { grid-template-columns: 7fr 5fr; align-items: end; }
  .story-text { padding: 0 var(--gutter) clamp(40px, 5vw, 72px) clamp(32px, 5vw, 80px); }
  .story h2 { font-size: clamp(44px, 5.4vw, 80px); }
}

/* ---------- Closing band ---------- */

.band {
  position: relative;
  height: clamp(460px, 80vh, 760px);
  margin-top: clamp(72px, 11vw, 150px);
  color: var(--on-photo);
  overflow: hidden;
  background: var(--accent);
}
.band img, .band video { display: block; width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 23, 17, 0) 38%, rgba(20, 23, 17, 0.62) 72%, rgba(20, 23, 17, 0.76));
}
.band-body {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 0 var(--gutter) clamp(32px, 6vh, 64px);
  text-align: center;
}
.band-body p {
  font: 700 var(--headline)/0.98 var(--display);
  letter-spacing: -0.035em;
  max-width: 11em;
}
.band :focus-visible { outline-color: var(--on-photo); }

/* ---------- Shop page ---------- */

.page-title { padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(24px, 4vw, 48px); }
.page-title h1 { font-size: var(--headline); }

/* ---------- Product page ---------- */

.gallery-wrap { position: relative; min-width: 0; }
.gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: var(--line);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  scroll-snap-align: start;
  animation: fade-in var(--fade);
}
@keyframes fade-in { from { opacity: 0.35; } to { opacity: 1; } }
.gallery:focus-visible { outline-offset: -4px; outline-color: var(--on-photo); }
.gallery-count {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--on-photo);
  font-size: 14px;
  font-weight: 500;
}

.panel { padding: 28px var(--gutter) 40px; }
.panel h1 { font-size: clamp(36px, 3.6vw, 56px); margin-bottom: 12px; }
.panel > .price { font-size: 20px; font-weight: 500; }

.options { margin-top: 28px; }
.option-label { margin-bottom: 10px; font-size: 15px; color: var(--muted); }
.option-label span { color: var(--text); font-weight: 600; }
.swatches, .pills { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  width: 48px;
  height: 48px;
  padding: 5px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1px transparent;
  cursor: pointer;
  transition: box-shadow var(--fade);
}
.swatch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(32, 36, 28, 0.18);
}
.swatch:hover { box-shadow: inset 0 0 0 1px var(--line); }
.swatch.is-selected { box-shadow: inset 0 0 0 2px var(--text); }
.pill {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: 500 15px/1 var(--body);
  cursor: pointer;
  transition: background-color var(--fade), color var(--fade);
}
.pill.is-selected { background: var(--text); color: var(--page); }

.sizes { margin-top: 24px; font-size: 15px; }
.sizes p + p { color: var(--muted); }

.panel-buy { display: none; margin-top: 28px; }
.panel-buy .btn { width: 100%; }

details { border-top: 1px solid var(--line); }
details:first-of-type { margin-top: 32px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 24px/1 var(--body); transition: transform var(--fade); }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding-bottom: 20px; color: var(--muted); font-size: 16px; }
details > div p + p { margin-top: 8px; }
details li { padding: 2px 0; }

.buy-bar {
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--page);
  border-top: 1px solid var(--line);
}
.buy-bar .price { font-size: 18px; font-weight: 600; }
.buy-bar .btn { min-height: 50px; padding: 0 36px; }
body[data-page="product"] .site-footer { padding-bottom: 110px; }

.also { padding-top: clamp(64px, 8vw, 110px); }
.also h2 {
  padding: 0 var(--gutter) clamp(24px, 3vw, 40px);
  font-size: clamp(36px, 5vw, 64px);
  text-align: center;
}

@media (min-width: 900px) {
  .product {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }
  .gallery { display: grid; gap: 4px; overflow: visible; background: none; }
  .gallery-count { display: none; }
  .panel {
    position: sticky;
    top: var(--header);
    padding: clamp(32px, 4vw, 56px) clamp(32px, 5vw, 80px);
  }
  .panel-buy { display: block; }
  .buy-bar { display: none; }
  body[data-page="product"] .site-footer { padding-bottom: 40px; }
}

/* ---------- Contact and policy pages ---------- */

.contact, .prose {
  padding: clamp(48px, 8vw, 110px) var(--gutter) clamp(72px, 10vw, 140px);
}
.contact h1, .prose h1 { font-size: var(--headline); margin-bottom: clamp(28px, 4vw, 56px); }
.contact-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
  font: 700 clamp(24px, 4.4vw, 56px)/1.15 var(--display);
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  text-underline-offset: 0.14em;
  text-decoration-thickness: 2px;
}
.prose > :not(h1) { max-width: 40rem; }
.prose h2 { margin: 44px 0 12px; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.prose p { margin-top: 10px; }
.prose ul { margin-top: 10px; }
.prose li { padding-left: 18px; position: relative; margin-top: 6px; }
.prose li::before { content: "\2013"; position: absolute; left: 0; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.updated { margin-top: 44px !important; color: var(--muted); font-size: 15px; }

.notfound {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  min-height: 62vh;
  padding: clamp(56px, 10vw, 140px) var(--gutter);
}
.notfound h1 { font-size: var(--headline); max-width: 11em; }

/* ---------- Sizes and Add to cart ---------- */

.sizes { margin-top: 24px; }
.sizes .pill { min-width: 56px; }
.size-hint { min-height: 22px; margin-top: 8px; color: #8a2f1d; font-size: 15px; font-weight: 500; }
.btn[aria-disabled="true"] { background: var(--line); color: var(--muted); cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { background: var(--line); color: var(--muted); }

/* ---------- Cart ---------- */

.cart-link { gap: 6px; }
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--text);
  color: var(--page);
  font-size: 13px;
  font-weight: 600;
}
.site-header.is-clear .cart-count { background: var(--on-photo); color: var(--text); }

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(440px, 100vw);
  max-width: 100vw;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--page);
  color: var(--text);
}
.cart-drawer[open] { display: flex; flex-direction: column; animation: cart-in 280ms ease-out; }
.cart-drawer::backdrop { background: rgba(20, 23, 17, 0.45); }
@keyframes cart-in { from { transform: translateX(100%); } to { transform: none; } }
@media (max-width: 767px) { .cart-drawer { width: 100vw; } }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { font-size: 28px; }
.cart-close {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--text);
  font: 400 32px/1 var(--body);
  cursor: pointer;
}
.cart-added:not(:empty) { padding: 12px 20px; background: #e3e6dc; font-size: 15px; font-weight: 500; }
.cart-drawer .cart-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cart-drawer .cart-items { flex: 1; overflow-y: auto; padding: 0 20px; }
.cart-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img { width: 76px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--line); }
.cart-item-name { font-weight: 600; text-decoration: none; }
.cart-item-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-item-meta { color: var(--muted); font-size: 15px; }
.cart-qty { display: inline-flex; align-items: center; margin-top: 10px; border: 1px solid var(--line); }
.cart-qty button {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--text);
  font: 400 20px/1 var(--body);
  cursor: pointer;
}
.cart-qty button:disabled { color: var(--line); cursor: default; }
.cart-qty input {
  width: 48px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 500 16px/1 var(--body);
  text-align: center;
  -moz-appearance: textfield;
}
.cart-qty input::-webkit-inner-spin-button, .cart-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item-end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-line { font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-remove {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 500 15px/1 var(--body);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cart-summary { display: grid; gap: 10px; padding: 20px; border-top: 1px solid var(--line); }
.cart-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.cart-summary dd { margin: 0; text-align: right; }
.cart-delivery { display: block; color: var(--muted); font-size: 14px; }
.cart-total { font-weight: 700; font-size: 19px; }
.cart-summary .btn { width: 100%; }
.btn-quiet { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.btn-quiet:hover { background: var(--text); color: var(--page); }
.cart-error:not(:empty) { color: #8a2f1d; font-size: 15px; }
.cart-empty { display: grid; justify-items: start; gap: 20px; padding: 32px 20px; }
.cart-empty p { font: 700 26px/1.1 var(--display); letter-spacing: -0.02em; }

.cart-page { max-width: 1100px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gutter) 0; }
.cart-page h1 { font-size: clamp(44px, 7vw, 80px); margin-bottom: 24px; }
.cart-page .cart-empty { padding-left: 0; }
@media (min-width: 900px) {
  .cart-page .cart-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
  .cart-page .cart-summary { position: sticky; top: calc(var(--header) + 24px); border: 1px solid var(--line); }
  .cart-page .cart-empty { grid-column: 1 / -1; }
}

/* ---------- Sell more: Complete the look and the second-item offer ---------- */

.offer-note { margin-top: 6px; color: var(--accent); font-weight: 600; font-size: 15px; }
.look { margin-top: 32px; }
.look h2 { font-size: 26px; margin-bottom: 14px; }
.look-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.look-card { display: grid; gap: 8px; text-decoration: none; }
.look-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--line); }
.look-card strong { display: block; font-weight: 600; }
.look-card span span { color: var(--muted); font-size: 15px; }
.look-card:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* The whole panel scrolls, so suggestions and the email box never squeeze the items out of view. */
.cart-drawer .cart-body { overflow-y: auto; }
.cart-drawer .cart-scroll { flex: none; padding: 0 20px 12px; }
.cart-drawer .cart-items { flex: none; overflow: visible; padding: 0; }
.cart-offer-line { margin-top: 2px; color: var(--accent); font-size: 14px; font-weight: 600; }
.cart-saving { color: var(--accent); font-weight: 600; }
.cart-extra, .cart-look { padding: 16px 0 4px; border-bottom: 1px solid var(--line); }
.cart-look .cart-extra { padding: 8px 0; border-bottom: 0; }
.cart-extra-title { font: 700 19px/1.2 var(--display); letter-spacing: -0.02em; margin-bottom: 8px; }
.cart-extra-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
.cart-extra-card img { width: 76px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--line); }
.cart-extra-info s { color: var(--muted); }
.cart-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cart-pick .swatch { width: 44px; height: 44px; padding: 4px; }
.cart-pick .pill { min-height: 44px; min-width: 48px; padding: 0 14px; }
.cart-pick-add { margin-top: 10px; min-height: 44px; padding: 0 22px; }
@media (min-width: 900px) {
  .cart-page .cart-scroll .cart-items { border-top: 1px solid var(--line); }
}

.cart-optin { display: grid; gap: 8px; padding: 12px 0 4px; border-top: 1px solid var(--line); }
.cart-optin-label { font-weight: 600; font-size: 15px; }
.cart-optin input[type="email"] { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #b9b5a6; border-radius: 0; background: #fff; color: var(--text); font: 400 16px/1.4 var(--body); }
.cart-optin input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.cart-consent { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding-top: 4px; font-size: 15px; cursor: pointer; }
.cart-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.cart-optin-hint:not(:empty) { color: #8a2f1d; font-size: 14px; }
.cart-optin-small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.cart-optin-small a { color: inherit; text-underline-offset: 2px; }
.unsub { max-width: 640px; padding: clamp(56px, 10vw, 120px) var(--gutter); }
.unsub h1 { font-size: clamp(36px, 6vw, 64px); margin-bottom: 18px; }
.unsub p { color: var(--muted); margin-bottom: 24px; font-size: 18px; }
.unsub .unsub-back { margin-top: 20px; font-size: 16px; }

/* ---------- Thank you ---------- */

.thanks { max-width: 1100px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gutter) 0; }
.thanks h1 { font-size: clamp(44px, 7vw, 88px); }
.thanks-loading, .thanks-lead { margin: 18px 0 28px; color: var(--muted); font-size: 18px; max-width: 36rem; }
.thanks-number { margin-top: 14px; font: 700 clamp(30px, 4.4vw, 48px)/1.1 var(--display); letter-spacing: -0.03em; color: var(--accent); }
.thanks-pending { margin-top: 18px; padding: 14px 16px; background: #f2e2b8; color: #4f3a0a; max-width: 40rem; }
.thanks-grid { display: grid; gap: 32px; margin: 36px 0; }
.thanks-items { border-top: 1px solid var(--line); }
.thanks-items li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.thanks-items img { width: 64px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--line); }
.thanks-item-name { font-weight: 600; }
.thanks-item-meta { color: var(--muted); font-size: 15px; }
.thanks-item-price { font-variant-numeric: tabular-nums; font-weight: 600; }
.thanks-totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 16px 0 0; font-variant-numeric: tabular-nums; }
.thanks-totals dd { margin: 0; text-align: right; }
.thanks-total { font-weight: 700; font-size: 19px; }
.thanks-ship h2 { font: 600 13px/1.4 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.thanks-ship address { font-style: normal; }
.thanks-ship p { margin-top: 12px; color: var(--muted); }
@media (min-width: 900px) { .thanks-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(72px, 11vw, 150px);
  padding: clamp(40px, 6vw, 72px) var(--gutter) 40px;
  background: var(--accent);
  color: var(--page);
}
.band + .site-footer,
main:has(> .band:last-child) + .site-footer { margin-top: 0; }
.site-footer :focus-visible { outline-color: var(--page); }
.footer-name {
  margin-bottom: clamp(36px, 5vw, 64px);
  font: 700 var(--headline)/0.98 var(--display);
  letter-spacing: -0.035em;
}
.footer-cols { display: grid; gap: 28px; }
.site-footer h2 {
  margin-bottom: 6px;
  font: 600 13px/1.4 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}
.footer-cols p { font-size: 16px; }

@media (min-width: 768px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
