/* =====================================================================
   LOST CABIN — DIRECTION A: "HERITAGE, REFINED"
   One stylesheet for every page. Edit the colours / fonts in :root first.
   Sections in this file (search for the ===== headings):
     1 Tokens   2 Base   3 Buttons   4 Announcement bar   5 Header + menu
     6 Cart drawer + toast   7 Home sections   8 Collection pages
     9 Product page   10 Footer   11 Small screens
   ===================================================================== */

/* ===== 1 TOKENS ===== */
:root {
  --ink: #141707;
  --ink-2: #2f2314;
  --brass: #c9924e;
  --brass-dark: #8b6130;
  --sand: #d9ccb5;
  --parchment: #fefaf0;
  --ivory: #f4ecdc;
  --oxblood: #7f2524;
  --muted: #695a48;
  --line: #d9ccb5;

  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Libre Baskerville", Georgia, "Times New Roman", serif;

  --wrap: 1296px;
  --gutter: 48px;
  --header-h: 72px;
}

/* ===== 2 BASE ===== */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden, .vh, .ch-vh {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* display headings + small caps labels (Barlow Condensed) */
.disp, h1.disp, h2.disp {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  line-height: 0.95; letter-spacing: 0.005em;
}
.cap, .eyebrow, .ch-eyebrow {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 13px; line-height: 1.3; margin: 0 0 16px; color: var(--brass-dark);
}
.on-dark .eyebrow, .on-dark .cap { color: var(--brass); }

/* the brass dashed stitch line, used as a divider */
.stitch { height: 0; border: 0; border-top: 2px dashed var(--brass); margin: 0; }

.skip-links a {
  position: absolute; left: 8px; top: -60px; z-index: 300; padding: 10px 16px;
  background: var(--brass); color: var(--ink); font-family: var(--display); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.skip-links a:focus { top: 8px; }

/* ===== 3 BUTTONS ===== */
.btn, .ch-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border: 2px solid transparent; border-radius: 0;
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.16em;
  text-transform: uppercase; line-height: 1; transition: background .2s, color .2s, border-color .2s;
}
.btn--brass, .ch-btn--solid { background: var(--brass); color: var(--ink); }
.btn--brass:hover, .ch-btn--solid:hover:not(:disabled) { background: var(--ink); color: var(--brass); }
.btn--line, .ch-btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover, .ch-btn--line:hover { background: var(--ink); color: var(--parchment); }
.on-dark .btn--line { color: var(--parchment); border-color: var(--parchment); }
.on-dark .btn--line:hover { background: var(--parchment); color: var(--ink); }
.btn--brass:hover { border-color: var(--ink); }
.ch-btn:disabled { opacity: .45; cursor: not-allowed; }
.ch-btn--wide { width: 100%; }
.link {
  font-family: var(--display); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 14px; border-bottom: 2px solid var(--brass); padding-bottom: 2px;
}

/* ===== 4 ANNOUNCEMENT BAR (scrolls away; messages fade one at a time) ===== */
.announce {
  position: relative; background: var(--oxblood); color: var(--parchment);
  min-height: 40px; display: flex; align-items: center; justify-content: center;
  padding: 0 52px; text-align: center;
  font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
}
.announce > span {
  position: absolute; left: 52px; right: 52px; top: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s;
}
.announce > span.is-on { opacity: 1; visibility: visible; }
.announce__arrow {
  position: absolute; top: 0; bottom: 0; width: 44px; display: grid; place-items: center;
  background: none; border: 0; color: var(--parchment); z-index: 2;
}
.announce__arrow--prev { left: 4px; }
.announce__arrow--next { right: 4px; }
.announce__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.announce__arrow:hover { color: var(--brass); }

/* ===== 5 HEADER + MOBILE MENU ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--ink); color: var(--parchment);
  border-bottom: 2px dashed var(--brass);
}
.site-header__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
}
.nav { display: flex; gap: 36px; align-items: center; }
.nav--right { justify-content: flex-end; }
.nav a, .nav button {
  position: relative; background: none; border: 0; padding: 6px 0;
  font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--parchment);
}
/* hover underline sits close to the word */
.nav a::after, .nav button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover::after, .nav button:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover, .nav button:hover { color: var(--brass); }
.nav .cart_count { margin-left: 4px; color: var(--brass); }
.logo { justify-self: center; display: block; }
.logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.burger, .m-cart { display: none; }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--ink);
  border-bottom: 2px dashed var(--brass); padding: 8px var(--gutter) 20px; z-index: 5;
}
.mobile-menu a, .mobile-menu button {
  display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left;
  background: none; border: 0; border-bottom: 1px solid rgba(217, 204, 181, .18); padding: 16px 0;
  font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--parchment);
}
.mobile-menu a:hover { color: var(--brass); }
.mobile-menu .small { font-size: 16px; color: var(--sand); }
.mobile-menu .cart_count { color: var(--brass); }

/* ===== 6 CART DRAWER + TOAST ===== */
.cart-overlay { position: fixed; inset: 0; background: rgba(20, 23, 7, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 190; }
.cart-overlay.is-open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 200;
  background: var(--parchment); display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s;
  border-left: 2px dashed var(--brass);
}
.cart-drawer.is-open { transform: none; visibility: visible; }
.cart-drawer__head {
  display: flex; justify-content: space-between; align-items: center; padding: 20px 24px;
  background: var(--ink); color: var(--parchment);
  font-family: var(--display); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 18px;
}
.cart-drawer__close { background: none; border: 0; color: var(--brass); font-size: 28px; line-height: 1; padding: 4px 8px; }
.cart-drawer__body { padding: 28px 24px; overflow: auto; flex: 1; }
.cart-empty { font-family: var(--display); font-weight: 700; font-size: 28px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 16px; }
.cart-ship { margin-top: 28px; padding-top: 24px; border-top: 2px dashed var(--brass); font-size: 15px; }
.cart-ship__bar { height: 6px; background: var(--sand); margin: 16px 0 24px; }
.cart-ship__bar i { display: block; height: 100%; width: 0; background: var(--brass); }
.cart-items { margin-bottom: 16px; }
.cart-sub { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 16px 0; border-top: 1px solid var(--line); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 250; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--parchment); border-left: 4px solid var(--brass);
  padding: 14px 24px; font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

#back-to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 90; width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--ink); color: var(--brass); border: 2px solid var(--brass); font-family: var(--display); font-size: 22px;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
#back-to-top.show { opacity: 1; visibility: visible; }

