
:root {
    --primary: #2d2a26;
  --primary-dark: #1a1815;
  --primary-light: #4a463f;
  --secondary: var(--primary);
  --accent: #876a3a;   --background: #ffffff;
  --surface: #f7f5f1;
  --text: #1f1d1a;
  --muted: #6f6a61;
  --border: #e4e0d8;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --radius: 10px;

    --dur-micro: 140ms;
  --dur-ui: 240ms;
  --dur-reveal: 640ms;
  --dur-slow: 1100ms;
  --ease-standard: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --container: 1200px;
  --space-section: clamp(3.5rem, 7vw, 6.5rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
img[src=""], img:not([src]) { display: none !important; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 1.9rem + 3vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 1.5rem + 1.9vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); }
p { text-wrap: pretty; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--muted); margin-top: .75rem; font-size: 1.05rem; }
.section-head--center { margin-inline: auto; text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--primary); color: var(--background);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: .9rem;
  padding: .85rem 1.75rem; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: background var(--dur-ui) var(--ease-standard),
    color var(--dur-ui) var(--ease-standard), border-color var(--dur-ui) var(--ease-standard),
    transform var(--dur-micro) var(--ease-standard);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: var(--background); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--accent { background: var(--accent); color: var(--background); }
.btn--accent:hover { background: color-mix(in oklab, var(--accent) 82%, #000); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn--outline:hover { border-color: var(--primary); background: var(--surface); }
.btn--block { width: 100%; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--background) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }
.header__brand { display: flex; align-items: center; gap: .6rem; }
.header__logo { height: 32px; width: auto; }
.header__brand-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.header__links { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); }
.header__links a { font-size: .9rem; font-weight: 500; color: var(--muted); transition: color var(--dur-ui) var(--ease-standard); }
.header__links a:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 1rem; }
.cart-icon-btn { position: relative; display: inline-flex; color: var(--text); }
.cart-badge {
  position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--background);
  font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center;
}
.hamburger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); transition: transform var(--dur-ui) var(--ease-standard); }
.nav-overlay { display: none; }

.hero { position: relative; min-height: clamp(480px, 82vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: var(--surface); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in oklab, var(--primary-dark) 88%, transparent) 0%, color-mix(in oklab, var(--primary-dark) 30%, transparent) 55%, transparent 100%); }
.hero__content { position: relative; z-index: 1; padding-block: clamp(2.5rem, 7vw, 5.5rem); max-width: 760px; }
.hero--has-image .hero__content, .hero--has-image .hero__content :is(h1, p, .eyebrow) { color: var(--background); }
.hero--has-image .eyebrow { color: var(--accent); color: oklch(from var(--accent) max(l, 0.75) c h); }
.hero--has-image .hero__ctas .btn--outline {
  color: var(--background);
  border-color: color-mix(in oklab, var(--background) 55%, transparent);
}
.hero--has-image .hero__ctas .btn--outline:hover {
  color: var(--background);
  background: color-mix(in oklab, var(--background) 16%, transparent);
  border-color: var(--background);
}
.hero__title-prefix { display: block; font-style: italic; font-weight: 400; opacity: .9; }
.hero__subtitle { font-size: clamp(1rem, .95rem + .3vw, 1.2rem); max-width: 520px; margin-block: 1.25rem 2rem; opacity: .92; }
.hero__body { max-width: 56ch; margin-block: 0 2rem; opacity: .92; }
.hero__body:empty { display: none; }
.hero__body p + p { margin-top: 1rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero--split { min-height: auto; align-items: center; background: var(--background); padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero__split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero__split-content :is(h1, .hero__subtitle) { color: var(--text); }
.hero__split-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--surface); }
.hero__split-media img { width: 100%; height: 100%; object-fit: cover; }

