/* Stillroom Scents */

:root {
  --green: #3E5A3A;
  --green-dark: #2B4028;
  --gold: #A8874F;
  --gold-deep: #85672E;
  --gold-light: #BC9B5E;
  --lav: #9A89BE;
  --sage: #8E9B73;
  --ink: #2A2F27;
  --muted: #5B6155;
  --ground: #FCFAF7;
  --tint: #F6F1E7;
  --cream: #F4EFE3;
  --line: #E6DFCF;
  --hair: #C9BFA6;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  min-width: 0;
}

img { max-width: 100%; }

a { color: var(--green); }
a:hover { color: var(--green-dark); }

.serif { font-family: var(--serif); }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-deep);
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 1;
  font-weight: 500;
  color: var(--green);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -16px rgba(43, 64, 40, .6);
}
.btn-ghost { background: transparent; color: var(--green); border-color: var(--hair); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn-ghost:hover .arrow { transform: translateX(4px); }
.arrow { transition: transform .25s ease; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-add { width: 100%; min-height: 48px; background: transparent; color: var(--green); border-color: var(--hair); }
.btn-add:hover { background: var(--green); color: var(--cream); border-color: var(--green); transform: none; }
.btn-buy { width: 100%; min-height: 48px; background: var(--green); color: var(--cream); }
.btn-buy:hover { background: var(--green-dark); color: var(--cream); transform: none; }
.btn-checkout { width: 100%; }
.card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.card-actions .btn { padding: 0 10px; font-size: 14px; white-space: nowrap; }
.pay-note { margin: 0; text-align: center; font-size: 13px; letter-spacing: .02em; color: var(--muted); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(252, 250, 247, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(230, 223, 207, .7);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
.wordmark {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}
.wm-main {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  color: var(--green);
}
.wm-sub {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-deep);
  transition: letter-spacing .4s ease;
}
.wordmark:hover .wm-sub { letter-spacing: .42em; }
.nav { display: flex; align-items: center; gap: 32px; }
.navlink {
  position: relative;
  text-decoration: none;
  font-size: 15px;
  color: var(--ink);
  padding: 6px 0;
}
.navlink:hover { color: var(--ink); }
.navlink::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.navlink:hover::after { transform: scaleX(1); }

/* Hero */

.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 48px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 72px;
  min-height: 620px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid #D9CFB8;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-deep);
}
.pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lav);
}
.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(60px, 6.6vw, 100px);
  line-height: .95;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--green);
  text-wrap: balance;
}
.mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .25em;
  margin-bottom: -.25em;
}
.w { display: inline-block; }
.hand {
  position: relative;
  display: inline-block;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.hand-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: .16em;
  bottom: -.06em;
  overflow: visible;
}
.uline {
  stroke: var(--gold);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.hero-sub {
  margin: 0;
  max-width: 44ch;
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-logo {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}
.tilt {
  width: min(100%, 540px);
  transition: transform .4s ease;
  will-change: transform;
}
.logo-frame { position: relative; }
.logo-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.glow {
  position: absolute;
  left: 63.2%;
  top: 69.8%;
  width: 10%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 214, 120, .8) 0%, rgba(255, 196, 100, .4) 32%, rgba(255, 186, 90, 0) 68%);
}

/* Shop */

.shop { padding: 64px 0 0; overflow: hidden; }
.shop-inner { display: flex; flex-direction: column; gap: 48px; }
.shop-head { display: flex; flex-direction: column; gap: 14px; }
.candle, .sprig, .bottle { display: block; overflow: visible; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 32px 24px;
}
.card { display: flex; flex-direction: column; gap: 18px; }
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--hair);
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  transition: transform .35s ease, box-shadow .35s ease;
}
.product-photo { aspect-ratio: 4 / 5; background: var(--tint); }
.product-photo.has-img { border: 0; overflow: hidden; border-radius: 6px; }
.product-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .product-photo img { transform: scale(1.04); }
.card:hover .ph {
  transform: translateY(-6px);
  box-shadow: 0 26px 40px -28px rgba(42, 47, 39, .45);
}
.card-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.product-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  font-weight: 500;
  color: var(--ink);
}
.price { font-size: 15px; color: var(--gold-deep); }
.product-desc { margin: 0; font-size: 14px; letter-spacing: .04em; color: var(--muted); }
.shelf { margin-top: 56px; }
.shelf img {
  display: block;
  width: min(100%, 1100px);
  height: auto;
  margin: 0 auto;
}

/* Story */

.story { padding: 112px 0; background: var(--tint); }
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 64px;
  align-items: center;
}
.portrait {
  position: relative;
  width: 100%;
  max-width: 440px;
  justify-self: center;
}
.portrait-frame {
  position: absolute;
  top: 20px; right: -20px; bottom: -20px; left: 20px;
  border: 1px solid var(--gold);
  border-radius: 4px;
}
.portrait-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ground);
}
.story-copy { display: flex; flex-direction: column; gap: 22px; }
.story-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  text-wrap: pretty;
}
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1;
  color: var(--gold-deep);
  align-self: flex-start;
}