/* ===== 7 HOME SECTIONS ===== */
.section { padding: 112px 0; }
.section--sand { background: var(--sand); }
.section--ivory { background: var(--ivory); }
.section--ink { background: var(--ink); color: var(--parchment); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.head h2 { font-size: clamp(44px, 6vw, 80px); }

/* hero: ink text panel + photo */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(86vh, 760px); background: var(--ink); color: var(--parchment); }
.hero__text { display: flex; flex-direction: column; justify-content: center; padding: 72px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 72px var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-right: 64px; }
.hero__text .eyebrow { color: var(--brass); }
.hero h1 { font-size: clamp(56px, 8vw, 120px); margin-bottom: 28px; }
.hero__copy { max-width: 460px; color: var(--sand); font-size: 17px; margin-bottom: 36px; }
.hero__copy p { margin: 0; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__promo { margin: 40px 0 0; padding-top: 20px; border-top: 2px dashed var(--brass); font-size: 14px; color: var(--sand); }
.hero__promo b { font-family: var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-right: 10px; }
.hero__media { position: relative; overflow: hidden; background: var(--ink-2); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* category tiles */
.cats { padding: 96px 0 0; }
.cats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cats__item { display: block; }
.cats__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.cats__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cats__item:hover .cats__img img { transform: scale(1.04); }
.cats__label {
  display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 2px dashed var(--brass);
  font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .1em; text-transform: uppercase;
}
.cats__label::after { content: "→"; color: var(--brass-dark); }
.cats__arrows { display: none; gap: 8px; margin-top: 20px; justify-content: flex-end; }
.arrow-btn { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 2px solid var(--ink); }
.arrow-btn:hover { background: var(--ink); color: var(--brass); }
.arrow-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* product (card sleeve) */
.prod__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: start; }
.prod__stage { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.prod__stage img { width: 100%; height: 100%; object-fit: cover; }
.prod__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.lostcabin-thumb { padding: 0; background: var(--sand); border: 2px solid transparent; aspect-ratio: 1; overflow: hidden; }
.lostcabin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lostcabin-thumb.active { border-color: var(--brass); }
.prod__info h2 { font-size: clamp(40px, 4.6vw, 64px); margin-bottom: 12px; }
.price { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: .04em; margin: 0 0 24px; }
.meta { border-top: 2px dashed var(--brass); margin: 28px 0; }
.meta div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.meta span { font-family: var(--display); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; color: var(--muted); }
.meta b { font-weight: 400; text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.chips li { border: 1px solid var(--ink); padding: 6px 14px; font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.assure { margin-top: 24px; font-size: 14px; color: var(--muted); }
.assure li { padding-left: 22px; position: relative; margin-bottom: 6px; }
.assure li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; border-top: 2px dashed var(--brass); }

/* promotions: date-gated panels */
.promos { position: relative; background: var(--ink); color: var(--parchment); padding: 96px 0; overflow: hidden; }
.promos__bg { position: absolute; inset: 0; }
.promos__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.promos__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.promos.is-single .promos__grid { grid-template-columns: minmax(0, 720px); justify-content: center; }
.panel { position: relative; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; border: 2px dashed var(--brass); outline: 8px solid transparent; }
.panel--red { background: var(--oxblood); color: var(--parchment); }
.panel--sand { background: var(--sand); color: var(--ink); }
.panel h2 { font-size: clamp(40px, 4.4vw, 64px); margin-bottom: 16px; }
.panel__copy { max-width: 440px; margin-bottom: 28px; }
.panel__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.panel__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 2px dashed var(--brass); font-size: 14px; }
.panel__bar b { font-family: var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); display: block; font-size: 15px; }
.panel__bar em { font-style: normal; font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.panel__ribbon { position: absolute; top: -2px; right: 28px; width: 44px; color: var(--oxblood); }
.panel__ribbon svg { width: 100%; height: auto; fill: currentColor; }
.panel .link { align-self: flex-start; }

/* craft */
.craft { background: var(--ivory); padding: 120px 0; }
.craft__head { margin-bottom: 64px; }
.craft__head h2 { font-size: clamp(48px, 7vw, 104px); }
.craft__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-bottom: 64px; counter-reset: s; }
.craft__steps li { border-top: 2px dashed var(--brass); padding-top: 24px; }
.num { display: block; font-family: var(--display); font-weight: 700; font-size: 72px; line-height: 1; color: var(--brass); margin-bottom: 12px; }
.craft__steps h3 { font-family: var(--display); font-weight: 700; font-size: 36px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.craft__steps p { color: var(--muted); max-width: 340px; }

/* reviews */
.reviews__side { text-align: right; }
.reviews__summary { font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 6px; }
.reviews__by { font-size: 13px; color: var(--muted); }
.reviews__by img { display: inline-block; height: 13px; width: auto; vertical-align: middle; margin-left: 6px; }
.stars { display: inline-block; width: 90px; height: 16px; margin-right: 10px; vertical-align: -2px; background: linear-gradient(90deg, var(--brass) var(--fill, 100%), rgba(20,23,7,.2) var(--fill, 100%)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='16' viewBox='0 0 90 16'%3E%3Cg id='s'%3E%3Cpath d='M8 0l2.4 5.3 5.6.6-4.2 3.8 1.2 5.6L8 12.4 3 15.3l1.2-5.6L0 5.9l5.6-.6z'/%3E%3C/g%3E%3Cuse href='%23s' x='18'/%3E%3Cuse href='%23s' x='36'/%3E%3Cuse href='%23s' x='54'/%3E%3Cuse href='%23s' x='72'/%3E%3C/svg%3E") no-repeat center / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='16' viewBox='0 0 90 16'%3E%3Cg id='s'%3E%3Cpath d='M8 0l2.4 5.3 5.6.6-4.2 3.8 1.2 5.6L8 12.4 3 15.3l1.2-5.6L0 5.9l5.6-.6z'/%3E%3C/g%3E%3Cuse href='%23s' x='18'/%3E%3Cuse href='%23s' x='36'/%3E%3Cuse href='%23s' x='54'/%3E%3Cuse href='%23s' x='72'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: var(--parchment); padding: 36px 32px; border-top: 4px solid var(--brass); display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; font-size: 16px; font-style: italic; flex: 1; }
.review__who { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.review__who span { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }

/* story + stats */
.story__hero { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 640px; }
.story__media { overflow: hidden; background: var(--ink-2); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__text { background: var(--ink); color: var(--parchment); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 72px 64px; }
.story__text h2 { font-size: clamp(44px, 5.4vw, 80px); margin-bottom: 24px; }
.story__text p { color: var(--sand); max-width: 440px; margin-bottom: 32px; }
.story__band { background: var(--ivory); padding: 96px 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0 0 72px; text-align: center; }
.stats div { border-top: 2px dashed var(--brass); padding-top: 28px; }
.stats dt { order: 2; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(56px, 7vw, 104px); line-height: 1; letter-spacing: .01em; }
.stats div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stats dd { order: 1; }
.stat-icon { order: 0; width: 40px; height: 40px; background: var(--brass-dark); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.stat-icon span { display: none; }
.story__details { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.story__details li { background: var(--parchment); padding: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; border: 1px solid var(--line); }
.story__details strong { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .08em; text-transform: uppercase; }
.story__details span { color: var(--muted); margin-bottom: 8px; }
dialog.film { width: min(960px, 94vw); padding: 0; border: 0; background: #000; }
dialog.film::backdrop { background: rgba(20, 23, 7, .8); }
.film__close { position: absolute; top: 8px; right: 8px; z-index: 2; width: 40px; height: 40px; background: var(--ink); color: var(--parchment); border: 0; font-size: 24px; }
.film__frame { aspect-ratio: 16 / 9; }
.film__frame iframe { width: 100%; height: 100%; border: 0; }

/* out in the wild: hidden until real customer photos exist. Remove the `hidden` attribute in index.html to show it. */
.wild { background: var(--parchment); padding: 96px 0; }
.wild__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.wild__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(44px, 6vw, 80px); line-height: .95; }
.wild__line { margin: 8px 0 0; color: var(--muted); }
.wild__tags { margin: 0; font-size: 14px; }
.wild__feed { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* sign up */
.signup { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--ink); color: var(--parchment); }
.signup__media { min-height: 520px; overflow: hidden; }
.signup__media img { width: 100%; height: 100%; object-fit: cover; }
.signup__card { display: flex; flex-direction: column; justify-content: center; padding: 72px 64px; }
.signup__card h2 { font-size: clamp(40px, 4.6vw, 64px); margin-bottom: 16px; }
.signup__copy { color: var(--sand); max-width: 420px; margin-bottom: 28px; }
.signup__form { display: flex; gap: 0; max-width: 520px; margin-bottom: 20px; }
.signup__input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; background: transparent; border: 2px solid var(--sand); border-right: 0; color: var(--parchment); font: inherit; border-radius: 0; }
.signup__input::placeholder { color: var(--sand); opacity: .7; }
.signup__msg { color: var(--brass); }
.signup__fine { font-size: 12.5px; color: var(--sand); max-width: 520px; }
.signup__fine a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== 8 COLLECTION PAGES (cardholders.html, bifold-wallets.html) ===== */
.ch-banner { position: relative; background: var(--ink); color: var(--parchment); overflow: hidden; border-bottom: 2px dashed var(--brass); }
.ch-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.ch-banner__inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 36px var(--gutter) 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ch-banner .ch-eyebrow { color: var(--brass); margin-bottom: 8px; }
.ch-banner h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .92; font-size: clamp(48px, 6vw, 84px); }
.ch-banner__copy { margin: 0; max-width: 380px; color: var(--sand); font-size: 15px; }

.ch-shop { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 96px; }
.ch-toolbar { display: flex; align-items: center; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.ch-filterbtn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; font-family: var(--display); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 15px; }
.ch-filterbtn svg { width: 18px; height: 18px; }
.ch-filterbtn b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; background: var(--brass); color: var(--ink); font-size: 12px; }
.ch-count { margin: 0 auto 0 0; font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--muted); }
.ch-sort { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.ch-sort select { height: 40px; padding: 0 12px; background: var(--parchment); border: 2px solid var(--ink); border-radius: 0; font: 500 14px var(--body); color: var(--ink); }
.ch-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.ch-chip { background: var(--ivory); border: 1px solid var(--ink); padding: 6px 12px; font-family: var(--display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.ch-chip--clear { background: transparent; border-color: transparent; text-decoration: underline; }

.ch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.ch-card article { display: flex; flex-direction: column; height: 100%; }
.ch-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.ch-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.ch-card__media img.is-on { opacity: 1; }
.ch-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.ch-dots i { width: 6px; height: 6px; background: rgba(254, 250, 240, .6); }
.ch-dots i.is-on { background: var(--brass); }
.ch-tag { position: absolute; left: 10px; top: 10px; background: var(--ink); color: var(--brass); padding: 4px 10px; font-family: var(--display); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; }
.ch-tag--out { background: var(--parchment); color: var(--ink); }
.ch-card__body { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 12px 0 12px; }
.ch-card__name { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.1; text-transform: uppercase; letter-spacing: .04em; }
.ch-card__name a:hover { color: var(--brass-dark); }
.ch-card__price { margin: 0; white-space: nowrap; font-size: 15px; }
.ch-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.ch-card__actions .ch-btn { min-height: 42px; padding: 0 8px; font-size: 13px; letter-spacing: .12em; }
.ch-empty { text-align: center; padding: 64px 0; }

/* filter panel */
.ch-overlay { position: fixed; inset: 0; background: rgba(20, 23, 7, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 190; }
.ch-overlay.is-open { opacity: 1; visibility: visible; }
.ch-filters { position: fixed; top: 0; left: 0; bottom: 0; width: min(380px, 100%); z-index: 200; background: var(--parchment); display: flex; flex-direction: column; transform: translateX(-100%); visibility: hidden; transition: transform .35s ease, visibility .35s; border-right: 2px dashed var(--brass); }
.ch-filters.is-open { transform: none; visibility: visible; }
.ch-filters__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: var(--ink); color: var(--parchment); }
.ch-filters__head h2 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .18em; text-transform: uppercase; }
.ch-x { background: none; border: 0; color: var(--brass); width: 40px; height: 40px; display: grid; place-items: center; }
.ch-x svg { width: 20px; height: 20px; }
.ch-filters__body { flex: 1; overflow: auto; padding: 8px 24px; }
.ch-group { border: 0; border-bottom: 1px solid var(--line); padding: 20px 0; margin: 0; }
.ch-group legend { padding: 0; font-family: var(--display); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 15px; margin-bottom: 12px; color: var(--brass-dark); }
.ch-check { display: flex; align-items: center; gap: 12px; padding: 7px 0; cursor: pointer; }
.ch-check input { appearance: none; width: 20px; height: 20px; margin: 0; border: 2px solid var(--ink); background: transparent; display: grid; place-items: center; flex: none; }
.ch-check input:checked { background: var(--brass); }
.ch-check input:checked::after { content: ""; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.ch-filters__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--line); }
body.ch-lock { overflow: hidden; }

/* quick view */
.ch-quick-dialog { width: min(980px, 94vw); max-height: 92vh; padding: 0; border: 2px solid var(--ink); background: var(--parchment); color: var(--ink); overflow: auto; }
.ch-quick-dialog::backdrop { background: rgba(20, 23, 7, .7); }
.ch-x--float { position: absolute; top: 8px; right: 8px; z-index: 3; background: var(--ink); }
.ch-quick { display: grid; grid-template-columns: 1fr 1fr; }
.ch-quick__gallery { background: var(--sand); padding: 20px; }
.ch-quick__stage { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); }
.ch-quick__stage img { width: 100%; height: 100%; object-fit: cover; }
.ch-quick__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.ch-qthumb { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; background: var(--ivory); overflow: hidden; }
.ch-qthumb img { width: 100%; height: 100%; object-fit: cover; }
.ch-qthumb.is-on { border-color: var(--brass-dark); }
.ch-quick__info { padding: 40px 36px; }
.ch-quick__info h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 40px; line-height: 1; margin-bottom: 12px; }
.ch-quick__price { font-family: var(--display); font-weight: 600; font-size: 24px; margin-bottom: 16px; }
.ch-quick__desc { font-size: 15px; }
.ch-quick__features { margin: 0 0 16px; font-size: 14px; }
.ch-quick__features li { padding-left: 20px; position: relative; margin-bottom: 4px; }
.ch-quick__features li::before { content: ""; position: absolute; left: 0; top: .8em; width: 11px; border-top: 2px dashed var(--brass); }
.ch-quick__details, .pp-details { margin: 0 0 20px; border-top: 2px dashed var(--brass); font-size: 14px; }
.ch-quick__details div, .pp-details div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ch-quick__details dt, .pp-details dt { font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--muted); }
.ch-quick__details dd, .pp-details dd { margin: 0; text-align: right; }
.ch-quick__more { display: inline-block; margin: 16px 0; font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid var(--brass); }
.ch-quick__assure { font-size: 13px; color: var(--muted); }

/* ===== 9 PRODUCT PAGE (generated by build.js) ===== */
.pp { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 96px; }
.pp-crumbs { padding: 24px 0 28px; font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--muted); }
.pp-crumbs a:hover { color: var(--brass-dark); text-decoration: underline; }
.pp-crumbs span[aria-hidden] { margin: 0 8px; }
.pp-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: start; }
.pp-stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.pp-stage img { width: 100%; height: 100%; object-fit: cover; }
.pp-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.pp-thumb { width: 84px; height: 84px; padding: 0; border: 2px solid transparent; background: var(--sand); overflow: hidden; }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-thumb.is-on { border-color: var(--brass-dark); }
.pp-info h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .95; font-size: clamp(40px, 4.6vw, 64px); margin-bottom: 12px; }
.pp-price { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: .04em; margin-bottom: 20px; }
.pp-desc { max-width: 520px; }
.pp-features { margin: 0 0 20px; }
.pp-features li { padding-left: 22px; position: relative; margin-bottom: 6px; }
.pp-features li::before { content: ""; position: absolute; left: 0; top: .85em; width: 12px; border-top: 2px dashed var(--brass); }
.pp-assure { margin-top: 20px; font-size: 14px; color: var(--muted); }
.pp-assure li { padding-left: 22px; position: relative; margin-bottom: 6px; }
.pp-assure li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; border-top: 2px dashed var(--brass); }
.pp-related { margin-top: 96px; padding-top: 48px; border-top: 2px dashed var(--brass); }
.pp-related h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 40px; margin-bottom: 28px; }

