/* Mobile composition: normal document flow, touch controls, quiet motion. */
:root {
  --gold: #89642f;
  --mobile-gutter: clamp(16px, 4.6vw, 32px);
  --mobile-header: calc(104px + max(8px, env(safe-area-inset-top, 0px)));
}

html { scroll-padding-top: calc(var(--mobile-header) + 16px); }
body { font-size: 14px; }
.page { overflow-x: clip; }
.hide-sm { display: none !important; }
.reviews__controls { display: none; }
.has-overlay { overflow: hidden; }
.page > section, .home-main > section { scroll-margin-top: 12px; }
.cinematic-stage, .cursor-ring, .intro { display: none !important; }
.reveal { opacity: 1; transform: none; transition: none; }
.tone-clear { background: var(--bg); }
.tone-green, html[data-theme="dark"] .tone-green { background: var(--brand-green); }
[data-parallax], [data-magnetic], [data-tilt] { transform: none !important; }

/* Two compact navigation rows keep the main destinations within reach. */
.nav {
  grid-template-columns: 44px 44px minmax(0, 1fr) 44px 44px;
  grid-template-rows: 52px auto;
  gap: 0 4px;
  padding: max(8px, env(safe-area-inset-top)) var(--mobile-gutter) 0;
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav__brand { grid-column: 3; grid-row: 1; justify-self: center; width: 104px; }
.nav__actions { display: contents; }
.nav #theme-btn { grid-column: 1; grid-row: 1; }
.nav #open-wish { grid-column: 2; grid-row: 1; }
.nav #open-account { grid-column: 4; grid-row: 1; }
.nav #open-cart { grid-column: 5; grid-row: 1; }
.nav .icon-btn, .nav .chip {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  flex: 0 0 44px;
  border-radius: 50%;
  font-size: 18px;
}
.nav .chip__label { display: none; }
.mobile-icon { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.nav .chip__count {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent-text, var(--green));
  font-size: 9px;
  letter-spacing: 0;
  border: 1px solid var(--hairline);
}
.mobile-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 4px;
}
.mobile-nav a { display: flex; align-items: center; min-height: 44px; white-space: nowrap; font-size: 11px; letter-spacing: .04em; color: var(--text2); }

/* The original logo stays in the masthead; the hero contains copy and actions. */
.hero {
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--mobile-header) + 28px) var(--mobile-gutter) 32px;
  background: radial-gradient(ellipse at 50% 48%, rgba(229, 208, 166, .28), transparent 65%), var(--bg);
  overflow: visible;
}
.hero__veil, .hero .scroll-cue { display: none; }
.hero__copy, .hero__bottom {
  position: static;
  width: 100%;
  max-width: 540px;
  padding: 0;
  pointer-events: auto;
}
.hero__copy .kicker { max-width: 290px; margin: 0 auto 16px; font-size: 9px; line-height: 1.7; letter-spacing: .18em; }
.display--hero { font-size: clamp(29px, 8vw, 44px); line-height: 1.22; font-weight: 300; letter-spacing: 0; text-wrap: balance; }
.hero__bottom { margin-top: 24px; }
.hero__bottom .lede { max-width: 360px; font-size: 13px; line-height: 1.7; margin: 0; color: var(--text2); }
.hero__cta { flex-direction: column; width: 100%; max-width: 360px; margin-top: 22px; gap: 8px; }
.btn { min-height: 46px; padding: 13px 18px; font-size: 10px; letter-spacing: .12em; line-height: 1.5; }
.hero__cta .btn--ghost { border-color: transparent; min-height: 40px; padding-block: 10px; text-decoration: underline; text-underline-offset: 5px; }

.kicker { font-size: 10px; line-height: 1.6; letter-spacing: .16em; margin-bottom: 10px; }
.display--section, .display--mid, .display--story, .display--form, .display--loyal { font-size: clamp(28px, 7.8vw, 40px); line-height: 1.2; font-weight: 300; letter-spacing: 0; text-wrap: balance; }
.lede, .custom__lede { font-size: 14px; line-height: 1.7; margin-top: 14px; }
.boutique, .latest, .reviews, .story, .cats, .custom, .loyalty { padding: 40px var(--mobile-gutter); }
.latest .display br { display: none; }
.boutique__head, .latest__head, .reviews__head { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 20px; padding: 0; margin: 0 0 24px; }
.boutique__head > *, .latest__head > *, .reviews__head > * { min-width: 0; max-width: 100%; }
.latest__head .btn { align-self: flex-start; min-height: 44px; padding: 10px 0; color: var(--accent-text, var(--green)); background: transparent; border-bottom: 1px solid var(--green); }
.latest__head .lede { max-width: 420px; }

/* One compact delivery announcement, matching desktop. */
.trust { padding: 10px var(--mobile-gutter); }
.trust__announcement { font-size: 12px; letter-spacing: .02em; }

