/*
Theme Name: LUMIÈRE
Description: The Matter Chat demo storefront on WordPress + WooCommerce — a twin of the Shopify LUMIÈRE theme. Classic theme, no build step.
Version: 1.0.0
Author: Matter Chat
Text Domain: lumiere
*/

:root {
  --bg: #F7F4EF;
  --ink: #1F1C18;
  --sage: #7A8570;
  --hair: #E0D8CB;
  --band: #F2EDE5;
  --dark: #241F1A;
  --dark-ink: #F3EEE6;
  --dark-accent: #B9C4AC;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(1.25rem, 5vw, 4rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }
.muted { color: color-mix(in srgb, var(--ink) 62%, transparent); }
.eyebrow { font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin: 0 0 0.9rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.9rem 1.6rem; border-radius: 999px; font-size: 0.9375rem; font-weight: 600; line-height: 1; text-decoration: none; border: 1px solid transparent; transition: background-color 150ms, border-color 150ms; }
.btn--primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--primary:hover { background: #332F28; border-color: #332F28; }
.btn--ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.btn--ghost:hover { border-color: var(--ink); }

/* Header: announcement bar, text wordmark, four links. */
.announce { background: var(--band); border-bottom: 1px solid var(--hair); text-align: center; font-size: 0.8125rem; padding: 0.55rem var(--pad); color: color-mix(in srgb, var(--ink) 78%, transparent); }
.site-header { border-bottom: 1px solid var(--hair); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 5.5rem; }
.wordmark { font-family: var(--serif); font-weight: 400; font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: 0.34em; margin-right: -0.34em; text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { text-decoration: none; font-size: 0.9375rem; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

/* Hero: photograph with a warm wash on the left so ink type keeps contrast. */
.hero { position: relative; display: flex; align-items: center; min-height: 80vh; background: url(assets/lum-hero.jpg) center 50% / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, var(--bg) 0%, var(--bg) 26%, color-mix(in srgb, var(--bg) 78%, transparent) 42%, color-mix(in srgb, var(--bg) 24%, transparent) 60%, transparent 74%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: clamp(3rem, 7vw, 6.5rem); }
.hero__copy { max-width: 34rem; }
.hero__eyebrow { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); margin: 0 0 1.1rem; }
.hero h1 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; font-size: clamp(2.5rem, 5.4vw, 4.4rem); text-wrap: balance; }
.hero__sub { font-size: clamp(1rem, 1.25vw, 1.125rem); color: color-mix(in srgb, var(--ink) 74%, transparent); margin: 1.35rem 0 0; max-width: 30rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.1rem; }

/* Trust strip: four short pairs, type and a hairline only. */
.trust { background: var(--band); border-block: 1px solid var(--hair); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); padding-block: clamp(1.5rem, 2.6vw, 2.25rem); }
.trust b { display: block; font-family: var(--serif); font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.3rem; }
.trust span { font-size: 0.8125rem; color: color-mix(in srgb, var(--ink) 62%, transparent); }

/* Product grid: three portrait cards, title, one-line note, price. */
.grid-section .wrap { padding-block: 3rem; }
.grid-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.75rem; }
.grid-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.grid-head a { font-size: 0.8125rem; }
.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 0.5rem; }
.card a { text-decoration: none; display: block; }
.card__media { aspect-ratio: 4 / 5; background: var(--band); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__title { margin: 0.75rem 0 0; font-size: 1rem; }
.card__note { margin: 0.1rem 0 0; font-size: 0.75rem; color: color-mix(in srgb, var(--ink) 62%, transparent); }
.card__price { margin: 0.35rem 0 0; font-size: 1rem; font-variant-numeric: tabular-nums; }

/* Story band: the one dark moment on the page. */
.story { background: var(--dark); color: var(--dark-ink); background-image: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--dark-accent) 12%, transparent) 0%, transparent 62%); }
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3.5rem, 7vw, 6rem); }
.story__media { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story .eyebrow { color: var(--dark-accent); font-size: 0.75rem; letter-spacing: 0.16em; }
.story h2 { font-weight: 600; letter-spacing: -0.022em; line-height: 1.06; font-size: clamp(2rem, 3.6vw, 3.1rem); text-wrap: balance; }
.story__body { line-height: 1.68; color: color-mix(in srgb, var(--dark-ink) 74%, transparent); margin: 1.25rem 0 0; max-width: 34rem; }
.facts { list-style: none; margin: 2.25rem 0 0; padding: 0; }
.facts li { display: flex; gap: 1.25rem; align-items: baseline; padding: 0.9rem 0; border-top: 1px solid color-mix(in srgb, var(--dark-accent) 22%, transparent); }
.facts li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--dark-accent) 22%, transparent); }
.facts b { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--dark-accent); flex: 0 0 5.5rem; }
.facts span { font-size: 0.9375rem; color: color-mix(in srgb, var(--dark-ink) 72%, transparent); }
.story .btn { margin-top: 2.1rem; background: var(--dark-accent); color: var(--dark); border-color: var(--dark-accent); }