/* ===== 10 FOOTER ===== */
.Footer { background: var(--ink); color: var(--sand); border-top: 2px dashed var(--brass); }
.Footer a:hover { color: var(--brass); }
.Footer h2 { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .2em; text-transform: uppercase; color: var(--parchment); margin-bottom: 18px; }
.Footer-social { text-align: center; padding: 56px var(--gutter) 40px; border-bottom: 1px solid rgba(217, 204, 181, .18); }
.Footer-social .mobile_only { display: none; }
.social_icons { display: flex; justify-content: center; gap: 12px; margin-bottom: 20px; }
.social_icons a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--sand); }
.social_icons a:hover { background: var(--brass); border-color: var(--brass); }
.social_icons svg { width: 20px; height: 20px; fill: var(--sand); }
.social_icons a:hover svg { fill: var(--ink); }
.Footer-hashtag { font-family: var(--display); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 14px; color: var(--brass); }
.Footer-container { max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gutter); display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 56px; }
.Footer li { margin-bottom: 8px; }
.Footer li a { font-size: 15px; }
.newsletter .message { display: block; }
.newsletter .Form-group { display: flex; flex-direction: column-reverse; margin-bottom: 12px; }
.newsletter label { font-family: var(--display); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; margin-bottom: 6px; }
.newsletter input[type="email"] { height: 48px; padding: 0 14px; background: transparent; border: 2px solid var(--sand); color: var(--parchment); font: inherit; border-radius: 0; }
.sign_up { height: 48px; width: 100%; background: var(--brass); color: var(--ink); border: 2px solid var(--brass); font-family: var(--display); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 15px; }
.sign_up:hover { background: transparent; color: var(--brass); }
.help { text-align: left; }
.help img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 20px; }
.help p { margin: 0 0 6px; font-size: 15px; }
.help .hours { margin-top: 14px; }
.Footer-copyright { text-align: center; padding: 22px var(--gutter); border-top: 1px solid rgba(217, 204, 181, .18); font-family: var(--display); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; color: var(--sand); }