.hero--minimal { min-height: auto; align-items: center; background: var(--surface); text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.hero__minimal { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.hero__scrim { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__scrim img { width: 100%; height: 100%; object-fit: cover; opacity: .12; }
.hero__scrim::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 760px 78% at 50% 46%, var(--surface) 0%, var(--surface) 54%, transparent 100%), linear-gradient(to bottom, transparent 0%, var(--surface) 100%); }
.hero__scrim:has(> img[src=""]), .hero__scrim:has(> img:not([src])) { display: none; }
.hero--minimal :is(h1) { color: var(--text); }
.hero--minimal .hero__subtitle { margin-inline: auto; color: var(--muted); opacity: 1; }
.hero--minimal .hero__body { margin-inline: auto; }
.hero--minimal .hero__ctas { justify-content: center; }

.categories { padding-block: var(--space-section); }
.categories__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.category-card { position: relative; display: block; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-reveal) var(--ease-out); }
.category-card:hover img { transform: scale(1.06); }
.category-card__label { position: absolute; inset: auto 0 0 0; padding: 1.5rem 1.25rem .9rem; color: #fff; font-family: var(--font-display); font-size: 1.3rem; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); }

.products { padding-block: var(--space-section); background: var(--surface); }
.products__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); flex-wrap: wrap; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.product-card { background: var(--background); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product-card__image-wrap { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--surface); }
.product-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-reveal) var(--ease-out); }
.product-card__image-wrap:hover img { transform: scale(1.05); }
.product-card__quick-view {
  position: absolute; inset: auto .75rem .75rem auto; width: 38px; height: 38px;
  display: grid; place-items: center; border-radius: 50%; background: var(--background); color: var(--text);
  opacity: 0; transform: translateY(8px); transition: opacity var(--dur-ui) var(--ease-standard), transform var(--dur-ui) var(--ease-standard);
}
.product-card__image-wrap:hover .product-card__quick-view { opacity: 1; transform: translateY(0); }
.product-card__info { padding: 1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-card__category { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.product-card__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.product-card__title a:hover { color: var(--accent); }
.product-card__price { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; padding-top: .35rem; }
.product-card__price-current { font-weight: 600; font-size: 1rem; }
.product-card__price-original { font-size: .85rem; color: var(--muted); text-decoration: line-through; }
.product-card__add-btn { margin-top: .85rem; width: 100%; padding: .7rem 1rem; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; background: var(--primary); color: var(--background); border: none; border-radius: var(--radius); cursor: pointer; transition: background var(--dur-ui) var(--ease-standard); }
.product-card__add-btn:hover { background: var(--primary-dark); }
.product-card__badge { position: absolute; top: .75rem; left: .75rem; background: var(--accent); color: var(--background); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .55rem; border-radius: 5px; }

.testimonials { padding-block: var(--space-section); }
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.testimonial-card__quote { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; margin-bottom: 1.5rem; }
.testimonial-card__author { display: flex; align-items: center; gap: .85rem; }
.testimonial-card__author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-card__name { font-weight: 600; font-size: .95rem; }
.testimonial-card__role { font-size: .82rem; color: var(--muted); }

.faqs { padding-block: var(--space-section); background: var(--surface); }
.faqs__list { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.35rem 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-display); font-size: 1.15rem; color: var(--text); }
.faq-item__icon { flex: none; transition: transform var(--dur-ui) var(--ease-standard); }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a { padding-bottom: 1.35rem; color: var(--muted); max-width: 68ch; }

.policies { padding-block: var(--space-section); }
.policies__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.policy-card { padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); }
.policy-card h3 { margin-bottom: .6rem; }
.policy-card p { color: var(--muted); }