/* Footer */

.site-footer { padding: 56px 0 40px; }
.footer-inner { display: flex; flex-direction: column; gap: 32px; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 18px; }
.bottle { flex-shrink: 0; }
.footer-brand-text { display: flex; flex-direction: column; gap: 8px; }
.tagline { font-size: 14px; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footlink { text-decoration: none; font-size: 14px; color: var(--muted); }
.footlink:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* Cart drawer */

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(42, 47, 39, .38);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.cart {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 31;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--ground);
  box-shadow: -30px 0 60px -40px rgba(0, 0, 0, .45);
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  visibility: hidden;
}
.cart-open { overflow: hidden; }
.cart-open .cart-backdrop { opacity: 1; pointer-events: auto; }
.cart-open .cart { transform: none; visibility: visible; }
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.cart-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  font-weight: 500;
  color: var(--green);
}
.cart-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease;
}
.cart-close:hover { background: var(--tint); border-color: var(--green); }
.cart-view { display: flex; flex-direction: column; flex: 1; min-height: 0; animation: viewIn .35s cubic-bezier(.2, .7, .2, 1) both; }
.cart-view[hidden] { display: none; }
@keyframes viewIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.cart-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-right: 8px;
  border-radius: 50%;
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease;
}
.cart-back:hover { background: var(--tint); border-color: var(--green); }
.cart-back[hidden] { display: none; }
.cart-title { flex: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 6px 28px; }
.order-summary { list-style: none; margin: 8px 0 0; padding: 0; }
.order-summary li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--hair);
  font-size: 15px;
}
.order-summary li span:first-child { color: var(--ink); }
.order-summary li span:last-child { color: var(--gold-deep); white-space: nowrap; }
.order-total { padding: 14px 0 0; }
.pay-options { display: flex; flex-direction: column; gap: 10px; margin: 28px 0 12px; }
.pay-heading {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 500;
  color: var(--green);
}
.pay-option {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}
.pay-option:hover { border-color: var(--green); transform: translateY(-1px); }
.pay-option[aria-pressed="true"] { border-color: var(--green); background: var(--tint); }
.pay-radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--hair);
  position: relative;
  transition: border-color .25s ease;
}
.pay-option[aria-pressed="true"] .pay-radio { border-color: var(--green); }
.pay-option[aria-pressed="true"] .pay-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--green);
}
.pay-option svg { color: var(--green); }
.pay-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pay-text strong { font-weight: 500; font-size: 15px; line-height: 1.3; }
.pay-text small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.cart-empty { margin: 32px 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--muted); }
.cart-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px dashed var(--hair);
  animation: itemIn .45s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes itemIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.cart-thumb {
  width: 56px;
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--hair);
  border-radius: 3px;
  background-color: var(--tint);
  background-size: cover;
  background-position: center;
}
.cart-thumb.has-img { border: 0; }
.cart-item-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cart-item-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  color: var(--ink);
}
.cart-item-price { font-size: 13px; color: var(--gold-deep); }
.qty { display: inline-flex; align-items: center; align-self: flex-start; border: 1px solid var(--hair); border-radius: 999px; }
.qty button {
  width: 34px; height: 34px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
}
.qty button:hover { background: var(--tint); }
.qty output { min-width: 24px; text-align: center; font-size: 14px; font-weight: 500; }
.cart-remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 0;
  justify-self: end;
  align-self: start;
}
.cart-remove:hover { color: var(--ink); text-decoration: underline; }
.cart-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 28px 28px;
  border-top: 1px solid var(--line);
}
.subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
}
.cart-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* Toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 20;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--cream);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .02em;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .5);
  animation: toast .35s cubic-bezier(.2, .7, .2, 1) both;
}
.toast[hidden] { display: none; }

/* Animations */

@keyframes toast { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes wordIn { from { opacity: 0; transform: translateY(130%); } to { opacity: 1; transform: none; } }
@keyframes blurIn { from { opacity: 0; filter: blur(8px); transform: translateY(10px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes iris { from { opacity: 0; clip-path: circle(0% at 50% 52%); transform: scale(.9); } to { opacity: 1; clip-path: circle(85% at 50% 52%); transform: none; } }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(154, 137, 190, .6); } 70% { box-shadow: 0 0 0 9px rgba(154, 137, 190, 0); } }
@keyframes flicker { 0%, 100% { transform: scaleY(1) scaleX(1); } 25% { transform: scaleY(1.07) scaleX(.95) translateX(.4px); } 50% { transform: scaleY(.94) scaleX(1.05); } 75% { transform: scaleY(1.04) scaleX(.97) translateX(-.4px); } }
@keyframes glow { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(1); } 30% { opacity: .95; transform: translate(-50%, -52%) scale(1.14); } 60% { opacity: .65; transform: translate(-50%, -49%) scale(.94); } }
@keyframes halo { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: .9; transform: scale(1.12); } }
@keyframes sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }

.ready .hi { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.ready .hi-1 { animation-delay: .1s; }
.ready .hi-4 { animation-delay: .85s; }
.ready .w { animation: wordIn .85s cubic-bezier(.2, .7, .2, 1) both; }
.ready .w1 { animation-delay: .2s; }
.ready .w2 { animation-delay: .28s; }
.ready .w3 { animation-delay: .36s; }
.ready .w4 { animation-delay: .44s; }
.ready .w5 { animation-delay: .52s; }
.ready .w6 { animation-delay: .6s; }
.ready .uline { stroke-dashoffset: 1; animation: draw .8s ease 1.15s forwards; }
.ready .hi-p { animation: blurIn 1s ease .7s both; }
.ready .hi-logo { animation: iris 1.5s cubic-bezier(.2, .7, .2, 1) .35s both; }
.ready .drift { animation: drift 6s ease-in-out infinite alternate; }
.ready .drift-slow { animation: drift 8s ease-in-out infinite alternate; }
.ready .pulse { animation: pulse 2.2s ease-out infinite; }
.ready .flame { animation: flicker 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.ready .halo { animation: halo 2.1s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 50%; }
.ready .glow { animation: glow 2.3s ease-in-out infinite; }
.ready .sway { animation: sway 4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }

.ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1), clip-path .9s cubic-bezier(.2, .7, .2, 1), filter .9s ease, letter-spacing 1.2s cubic-bezier(.2, .7, .2, 1);
}
.ready [data-reveal].in { opacity: 1; transform: none; }
.ready [data-fx="clip"] { clip-path: inset(0 0 100% 0); transform: translateY(16px); }
.ready [data-fx="clip"].in { clip-path: inset(-10% -2% -20% -2%); }
.ready [data-fx="blur"] { filter: blur(8px); transform: translateY(12px); }
.ready [data-fx="blur"].in { filter: blur(0); }
.ready [data-fx="track"] { letter-spacing: .5em; transform: none; }
.ready [data-fx="track"].in { letter-spacing: .22em; }
.ready [data-fx="wipe"] { clip-path: inset(0 100% 0 0); transform: none; }
.ready [data-fx="wipe"].in { clip-path: inset(0 -5% 0 0); }
.ready [data-fx="pop"] { transform: translateY(26px) scale(.96); }
.ready [data-reveal="2"] { transition-delay: .1s; }
.ready [data-reveal="3"] { transition-delay: .2s; }
.ready [data-reveal="4"] { transition-delay: .3s; }
.ready [data-reveal="5"] { transition-delay: .4s; }
.ready [data-reveal="6"] { transition-delay: .5s; }

@media (max-width: 640px) {
  .navlink { display: none; }
  .header-inner { min-height: 68px; }
  .wm-main { font-size: 26px; }

  .hero-grid {
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 16px;
    min-height: 0;
  }
  .hero-copy { gap: 22px; }
  .hero-sub { font-size: 17px; }
  .tilt { width: min(100%, 360px); }

  .shop { padding-top: 40px; }
  .shop-inner { gap: 32px; }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }
  .card { gap: 12px; }
  .ph { font-size: 10px; letter-spacing: .12em; }
  .product-name { font-size: 21px; }
  .price { font-size: 13px; }
  .product-desc { font-size: 13px; }
  .btn-add, .btn-buy { min-height: 44px; font-size: 14px; padding: 0 12px; }
  .card-actions { grid-template-columns: 1fr; gap: 8px; }

  /* centered layout on phones */
  .hero-copy, .shop-head, .story-copy { align-items: center; text-align: center; }
  .hero-actions { justify-content: center; }
  .signature { align-self: center; }
  .footer-top { flex-direction: column; text-align: center; }
  .footer-brand { flex-direction: column; gap: 12px; }
  .footer-brand .wordmark { justify-content: center; }
  .footer-nav, .footer-bottom { justify-content: center; }
  .product-grid > .card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
  .cart-head { padding: 18px 20px; }
  .cart-items { padding: 6px 20px; }
  .cart-foot { padding: 16px 20px 24px; }
  .shelf { margin-top: 40px; }

  .story { padding: 72px 0; }
  .story-grid { gap: 48px; }
  .portrait { max-width: calc(100% - 16px); }
  .portrait-frame { top: 16px; right: -16px; bottom: -16px; left: 16px; }
  .story-text { font-size: 17px; }

  .site-footer { padding: 40px 0 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ready .hi, .ready .w, .ready .uline, .ready .hi-p, .ready .hi-logo,
  .ready .drift, .ready .drift-slow, .ready .pulse, .ready .flame,
  .ready .halo, .ready .glow, .ready .sway, .toast { animation: none; }
  .ready .uline { stroke-dashoffset: 0; }
  .ready [data-reveal] { opacity: 1; transform: none; filter: none; clip-path: none; transition: none; }
  .ready [data-fx="track"] { letter-spacing: .22em; }
  .tilt { transform: none !important; }
  .cart, .cart-backdrop { transition: none; }
  .cart-item, .cart-view { animation: none; }
}