/* mobile "Add to Bag" bar (home page, phones only) */
.stickybar { display: none; }

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

/* ===== 11 SMALL SCREENS ===== */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .ch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .Footer-container { grid-template-columns: 1fr 1fr; gap: 40px; }
  .prod__grid, .pp-layout { gap: 40px; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; --header-h: 60px; }
  .section { padding: 72px 0; }
  .nav { display: none; }
  .site-header__bar { grid-template-columns: 64px 1fr 64px; }
  .logo img { height: 32px; }
  .burger, .m-cart { display: grid; place-items: center; width: 48px; height: 48px; background: none; border: 0; color: var(--parchment); position: relative; }
  .burger { justify-self: start; margin-left: -10px; }
  .m-cart { justify-self: end; margin-right: -8px; }
  .m-cart svg { display: block; }
  .m-cart .cart_count { position: absolute; top: 5px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--brass); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 12px; line-height: 18px; text-align: center; letter-spacing: 0; }
  .m-cart .cart_count.is-zero { display: none; }
  .burger i, .burger i::before, .burger i::after { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .25s, background .2s; content: ""; position: relative; }
  .burger i::before { position: absolute; top: -7px; left: 0; }
  .burger i::after { position: absolute; top: 7px; left: 0; }
  .burger[aria-expanded="true"] i { background: transparent; }
  .burger[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
  .burger[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }
  .announce { font-size: 11px; letter-spacing: .05em; padding: 0 40px; min-height: 44px; }
  .announce > span { left: 36px; right: 36px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 4 / 4.2; }
  .hero__text { padding: 44px var(--gutter) 56px; }
  .cats__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; scrollbar-width: none; }
  .cats__list > li { scroll-snap-align: start; }
  .cats__arrows { display: flex; }
  .cats { padding-top: 56px; }
  .prod__grid, .pp-layout, .story__hero, .signup { grid-template-columns: 1fr; }
  .story__hero { min-height: 0; }
  .story__media { aspect-ratio: 4 / 3; }
  .story__text, .signup__card { padding: 48px var(--gutter); }
  .signup__media { min-height: 0; aspect-ratio: 4 / 3; }
  .promos__grid { grid-template-columns: 1fr; }
  .panel { padding: 32px 24px; }
  .craft { padding: 72px 0; }
  .craft__steps, .reviews__grid, .stats, .story__details { grid-template-columns: 1fr; }
  .craft__steps { gap: 32px; }
  .head { flex-direction: column; align-items: flex-start; }
  .reviews__side { text-align: left; }
  .ch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .ch-card__actions { grid-template-columns: 1fr; }
  .ch-card__name { font-size: 18px; }
  .ch-card__body { flex-direction: column; gap: 2px; }
  .ch-quick { grid-template-columns: 1fr; }
  .ch-banner__inner { padding: 24px var(--gutter); }
  .Footer-container { grid-template-columns: 1fr; gap: 36px; padding: 48px var(--gutter); }
  .Footer-social .mobile_hidden { display: none; }
  .Footer-social .mobile_only { display: block; }
  .wild__feed { grid-template-columns: repeat(2, 1fr); }

  .stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); background: var(--ink); color: var(--parchment); border-top: 2px dashed var(--brass); transform: translateY(110%); transition: transform .3s; }
  .stickybar.show { transform: none; }
  .stickybar[hidden] { display: none !important; }
  .stickybar b { display: block; font-family: var(--display); letter-spacing: .1em; text-transform: uppercase; font-size: 15px; }
  .stickybar span { font-size: 13px; color: var(--sand); }
  .stickybar .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
  #back-to-top { bottom: 80px; }
}
@media (max-width: 520px) {
  .ch-toolbar { flex-wrap: wrap; gap: 10px 16px; }
  .ch-count { order: 3; width: 100%; margin: 0; }
  .ch-sort { margin-left: auto; }
  .signup__form { flex-direction: column; gap: 10px; }
  .signup__input { border-right: 2px solid var(--sand); }
  .hero h1 { font-size: 56px; }
}