/* Product names and prices get their own lines beneath portrait images. */
.filters { display: flex; flex-direction: column; align-items: stretch; gap: 14px; min-width: 0; }
.filter-row { min-width: 0; max-width: 100%; flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: thin; }
.filter { flex: 0 0 auto; min-height: 40px; padding: 9px 14px; font-size: 10px; letter-spacing: .04em; }
.budget { min-width: 0; width: 100%; gap: 4px; }
.budget__row { font-size: 10px; letter-spacing: .07em; }
.budget input { width: 100%; height: 28px; margin: 0; }
.rail-wrap { margin-top: 0; }
.rail, .latest__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; padding: 0; }
.card, .rail .card, .latest__grid .card { width: 100%; min-width: 0; }
.card__inner { height: 100%; display: flex; flex-direction: column; background: transparent; border: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.card__inner:hover { box-shadow: none; }
.card__photo { height: auto; aspect-ratio: 4 / 5; background: #f6f2ea; border: 1px solid var(--hairline); overflow: hidden; }
.product-visual { display: block; width: 100%; height: 100%; object-fit: contain; }
img.product-visual { mix-blend-mode: multiply; }
.card__shot, .card__shade, .card .badge, .card__mat, .card__meta { display: none; }
.wish { top: 5px; right: 5px; width: 40px; height: 40px; background: rgba(255, 255, 255, .92); color: #867957; border-color: #e5dcc8; font-size: 16px; }
.wish.is-on { color: var(--brand-green); }
.card__body { flex: 1; padding: 12px 0 0; gap: 10px; }
.card__row { flex: 1; flex-direction: column; align-items: stretch; gap: 8px; }
.card__name { display: flex; align-items: flex-start; font-size: clamp(18px, 4.8vw, 23px); line-height: 1.1; min-height: 2.2em; font-weight: 500; }
.card__price { font-size: 12px; font-weight: 400; padding: 0; }
.card__add { width: 100%; min-height: 44px; margin: 0; padding: 10px 4px; font-size: 9px; letter-spacing: .035em; background: transparent; }
.rail-bar { margin-top: 22px; }
.rail-bar__hint { font-size: 10px; letter-spacing: .06em; color: var(--muted); }
.catalog-empty { grid-column: 1/-1; margin: 0; line-height: 1.7; }

/* The three retained values are small seams between catalog sections. */
.value-band { padding: 16px var(--mobile-gutter); }
.value-band__inner { display: flex; align-items: center; justify-content: center; gap: 14px; }
.value-band__mark { display: none; }
.value-band__name { font-size: 22px; flex: none; }
.value-band__desc { margin: 0; max-width: 200px; text-align: left; font-size: 10px; line-height: 1.5; letter-spacing: .03em; text-transform: none; padding-left: 14px; border-left: 1px solid var(--hairline); }

/* Reviews stop moving while the reader is trying to read them. */
.reviews { overflow: hidden; }
.reviews__score { text-align: left; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.reviews__stars { font-size: 16px; }
.reviews__score-text { font-size: 11px; letter-spacing: 0; margin: 0; }
.reviews-rail-wrap { margin-inline: calc(-1 * var(--mobile-gutter)); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--mobile-gutter); mask-image: none; -webkit-mask-image: none; scrollbar-width: thin; }
.reviews-track { animation: none; transform: none; padding: 0 var(--mobile-gutter) 12px; gap: 12px; }
.review-card { width: min(78vw, 340px); flex-basis: min(78vw, 340px); scroll-snap-align: start; gap: 10px; padding: 22px; background: var(--surface); }
.review-card--clone { display: none; }
.review-card__text { font-size: 14px; line-height: 1.75; margin: 0 0 8px; }
.review-card__name { font-size: 21px; }
.review-card__city { margin: 0; font-size: 10px; letter-spacing: .03em; }

.story { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.story__photos { width: 100%; max-width: 480px; margin-inline: auto; }
.story__main { aspect-ratio: 5 / 4; }
.story__inset { width: 30%; bottom: -10px; right: 12px; border-width: 4px; }
.story .display { margin-bottom: 18px; }
.story p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.story .quote { font-size: 22px; line-height: 1.4; color: var(--accent-text, var(--green)); margin: 22px 0; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; }
.value { min-width: 0; padding: 12px 0 0; }
.value:last-child { grid-column: 1/-1; }
.value__name { font-size: 23px; }
.value__desc { font-size: 12px; line-height: 1.5; margin-top: 4px; }

.cats__head { text-align: left; margin-bottom: 24px; }
.cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; perspective: none; }
.universe { height: auto; aspect-ratio: 4/5; min-width: 0; text-align: left; background: #f6f2ea; backdrop-filter: none; -webkit-backdrop-filter: none; }
.universe:hover { box-shadow: none; }
.universe .product-visual { height: 76%; }
.universe__shot { display: none; }
.universe__shade { height: 46%; background: linear-gradient(transparent, #f6f2ea 70%); pointer-events: none; }
.universe__foot { left: 0; right: 0; bottom: 0; gap: 6px; padding: 12px; background: var(--bg); }
.universe__name { color: var(--heading-color); font-size: 20px; }
.universe__count { color: var(--muted); font-size: 9px; margin-top: 5px; letter-spacing: .04em; }
.universe__go { color: var(--brand-green); }

.loyalty { text-align: left; }
.loyalty > p { margin: 18px 0 24px; font-size: 14px; line-height: 1.7; }
.steps { grid-template-columns: minmax(0, 1fr); border: none; background: transparent; gap: 0; }
.step { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: start; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hairline); background: transparent; }
.step__n { font-size: 26px; }
.step p { margin: 0; font-size: 13px; line-height: 1.7; }
.custom { backdrop-filter: none; -webkit-backdrop-filter: none; }
.custom__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.custom__lede { max-width: none; }
.price-list { margin-top: 22px; max-width: none; background: transparent; border: 0; }
.price-list__row { padding: 12px 0; background: transparent; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.price-list__row span:first-child { font-size: 10px; letter-spacing: .04em; }
.price-list__row span:last-child { flex-shrink: 0; font-size: 18px; }
.form { padding: 18px; gap: 10px; background: var(--surface); }
.form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field { min-width: 0; font-size: 16px; font-weight: 400; min-height: 46px; padding: 11px 10px; border-color: var(--hairline); border-radius: 2px; background: var(--bg); }
.field::placeholder { color: var(--muted); font-size: 12px; }
textarea.field { min-height: 94px; }
.form__note { font-size: 11px; line-height: 1.6; color: var(--muted); }
.form .btn { margin-top: 4px; }

.footer { padding: 36px var(--mobile-gutter) 24px; }
.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
.footer__grid > :first-child, .footer__grid > :last-child { grid-column: 1/-1; }
.footer__blurb { max-width: 300px; margin-top: 12px; font-size: 12px; }
.footer__col { min-width: 0; gap: 0; font-size: 12px; }
.footer__col > a { display: flex; align-items: center; min-height: 40px; overflow-wrap: anywhere; }
.footer__label { margin-bottom: 8px; }
.footer__bar { margin-top: 24px; gap: 12px; font-size: 9px; letter-spacing: .06em; line-height: 1.7; }
.footer__social a { padding-block: 10px; }

/* Product and cart panels fit narrow screens and scroll independently. */
.drawer__panel { width: 100%; max-width: 420px; max-height: 100dvh; }
.drawer__head, .drawer__list { padding: 16px var(--mobile-gutter); }
.drawer__foot { padding: 16px var(--mobile-gutter) max(20px, env(safe-area-inset-bottom)); }
.drawer__list { min-height: 0; overscroll-behavior: contain; }
.drawer__close { width: 44px; height: 44px; flex: none; font-size: 28px; }
.line { gap: 10px; }
.line > div { min-width: 0; }
.line__swatch { flex-basis: 42px; height: 54px; }
.line__name { font-size: 18px; }
.line__cat { font-size: 9px; letter-spacing: .02em; }
.line__remove { width: 40px; height: 40px; font-size: 20px; }
.line__price { white-space: nowrap; }
.detail { padding: 12px; }
.detail__panel { width: min(100%, 520px); grid-template-columns: minmax(0, 1fr); overscroll-behavior: contain; }
.detail__stage { min-height: 0; height: clamp(190px, 30svh, 280px); background: #f6f2ea; }
.detail__canvas, .detail__hint { display: none; }
.detail__product { display: block; height: 100%; }
.detail__info { padding: 18px; gap: 14px; }
.detail__top { align-items: center; }
.detail__cat { letter-spacing: .06em; }
.detail__name { font-size: 30px; }
.detail__desc { line-height: 1.7; }
.specs { grid-template-columns: minmax(0, 1fr); }
.spec { padding: 12px; }
.sizes { flex-wrap: wrap; }
.size { min-width: 36px; min-height: 44px; }
.detail__cta .btn { font-size: 9px; letter-spacing: .04em; }
.wish-btn { min-width: 44px; }
.toast { width: max-content; max-width: calc(100% - 32px); bottom: max(20px, env(safe-area-inset-bottom)); padding: 14px 18px; font-size: 11px; letter-spacing: .025em; line-height: 1.6; }

@media (min-width: 600px) {
  .hero { padding-top: calc(var(--mobile-header) + 40px); }
  .hero__cta { flex-direction: row; max-width: none; justify-content: center; gap: 16px; }
  .hero__cta .btn--ghost { border-color: var(--gold); text-decoration: none; }
  .rail, .latest__grid { gap: 28px 20px; }
  .card__photo { aspect-ratio: 1; }
  .story { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 24px; }
  .story__main { aspect-ratio: 4/5; }
  .cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .custom__grid { max-width: 620px; }
  .values { gap: 14px; }
}

@media (max-width: 359px) {
  .nav__actions { gap: 2px; }
  .mobile-nav { gap: 12px; }
  .mobile-nav a { font-size: 10px; }
  .hero { padding-top: calc(var(--mobile-header) + 20px); }
  .card__add { font-size: 8px; letter-spacing: 0; }
  .universe__name { font-size: 18px; }
  .form { padding: 12px; }
}