.contact { padding-block: var(--space-section); background: var(--surface); }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; max-width: 900px; }
.contact__item { display: flex; flex-direction: column; gap: .3rem; }
.contact__item span:first-child { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact__item a, .contact__item p { font-size: 1.05rem; }

.breadcrumbs { padding-block: 1.25rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: .5rem; opacity: .5; }
.breadcrumbs a:hover { color: var(--text); }

.product-detail { padding-block: clamp(2rem, 4vw, 3.5rem) var(--space-section); }
.product-detail__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.product-gallery__main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: .75rem; margin-top: .85rem; }
.product-gallery__thumbs button { width: 76px; height: 76px; border: 1px solid var(--border); border-radius: var(--radius, 8px); overflow: hidden; background: none; cursor: pointer; padding: 0; }
.product-info__category { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.product-info h1 { margin-block: .5rem .75rem; }
.product-info__price { font-size: 1.6rem; font-weight: 600; margin-bottom: 1.25rem; }
.product-info__price-original { font-size: 1.05rem; color: var(--muted); text-decoration: line-through; margin-left: .6rem; }
.product-info__desc { color: var(--muted); margin-bottom: 1.75rem; }
.variant-selector { margin-bottom: 1.25rem; }
.variant-selector fieldset { border: none; }
.variant-selector__label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .6rem; }
.variant-selector__options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-chip { display: inline-flex; align-items: center; padding: .5rem .95rem; border: 1.5px solid var(--border); border-radius: var(--radius); cursor: pointer; font-size: .85rem; }
.variant-chip input { position: absolute; opacity: 0; }
.variant-chip--active, .variant-chip:has(input:checked) { border-color: var(--primary); background: var(--primary); color: var(--background); }
.product-info__actions { display: flex; gap: 1rem; margin-block: 1.5rem; }
.trust-signals { display: flex; flex-wrap: wrap; gap: 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.trust-signals__item { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }

.reviews { padding-block: var(--space-section); background: var(--surface); }
.reviews-list { display: grid; gap: 1.25rem; max-width: 780px; margin-bottom: 2.5rem; }
.review-item { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.review-author { font-weight: 600; }
.review-stars { color: var(--accent); margin-left: .5rem; }
.review-title { display: block; margin-block: .5rem .25rem; }
.review-body { color: var(--muted); }
.review-form-placeholder { max-width: 560px; display: grid; gap: .85rem; }
.review-form-placeholder input, .review-form-placeholder textarea, .form-input, .form-select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius);
  font: inherit; background: var(--background); color: var(--text);
}
.form-input:focus, .form-select:focus, textarea:focus { border-color: var(--primary); outline: none; }

.cart { padding-block: clamp(2rem, 4vw, 3.5rem) var(--space-section); }
.cart__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto auto auto; gap: 1.25rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.cart-item__img-wrap { width: 100px; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--surface); }
.cart-item__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__title { font-family: var(--font-display); font-size: 1.1rem; display: block; }
.cart-item__price { font-weight: 600; }
.cart-item__original { color: var(--muted); text-decoration: line-through; font-size: .85rem; margin-right: .4rem; }
.cart-item__qty { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--border); border-radius: var(--radius); padding: .25rem .5rem; }
.qty-btn { width: 26px; height: 26px; border: none; background: none; cursor: pointer; font-size: 1.1rem; color: var(--text); }
.cart-item__remove { background: none; border: none; cursor: pointer; color: var(--muted); }
.cart-item__remove:hover { color: var(--text); }
.cart-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; position: sticky; top: 96px; }
.cart-summary__row { display: flex; justify-content: space-between; padding: .5rem 0; }
.cart-summary__row--total { border-top: 1px solid var(--border); margin-top: .5rem; padding-top: 1rem; font-weight: 700; font-size: 1.15rem; }
.empty-state { text-align: center; padding: clamp(3rem, 8vw, 6rem) 1rem; max-width: 460px; margin-inline: auto; }
.empty-state__icon { width: 64px; height: 64px; color: var(--muted); margin-inline: auto; margin-bottom: 1.25rem; }
.empty-state h2 { margin-bottom: .75rem; }
.empty-state p { color: var(--muted); margin-bottom: 1.5rem; }

