:root {
  --paper: #f4eddf;
  --paper-deep: #e9ddca;
  --ink: #1b211b;
  --muted: #6c685f;
  --tomato: #e84e37;
  --green: #1f5c49;
  --yellow: #f0c84b;
  --blue: #89bad2;
  --lilac: #b9a8d0;
  --line: rgba(27, 33, 27, .18);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', sans-serif;
  --shadow-paper: 0 1px 0 rgba(255,255,255,.7) inset, 0 0 0 1px rgba(0,0,0,.08), 0 16px 34px rgba(55,42,26,.14), 0 5px 10px rgba(55,42,26,.08);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .2;
  background-image:
    repeating-radial-gradient(circle at 23% 17%, rgba(72,54,33,.14) 0 0.35px, transparent .45px 3px),
    repeating-radial-gradient(circle at 67% 71%, rgba(255,255,255,.35) 0 0.45px, transparent .55px 4px);
  background-size: 7px 8px, 9px 11px;
  mix-blend-mode: multiply;
}
button, a, input, textarea, select { font: inherit; }
button, a { color: inherit; }
button { cursor: pointer; }
button:active, .primary-btn:active { scale: .96; }
img {
  outline: 1px solid rgba(0,0,0,.1);
  outline-offset: -1px;
}
h1, h2, h3 { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }

.topbar {
  height: 78px;
  padding: 0 4.5vw;
  display: flex;
  align-items: center;
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 0;
  transition-property: background-color, border-color, height;
  transition-duration: 220ms;
  transition-timing-function: ease-out;
}
.topbar.scrolled {
  height: 68px;
  background: rgba(247,240,226,.92);
  border-bottom: 0;
  backdrop-filter: blur(16px);
}
.brand {
  text-decoration: none;
  letter-spacing: .17em;
  font-size: 15px;
  font-weight: 600;
}
footer div a, .footer-link {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.footer-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}
footer div a::after, .footer-link::after {
  content: '';
  position: absolute;
  height: 1px;
  inset: auto 50% -5px;
  background: currentColor;
  transition-property: inset;
  transition-duration: 180ms;
}
footer div a:hover::after, .footer-link:hover::after { inset-inline: 0; }
.actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-button, .cart-button {
  min-height: 42px;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  transition-property: scale, background-color, color;
  transition-duration: 160ms;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}
