/* Nested Arrow homepage — design system
   Palette from the brand board:
   off white #F6F4EF, warm sand #E7E3DA, pale sage #C8D5C2,
   sage #A8B5A0, deep sage #6D7568 (headings only), ink #454B43 (body) */

:root {
  --bg: #F6F4EF;
  --sand: #E7E3DA;
  --sage-pale: #C8D5C2;
  --sage: #A8B5A0;
  --sage-deep: #6D7568;
  --ink: #454B43;
  --ink-strong: #2F332E;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
  --display: "Jost", "Inter", sans-serif;
  --max: 1200px;
  --radius: 6px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ink-strong); color: var(--bg); padding: .6em 1em; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }

/* ---------- type ---------- */

h1, h2 {
  font-family: var(--display);
  font-weight: 300;
  color: var(--sage-deep);
  letter-spacing: .04em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); color: #fff; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 340; letter-spacing: .01em; }

h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

h3 { font-family: var(--display); font-weight: 400; letter-spacing: .06em; color: var(--sage-deep); }

.eyebrow {
  font-family: var(--display);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  color: #fff;
}
.site-header.scrolled {
  background: rgba(246,244,239,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(69,75,67,.08);
  color: var(--ink);
  padding-top: .75rem; padding-bottom: .75rem;
}

.wordmark { display: flex; align-items: center; text-decoration: none; }
.wordmark img { height: 44px; width: auto; }
.wordmark .logo-dark { display: none; }
.site-header.scrolled .wordmark .logo-light { display: none; }
.site-header.scrolled .wordmark .logo-dark { display: block; }

.site-header nav { display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); }
.site-header nav a {
  font-family: var(--display); font-weight: 400; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  opacity: .92; padding: .35em 0; border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header nav a:hover, .site-header nav a:focus-visible { border-bottom-color: currentColor; }

@media (max-width: 760px) {
  .site-header nav { display: none; }
}

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

.btn {
  display: inline-block;
  font-family: var(--display); font-weight: 400;
  font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  padding: 1em 2.1em; border-radius: 999px;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }

.btn-solid { background: var(--sage); color: #fff; }
.btn-solid:hover { background: var(--sage-deep); }

.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }

.btn-light { background: var(--bg); color: var(--ink-strong); }
.btn-light:hover { background: #fff; }

.btn-small { padding: .65em 1.5em; font-size: .78rem; }

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

.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(38,41,36,.55) 0%, rgba(38,41,36,0) 22%),
    linear-gradient(to top, rgba(38,41,36,.72) 0%, rgba(38,41,36,.25) 45%, rgba(38,41,36,.15) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 clamp(1.2rem, 5vw, 4rem) clamp(3.5rem, 8vh, 6rem);
  max-width: 820px;
}
.hero-content .eyebrow { color: var(--sage-pale); }
.hero-sub {
  color: rgba(255,255,255,.88);
  max-width: 34em;
  margin: 1.4rem 0 2.2rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero { background: url("assets/hero-stone-poster.jpg") center/cover no-repeat; }
}

/* ---------- facts strip ---------- */

.facts {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .4rem clamp(1.5rem, 4vw, 3.5rem);
  padding: 1.3rem clamp(1.2rem, 4vw, 3rem);
  background: var(--sand);
  font-family: var(--display);
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage-deep);
  text-align: center;
}

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

.section { padding: clamp(4rem, 9vw, 7.5rem) clamp(1.2rem, 4vw, 3rem); }
.section-sand { background: var(--sand); }

.section-head { max-width: var(--max); margin: 0 auto 3rem; }
.section-intro { max-width: 44em; margin-top: 1.1rem; }

/* ---------- bar grid ---------- */

.bar-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
}
@media (max-width: 900px) { .bar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bar-grid { grid-template-columns: 1fr; } }

.bar-card {
  position: relative;
  display: block; text-decoration: none;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: 0 1px 2px rgba(69,75,67,.05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.bar-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(69,75,67,.12); }
.bar-card:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }

/* real product photography */
.product-photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.3rem;
}
.is-out .product-photo { opacity: .55; }
.beyond-card .product-photo { margin-bottom: 1.1rem; }