.checkout { padding-block: clamp(2rem, 4vw, 3.5rem) var(--space-section); }
.checkout-progress { margin-bottom: 2.5rem; }
.checkout-progress ol { display: flex; align-items: flex-start; max-width: 380px; }
.checkout-progress__step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; font-size: .8rem; color: var(--muted); }
.checkout-progress__step span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--border); font-weight: 600; }
.checkout-progress__step:not(:last-child)::after { content: ''; position: absolute; top: 13px; left: 50%; width: 100%; height: 2px; background: var(--border); z-index: -1; }
.checkout-progress__step--completed span, .checkout-progress__step--active span { background: var(--primary); color: var(--background); border-color: var(--primary); }
.checkout-progress__step--active { color: var(--text); font-weight: 600; }
.checkout__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.checkout__fieldset { border: none; margin-bottom: 2rem; }
.checkout__fieldset legend { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .4rem; }
.method-option { display: flex; align-items: center; gap: .75rem; padding: 1rem; border: 1.5px solid var(--border); border-radius: var(--radius); margin-bottom: .75rem; cursor: pointer; }
.method-option:has(input:checked) { border-color: var(--primary); }
.checkout-summary-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .85rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.checkout-summary-item img { border-radius: 6px; object-fit: cover; }
.checkout-summary-item__title { font-weight: 500; font-size: .9rem; }
.checkout-summary-item__qty { font-size: .8rem; color: var(--muted); }

.footer { background: var(--primary-dark); color: color-mix(in oklab, var(--background) 78%, var(--primary)); color: oklch(from var(--primary-dark) clamp(0, (0.57 - l) * 1000, 1) 0 0); padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 2.5rem; border-bottom: 1px solid color-mix(in oklab, var(--background) 14%, transparent); }
.footer__brand-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--background); display: block; margin-bottom: .6rem; }
.footer__brand p { font-size: .92rem; opacity: .85; max-width: 30ch; }
.footer__social { display: flex; gap: .65rem; margin-top: 1.1rem; }
.footer__social-link { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius, 50%); border: 1px solid color-mix(in oklab, var(--background) 22%, transparent); color: var(--background); transition: background var(--dur-ui) var(--ease-standard); }
.footer__social-link:hover { background: var(--accent); border-color: var(--accent); }
.footer__links-col h4, .footer__newsletter h4 { color: var(--background); font-family: var(--font-sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__links-col ul { display: grid; gap: .6rem; }
.footer__links-col a { font-size: .92rem; opacity: .85; }
.footer__links-col a:hover { opacity: 1; color: var(--accent); color: oklch(from var(--accent) max(l, 0.75) c h); }
.footer__newsletter p { font-size: .9rem; opacity: .85; margin-bottom: 1rem; }
.newsletter-form { display: flex; gap: .5rem; }
.newsletter-form .form-input { background: color-mix(in oklab, var(--background) 12%, transparent); border-color: color-mix(in oklab, var(--background) 22%, transparent); color: var(--background); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-top: 1.75rem; font-size: .82rem; opacity: .75; }

.reveal { opacity: 1; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0; transform: translateY(28px);
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 38%;
    }
  }
}
@keyframes reveal-in { to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .product-detail__grid, .cart__grid, .checkout__grid, .hero__split { grid-template-columns: 1fr; }
  .hero__split-media { order: -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 720px) {
  .header__links { display: none; }
  .hamburger { display: flex; }
  .products__head { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr auto; grid-template-areas: 'img title remove' 'img qty total'; row-gap: .5rem; }
  .cart-item__img-wrap { grid-area: img; width: 72px; }
  .footer__top { grid-template-columns: 1fr; }
}

.about { padding-block: var(--space-section); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--surface); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__body { color: var(--muted); margin-top: 1rem; max-width: 56ch; }
.about__body p + p { margin-top: 1rem; }

.services { padding-block: var(--space-section); background: var(--surface); }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.service-card { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: transform var(--dur-ui) var(--ease-standard), box-shadow var(--dur-ui) var(--ease-standard); }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px color-mix(in oklab, var(--primary) 12%, transparent); }
.service-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--radius); background: color-mix(in oklab, var(--accent) 14%, var(--background)); color: var(--accent); margin-bottom: 1.25rem; }
.service-card__title { margin-bottom: .6rem; }
.service-card__desc { color: var(--muted); }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; }
}
@media (max-width: 720px) {
  .header__cta { display: none; }
}