/* Info & FAQ: <details>, so the answers are in the HTML at first byte. */
.info { background: var(--band); border-top: 1px solid var(--hair); }
.info .wrap { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.info h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; text-wrap: balance; }
.info__lede { font-size: 0.9375rem; color: color-mix(in srgb, var(--ink) 68%, transparent); margin: 1rem 0 0; }
.info details { border-top: 1px solid var(--hair); }
.info details:last-of-type { border-bottom: 1px solid var(--hair); }
.info summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-family: var(--serif); font-size: 1.0625rem; }
.info summary::-webkit-details-marker { display: none; }
.info summary::after { content: ""; position: absolute; right: 0.25rem; top: 50%; width: 0.6rem; height: 0.6rem; margin-top: -0.42rem; border-right: 1.25px solid currentColor; border-bottom: 1.25px solid currentColor; transform: rotate(45deg); opacity: 0.55; transition: transform 160ms; }
.info details[open] summary::after { transform: rotate(-135deg); margin-top: -0.2rem; }
.info details p { font-size: 0.9375rem; line-height: 1.7; color: color-mix(in srgb, var(--ink) 76%, transparent); margin: 0; padding: 0 2.5rem 1.4rem 0; max-width: 46rem; }
.info__more { margin-top: 1.6rem; font-size: 0.875rem; color: color-mix(in srgb, var(--ink) 62%, transparent); }
.info__more a { text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

/* Footer: three columns and the demo disclaimer. */
.site-footer { border-top: 1px solid var(--hair); }
.site-footer .wrap { padding-block: 3rem 2rem; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-cols h3 { font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 1rem; }
.foot-cols p { margin: 0; font-size: 0.9375rem; color: color-mix(in srgb, var(--ink) 74%, transparent); max-width: 26rem; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin-bottom: 0.5rem; font-size: 0.9375rem; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.foot-note { border-top: 1px solid var(--hair); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.8125rem; color: color-mix(in srgb, var(--ink) 62%, transparent); }

/* Pages (shipping, returns, care, materials, faq). */
.page-body { max-width: 46rem; padding-block: clamp(3rem, 6vw, 5rem); }
.page-body h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 1.5rem; }
.page-body h2 { font-size: 1.5rem; margin: 2.25rem 0 0.6rem; }
.page-body p, .page-body li { color: color-mix(in srgb, var(--ink) 82%, transparent); }
.page-body table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
.page-body th, .page-body td { text-align: left; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--hair); }
.page-body th { font-weight: 500; color: color-mix(in srgb, var(--ink) 62%, transparent); }

/* Single product: image left, copy and a spec table right. No buy button —
   nothing on the demo is for sale. */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.product__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.05; }
.product__price { font-size: 1.25rem; margin: 0.6rem 0 1.5rem; font-variant-numeric: tabular-nums; }
.product__body p { color: color-mix(in srgb, var(--ink) 82%, transparent); }
.product__body ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.product__body li { display: grid; grid-template-columns: 42% 1fr; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--hair); font-size: 0.9375rem; }
.product__body li strong { font-weight: 400; color: color-mix(in srgb, var(--ink) 62%, transparent); }
.product__links { font-size: 0.9375rem; }

@media (max-width: 899px) {
  .story .wrap, .info .wrap, .product { grid-template-columns: 1fr; }
  .story__media { order: 2; aspect-ratio: 3 / 2; }
  .foot-cols { grid-template-columns: 1fr; }
}
@media (max-width: 749px) {
  .hero { min-height: 72vh; background-position: 72% center; }
  .hero::before { background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 46%, color-mix(in srgb, var(--bg) 30%, transparent) 74%, transparent 100%); }
  .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: 0.875rem; }
  .product__body li { grid-template-columns: 1fr; gap: 0.1rem; }
}