/* ===== 12 INFO PAGES (faq.html, shipping.html, returns.html, contact.html) ===== */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; padding-top: 72px; padding-bottom: 96px; align-items: start; }
.doc__toc { position: sticky; top: calc(var(--header-h) + 32px); }
.doc__toc li a { display: block; padding: 8px 0 8px 16px; border-left: 2px solid var(--line); font-family: var(--display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; color: var(--muted); transition: color .2s, border-color .2s, padding .2s; }
.doc__toc li a:hover, .doc__toc li a.is-on { color: var(--ink); border-color: var(--brass); padding-left: 22px; }
.doc__body { max-width: 760px; }
.doc__sec { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 2px dashed var(--brass); }
.doc__sec:last-child { border-bottom: 0; margin-bottom: 0; }
.doc__sec h2 { font-size: clamp(36px, 4vw, 52px); margin-bottom: 20px; }
.doc__sec a:not(.btn) { border-bottom: 1px solid var(--brass); }
.doc__sec a:not(.btn):hover { color: var(--brass-dark); }
.steps { counter-reset: st; margin: 0 0 20px; }
.steps li { counter-increment: st; position: relative; padding: 0 0 18px 64px; }
.steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: -6px; font-family: var(--display); font-weight: 700; font-size: 36px; line-height: 1; color: var(--brass); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 30px; line-height: 1; color: var(--brass-dark); transition: transform .3s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brass-dark); }
.faq > div { padding: 0 48px 8px 0; color: var(--muted); animation: faqIn .35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--display); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; background: transparent; border: 2px solid var(--ink); border-radius: 0; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input, .field select { height: 50px; padding-top: 0; padding-bottom: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brass-dark); box-shadow: 0 0 0 3px rgba(201, 146, 78, .35); }
.form .btn { justify-self: start; }
.help-band { background: var(--ink); color: var(--parchment); border-top: 2px dashed var(--brass); padding: 72px 0; }
.help-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.help-band h2 { font-size: clamp(36px, 5vw, 64px); }
.help-band p { color: var(--sand); margin-bottom: 14px; }

/* ===== 13 MOTION (scroll reveals + hover details). All of it switches off for people who prefer reduced motion. ===== */
/* Scroll reveal: site.js adds .rv to the items it lists, then .rv-in as they scroll into view */
.js-motion .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js-motion .rv.rv-in { opacity: 1; transform: none; }
.js-motion .rv--stitch { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1s ease; }
.js-motion .rv--stitch.rv-in { transform: none; }

/* page load */
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.js-motion .hero__media img { animation: heroZoom 2.2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js-motion .hero__text > *, .js-motion .ch-banner__inner > * { animation: riseIn .9s cubic-bezier(.2, .7, .2, 1) both; }
.js-motion .hero__text > :nth-child(2), .js-motion .ch-banner__inner > :nth-child(2) { animation-delay: .12s; }
.js-motion .hero__text > :nth-child(3) { animation-delay: .22s; }
.js-motion .hero__text > :nth-child(4) { animation-delay: .32s; }
.js-motion .hero__text > :nth-child(5) { animation-delay: .42s; }

/* header tightens a little once you scroll */
.site-header__bar, .logo img { transition: height .3s ease; }
.site-header.is-scrolled .site-header__bar { height: 60px; }
.site-header.is-scrolled .logo img { height: 34px; }

/* hover details */
.btn, .ch-btn { position: relative; }
.btn:hover, .ch-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 0 -2px rgba(20, 23, 7, .25); }
.btn:active, .ch-btn:active { transform: none; box-shadow: none; }
.btn, .ch-btn { transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.link { background: linear-gradient(var(--brass), var(--brass)) left bottom / 100% 2px no-repeat; border-bottom: 0; padding-bottom: 4px; transition: background-size .3s, color .2s; }
.link:hover { background-size: 0 2px; background-position: right bottom; color: var(--brass-dark); }
.cats__label::after { transition: transform .25s; }
.cats__item:hover .cats__label::after { transform: translateX(6px); }
.cats__label { transition: border-color .2s; }
.ch-card__media img.is-on { transition: opacity .5s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.ch-card:hover .ch-card__media img.is-on { transform: scale(1.05); }
.ch-card__name a { background: linear-gradient(var(--brass), var(--brass)) left bottom / 0 2px no-repeat; transition: background-size .3s, color .2s; }
.ch-card:hover .ch-card__name a { background-size: 100% 2px; }
.review { transition: transform .3s ease, box-shadow .3s ease; }
.review:hover { transform: translateY(-6px); box-shadow: 0 14px 0 -8px var(--brass); }
.panel { transition: transform .3s ease; }
.panel:hover { transform: translateY(-4px); }
.story__details li { transition: transform .3s ease, border-color .3s; }
.story__details li:hover { transform: translateY(-4px); border-color: var(--brass); }
.prod__stage img, .pp-stage img, .story__media img, .signup__media img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.prod__stage:hover img, .pp-stage:hover img, .story__media:hover img { transform: scale(1.04); }
.lostcabin-thumb, .pp-thumb { transition: border-color .2s, transform .2s; }
.lostcabin-thumb:hover, .pp-thumb:hover { transform: translateY(-3px); }
.chips li { transition: background .2s, color .2s; }
.chips li:hover { background: var(--ink); color: var(--parchment); }
.social_icons a { transition: background .2s, border-color .2s, transform .2s; }
.social_icons a:hover { transform: translateY(-3px); }
.Footer li a { display: inline-block; transition: color .2s, transform .2s; }
.Footer li a:hover { transform: translateX(4px); }
.arrow-btn, .announce__arrow { transition: background .2s, color .2s, transform .2s; }

@media (prefers-reduced-motion: reduce) {
  .js-motion .rv, .js-motion .rv--stitch { opacity: 1 !important; transform: none !important; }
  .btn:hover, .ch-card:hover img, .review:hover, .panel:hover { transform: none !important; }
}
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 64px; }
  .doc__toc { position: static; }
  .doc__toc ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .doc__toc li a { padding: 8px 14px; border: 1px solid var(--line); }
  .doc__toc li a:hover, .doc__toc li a.is-on { padding-left: 14px; background: var(--ivory); }
  .form__row { grid-template-columns: 1fr; }
  .faq summary { font-size: 19px; }
  .faq > div { padding-right: 0; }
  .help-band { padding: 48px 0; }
}