.icon-button span:first-child { font-size: 23px; line-height: 1; transform: translateY(-1px); }
.cart-button {
  padding: 7px 8px 7px 16px;
  border-radius: 30px;
  background: var(--ink);
  color: #fff9ea;
}
.cart-button span {
  width: 28px;
  height: 28px;
  margin-left: 7px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.hero {
  min-height: 820px;
  height: min(94vh, 980px);
  padding: 112px 5vw 60px;
  display: grid;
  grid-template-columns: minmax(430px, .86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: 2vw;
  position: relative;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(circle at 11% 95%, rgba(232,78,55,.18), transparent 27%),
    linear-gradient(135deg, #f7f0e3 0%, #efe1ce 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: linear-gradient(rgba(27,33,27,.035) 1px, transparent 1px);
  background-size: 100% 42px;
}
.hero-copy {
  align-self: center;
  position: relative;
  z-index: 5;
  max-width: 660px;
}
.eyebrow {
  margin: 0 0 17px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-kicker::before {
  content: '✦';
  color: var(--tomato);
  font-size: 18px;
}
.hero h1 {
  margin: 0;
  font: 600 clamp(65px, 6.3vw, 106px)/.83 var(--serif);
  letter-spacing: -.015em;
  max-width: 730px;
}
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em {
  margin-top: .12em;
  color: var(--tomato);
  font-weight: 500;
  font-style: italic;
}
.hero-lede {
  max-width: 565px;
  margin: 30px 0 0;
  color: #4f4c45;
  font-size: 16px;
  line-height: 1.65;
}
.primary-btn {
  min-height: 50px;
  border: 0;
  border-radius: 4px;
  padding: 0 16px 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 34px;
  background: var(--green);
  color: #fff9e8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ink);
  transition-property: scale, transform, background-color, box-shadow;
  transition-duration: 160ms;
}
.primary-btn:hover {
  transform: translate(-2px,-2px);
  background: var(--tomato);
  box-shadow: 6px 6px 0 var(--ink);
}
.primary-btn span { font-size: 18px; }
.occasion-strip {
  position: relative;
  z-index: 8;
  display: flex;
  overflow-x: auto;
  padding: 0 4.5vw;
  background: var(--ink);
  color: #fff9e8;
  scrollbar-width: none;
}
.occasion-strip button {
  min-width: 155px;
  min-height: 68px;
  flex: 1;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.13);
  padding: 0 15px;
  background: transparent;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition-property: background-color, color, scale;
  transition-duration: 160ms;
}
.occasion-strip button:first-child { border-left: 1px solid rgba(255,255,255,.13); }
.occasion-strip button:hover { background: var(--yellow); color: var(--ink); }

.catalog { padding: 115px 0 40px; }
.section-intro {
  max-width: 1240px;
  margin: 0 auto 100px;
  padding: 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}
.section-intro h2 {
  margin: 0;
  font: 600 clamp(54px, 6.2vw, 93px)/.9 var(--serif);
  letter-spacing: -.015em;
}
.section-intro > p {
  max-width: 390px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.card-row {
  position: relative;
  padding: 78px max(5vw, calc((100vw - 1160px)/2)) 92px;
  overflow: clip;
  scroll-margin-top: 66px;
}
.card-row::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 72vw;
  height: 72vw;
  max-width: 920px;
  max-height: 920px;
  right: -18vw;
  top: 3%;
  border-radius: 45% 55% 39% 61% / 48% 36% 64% 52%;
  background: var(--wash);
  opacity: .42;
  transform: rotate(calc(var(--row-tilt, 0) * 1deg));
}
.card-row:nth-child(even)::before { right: auto; left: -22vw; }
.card-row + .card-row { border-top: 1px dashed rgba(27,33,27,.16); }
.row-head {
  position: relative;
  max-width: 1120px;
  margin: 0 auto 38px;
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 18px;
}
.row-head .eyebrow { color: var(--accent); margin-bottom: 8px; }
.row-head h3 {
  margin: 0;
  font: 600 clamp(48px, 5vw, 78px)/.82 var(--serif);
  letter-spacing: -.015em;
}
.row-head > small {
  max-width: 270px;
  padding-bottom: 7px;
  color: #68645d;
  font-size: 12px;
  font-weight: 700;
}
.cards-track {
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0,1fr);
  gap: clamp(18px,3vw,42px);
  align-items: start;
}
.product {
  min-width: 0;
  cursor: pointer;
  outline: none;
}
.product:nth-child(1) { transform: rotate(-1.2deg); }
.product:nth-child(2) { transform: translateY(20px) rotate(.7deg); }
.product:nth-child(3) { transform: rotate(1.3deg); }
.product-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5/7;
  background: #eee;
  box-shadow: var(--shadow-paper);
  transition-property: transform, box-shadow;
  transition-duration: 260ms;
  transition-timing-function: cubic-bezier(.2,.75,.2,1);
}
.product:hover .product-art, .product:focus-visible .product-art {
  transform: translateY(-10px) rotate(-.5deg);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 0 0 2px var(--accent), 0 26px 45px rgba(55,42,26,.22);
}
.card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.art-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 20px;
  padding: 20%;
  text-align: center;
}
.art-fallback span { font-size: 60px; }
.art-fallback b { font: 600 31px/.94 var(--serif); white-space: pre-line; }
.image-missing .card-image, .image-missing .thumb-image { display: none; }
.paint-copy {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  min-height: 35%;
  padding: 15% 9% 8%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--card-ink);
  background: linear-gradient(to bottom, transparent, rgba(244,237,223,.56) 35%, rgba(244,237,223,.86));
}
.paint-copy small {
  margin-bottom: 8px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.paint-copy strong {
  font: 600 clamp(25px,2.8vw,41px)/.86 var(--serif);
  letter-spacing: -.015em;
  white-space: pre-line;
  text-wrap: balance;
}
.product-meta {
  padding: 17px 3px 0;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.product-meta b { font: 500 18px/1.15 var(--serif); }
.product-meta span {
  margin-left: auto;
  color: #69655d;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.cause-pill {
  position: absolute;
  z-index: 5;
  top: 13px;
  left: 13px;
  padding: 7px 9px;
  border-radius: 2px;
  background: var(--ink);
  color: #dff685;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
}

.impact-banner {
  position: relative;
  max-width: 1240px;
  min-height: 570px;
  margin: 95px auto 130px;
  padding: 8%;
  display: flex;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  background: #d9f36e;
  color: var(--ink);
  clip-path: polygon(1% 3%, 99% 0, 97% 96%, 3% 100%);
}
.impact-copy { position: relative; z-index: 2; width: 63%; }
.impact-banner .eyebrow { color: #c93e2e; }
.impact-banner h2 {
  margin: 0;
  font: 600 clamp(56px,6.5vw,96px)/.84 var(--serif);
  letter-spacing: -.015em;
}
.impact-banner h2 em { color: var(--tomato); font-weight: 570; }
.impact-banner p:not(.eyebrow) { max-width: 600px; font-size: 14px; line-height: 1.7; }
.ink-btn { margin-top: 15px; background: var(--ink); }
.impact-stamp {
  position: relative;
  z-index: 2;
  flex: none;
  width: 255px;
  height: 255px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(6deg);
  box-shadow: 0 0 0 10px #d9f36e, 0 0 0 11px var(--ink), 0 0 0 26px #d9f36e, 0 0 0 27px var(--ink);
}
.impact-stamp span, .impact-stamp small { font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.impact-stamp b { margin: 5px 0; font: 600 72px/.9 var(--serif); font-variant-numeric: tabular-nums; }
.impact-scribble {
  position: absolute;
  right: -5%;
  bottom: -4%;
  width: 55%;
  fill: none;
  stroke: rgba(27,33,27,.18);
  stroke-width: 3;
  stroke-linecap: round;
}

footer {
  padding: 70px 5vw 30px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}
footer > p { margin: 0; font: italic 500 20px var(--serif); }
footer > div { display: flex; gap: 22px; }
footer > small { grid-column: 1/-1; margin-top: 35px; color: #777168; font-size: 9px; }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  background: rgba(24,26,21,.68);
  backdrop-filter: blur(5px);
  transition-property: opacity;
  transition-duration: 220ms;
}
.backdrop.show { pointer-events: auto; opacity: 1; }
.drawer {
  position: fixed;
  z-index: 50;
  inset: 0 0 0 auto;
  width: min(480px,100%);
  display: flex;
  flex-direction: column;
  background: #f5eddf;
  color: var(--ink);
  transform: translateX(102%);
  transition-property: transform;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(.2,.8,.2,1);
}
.drawer.show { transform: translateX(0); }
.drawer header {
  padding: 32px 35px;
  display: flex;
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.drawer h2 { margin: 0; font: 600 45px/.9 var(--serif); }
.drawer .eyebrow { margin-bottom: 8px; color: var(--tomato); }
.close {
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 28px;
  transition-property: scale, background-color;
  transition-duration: 160ms;
}
.close:hover { background: rgba(27,33,27,.08); }
.cart-items { flex: 1; padding: 20px 35px; overflow: auto; }
.empty { margin-top: 90px; text-align: center; color: #777168; font: italic 500 19px var(--serif); }
.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-thumb { height: 109px; overflow: hidden; background: #ddd; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.cart-item b { font: 500 18px var(--serif); }
.cart-item p { margin: 7px 0; color: #706b62; font-size: 10px; }
.remove { min-height: 40px; padding: 0; border: 0; background: none; color: #6e6a62; font-size: 10px; text-decoration: underline; }
.cart-item > strong { font-size: 11px; font-variant-numeric: tabular-nums; }
.cart-footer { padding: 25px 35px 31px; border-top: 1px solid var(--line); }
.total-line { margin-bottom: 18px; display: flex; justify-content: space-between; }
.total-line b { font-variant-numeric: tabular-nums; }
.checkout-btn, .add-btn, .continue {
  width: 100%;
  min-height: 52px;
  border: 0;
  background: var(--ink);
  color: #fff9e8;
  font-size: 12px;
  font-weight: 800;
  transition-property: scale, background-color;
  transition-duration: 160ms;
}
.checkout-btn:hover, .add-btn:hover, .continue:hover { background: var(--green); }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 10vh 8vw;
  overflow: auto;
  pointer-events: none;
  opacity: 0;
  background: rgba(31,92,73,.98);
  color: #fff9e8;
  transition-property: opacity;
  transition-duration: 220ms;
}
.search-overlay.show { pointer-events: auto; opacity: 1; }
.search-overlay > .close { position: absolute; top: 25px; right: 4vw; }
.search-overlay > div { max-width: 1050px; margin: auto; }
.search-overlay label { display: block; font: 600 clamp(42px,6vw,82px)/.92 var(--serif); letter-spacing: -.015em; }
.search-overlay input {
  width: 100%;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.45);
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 23px;
}
.search-overlay input::placeholder { color: rgba(255,255,255,.48); }
.search-overlay > div > p { color: rgba(255,255,255,.62); font-size: 11px; }
.search-results { margin-top: 35px; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.search-results .product-meta span { color: rgba(255,255,255,.7); }

.modal {
  position: fixed;
  z-index: 55;
  inset: 4vh 5vw;
  overflow: auto;
  pointer-events: none;
  opacity: 0;
  background: #f3eadc;
  color: var(--ink);
  box-shadow: 0 35px 90px rgba(20,18,14,.45);
  transform: translateY(18px);
  transition-property: opacity, transform;
  transition-duration: 220ms;
}
.modal.show { pointer-events: auto; opacity: 1; transform: translateY(0); }
.modal-close { position: absolute; z-index: 8; top: 17px; right: 18px; }
.product-detail { min-height: 92vh; display: grid; grid-template-columns: 50% 50%; }
.detail-preview {
  padding: 8%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.72), transparent 55%),
    #d8cdbb;
}
.detail-card {
  position: relative;
  width: min(355px,82%);
  aspect-ratio: 5/7;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 0 0 1px rgba(0,0,0,.1), 0 32px 55px rgba(61,45,28,.28);
  transform: rotate(-1.5deg);
}
.detail-card .paint-copy strong { font-size: clamp(31px,3.5vw,47px); }
.detail-form { padding: 9% 11%; display: flex; flex-direction: column; justify-content: center; }
.detail-form .eyebrow { color: var(--tomato); }
.detail-form h2 { margin: 0 0 12px; font: 600 clamp(42px,4vw,60px)/.9 var(--serif); letter-spacing: -.015em; }
.price { margin-bottom: 27px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.field { margin: 10px 0; }
.field label { display: block; margin-bottom: 7px; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px;
  border: 1px solid #aaa294;
  border-radius: 0;
  outline: none;
  background: rgba(255,255,255,.35);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(31,92,73,.14); }
.field textarea { height: 92px; resize: none; }
.char-count { text-align: right; color: #777168; font-size: 9px; font-variant-numeric: tabular-nums; }
.add-btn { margin-top: 15px; }

.checkout {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: auto;
  pointer-events: none;
  opacity: 0;
  background: #f4eddf;
  color: var(--ink);
  transition-property: opacity;
  transition-duration: 200ms;
}
.checkout.show { pointer-events: auto; opacity: 1; }
.checkout > header { height: 72px; padding: 0 5vw; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.secure-close { min-height: 44px; margin-left: auto; border: 0; background: transparent; font-size: 11px; }
.checkout-shell {
  max-width: 1100px;
  margin: 55px auto;
  padding: 0 25px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 70px;
}
.progress { margin-bottom: 40px; display: flex; gap: 8px; }
.progress span { height: 4px; flex: 1; background: #d2c7b5; }
.progress span.active { background: var(--tomato); }
.checkout-main h1 { margin: 0 0 7px; font: 600 50px/.95 var(--serif); }
.checkout-main > p { margin-bottom: 34px; color: #777168; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .wide { grid-column: 1/-1; }
.checkout input, .checkout select { width: 100%; min-height: 48px; padding: 13px; border: 1px solid #bdb3a2; background: #fffaf0; }
.continue { margin-top: 20px; }
.order-summary { height: max-content; padding: 27px; background: #e8decd; box-shadow: 4px 5px 0 var(--ink); }
.order-summary h3 { margin-top: 0; font: 600 25px var(--serif); }
.summary-item { padding: 12px 0; display: flex; gap: 11px; border-bottom: 1px solid var(--line); font-size: 11px; }
.summary-item div { flex: 1; }
.summary-item > strong { font-variant-numeric: tabular-nums; }
.summary-thumb { width: 40px; height: 56px; flex: none; overflow: hidden; }
.thumb-image { width: 100%; height: 100%; display: block; object-fit: cover; }
.thumb-fallback { width: 100%; height: 100%; display: grid; place-items: center; font-size: 26px; }
.summary-total { margin-top: 20px; display: flex; justify-content: space-between; font-weight: 800; font-variant-numeric: tabular-nums; }
.payment-note { margin-bottom: 18px; padding: 12px; border: 1px solid #d1b96b; background: #fff1bf; font-size: 11px; line-height: 1.5; }
.success { max-width: 600px; margin: 13vh auto; padding: 0 20px; text-align: center; }
.success .check { width: 80px; height: 80px; margin: auto; border-radius: 50%; display: grid; place-items: center; background: #d9f36e; font-size: 34px; }
.success h1 { margin-bottom: 14px; font: 600 58px/.95 var(--serif); }
.success p { color: #777168; line-height: 1.65; }
.success button { min-height: 48px; padding: 0 24px; border: 0; background: var(--ink); color: white; font-weight: 800; }
.toast {
  position: fixed;
  z-index: 110;
  left: 50%;
  bottom: 25px;
  padding: 13px 20px;
  pointer-events: none;
  opacity: 0;
  background: #d9f36e;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 3px 4px 0 var(--ink);
  transform: translate(-50%,18px);
  transition-property: opacity, transform;
  transition-duration: 180ms;
}
.toast.show { opacity: 1; transform: translate(-50%,0); }

.consent {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  background: rgba(24,26,21,.35);
  backdrop-filter: blur(2px);
  transition-property: opacity;
  transition-duration: 240ms;
}
.consent.show { pointer-events: auto; opacity: 1; }
.consent-sheet {
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 30px 5vw 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 48px;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
  box-shadow: 0 -16px 40px rgba(55,42,26,.14);
  transform: translateY(100%);
  transition-property: transform;
  transition-duration: 380ms;
  transition-timing-function: cubic-bezier(.2,.8,.2,1);
}
.consent.show .consent-sheet { transform: translateY(0); }
.consent-copy { max-width: 640px; }
.consent h2 { margin: 0 0 8px; font: italic 500 28px/1.1 var(--serif); }
.consent p, .consent li { margin: 0; font-size: 13px; line-height: 1.5; }
.consent details { margin-top: 12px; font-size: 13px; }
.consent summary { cursor: pointer; font-weight: 700; }
.consent ul { margin: 10px 0; padding-left: 18px; }
.consent details p { color: var(--muted); }
.consent a { color: inherit; }
.consent-actions { display: flex; gap: 10px; }
.consent-actions button {
  min-width: 140px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: 800 12px var(--sans);
  cursor: pointer;
}
.consent-actions button:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) {
  .consent-sheet { grid-template-columns: 1fr; padding: 24px 16px 20px; }
  .consent-actions button { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .consent-sheet { transition-duration: 0ms; }
}

@media (max-width: 1000px) {
  .hero { grid-template-columns: .95fr 1.05fr; }
  .hero h1 { font-size: 68px; }
  .button-label { display: none; }
  .row-head { grid-template-columns: 1fr; }
  .search-results { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 800px) {
  .topbar { height: 66px; padding: 0 18px; }
  .icon-button { padding-inline: 5px; }
  .hero {
    min-height: 1030px;
    height: auto;
    padding: 105px 22px 55px;
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero-copy { max-width: 570px; }
  .hero h1 { font-size: clamp(55px,16vw,76px); }
  .hero-lede { font-size: 14px; }
  .occasion-strip { padding: 0; }
  .occasion-strip button { min-width: 140px; min-height: 60px; }
  .catalog { padding-top: 80px; }
  .section-intro { margin-bottom: 50px; padding: 0 22px; display: block; }
  .section-intro > p { margin-top: 22px; }
  .card-row { padding: 58px 22px 75px; }
  .card-row::before { width: 140vw; height: 140vw; opacity: .35; }
  .row-head { margin-bottom: 27px; gap: 10px; }
  .row-head h3 { font-size: 51px; }
    .cards-track {
    margin-inline: -22px;
    padding: 8px 22px 28px;
    display: flex;
    gap: 17px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .product { min-width: min(76vw,305px); width: min(76vw,305px); scroll-snap-align: center; }
  .product:nth-child(2) { transform: translateY(10px) rotate(.7deg); }
  .paint-copy strong { font-size: 32px; }
  .impact-banner { min-height: 720px; margin: 55px 15px 95px; padding: 70px 32px; display: block; }
  .impact-copy { width: 100%; }
  .impact-stamp { width: 180px; height: 180px; margin: 70px auto 0; }
  .impact-stamp b { font-size: 54px; }
  .impact-scribble { width: 100%; }
  footer { grid-template-columns: 1fr; align-items: start; }
  footer > small { grid-column: auto; }
  .search-overlay { padding: 15vh 22px 8vh; }
  .search-overlay label { font-size: 48px; }
  .search-results { display: flex; overflow-x: auto; }
  .search-results .product { min-width: 220px; width: 220px; }
  .modal { inset: 0; }
  .product-detail { grid-template-columns: 1fr; }
  .detail-preview { min-height: 66vh; padding: 60px 20px; }
  .detail-form { padding: 55px 24px 70px; }
  .checkout-shell { margin-top: 35px; grid-template-columns: 1fr; gap: 35px; }
  .order-summary { grid-row: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
}

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

/* Cinematic landing and full-screen personalization. */
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 5px; }
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; }
body::before { display: none; }
.topbar:not(.scrolled) { color: #fffaf0; background: linear-gradient(rgba(15,23,13,.4), transparent); }
.cinema-hero { display: flex; align-items: end; min-height: 600px; height: 100svh; max-height: 1200px; padding: 130px 6vw 110px; background: #38432d; color: #fffaf0; }
.cinema-hero::before { z-index: 1; background: linear-gradient(90deg,rgba(13,24,15,.55),transparent 78%),linear-gradient(0deg,rgba(13,24,15,.48),transparent 55%); }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; outline: 0; }
.cinema-hero .hero-copy { align-self: auto; max-width: 730px; }
.cinema-hero .hero-kicker { color: #fffaf0; font-size: 10px; letter-spacing: .2em; margin-bottom: 24px; }
.cinema-hero .hero-kicker::before { display: none; }
.cinema-hero h1 { font-size: clamp(56px,6.5vw,100px); line-height: 1.02; letter-spacing: -.015em; margin: 0; }
.cinema-hero h1 em { color: #f9e7bc; font-size: inherit; line-height: inherit; }
.cinema-hero .hero-lede { color: #fffaf0; font-size: 15px; line-height: 1.7; max-width: 400px; margin: 26px 0 30px; }
.hero-shop { display: inline-flex; align-items: center; gap: 50px; padding: 17px 22px; background: #fff9ea; color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; transition: background .2s; }
.hero-shop:hover { background: #f0c84b; }
.hero-shop span { font-size: 21px; }
.film-caption { position: absolute; z-index: 2; bottom: 29px; left: 6vw; right: 6vw; display: flex; align-items: center; justify-content: flex-end; border: 0; padding-top: 0; font-size: 9px; letter-spacing: .18em; }
.film-caption span:last-child { font: italic 500 16px var(--serif); letter-spacing: 0; }
.occasion-strip { scrollbar-width: thin; }
/* Off-white cardstock under the hero: fine grain, faint laid fibres, soft mottling. */
main {
  --card-stock: #f7f0e2;
  background-color: var(--card-stock);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .28 0 0 0 .26 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .4' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .44 0 0 0 0 .34 0 0 0 .17 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 20% 10%, rgba(255,252,244,.55), transparent 55%),
    radial-gradient(ellipse at 85% 60%, rgba(232,220,198,.5), transparent 60%);
  background-size: 220px 220px, 360px 360px, 100% 100%, 100% 100%;
}
.product { cursor: pointer; }
.modal { inset: 0; height: 100dvh; box-shadow: none; transform: translateX(100%); opacity: 1; visibility: hidden; transition: transform .4s cubic-bezier(.22,.8,.22,1), visibility .4s; }
.modal.show { transform: translateX(0); visibility: visible; }
.editor-header { position: sticky; top: 0; z-index: 9; min-height: 76px; padding: 12px 4vw; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.editor-back { border: 0; padding: 12px 0; background: none; font-size: 12px; font-weight: 700; }
.editor-label { font: italic 500 19px var(--serif); }
.editor-step { font-size: 9px; letter-spacing: .15em; color: var(--muted); }
.product-detail { min-height: calc(100dvh - 76px); grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); }
.detail-preview { position: sticky; top: 76px; height: calc(100dvh - 76px); min-height: 560px; padding: 28px 40px; grid-template-rows: auto minmax(0,1fr) auto; gap: 24px; background: #e4dfd2; }
.preview-tabs { display: flex; padding: 4px; background: #f4eddf99; border-radius: 30px; }
.preview-tabs button { min-height: 40px; min-width: 108px; padding: 8px 20px; border: 0; border-radius: 25px; background: transparent; font-size: 11px; }
.preview-tabs .selected { background: var(--paper); box-shadow: 0 2px 8px #1b211b14; }
.detail-card { width: min(360px,80%,calc((100dvh - 265px)*5/7)); transform: rotate(-2deg); }
.inside-card { width: min(360px,80%,calc((100dvh - 265px)*5/7)); aspect-ratio: 5/7; padding: 35px; background: #fffaf0; box-shadow: 0 24px 45px #3d2d1c25; display: flex; flex-direction: column; font: 500 21px/1.6 var(--serif); overflow-wrap: anywhere; }
.inside-card p { margin: 0 0 16px; white-space: pre-wrap; }
.inside-card #previewMessage { font-size: clamp(14px,1.4vw,20px); overflow-y: auto; min-height: 0; }
.inside-card small { margin-top: auto; font: 8px var(--sans); letter-spacing: .18em; color: var(--muted); }
.preview-caption { font-size: 11px; color: var(--muted); text-align: center; margin: 0; }
.detail-form { padding: 42px clamp(25px,5vw,85px); }
.detail-form h2 { font-size: clamp(38px,4vw,64px); line-height: 1.04; }
.detail-form .eyebrow { font-size: 10px; }
.price { font-size: 16px; margin: 6px 0 20px; }
.price span { font: 11px var(--sans); color: var(--muted); }
.field { margin: 12px 0; }
.field label { font-size: 11px; text-transform: none; letter-spacing: 0; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select { font-size: 16px; border-color: #c6beb0; padding: 14px; }
.field textarea { height: 115px; line-height: 1.6; resize: vertical; }
.char-count { margin-top: 5px; font-size: 10px; }
.delivery-note { margin: 0 0 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.add-btn { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; min-height: 56px; }
.add-btn span { font-size: 21px; }
.editor-footnote { color: var(--muted); font-size: 10px; text-align: center; margin: 14px 0 0; }
.search-empty { grid-column: 1/-1; line-height: 1.8; }
.search-overlay, .checkout, .drawer { overscroll-behavior: contain; }
.checkout-field { display: block; font-size: 12px; font-weight: 700; }
.checkout-field input, .checkout-field select { margin-top: 8px; font-size: 16px; }
.edit-delivery, .empty-browse { border: 0; background: none; padding: 15px 0; min-height: 44px; text-decoration: underline; font: 700 12px var(--sans); }
.empty p { font: 13px/1.6 var(--sans); }
.toast { max-width: calc(100vw - 40px); text-align: center; }
@media (max-width: 760px) {
  .cinema-hero { min-height: 580px; max-height: none; height: 100svh; padding: 110px 24px 110px; }
  .cinema-hero .hero-copy { max-width: 500px; }
  .cinema-hero h1 { font-size: clamp(48px,10vw,76px); }
  .cinema-hero .hero-lede { font-size: 13px; margin: 20px 0 24px; }
  .hero-film { object-position: 64% center; }
  .cinema-hero::before { background: linear-gradient(0deg,rgba(13,24,15,.8),rgba(13,24,15,.12) 85%); }
  .film-caption { left: 24px; right: 24px; bottom: 24px; }
  .film-caption span:last-child { display: none; }
  .editor-header { min-height: 64px; padding: 10px 20px; }
  .editor-label { font-size: 15px; }
  .editor-step { display: none; }
  .product-detail { display: flex; flex-direction: column; min-height: calc(100dvh - 64px); }
  .detail-preview { position: relative; top: auto; height: auto; min-height: 0; padding: 22px 20px 25px; gap: 24px; }
  .detail-card, .inside-card { width: min(250px,62vw); }
  .inside-card { padding: 26px; }
  .inside-card #previewMessage { font-size: 15px; }
  .detail-form { padding: 32px 24px max(32px,env(safe-area-inset-bottom)); }
  .detail-form h2 { font-size: 42px; }
  .drawer header, .cart-items, .cart-footer { padding-left: 22px; padding-right: 22px; }
  .checkout-main h1 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
}

/* The film is decorative; the poster remains beneath it on slow connections. */
.cinema-hero { max-height: none; }
.hero-poster { object-position: center; }
#heroVideo { opacity: 0; object-position: center; }
#heroVideo.ready { opacity: 1; }
#filmToggle { color: #fffaf0; border: 0; background: none; min-height: 44px; padding: 0; font-size: 11px; font-weight: 400; letter-spacing: .02em; }
.film-caption { padding-top: 0; bottom: 20px; }

/* A quieter frame for the moments in the film. */
.topbar .cart-button { border-radius: 0; background: none; color: inherit; padding: 8px 0 8px 16px; font-weight: 500; }
.topbar .cart-button span { width: auto; height: auto; margin-left: 5px; border-radius: 0; display: inline; background: none; color: inherit; font-size: inherit; }
.topbar .cart-button span::before { content: '('; }
.topbar .cart-button span::after { content: ')'; }
.topbar .icon-button { font-weight: 500; }
.cinema-hero .hero-kicker { text-transform: none; letter-spacing: .05em; font-size: 12px; font-weight: 500; margin-bottom: 20px; }
.cinema-hero h1 { font-size: clamp(52px,5.6vw,82px); font-weight: 500; line-height: 1.04; letter-spacing: -.015em; }
.cinema-hero h1 em { color: #fffaf0; font-weight: 450; }
.cinema-hero .hero-lede { font-size: 14px; line-height: 1.7; font-weight: 400; margin: 23px 0 22px; }
.hero-shop { padding: 12px 0; gap: 25px; background: none; color: #fffaf0; font-size: 12px; font-weight: 500; }
.hero-shop:hover { background: none; color: #f9e7bc; }
.hero-shop span { font-size: 18px; }
@media (max-width: 760px) {
  .cinema-hero { padding-bottom: 94px; }
  .cinema-hero h1 { font-size: clamp(44px,10.5vw,65px); }
  .cinema-hero .hero-kicker { font-size: 11px; }
  .cinema-hero .hero-lede { font-size: 13px; }
  .film-caption { left: 24px; right: 24px; bottom: 18px; }
}