.property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.property-card { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--dur-ui) var(--ease-standard), transform var(--dur-ui) var(--ease-standard); }
.property-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px color-mix(in oklab, var(--primary) 14%, transparent); }
.property-card__media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--surface); }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-reveal) var(--ease-out); }
.property-card__media:hover img { transform: scale(1.05); }
.property-card__status { position: absolute; top: .75rem; left: .75rem; background: var(--accent); color: var(--background); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 5px; }
.property-card__body { padding: 1.1rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.property-card__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.property-card__title { font-family: var(--font-display); font-size: 1.3rem; }
.property-card__size { color: var(--muted); font-size: .9rem; }
.property-card__price { margin-top: auto; padding-top: .5rem; font-weight: 700; font-size: 1.15rem; }
.property-card__price-label { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; }
.properties__empty { text-align: center; color: var(--muted); padding-top: 1.5rem; }

.contact-form, .contact__form, .contact__form-card form, .booking-form, .quote-form, .reservation-form {
  display: flex; flex-direction: column; gap: 1rem;
}
.form-row { display: grid; gap: 1rem; }
.form-row--2col { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row--2col { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 0; }
.form-label,
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text); }
.form-input,
.form-textarea,
.form-group input, .form-group textarea, .form-group select,
.contact-form input, .contact-form textarea, .contact-form select,
.contact__form input, .contact__form textarea, .contact__form select {
  width: 100%;
  padding: .75rem 1rem;
  font: inherit;
  color: var(--text);
  background: var(--background);
  border: 1.5px solid var(--border);
  border-radius: var(--radius, 10px);
  transition: border-color var(--dur-ui, .18s) var(--ease-standard, ease);
}
.form-input:focus, .form-textarea:focus,
.form-group :is(input, textarea, select):focus,
.contact-form :is(input, textarea, select):focus,
.contact__form :is(input, textarea, select):focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.form-textarea,
.form-group textarea, .contact-form textarea, .contact__form textarea { min-height: 7.5rem; resize: vertical; }
.form-submit,
.contact-form button[type="submit"], .contact__form button[type="submit"] {
  align-self: flex-start;
  padding: .8rem 1.9rem;
  font: inherit; font-weight: 600;
  color: var(--background, #fff);
  background: var(--primary);
  border: none;
  border-radius: var(--radius, 10px);
  cursor: pointer;
  transition: background var(--dur-ui, .18s) var(--ease-standard, ease), transform var(--dur-ui, .18s) var(--ease-standard, ease);
}
.form-submit:hover,
.contact-form button[type="submit"]:hover, .contact__form button[type="submit"]:hover {
  background: var(--primary-dark, var(--primary));
  transform: translateY(-1px);
}
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }


/* ── section component: about.auto-repair-pitlane ── */
[data-section="about"] {
  --radius-lg: 1rem;
  --shadow-lg: 0 20px 48px rgb(0 0 0 / .18), 0 8px 16px rgb(0 0 0 / .10);
  --step-4: clamp(2.07rem,  1.7rem  + 1.9vw,  3.55rem);
  --step-3: clamp(1.73rem,  1.5rem  + 1.2vw,  2.66rem);
  --font-mono: ui-monospace, 'Courier New', monospace;
  --step--1: clamp(0.78rem,  0.74rem + 0.20vw, 0.89rem);
}
.about__grid {
  display: grid; grid-template-columns: 1fr 1px 1fr;
  gap: 0 3rem; align-items: center;
}
.about__divider { background: var(--border); align-self: stretch; }
.about__image-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__image-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
/* Empty-photo collapse — the variant half of the guard `_components/about/
   style.css` already carries for `.about__media`, whose comment names this
   variant as one of the uncovered ones and asks for the fix here "if a corpus
   sweep ever shows them holding a band open". LOOM v2 D.8.2 row 3 is that
   sweep: composed live on portfolio and landing-page (2026-09-06), this variant
   left HALF the About band empty — the owner has not uploaded a photo yet, the
   foundation's `img[src=""] { display: none }` hides the broken-image icon, and
   the 1fr/1px/1fr grid keeps the column plus a divider rule standing in thin
   air around nothing. Same `:has()` idiom, same specificity story: the
   `.about__grid:has(> .about__image-wrap > img[src=""])` selector is (0,3,1)
   and beats the (0,1,0) grid rule above regardless of order. Unlike the
   nightwatch variant — whose wrap is a designed gradient panel that reads fine
   with no photo — this one has nothing to show.
   `minmax(0, 68ch)` rather than `1fr`: collapsing to a full-bleed single column
   traded an empty half-band for a 110-character line, which is the same defect
   wearing better clothes. 68ch holds the copy at a readable measure and is a
   no-op in the two-column case, where the column is already narrower. */
.about__grid:has(> .about__image-wrap > img[src=""]),
.about__grid:has(> .about__image-wrap > img:not([src])) { grid-template-columns: minmax(0, 68ch); }
.about__grid:has(> .about__image-wrap > img[src=""]) > .about__divider,
.about__grid:has(> .about__image-wrap > img:not([src])) > .about__divider,
.about__image-wrap:has(> img[src=""]),
.about__image-wrap:has(> img:not([src])) { display: none; }
.about__content { padding: 1rem 0; }
.about__content h2 { font-size: var(--step-4); margin-bottom: 1rem; color: var(--primary); }
.about__desc { color: var(--muted); line-height: 1.75; margin-bottom: 2rem; }
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .about__divider { display: none; }
}
[data-section="about"] { padding-block: clamp(3.5rem, 7vw, 6.5rem); }