/* ===== 14 SAND OFFER CARD: ivory card, thin dashed inner frame, red gift ribbon hanging from the top ===== */
.panel--sand { background: var(--ivory); border: 0; outline: 0; align-items: center; justify-content: center; text-align: center; gap: 22px; min-height: 330px; padding: 100px 48px 56px; }
.panel--sand::before { content: ""; position: absolute; inset: 16px; border: 1.5px dashed #b9a68a; pointer-events: none; }
.panel--sand .panel__ribbon { top: 0; left: 50%; right: auto; width: 46px; height: 66px; transform: translateX(-50%); display: grid; place-items: start center; padding-top: 10px; background: #8c080a; color: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); z-index: 1; }
.panel--sand .panel__ribbon svg { width: 30px; height: 30px; fill: currentColor; }
.panel--sand h2.disp { font-family: var(--body); font-weight: 400; font-size: clamp(18px, 1.7vw, 22px); letter-spacing: .14em; line-height: 1.3; color: #3a3326; margin-bottom: 14px; }
.panel--sand .panel__copy { max-width: 420px; margin: 0 auto; font-size: 19px; line-height: 1.55; }
.panel--sand .link { align-self: center; background: none; border: 0; padding: 0; font-size: 19px; letter-spacing: .08em; color: #a0393a; transition: color .2s; }
.panel--sand .link:hover { color: var(--ink); }
.panel--sand .link span { display: inline-block; transition: transform .25s; }
.panel--sand .link:hover span { transform: translateX(5px); }

/* ===== 15 FOOTER SOCIAL ICONS: perfectly centred squares ===== */
.Footer .social_icons { display: flex; justify-content: center; align-items: center; gap: 12px; }
.Footer .social_icons li { margin: 0; display: block; }
.Footer .social_icons li a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; line-height: 0; border: 1px solid var(--sand); transition: background .2s, border-color .2s, transform .2s; }
.Footer .social_icons li a:hover { transform: translateY(-3px); background: var(--brass); border-color: var(--brass); }
.Footer .social_icons svg { display: block; width: 20px; height: 20px; margin: 0; fill: var(--sand); }
.Footer .social_icons li a:hover svg { fill: var(--ink); }

/* ===== 16 CARD LINKS: photo, name and "View Details" open the product's own page; Quick View is a small extra ===== */
.ch-card__link { position: absolute; inset: 0; z-index: 1; }
.ch-card__media .ch-qbtn { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; min-height: 38px; background: rgba(254, 250, 240, .94); color: var(--ink); border: 0; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s, background .2s; }
.ch-card__media .ch-qbtn:hover { background: var(--brass); }
.ch-card:hover .ch-qbtn, .ch-qbtn:focus-visible { opacity: 1; transform: none; }
.ch-dots, .ch-tag { z-index: 2; pointer-events: none; }
@media (hover: none) { .ch-card__media .ch-qbtn { opacity: 1; transform: none; } .ch-dots { bottom: 56px; } }
.ch-card__actions .ch-btn { text-decoration: none; }

/* ===== 17 UNDER THE SKIES SERIES (series/index.html and one page per chapter, made by build.js) ===== */
.sr-hero { position: relative; background: var(--ink); color: var(--parchment); overflow: hidden; border-bottom: 2px dashed var(--brass); }
.sr-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.sr-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,7,.15), rgba(20,23,7,.85)); }
.sr-hero__inner { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 120px var(--gutter) 64px; }
.sr-hero h1 { font-size: clamp(64px, 11vw, 168px); margin-bottom: 24px; }
.sr-hero h1 em { font-style: normal; color: var(--brass); }
.sr-hero__copy { max-width: 560px; font-size: 18px; color: var(--sand); margin-bottom: 0; }
.trail { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 56px; }
.trail__line { position: relative; display: flex; justify-content: space-between; align-items: flex-start; border-top: 2px dashed var(--brass); padding-top: 0; }
.trail__stop { position: relative; padding-top: 22px; min-width: 120px; font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--sand); }
.trail__stop::before { content: ""; position: absolute; left: 0; top: -9px; width: 16px; height: 16px; border: 2px solid var(--brass); background: var(--ink); border-radius: 50%; }
.trail__stop--now::before { background: var(--brass); box-shadow: 0 0 0 6px rgba(201,146,78,.28); }
.trail__stop--next::before { border-style: dashed; }
.trail__stop b { display: block; font-size: 20px; color: var(--parchment); letter-spacing: .06em; }
.trail__stop:last-child { text-align: right; }
.trail__stop:last-child::before { left: auto; right: 0; }

.sr-sec { padding: 96px 0; }
.sr-feature { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--ink); color: var(--parchment); border: 2px dashed var(--brass); }
.sr-feature__img { min-height: 520px; overflow: hidden; }
.sr-feature__img img { width: 100%; height: 100%; object-fit: cover; }
.sr-feature__body { padding: 56px 56px 48px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.sr-num { font-family: var(--display); font-weight: 700; font-size: 120px; line-height: .8; color: var(--brass); }
.sr-feature h2 { font-size: clamp(44px, 5vw, 72px); }
.sr-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--sand); }
.sr-status { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 14px; border: 1px solid var(--brass); font-family: var(--display); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; color: var(--brass); }
.sr-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.sr-status--done { color: var(--muted); border-color: var(--muted); }
.sr-status--done::before { animation: none; background: var(--muted); }
.sr-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.sr-card { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 24px; background: var(--ivory); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.sr-card:hover { transform: translateY(-4px); border-color: var(--brass); }
.sr-card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.sr-card__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5); }
.sr-card h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 32px; line-height: 1; margin: 10px 0 12px; }
.sr-card .sr-meta { color: var(--muted); }
.sr-card--next { background: transparent; border: 2px dashed var(--brass); align-items: center; text-align: center; grid-template-columns: 1fr; justify-items: center; }
.sr-card--next .sr-num { color: var(--brass-dark); font-size: 80px; }
.sr-rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.sr-rules li { border-top: 2px dashed var(--brass); padding-top: 22px; }
.sr-rules h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 28px; letter-spacing: .05em; margin: 8px 0; }
.sr-rules p { color: var(--muted); font-size: 15px; }