.soap {
  height: 118px; border-radius: 4px 4px 5px 5px;
  margin-bottom: 1.3rem;
  position: relative;
  box-shadow: inset 0 -14px 22px rgba(0,0,0,.14), inset 0 10px 18px rgba(255,255,255,.22);
}
.soap::after {
  /* the paper band, like her wrap labels */
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 42%; transform: translateX(-50%);
  background: rgba(250,248,243,.92);
  box-shadow: 0 0 6px rgba(0,0,0,.08);
}
.soap::before {
  /* ragged hand-cut top edge */
  content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 12px;
  background: var(--bg);
  clip-path: polygon(0 0, 100% 0, 100% 45%, 88% 70%, 74% 40%, 60% 75%, 47% 45%, 33% 78%, 20% 48%, 8% 72%, 0 50%);
}

.soap-generic    { background: linear-gradient(160deg, #d9d2c2, #b3a98f); }
.soap-invigorate { background: linear-gradient(160deg, #b7c3a4, #93a37f); }
.soap-winter     { background: linear-gradient(160deg, #dcc7a8, #b08a5e); }
.soap-desert     { background: linear-gradient(160deg, #cbb49b, #8f7358); }
.soap-apothecary { background: linear-gradient(160deg, #857452, #514a35); }
.soap-mystic     { background: linear-gradient(160deg, #87917f, #4d554b); }
.soap-ancient    { background: linear-gradient(160deg, #978972, #5c5347); }
.soap-kitchen    { background: linear-gradient(160deg, #77604c, #3e3128); }
.soap-olea       { background: linear-gradient(160deg, #f0e9d8, #d9cdb0); }
.soap-serenity   { background: linear-gradient(160deg, #e2eadf, #b4c8b8); }

.bar-card h3 { font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; }
.bar-card .tag {
  font-size: .62rem; letter-spacing: .2em; vertical-align: middle;
  background: var(--sage-pale); color: var(--ink-strong);
  padding: .25em .7em; border-radius: 999px; margin-left: .4em;
}
.ing {
  font-family: var(--serif); font-style: italic;
  color: var(--sage-deep); font-size: .95rem;
  margin: .35rem 0 .7rem;
}
.benefit { font-size: .93rem; }
.price {
  margin-top: 1rem; font-family: var(--display); font-weight: 500;
  color: var(--ink-strong); display: flex; justify-content: space-between; align-items: baseline;
}
.cta-word {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage); transition: color .25s;
}
.bar-card:hover .cta-word { color: var(--sage-deep); }

/* best-seller ribbon, sits over the soap swatch */
.flag {
  position: absolute; top: 2rem; right: 2rem; z-index: 2;
  font-family: var(--display); font-weight: 500;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  background: var(--sage-deep); color: var(--bg);
  padding: .35em .9em; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(47,51,46,.25);
}

.badge {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  background: var(--sand); color: var(--sage-deep);
  padding: .3em .8em; border-radius: 999px;
}
.is-out .soap { opacity: .55; }

/* ---------- beyond ---------- */

.beyond-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
@media (max-width: 1000px) { .beyond-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .beyond-grid { grid-template-columns: 1fr; } }

/* the face oil, one product with room to breathe */
.oil-feature {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: var(--max); margin: clamp(1.8rem, 4vw, 3rem) auto 0;
  background: var(--bg); border-radius: var(--radius);
  border-top: 3px solid var(--sage);
  padding: 2rem 1.9rem;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.oil-feature:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(69,75,67,.12); }
.oil-feature:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }
.oil-feature .eyebrow { margin-bottom: .5rem; }
.oil-feature h3 { font-size: 1.25rem; letter-spacing: .08em; }
.oil-feature .benefit { margin-top: .6rem; max-width: 46em; }
.oil-feature .price { white-space: nowrap; display: flex; gap: 1.2rem; }
@media (max-width: 700px) {
  .oil-feature { flex-direction: column; align-items: flex-start; }
  .oil-feature .price { white-space: normal; }
}

.beyond-card {
  display: block; text-decoration: none;
  background: var(--bg); border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  border-top: 3px solid var(--sage);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.beyond-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(69,75,67,.12); }
.beyond-card:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }
.beyond-card .eyebrow { margin-bottom: .5rem; }
.beyond-card h3 { font-size: 1.25rem; letter-spacing: .08em; }
.beyond-card .benefit { margin-top: .6rem; }
.beyond-card .price { display: block; }
.alt-size { display: block; font-weight: 400; font-size: .8rem; color: var(--sage-deep); margin-top: .2rem; }
.alt-size .u { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- ingredients ---------- */

.ingredients-layout {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) { .ingredients-layout { grid-template-columns: 1fr; } }
.ingredients-layout .section-head { margin-bottom: 0; position: sticky; top: 110px; }
@media (max-width: 860px) { .ingredients-layout .section-head { position: static; } }

.ingredient-list details {
  border-bottom: 1px solid rgba(109,117,104,.25);
}
.ingredient-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.15rem 0;
  font-family: var(--display); font-weight: 400;
  font-size: 1.1rem; letter-spacing: .08em; color: var(--sage-deep);
  transition: color .25s;
}
.ingredient-list summary::-webkit-details-marker { display: none; }
.ingredient-list summary:hover { color: var(--ink-strong); }
.ingredient-list summary:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }
.ingredient-list summary span {
  font-size: 1.3rem; color: var(--sage); transition: transform .3s var(--ease);
}
.ingredient-list details[open] summary span { transform: rotate(45deg); }
.ingredient-list details p { padding: 0 0 1.2rem; max-width: 38em; }

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

.story-layout {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 860px) { .story-layout { grid-template-columns: 1fr; } }

.story-photo img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.story-lede {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: var(--sage-deep);
  margin: 1.2rem 0 1.4rem;
}
.story-text h2 { margin-top: .2rem; }
.story-text p + p { margin-top: 1rem; }
.find-us { font-family: var(--serif); font-style: italic; color: var(--sage-deep); }

/* ---------- process ---------- */

.process {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  list-style: none;
  counter-reset: step;
}
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .process { grid-template-columns: 1fr; } }

.process li { border-top: 1px solid rgba(109,117,104,.3); padding-top: 1.1rem; }
.process .num {
  font-family: var(--serif); font-style: italic;
  color: var(--sage); font-size: 1rem; display: block; margin-bottom: .4rem;
}
.process h3 { font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .4rem; }
.process p { font-size: .92rem; }

.process-film { max-width: 760px; margin: 3.5rem auto 0; }
.process-film video { width: 100%; border-radius: var(--radius); }

/* ---------- ritual ---------- */

.ritual {
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
  padding: clamp(6rem, 14vw, 10rem) clamp(1.2rem, 4vw, 3rem);
  text-align: center;
}
.ritual-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
@media (prefers-reduced-motion: reduce) { .ritual-video { display: none; } }
.ritual::before { content: none; }
.ritual::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(47,51,46,.55);
}
.ritual-inner { z-index: 2; }
.ritual-inner { position: relative; max-width: 640px; margin: 0 auto; color: #fff; }
.ritual-inner h2 { color: #fff; margin-bottom: 1rem; }
.ritual-inner p { color: rgba(255,255,255,.9); margin-bottom: 2rem; }

/* ---------- reviews ---------- */

.center-head { text-align: center; }
.center-head .section-intro { margin-left: auto; margin-right: auto; }

.featured-review {
  max-width: 820px; margin: 0 auto 3.5rem; text-align: center;
}
.featured-review p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.55; color: var(--sage-deep);
}
.featured-review cite, .review-card cite {
  display: block; margin-top: 1.4rem;
  font-family: var(--display); font-style: normal;
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--sage);
}

.review-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  align-items: start;
}
@media (max-width: 760px) { .review-grid { grid-template-columns: 1fr; } }

.review-card {
  background: #fff; border-radius: var(--radius);
  padding: 1.8rem 1.9rem;
  box-shadow: 0 1px 2px rgba(69,75,67,.05);
  border-top: 3px solid var(--sage-pale);
}
.review-card p {
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem; line-height: 1.6; color: var(--ink);
}
.review-card cite { margin-top: 1.1rem; }

/* ---------- info strip ---------- */

.info-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
@media (max-width: 900px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .info-grid { grid-template-columns: 1fr; } }
.info-grid h3 {
  font-size: .8rem; letter-spacing: .24em; text-transform: uppercase;
  margin-bottom: .6rem; color: var(--sage-deep);
}
.info-grid p { font-size: .95rem; }

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

.site-footer {
  background: var(--bg);
  text-align: center;
  padding: 4.5rem 1.5rem 3rem;
  border-top: 1px solid rgba(109,117,104,.18);
}
.footer-logo { margin: 0 auto 1.6rem; width: 170px; height: auto; }
.site-footer nav { display: flex; justify-content: center; gap: 2.2rem; margin-bottom: 1.6rem; }
.site-footer nav a {
  font-family: var(--display); font-size: .8rem; letter-spacing: .2em;
  text-transform: uppercase; text-decoration: none; color: var(--sage-deep);
  border-bottom: 1px solid transparent; padding-bottom: .2em;
}
.site-footer nav a:hover, .site-footer nav a:focus-visible { border-bottom-color: var(--sage-deep); }
.footer-note { font-size: .85rem; color: var(--sage-deep); }
.footer-line {
  margin-top: .5rem;
  font-family: var(--serif); font-style: italic; color: var(--sage-deep); font-size: .95rem;
}
.footer-credit {
  margin-top: 1.4rem;
  font-family: var(--display); font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sage);
}
.footer-credit a {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: .15em;
  transition: color .25s;
}
.footer-credit a:hover, .footer-credit a:focus-visible { color: var(--sage-deep); }

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

.add-btn {
  font-family: var(--display); font-weight: 500;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage-deep); background: var(--sage-pale);
  border: none; border-radius: 999px;
  padding: .55em 1.2em; cursor: pointer;
  transition: background .25s, color .25s, transform .2s var(--ease);
}
.add-btn:hover { background: var(--sage); color: #fff; transform: translateY(-1px); }
.add-btn:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 2px; }

.size-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .7rem 0 0; margin-top: .7rem;
  border-top: 1px solid rgba(109,117,104,.18);
  font-family: var(--display); font-weight: 500; color: var(--ink-strong);
}
.size-row:first-of-type { margin-top: 1.1rem; }
.size-price { font-size: .95rem; }

.cart-overlay {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(47,51,46,.4);
  opacity: 0; transition: opacity .3s var(--ease);
}
.cart-overlay.open { opacity: 1; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
  width: min(420px, 100vw);
  background: var(--bg);
  box-shadow: -12px 0 40px rgba(47,51,46,.18);
  padding: 1.6rem 1.6rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: none; }

.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.4rem;
}
.cart-head h2 { font-size: 1.4rem; display: flex; align-items: center; gap: .7rem; }
.cart-badge { height: 30px; width: auto; }
.cart-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.8rem; line-height: 1; color: var(--sage-deep);
  padding: .2rem .5rem;
}
.cart-close:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 2px; }

.cart-items { list-style: none; }
.cart-line {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(109,117,104,.18);
}
.cart-line-name { flex: 1; font-size: .95rem; }
.cart-line-price {
  font-family: var(--display); font-weight: 500;
  color: var(--ink-strong); min-width: 3.2em; text-align: right;
}
.cart-qty {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-weight: 500;
}
.cart-qty button {
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  border: 1px solid rgba(109,117,104,.4); background: none;
  color: var(--sage-deep); cursor: pointer; font-size: 1rem; line-height: 1;
  transition: background .2s, color .2s;
}
.cart-qty button:hover { background: var(--sage); color: #fff; border-color: var(--sage); }

.cart-empty { color: var(--sage-deep); font-family: var(--serif); font-style: italic; }

.cart-summary { margin-top: 1.4rem; }
.cart-fulfil { border: none; margin-bottom: 1.2rem; }
.cart-fulfil legend {
  font-family: var(--display); font-weight: 500;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage); margin-bottom: .6rem;
}
.cart-fulfil label {
  display: flex; gap: .6rem; align-items: flex-start;
  padding: .35rem 0; font-size: .92rem; cursor: pointer;
}
.cart-fulfil input { accent-color: var(--sage-deep); margin-top: .25em; }

.cart-math div {
  display: flex; justify-content: space-between;
  padding: .3rem 0; font-size: .95rem;
}
.cart-math dd { font-family: var(--display); font-weight: 500; color: var(--ink-strong); }
.cart-math .cart-total {
  border-top: 1px solid rgba(109,117,104,.3);
  margin-top: .4rem; padding-top: .7rem;
  font-size: 1.05rem;
}
.cart-checkout { width: 100%; margin-top: 1.2rem; }
.cart-checkout:disabled { opacity: .6; cursor: wait; transform: none; }
.cart-note {
  margin-top: .8rem; font-size: .8rem; color: var(--sage-deep); text-align: center;
}
.cart-error {
  margin-top: .8rem; font-size: .88rem; color: #8a3b2e; text-align: center;
}

.cart-open { cursor: pointer; border: none; }

@media (prefers-reduced-motion: reduce) {
  .cart-drawer, .cart-overlay { transition: none; }
}

/* ---------- thanks page ---------- */

.thanks {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  max-width: 620px; margin: 0 auto;
  padding: 3rem clamp(1.2rem, 4vw, 3rem);
}
.thanks-logo { width: 180px; height: auto; margin-bottom: 2rem; }
.thanks h1 { color: var(--sage-deep); margin-bottom: .6rem; }
.thanks-lede {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: var(--sage-deep);
  margin-bottom: 1.2rem;
}
.thanks p + p { margin-top: .8rem; }
.thanks .btn { margin-top: 2rem; }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