/* ── section component: services.accountant-resume-accountant-ledger ── */
[data-section="services"] {
  --gradient: linear-gradient(135deg, var(--accent), var(--accent2, var(--primary)));
}
.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
.section-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--accent);
  /* No fade on a light band: `--accent` is guarded to 4.5:1 exactly; `.5` read 2.02:1 on prod (Weave item 56). */
  line-height: 1;
}
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px clamp(20px, 5vw, 80px);
}
.section-dark .section-num { color: var(--accent); opacity: 0.6; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius, 16px);
  overflow: hidden;
  transition: transform 0.3s var(--ease-standard), box-shadow 0.3s var(--ease-standard), border-color 0.3s var(--ease-standard);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  border-color: var(--accent);
}
.service-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-standard);
}
.service-card:hover .service-accent-bar {
  transform: scaleY(1);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 16px;
}
.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  transition: color 0.25s var(--ease-standard);
}
.service-card:hover .service-title { color: var(--accent); }
.service-subtitle {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.service-content {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}
.service-price {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.service-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s var(--ease-standard);
}
.service-link:hover { color: var(--accent); }
.section-accent-band .section-num { color: rgba(255, 255, 255, 0.4); }
/* Donor reveal class, made resting-VISIBLE (2026-09-06, LOOM v2 D.8.2 row 3).
   As harvested this was `.rv { opacity: 0; transform: translateY(24px)
   scale(.96) }` unguarded, and the donor's own IntersectionObserver — the
   script that added the "now show it" class — is not something the composer
   carries. Nothing in the composed pipeline ever reveals it, so the entire
   band renders permanently invisible: measured live on a real landing_page
   render, `data-section="services"` was 493px tall with `.section-header`
   and all three `.service-card` children at computed `opacity: 0`. The
   heading, the three services and their copy: gone, on a lead-capture page.
   `RenderQualityGate::RESTING_HIDDEN_SELECTORS` already names `[class~="rv"]`
   as exactly this hazard — but that gate ships disabled
   (`THEME_RENDER_GATE=false`), so it never fired.
   Rewritten in the house idiom: visible at rest, the hidden from-state living
   only inside `@supports` + `no-preference`, driven by the scroll timeline
   rather than by a script. A browser without scroll-driven animation, a
   reduced-motion visitor, and a page whose JS never ran now all show the
   content — which is the only acceptable failure direction for a resting
   state. NINE more pool variants ship the same unguarded `.rv`; they are
   reported, not fixed here, because only this one was measured. */
.rv { opacity: 1; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv {
      animation: rv-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
    @keyframes rv-reveal {
      from { opacity: 0; transform: translateY(24px) scale(0.96); }
      to   { opacity: 1; transform: none; }
    }
  }
}
@media (max-width: 640px) {
  .section-block, .section-inner {
    padding: 56px 16px;
  }
  .portfolio-grid, .services-grid, .testimonials-grid, .edu-grid {
    grid-template-columns: 1fr;
  }
}

/* ── section component: testimonials.baby-kids-store-tiny-cloud ── */
[data-section="testimonials"] {
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(42, 30, 25, 0.07);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-md: 0 6px 24px rgba(42, 30, 25, 0.10);
}
.section-header { text-align: center; margin-bottom: 48px; }
.section-header--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  text-align: left; gap: 24px; flex-wrap: wrap;
}
.section-header__title { margin-bottom: 12px; }
.section-header__sub { color: var(--muted); font-size: 1.05rem; }
.testimonials { background: var(--surface); }
.testimonials__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonials__grid > div:only-child { display: contents; }
.testimonial-card {
  background: var(--background, #fff); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1.5px solid var(--border);
  display: flex; flex-direction: column; gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial-card__stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; }
.testimonial-card__quote { color: var(--text); font-size: 0.95rem; line-height: 1.7; flex: 1; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-card__avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--border); flex-shrink: 0;
}
.testimonial-card__name { display: block; font-weight: 700; font-size: 0.9rem; }
.testimonial-card__role { display: block; color: var(--muted); font-size: 0.78rem; }
.faqs .section-header { text-align: left; }
.reviews .section-header__title { margin-bottom: 28px; }
.testimonials, .faqs, .policies, .contact {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}
@media (max-width: 1024px) {
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}
[data-section="testimonials"] { padding-block: clamp(3.5rem, 7vw, 6.5rem); }

/* ── section component: contact.general-store-hearth ── */
[data-section="contact"] {
  --section-py: 88px;
  --accent-dim: rgba(139, 94, 60, 0.10);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.section-header .section-label {
  justify-content: center;
}
.section-header .section-label::before { display: none; }
.testimonials .section-label { color: var(--accent); }
.contact {
  padding: var(--section-py) 0;
  background: var(--surface);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
.contact__info h2 { margin-bottom: 0.875rem; }
.contact__info p { color: var(--muted); margin-bottom: 2rem; }
.contact__detail {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.contact__detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.contact__detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius, 10px);
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact__detail-icon svg { width: 18px; height: 18px; }
.contact__detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 0.1rem;
}
.contact__detail-value { font-size: 0.9rem; color: var(--accent); font-weight: 500; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.stats-band,
.categories,
.featured-products,
.faqs,
.policies,
.contact,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}
@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── section component: faqs ── */
/* Section Component: faqs — self-contained, token-only, recolor-safe.
   Relies on the shared primitive layer for .container / .section-head /
   .eyebrow / .reveal (present in every composed theme). Dormant until the
   L1 CSS collector wires it into the composed stylesheet. */
.faqs { padding-block: var(--space-section, clamp(3.5rem, 7vw, 6.5rem)); background: var(--surface); }
.faqs__list { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.35rem 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-display); font-size: 1.15rem; color: var(--text); }
.faq-item__icon { flex: none; transition: transform var(--dur-ui) var(--ease-standard); }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a { padding-bottom: 1.35rem; color: var(--muted); max-width: 68ch; }