/* chapter page */
.sr-facts { background: var(--ivory); border-bottom: 1px solid var(--line); }
.sr-facts__row { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(5, 1fr); }
.sr-facts__row div { padding: 24px 20px; border-left: 1px solid var(--line); }
.sr-facts__row div:first-child { border-left: 0; padding-left: 0; }
.sr-facts span { display: block; font-family: var(--display); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: var(--muted); }
.sr-facts b { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; }
.sr-story { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.sr-story__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.sr-story__img img { width: 100%; height: 100%; object-fit: cover; }
.sr-story h2 { font-size: clamp(44px, 5vw, 72px); margin-bottom: 24px; }
.sr-quote { margin: 28px 0 0; padding-left: 20px; border-left: 3px solid var(--brass); font-style: italic; color: var(--muted); }
.sr-pieces { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.sr-piece__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.sr-piece__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.sr-piece:hover .sr-piece__img img { transform: scale(1.05); }
.sr-piece__no { position: absolute; left: 10px; top: 10px; padding: 4px 10px; background: var(--ink); color: var(--brass); font-family: var(--display); font-weight: 700; letter-spacing: .16em; font-size: 12px; text-transform: uppercase; }
.sr-piece h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 22px; letter-spacing: .04em; margin: 12px 0 2px; }
.sr-piece__price { margin: 0 0 10px; }
.sr-left { font-family: var(--display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--brass-dark); margin-bottom: 6px; }
.sr-bar { display: flex; gap: 3px; margin-bottom: 14px; }
.sr-bar i { flex: 1; height: 6px; background: var(--brass); }
.sr-bar i.x { background: var(--sand); }
.sr-journal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.sr-day { border-top: 2px dashed var(--brass); padding-top: 18px; }
.sr-day .cap { margin-bottom: 8px; }
.sr-day h3 { font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.sr-ph { aspect-ratio: 4 / 3; margin-bottom: 14px; display: grid; place-items: center; border: 2px dashed var(--brass); color: var(--brass-dark); font-family: var(--display); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; background: var(--ivory); }
.sr-box { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sr-stamp { aspect-ratio: 1; max-width: 360px; justify-self: center; display: grid; place-items: center; text-align: center; border: 3px double var(--brass); border-radius: 50%; padding: 30px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brass); }
.sr-stamp small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--sand); }
.sr-stamp b { display: block; font-size: 56px; letter-spacing: .04em; line-height: 1; margin: 6px 0; }
.sr-notify { display: flex; max-width: 520px; margin-top: 24px; }
.sr-notify input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; background: transparent; border: 2px solid var(--sand); border-right: 0; color: var(--parchment); font: inherit; border-radius: 0; }
@media (max-width: 900px) {
  .sr-feature, .sr-story, .sr-box, .sr-duo { grid-template-columns: 1fr; }
  .sr-feature__img { min-height: 280px; }
  .sr-feature__body { padding: 32px 24px; }
  .sr-card { grid-template-columns: 110px 1fr; gap: 16px; }
  .sr-rules, .sr-journal { grid-template-columns: 1fr 1fr; }
  .sr-pieces { grid-template-columns: repeat(2, 1fr); }
  .sr-facts__row { grid-template-columns: 1fr 1fr; }
  .sr-facts__row div { border-left: 0; padding-left: 0; }
  .trail__stop { min-width: 0; font-size: 11px; }
  .sr-hero__inner { padding-top: 72px; }
  .sr-sec { padding: 64px 0; }
}
/* header: one more link in the nav, so keep every link on one line */
.nav a, .nav button { white-space: nowrap; }
.nav { gap: 26px; }
@media (max-width: 1200px) { .nav { gap: 18px; } .nav a, .nav button { font-size: 14px; letter-spacing: .12em; } }
.sr-piece__img { display: block; }
.nav { gap: 22px; }
.nav a, .nav button { font-size: 14px; letter-spacing: .14em; }
.logo { padding: 0 12px; }

/* hero video + snow canvas */
.sr-hero { min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: flex-end; }
.sr-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.sr-hero__video.is-playing { opacity: .5; }
.sr-hero::after { z-index: 1; pointer-events: none; }
.sr-snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.sr-hero__inner, .trail { z-index: 2; }
.sr-hero p .sr-status { margin-top: 8px; }