/* ── list empty state (TFS8-2) ── */
.wb-list-empty { grid-column: 1 / -1; margin: 0; padding: var(--space-md, 1.5rem) 0; color: var(--muted); text-align: center; }


/* Preset: Sand — warm terracotta + cream, organic. Appended after base. */
:root {
  --primary: #8a4b32;
  --primary-dark: #5f3120;
  --primary-light: #a9694d;
  --secondary: #b08968;
  --accent: #60714a; /* guarded to 4.5:1 on background and surface (was #6b7d52) */
  --background: #fdfbf6;
  --surface: #f3ece0;
  --text: #3a2a1f;
  --muted: #756858; /* guarded (was #8a7a68) */
  --border: #e7dcc9;
  --radius: 12px;
}

/* ── motion pack: calm (P2.1 — vibe-driven reveal) ───────────────────────
   Resting state is fully visible; the hidden `from` is gated behind @supports
   AND prefers-reduced-motion. transform/opacity only. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: wb-reveal-calm .55s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
    }
      .reveal:nth-child(2) { animation-range: entry 6% cover 41%; }
      .reveal:nth-child(3) { animation-range: entry 12% cover 47%; }
      .reveal:nth-child(4) { animation-range: entry 18% cover 53%; }
      .reveal:nth-child(5) { animation-range: entry 24% cover 59%; }
      .reveal:nth-child(6) { animation-range: entry 30% cover 65%; }

    @keyframes wb-reveal-calm {
      from { opacity: 0; transform: translateY(18px) scale(1); }
      /* No `transform` in the `to` frame ON PURPOSE. The lane fills `both`, so a
         named `transform: none` here would be HELD for the element's whole life
         and would beat every later transform on it — a `:hover` lift, a card
         tilt — at the animation origin, silently. Omitting it lets the frame
         take the element's own underlying value instead. */
      to   { opacity: 1; }
    }
  }
}

/* Reduced-motion + no-support safety net: content is always visible. */
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
}
/* ── surface finish (P2.2) — hero-scoped, token-driven, pointer-transparent ── */
[data-section="hero"] { position: relative; isolation: isolate; }
[data-section="hero"]::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(80% 60% at 15% 0%, color-mix(in srgb, var(--primary, #2563eb) 10%, transparent) 0%, transparent 60%),
    radial-gradient(60% 50% at 100% 100%, color-mix(in srgb, var(--accent, var(--primary, #2563eb)) 8%, transparent) 0%, transparent 65%);
}
/* ── imagery treatment (P2.3) — per-team token, editorial images only ────────
   Product, menu and logo images are intentionally excluded: their colour is
   information, not decoration. */
[data-section="hero"] img,
[data-section="about"] img {
  filter: var(--img-filter, none);
}
@media (max-width:720px){.header__links.is-open{display:flex;flex-direction:column;gap:.75rem;position:absolute;left:0;right:0;top:100%;padding:1rem 1.25rem;background:var(--background,#fff);border-bottom:1px solid var(--border,rgba(0,0,0,.12));z-index:99}}


/* __wobooks-defensive__ — appended by HtmlZipThemeConverterV2.
   Hide images whose src resolves to empty (e.g. data-src-field bindings
   for Items / categories the owner hasn't uploaded a photo for yet).
   Without this rule, the browser shows the alt-text fallback —
   that's the bug behind the literal word 'image' showing in avatar
   slots and About images on the production Braise theme. */
img[src=""], img:not([src]) { display: none !important; }

/* Grid-collapse fix: [data-list] is the WoBooks repeater wrapper. When the
   grid/flex layout lives on the PARENT, the wrapper would otherwise become
   a single grid/flex item and collapse every [data-item] row into one cell.
   display:contents makes the wrapper layout-transparent so each row
   participates in the parent track. Mirrors TemplateSkeletonGenerator so
   converted themes match skeleton/AI-generated themes. (Convention: never
   put the grid/flex container ON the [data-list] element itself.) */
[data-list] { display: contents; }