/* sketch map */
.sr-map { margin: 0; position: relative; background: var(--ivory); border: 2px dashed var(--brass); padding: 12px; }
.sr-map svg { display: block; width: 100%; height: auto; }
.sr-map figcaption { margin-top: 8px; font-family: var(--display); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: var(--muted); text-align: right; }
.sr-map .grid { stroke: var(--sand); stroke-width: 1; stroke-dasharray: 2 6; }
.sr-map .tick { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .12em; fill: var(--muted); }
.sr-map .contour { fill: none; stroke: #b9a68a; stroke-width: 1.1; opacity: .75; }
.sr-map .contour--hill { opacity: .4; }
.sr-map .route { fill: none; stroke: var(--brass-dark); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.sr-map .route--next { stroke-dasharray: 3 9; opacity: .7; stroke: var(--muted); }
.sr-map[data-draw] .route:not(.route--next) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s ease .2s; }
.sr-map[data-draw].is-drawn .route:not(.route--next) { stroke-dashoffset: 0; }
.sr-map .pin { cursor: pointer; }
.sr-map .pin__dot { fill: var(--ink); stroke: var(--brass); stroke-width: 2.5; transition: r .25s, fill .25s; }
.sr-map .pin--now .pin__dot { fill: var(--brass); stroke: var(--ink); }
.sr-map .pin--next { cursor: default; }
.sr-map .pin--next .pin__dot { fill: var(--ivory); stroke: var(--muted); stroke-dasharray: 3 3; }
.sr-map .pin__pulse { fill: none; stroke: var(--brass); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pinPulse 2.4s ease-out infinite; }
@keyframes pinPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3); opacity: 0; } }
.sr-map .pin__n { font-family: var(--display); font-weight: 700; font-size: 14px; fill: var(--parchment); pointer-events: none; }
.sr-map .pin--now .pin__n { fill: var(--ink); }
.sr-map .pin--next .pin__n { fill: var(--muted); }
.sr-map .pin__label { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink); }
.sr-map .pin__sub { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; fill: var(--muted); }
.sr-map .pin--next .pin__label { fill: var(--muted); }
.sr-map a.pin:hover .pin__dot, .sr-map a.pin:focus-visible .pin__dot { r: 15; }
.sr-map a.pin:hover .pin__label { fill: var(--brass-dark); }
.sr-map a.pin:focus-visible { outline: none; }
.sr-map a.pin:focus-visible .pin__dot { stroke: var(--ink); stroke-width: 4; }
.sr-map .pin--active .pin__label { fill: var(--brass-dark); }
.sr-map .compass circle { fill: none; stroke: var(--muted); stroke-width: 1.2; }
.sr-map .compass path { fill: var(--brass-dark); }
.sr-map .compass text { font-family: var(--display); font-weight: 700; font-size: 14px; fill: var(--muted); }
.sr-note { margin: 0; max-width: 340px; color: var(--muted); }
.sr-pn { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.sr-ph--img { border: 0; padding: 0; overflow: hidden; }
.sr-ph--img img { width: 100%; height: 100%; object-fit: cover; }
.sr-route { background: var(--parchment); }
.sr-ed { margin: 0 0 24px; }
.sr-ed__note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.sr-pieces { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.sr-piece .btn { width: 100%; min-height: 42px; font-size: 13px; }
.sr-piece__img { display: block; }
.sr-box > div:first-child .sr-notify { margin-top: 24px; }
@media (max-width: 900px) { .sr-hero { min-height: 0; } .sr-map { overflow-x: auto; -webkit-overflow-scrolling: touch; } .sr-map svg { min-width: 760px; } .sr-map figcaption { position: sticky; left: 0; text-align: left; } }
@media (prefers-reduced-motion: reduce) { .sr-map .pin__pulse { animation: none; opacity: 0; } .sr-map[data-draw] .route { stroke-dashoffset: 0 !important; transition: none; } .sr-hero__video { display: none; } .sr-snow { display: none; } }
.sr-hero__inner, .trail { width: 100%; }

/* ===== 18 "MORE LIKE THIS" ON PRODUCT PAGES ===== */
.pp-relgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pp-relgrid a { display: block; }
.pp-rel__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); margin-bottom: 10px; }
.pp-rel__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.pp-relgrid a:hover .pp-rel__img img { transform: scale(1.05); }
.pp-rel__name { display: block; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.1; }
.pp-rel__price { display: block; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .pp-relgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* phones: the trail in the hero stacks down the page, cards stay readable */
@media (max-width: 900px) {
  .trail__line { flex-direction: column; border-top: 0; border-left: 2px dashed var(--brass); gap: 20px; margin-left: 8px; }
  .trail__stop, .trail__stop:last-child { padding: 0 0 0 22px; text-align: left; }
  .trail__stop::before, .trail__stop:last-child::before { left: -11px; right: auto; top: 3px; }
  .sr-card--next { grid-template-columns: 1fr; }
  .sr-card h3 { font-size: 26px; }
  .trail { padding-bottom: 40px; }
}

/* ============ cart items (drawer) ============ */
.cart-items { list-style: none; margin: 0 0 8px; padding: 0; }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--sand); }
.cart-item__img { display: block; aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__name { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.1; }
.cart-item__name:hover { color: var(--brass-dark); }
.cart-item__price { font-size: 14px; color: var(--muted); margin: 4px 0 10px; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.cart-qty button { width: 34px; height: 34px; background: none; border: 0; font-size: 18px; line-height: 1; color: var(--ink); }
.cart-qty button:hover { background: var(--ink); color: var(--parchment); }
.cart-qty span { min-width: 30px; text-align: center; font-family: var(--display); font-weight: 600; font-size: 16px; }
.cart-item__rm { background: none; border: 0; padding: 4px 0; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid currentColor; }
.cart-item__rm:hover { color: var(--oxblood); }
.cart-ship { margin-top: 20px; }

/* ============ 20. Checkout, thank-you and form messages ============ */
.co { padding: clamp(40px, 6vw, 88px) 0; background: var(--parchment); }
.co h1 { font-size: clamp(44px, 6vw, 80px); margin: 6px 0 28px; }
.co h2 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; }
.co__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.co__grid[hidden], .co__empty[hidden] { display: none; }
.co__form .form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.co__form .field { margin-bottom: 16px; }
.co__err { background: #f6e3e2; border-left: 4px solid var(--oxblood); color: var(--oxblood); padding: 12px 14px; margin: 8px 0 16px; font-size: 14px; }
.co__small { font-size: 13px; color: var(--muted); margin-top: 14px; }
.co__sum { background: var(--ivory); border: 1px dashed var(--brass); padding: 24px; position: sticky; top: 96px; }
.co__lines { list-style: none; margin: 0 0 18px; padding: 0; }
.co__lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--sand); }
.co__lines img { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); }
.co__lines b { display: block; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.1; }
.co__lines span { font-size: 13px; color: var(--muted); }
.co__lines em { font-style: normal; font-size: 15px; }
.co__tot { margin: 0 0 18px; }
.co__tot div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.co__tot dt, .co__tot dd { margin: 0; }
.co__tot--grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px !important; font-family: var(--display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 18px !important; }
.co__thanks { text-align: center; max-width: 560px; }
.co__thanks p { margin: 0 0 18px; }
.co__empty { text-align: center; padding: 40px 0; }
.form-msg { margin: 12px 0 0; font-size: 14px; min-height: 1.4em; }
.form-msg.is-ok { color: var(--brass-dark); }
.form-msg.is-err { color: var(--oxblood); }
.Footer .form-msg.is-ok, .on-dark .form-msg.is-ok { color: var(--brass); }
.Footer .form-msg.is-err, .on-dark .form-msg.is-err { color: #f0b9b8; }
@media (max-width: 900px) { .co__grid { grid-template-columns: 1fr; } .co__sum { position: static; order: -1; } }

.co__code { display: flex; gap: 10px; margin: 0 0 6px; }
.co__code input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--ink); background: #fff; font: inherit; text-transform: uppercase; letter-spacing: .08em; }
.co__code .btn { padding: 10px 18px; }
.co__codemsg { font-size: 13px; color: var(--brass-dark); min-height: 1.4em; margin: 0 0 12px; }
.co__codemsg.is-err { color: var(--oxblood); }
.sr-edwrap { display: contents; }
/* admin page */
.adm h2 { margin-top: 36px; }
.adm__login { max-width: 360px; }
.adm__stats { display: flex; gap: 32px; margin-bottom: 8px; }
.adm__stats b { display: block; font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1; color: var(--brass-dark); }
.adm__stats span { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.adm__scroll { overflow-x: auto; }
.adm__table { width: 100%; border-collapse: collapse; background: var(--parchment); border: 1px solid var(--line); font-size: 14px; }
.adm__table th { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-align: left; padding: 12px 14px; background: var(--ink); color: var(--brass); white-space: nowrap; }
.adm__table td { padding: 12px 14px; border-top: 1px dashed var(--sand); vertical-align: top; }
.adm__table input { padding: 6px 8px; border: 1px solid var(--ink); background: #fff; font: inherit; max-width: 170px; }
.adm__table .btn { padding: 6px 12px; font-size: 12px; }
