/* ============================================================
   European Home Collection — Design System
   Quiet-luxury neutrals · editorial layout
   ============================================================ */

:root {
  /* Palette — softened warm neutral + dusty French blue */
  --cream:      #f8f4ee;   /* page background (soft warm cream) */
  --ivory:      #f2ede5;
  --paper:      #ffffff;
  --linen:      #f1ece3;   /* soft section bg */
  --taupe:      #c7b591;   /* gilt / warm secondary accent */
  --clay:       #a7bccb;   /* light blue accent */
  --stone:      #9a8f7e;   /* secondary / muted text */
  --espresso:   #4c463d;   /* headings — soft warm brown */
  --ink:        #574f44;   /* body text */
  --gold:       #7d97ac;   /* primary accent / links — dusty French blue */
  --gold-soft:  #a7bccb;   /* light blue */
  --gilt:       #c7b591;   /* occasional warm gilt accent */
  --dark:       #414b54;   /* soft slate for dark sections */
  --line:       #ece4d8;   /* hairline borders */

  /* Text-safe variants — WCAG 2.1 AA (>=4.5:1 on cream, white, linen and ivory).
     Use these for TEXT, ICONS and BORDERS. The lighter tokens above stay for
     decorative fills, large display type and illustration only. */
  --gold-text:    #546e84;  /* accent for links, labels, small text */
  --gold-deep:    #5d7a92;  /* solid-button background (#fff on it = 4.5:1) */
  --stone-text:   #746a5b;  /* muted body copy */
  --footer-muted: #bfb8ad;  /* muted text on --dark (4.5:1) */

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 12px;
  --shadow: 0 24px 46px -30px rgba(87, 79, 68, 0.4);
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--gold-text); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--espresso); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--espresso);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }

p { margin: 0 0 1.3rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 1rem;
  display: inline-block;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 1rem 2.3rem;
  border: 1px solid var(--gold-text);
  color: var(--gold-text);
  background: transparent;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn:hover { background: var(--gold-deep); color: #fff; }
.btn--solid { background: var(--gold-deep); color: #fff; }
.btn--solid:hover { background: transparent; color: var(--gold-text); }
.btn--gold { border-color: var(--gold-text); color: var(--gold-text); }
.btn--gold:hover { background: var(--gold-deep); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 239, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;   /* min- not fixed: 7 nav items must not overflow */
}
.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--espresso);
  line-height: 1;
  flex-shrink: 0;      /* never let the brand wrap into its own tagline */
  white-space: nowrap;
}
.brand span { display: block; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--stone-text); margin-top: 4px; font-weight: 400; }
.nav-links { display: flex; gap: 2.2rem; align-items: center; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.nav-links a {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;   /* "Shop the Finds" must stay on one line */
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-text); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--espresso); margin: 5px 0; transition: var(--transition); }

/* Laptop widths: tighten the nav before it has a chance to overflow */
@media (max-width: 1180px) and (min-width: 681px) {
  .nav-links { gap: 1.3rem; }
  .nav-links a { font-size: 0.72rem; letter-spacing: 0.09em; }
  .brand { font-size: 1.3rem; }
  .brand span { letter-spacing: 0.22em; font-size: 0.55rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  background:
    linear-gradient(180deg, rgba(247,244,239,0.15), rgba(247,244,239,0.55)),
    var(--linen);
  overflow: hidden;
}
.hero-figure { position: absolute; inset: 0; z-index: 0; }
.hero-figure svg, .hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 640px; }
.hero h1 { margin-bottom: 0.4em; }
.hero .lede { font-size: 1.2rem; color: var(--ink); max-width: 520px; margin-bottom: 2rem; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--linen); }
.card-media svg, .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-media img, .card:hover .card-media svg { transform: scale(1.04); }
.card-body { padding: 1.5rem 1.6rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.card-cat { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 0.6rem; }
.card-body h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.card-body p { font-size: 0.95rem; color: var(--stone-text); margin-bottom: 1.2rem; }
.card-link { margin-top: auto; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--espresso); }
.card-link::after { content: " \2192"; color: var(--gold-text); }

/* Product card (shop) */
.product .card-media { aspect-ratio: 1 / 1; }
.price { font-family: var(--serif); font-size: 1.25rem; color: var(--espresso); margin: 0.2rem 0 1rem; }
.badge { display:inline-block; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone-text); border:1px solid var(--line); border-radius: 20px; padding: 4px 12px; margin-bottom: 0.8rem; }

/* ---------- Section heading ---------- */
.section-head { text-align: center; max-width: 620px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.section-head p { color: var(--stone-text); font-size: 1.05rem; }

.alt { background: var(--linen); }
.dark { background: var(--dark); color: var(--cream); }
.dark h1, .dark h2, .dark h3 { color: var(--cream); }
.dark .eyebrow { color: var(--gold-soft); }
.dark p { color: #d9d1c6; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.split-media { aspect-ratio: 5/6; background: var(--linen); overflow: hidden; border-radius: var(--radius); }
.split-media svg, .split-media img { width:100%; height:100%; object-fit: cover; }

/* ---------- Disclosure banner ---------- */
.disclosure-bar {
  background: var(--linen);
  border-bottom: 1px solid var(--line);
  font-size: 0.74rem;
  color: var(--stone-text);
  text-align: center;
  padding: 8px var(--gutter);
  letter-spacing: 0.04em;
}
.affiliate-note {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-text);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  font-size: 0.86rem;
  color: var(--stone-text);
  margin: 1.5rem 0 2.5rem;
}
.inline-disclosure { font-size: 0.72rem; color: var(--stone-text); font-style: italic; display:block; margin-top: 0.3rem; }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; }
.newsletter form { display: flex; gap: 0.6rem; max-width: 480px; margin: 1.8rem auto 0; }
.newsletter input {
  flex: 1; padding: 1rem 1.3rem; border: 1px solid rgba(255,255,255,0.25); border-radius: 30px;
  font-family: var(--sans); font-size: 0.9rem; background: rgba(255,255,255,0.08); color: var(--cream);
}
.newsletter input::placeholder { color: #c3bcb0; }
.newsletter input:focus { outline: 1px solid var(--gold-soft); }

/* ---------- Article ---------- */
.article-hero { padding: clamp(3rem, 7vw, 5rem) 0 2rem; text-align: center; }
.article-hero .meta { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone-text); margin-bottom: 1rem; }
.article-hero h1 { max-width: 900px; margin: 0 auto 0.6rem; }
.article-cover { aspect-ratio: 16/8; background: var(--linen); overflow: hidden; margin: 2rem 0; border-radius: var(--radius); }
.article-cover svg, .article-cover img { width:100%; height:100%; object-fit: cover; }
.article-body { font-size: 1.12rem; line-height: 1.85; color: var(--ink); }
.article-body h2 { margin-top: 2.6rem; }
.article-body h3 { margin-top: 2rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; margin-bottom: 1.5rem; }
.article-body li { margin-bottom: 0.6rem; }
.article-body blockquote {
  border-left: 3px solid var(--gold-text); margin: 2rem 0; padding: 0.4rem 0 0.4rem 1.5rem;
  font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--espresso); line-height: 1.4;
}
.article-body a { text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
.product-pick {
  display: grid; grid-template-columns: 120px 1fr; gap: 1.4rem; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 1.3rem; margin: 1.8rem 0;
}
.product-pick .thumb { aspect-ratio: 1; background: var(--linen); overflow: hidden; border-radius: 8px; }
.product-pick h4 { font-size: 1.2rem; margin: 0 0 0.3rem; }
.product-pick p { font-size: 0.92rem; color: var(--stone-text); margin: 0 0 0.8rem; }

.tags { display:flex; flex-wrap:wrap; gap: 0.6rem; margin: 2.5rem 0; }
.tag { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone-text); border:1px solid var(--line); border-radius: 20px; padding: 5px 14px; }

/* ---------- Pinterest feed ---------- */
.pin-embed { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.pin-fallback { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pin-fallback a { display:block; aspect-ratio: 3/4; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; background: var(--linen); transition: transform var(--transition); }
.pin-fallback a:hover { transform: translateY(-4px); }
.pin-fallback svg { width:100%; height:100%; object-fit:cover; }
.pin-note { text-align:center; margin-top:1.6rem; font-size:0.84rem; color: var(--stone-text); }
.board-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.5rem,3vw,2.5rem); }
@media (max-width: 900px){ .pin-fallback{grid-template-columns:repeat(3,1fr)} .board-grid{grid-template-columns:1fr 1fr} }
@media (max-width: 680px){ .pin-fallback{grid-template-columns:1fr 1fr} .board-grid{grid-template-columns:1fr} }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #d7d0c4; padding: clamp(3rem,6vw,4.5rem) 0 2rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: var(--cream); font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; margin-bottom: 1.2rem; }
.site-footer .brand { color: var(--cream); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a { color: #cfc7bb; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 3rem; padding-top: 1.6rem; display:flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.78rem; color: var(--footer-muted); }
.footer-disclosure { max-width: 340px; font-size: 0.82rem; line-height: 1.6; color: var(--footer-muted); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
/* Scroll reveal — ONLY applied when JS is running (html.js). Without JS the
   content is fully visible, which is the correct default. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed; top: 76px; right: 0; left: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 2rem;
    transform: translateY(-140%); transition: transform var(--transition); z-index: 40;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 1rem 0; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter form { flex-direction: column; }
  .newsletter input { border-right: 1px solid var(--line); }
  .newsletter .btn { border-left: 1px solid var(--espresso); }
  .product-pick { grid-template-columns: 1fr; text-align: center; }
  .product-pick .thumb { max-width: 160px; margin: 0 auto; }
}

/* ============================================================
   ACCESSIBILITY — added 2026-07-29
   ============================================================ */

/* Skip link — visible only on keyboard focus */
.skip-link {
  position: absolute; left: 0; top: 0;
  transform: translateY(-120%);
  background: var(--gold-deep); color: #fff;
  font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.9rem 1.4rem;
  z-index: 200; border-bottom-right-radius: var(--radius);
  transition: transform var(--transition);
}
.skip-link:focus { transform: translateY(0); color: #fff; outline: 2px solid var(--espresso); outline-offset: 2px; }

/* Visible focus on every interactive element */
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-soft); }
/* Only suppress the default ring where we provide our own */
:focus:not(:focus-visible) { outline: none; }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .card:hover { transform: none; }
  .card:hover .card-media svg, .card:hover .card-media img { transform: none; }
  .pin-fallback a:hover { transform: none; }
}

/* ============================================================
   PRICE BANDS — replaces exact prices.
   Amazon Associates Program Policies allow displayed prices only when
   Amazon serves the link or the data comes from their API. A band is our
   own editorial tier, not a representation of a live Amazon price.
   ============================================================ */
.price-band {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-text);
  margin: 0.2rem 0 0.9rem;
}

/* ============================================================
   UTILITIES — replacing inline style attributes
   ============================================================ */
.hero--short { min-height: 62vh; text-align: center; }
.lede--centered { margin-left: auto; margin-right: auto; }
.btn--spaced { margin-left: 0.6rem; }
.h3--sm { font-size: 1.25rem; }
.h3--xs { font-size: 1.15rem; }
.card--compact .card-body { padding: 1.6rem; }
.form-note { font-size: 0.8rem; color: var(--footer-muted); margin-top: 1rem; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 680px) {
  .btn--spaced { margin-left: 0; margin-top: 0.7rem; }
}

/* ============================================================
   CONSENT NOTICE — injected by js/analytics.js
   Deliberately a dismissible bar, not a blocking modal: Google
   treats intrusive interstitials as a page-experience negative.
   ============================================================ */
.consent-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: var(--dark); color: #d9d1c6;
  padding: 1rem var(--gutter);
  display: flex; align-items: center; justify-content: center;
  gap: 1.4rem; flex-wrap: wrap;
  box-shadow: 0 -10px 30px -20px rgba(0,0,0,0.5);
}
.consent-bar__text { margin: 0; font-size: 0.86rem; max-width: 620px; }
.consent-bar__text a { color: var(--gold-soft); text-decoration: underline; }
.consent-bar__actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.consent-bar .btn { padding: 0.7rem 1.5rem; font-size: 0.7rem; }
.consent-bar .consent-decline { border-color: var(--gold-soft); color: var(--gold-soft); }
.consent-bar .consent-decline:hover { background: var(--gold-soft); color: var(--dark); }
@media (max-width: 680px) {
  .consent-bar { flex-direction: column; align-items: stretch; text-align: center; gap: 0.9rem; }
  .consent-bar__actions { justify-content: center; }
}

/* Form feedback */
.form-note--error { color: #e8b4a0; }
.newsletter .form-note { color: var(--footer-muted); }

/* ============================================================
   INLINE EMAIL CAPTURE — mid-article, no interstitial
   ============================================================ */
.inline-capture {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-text);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin: 2.8rem 0;
}
.inline-capture h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.inline-capture p { font-size: 0.94rem; color: var(--stone-text); margin-bottom: 1.2rem; }
.inline-capture form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.inline-capture input {
  flex: 1; min-width: 220px; padding: 0.9rem 1.2rem;
  border: 1px solid var(--line); border-radius: 30px;
  font-family: var(--sans); font-size: 0.9rem;
  background: var(--paper); color: var(--ink);
}
.inline-capture .form-note { color: var(--stone-text); flex-basis: 100%; }
@media (max-width: 680px) {
  .inline-capture form { flex-direction: column; }
  .inline-capture input { min-width: 0; }
}

/* ============================================================
   STICKY MOBILE CTA — Pinterest traffic lands mid-page on mobile
   ============================================================ */
.sticky-cta { display: none; }
@media (max-width: 680px) {
  .sticky-cta {
    display: block;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    background: rgba(248, 244, 238, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding: 0.7rem var(--gutter);
    text-align: center;
    transform: translateY(120%);
    transition: transform var(--transition);
  }
  .sticky-cta.visible { transform: translateY(0); }
  .sticky-cta .btn { display: block; width: 100%; padding: 0.9rem; }
  /* never let the two fixed bars collide */
  body:has(.consent-bar) .sticky-cta { display: none; }
}

/* ============================================================
   BREADCRUMBS — visible trail, matched by BreadcrumbList schema
   ============================================================ */
.breadcrumb { padding: 1.1rem 0 0; font-size: 0.78rem; }
.breadcrumb ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
}
.breadcrumb li { color: var(--stone-text); letter-spacing: 0.06em; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.breadcrumb a { color: var(--gold-text); }
.breadcrumb [aria-current="page"] { color: var(--stone-text); }

/* ============================================================
   FAQ — native <details>, so it works with zero JavaScript
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans); font-size: 1.3rem; line-height: 1;
  color: var(--gold-text); flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding-top: 0.8rem; }
.faq-answer p { margin: 0; color: var(--ink); font-size: 1.02rem; }

/* ============================================================
   PRODUCT RATIONALE — the "why this piece" line
   ============================================================ */
.product-why {
  font-size: 0.9rem !important;
  color: var(--stone-text);
  margin-bottom: 0.6rem !important;
}

/* ============================================================
   PLACEHOLDER SWATCH ART — tokenised, no hard-coded hex.
   These stand in until real photography lands. Every one sits in a
   block marked "PHOTO SLOT" in the HTML.
   ============================================================ */
.sw-bg-fc { fill: #e7ded1; }   /* warm neutral  */
.sw-bg-co { fill: #e8edf1; }   /* cool coastal  */
.sw-bg-cc { fill: #eae1d4; }   /* soft cottage  */
.sw-fg-fc2 { fill: #cdbfa9; }
.sw-fg-fc3 { fill: #d3c6b2; }
.sw-fg-co2 { fill: #a7bccb; }
.sw-fg-co3 { fill: #b9c9d5; }
.sw-fg-cc2 { fill: #cebfa6; }
.sw-fg-cc3 { fill: #d6cab7; }
.sw-ac-fc2 { fill: #cdbfa9; }
.sw-ac-fc3 { fill: #c7b591; }
.sw-ac-co2 { fill: #a7bccb; }
.sw-ac-co3 { fill: #7d97ac; }
.sw-ac-cc2 { fill: #cebfa6; }
.sw-ac-cc3 { fill: #c9ceb9; }
.sw-gilt   { fill: #c7b591; }

.card-media--wide { aspect-ratio: 4 / 3; }
.pt-0 { padding-top: 0; }

/* ============================================================
   BYLINE — Google explicitly recommends bylines that lead to
   further author information.
   ============================================================ */
.byline {
  font-size: 0.82rem;
  color: var(--stone-text);
  margin: -0.4rem 0 1.2rem;
  letter-spacing: 0.02em;
}
.byline a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }

/* Method / transparency block — states what the edit is and is not */
.method-note {
  background: var(--linen);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin: 2.2rem 0 2.8rem;
}
.method-note h2 { margin-top: 0 !important; margin-bottom: 0.8rem; }
.method-note p { font-size: 0.94rem; margin-bottom: 0.7rem; }
.method-note p:last-child { margin-bottom: 0; }

/* ============================================================
   STYLE QUIZ
   ============================================================ */
.quiz-progress {
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--stone-text); margin: 0.6rem 0 0;
}
.quiz-step { border: 0; margin: 0; padding: 0; }
.quiz-q {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 1.6rem;
}
.quiz-q:focus { outline: none; }
.quiz-answers { display: grid; gap: 0.9rem; }
.quiz-answers button {
  text-align: left;
  font-family: var(--sans); font-size: 1rem; font-weight: 300;
  line-height: 1.5; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.quiz-answers button:hover {
  border-color: var(--gold-text);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.quiz-result { padding: 1rem 0 0; }
.quiz-result:focus { outline: none; }
.quiz-result h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.5rem; }
.quiz-result__first {
  background: var(--linen);
  border-left: 3px solid var(--gold-text);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  font-size: 0.98rem;
  margin: 1.6rem 0 2rem;
}

@media (prefers-reduced-motion: reduce) {
  .quiz-answers button:hover { transform: none; }
}

/* ============================================================
   SEARCH
   ============================================================ */
.search-form { display: flex; gap: 0.6rem; margin: 1.8rem 0 0; flex-wrap: wrap; }
.search-form input {
  flex: 1; min-width: 240px;
  padding: 1rem 1.3rem;
  border: 1px solid var(--line); border-radius: 30px;
  font-family: var(--sans); font-size: 1rem;
  background: var(--paper); color: var(--ink);
}
.search-status { font-size: 0.84rem; color: var(--stone-text); margin-top: 1rem; min-height: 1.4em; }
.search-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.search-hit a {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  transition: border-color var(--transition), transform var(--transition);
}
.search-hit a:hover { border-color: var(--gold-text); transform: translateY(-2px); }
.search-hit h2 { font-size: 1.35rem; margin: 0.3rem 0 0.5rem; }
.search-hit p { font-size: 0.92rem; color: var(--stone-text); margin: 0; }
@media (max-width: 680px) {
  .search-form { flex-direction: column; }
  .search-form input { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .search-hit a:hover { transform: none; } }

/* ============================================================
   SHOP FILTERS — client-side, URL-synced, no backend
   ============================================================ */
.filter-bar {
  position: sticky; top: 76px; z-index: 40;
  background: rgba(248,244,238,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.filter-group { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.filter-group + .filter-group { margin-top: 0.6rem; }
.filter-label {
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone-text); margin-right: 0.4rem; flex-shrink: 0;
}
.filter-chip {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink); background: transparent;
  border: 1px solid var(--line); border-radius: 30px;
  padding: 0.5rem 1.1rem; cursor: pointer;
  transition: all var(--transition);
}
.filter-chip:hover { border-color: var(--gold-text); color: var(--gold-text); }
.filter-chip[aria-pressed="true"] {
  background: var(--gold-deep); border-color: var(--gold-deep); color: #fff;
}
.filter-count { font-size: 0.8rem; color: var(--stone-text); margin: 1.4rem 0 0; }
[hidden] { display: none !important; }
@media (max-width: 680px) {
  .filter-bar { position: static; }
  .filter-label { flex-basis: 100%; margin-bottom: 0.2rem; }
}

/* ============================================================
   PINTEREST SAVE BUTTON — turns readers into distribution
   ============================================================ */
.card-media, .split-media, .article-cover, .product-pick .thumb { position: relative; }
.pin-save {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.94); color: var(--gold-text);
  border: 1px solid var(--line); border-radius: 30px;
  padding: 0.42rem 0.85rem;
  opacity: 0; transform: translateY(-4px);
  transition: opacity var(--transition), transform var(--transition);
}
.card:hover .pin-save, .article-cover:hover .pin-save,
.split-media:hover .pin-save, .pin-save:focus-visible { opacity: 1; transform: none; }
.pin-save:hover { background: #fff; color: var(--espresso); }
/* touch devices have no hover — always show */
@media (hover: none) { .pin-save { opacity: 1; transform: none; } }

/* ============================================================
   ILLUSTRATION PALETTE
   Every colour used by the placeholder SVG artwork, tokenised.
   There are no hard-coded colours left in the HTML — change a
   value here and it updates everywhere. These placeholders are
   replaced as real photography arrives.
   ============================================================ */
:root {
  --ill-01: #cdbfa9;
  --ill-02: #eae1d4;
  --ill-03: #e7ded1;
  --ill-04: #a7bccb;
  --ill-05: #faf6f0;
  --ill-06: #f7f4ef;
  --ill-07: #e8edf1;
  --ill-08: #d3c6b2;
  --ill-09: #d8cbb8;
  --ill-10: #c7b591;
  --ill-11: #cebfa6;
  --ill-12: #d6cab7;
  --ill-13: #7d97ac;
  --ill-14: #e6dcc9;
  --ill-15: #e5dccd;
  --ill-16: #f2ede4;
  --ill-17: #ffffff;
  --ill-18: #b7a67f;
  --ill-19: #cbbca5;
  --ill-20: #c9ceb9;
  --ill-21: #c2b499;
  --ill-22: #b8a98f;
  --ill-23: #c9d4de;
  --ill-24: #efe9e1;
  --ill-25: #e3d9cc;
  --ill-26: #cdbfa8;
  --ill-27: #f1ece3;
}
.f-ill-01 { fill: var(--ill-01); }
.f-ill-02 { fill: var(--ill-02); }
.f-ill-03 { fill: var(--ill-03); }
.f-ill-04 { fill: var(--ill-04); }
.f-ill-05 { fill: var(--ill-05); }
.f-ill-06 { fill: var(--ill-06); }
.f-ill-07 { fill: var(--ill-07); }
.f-ill-08 { fill: var(--ill-08); }
.f-ill-09 { fill: var(--ill-09); }
.f-ill-10 { fill: var(--ill-10); }
.f-ill-11 { fill: var(--ill-11); }
.f-ill-12 { fill: var(--ill-12); }
.f-ill-13 { fill: var(--ill-13); }
.f-ill-14 { fill: var(--ill-14); }
.f-ill-15 { fill: var(--ill-15); }
.f-ill-16 { fill: var(--ill-16); }
.f-ill-17 { fill: var(--ill-17); }
.f-ill-18 { fill: var(--ill-18); }
.f-ill-19 { fill: var(--ill-19); }
.f-ill-20 { fill: var(--ill-20); }
.f-ill-21 { fill: var(--ill-21); }
.f-ill-22 { fill: var(--ill-22); }
.f-ill-23 { fill: var(--ill-23); }
.f-ill-24 { fill: var(--ill-24); }
.f-ill-25 { fill: var(--ill-25); }
.f-ill-26 { fill: var(--ill-26); }
.f-ill-27 { fill: var(--ill-27); }

/* ============================================================
   UTILITY CLASSES — replacing the last inline style attributes
   ============================================================ */
.fs-lg      { font-size: 1.1rem; }
.fs-135     { font-size: 1.35rem; }
.muted      { color: var(--stone-text); }
.mt-3       { margin-top: 3rem; }
.mt-1-4     { margin-top: 1.4rem; }
.pt-2-5     { padding-top: 2.5rem; }
.pb-0       { padding-bottom: 0; }
.p-card-top { padding: 1rem 1rem 0; }
.align-center { align-items: center; text-align: center; }
.no-underline { text-decoration: none; }
.stack-center { max-width: 560px; margin: 2.5rem auto 0; }
.stack       { display: block; max-width: 560px; margin: 0 auto; }
.chip-row {
  margin-bottom: 2.5rem; display: flex; flex-wrap: wrap;
  gap: 0.6rem; justify-content: center;
}

/* Form fields (contact page) */
.field { display: block; margin-bottom: 1.2rem; }
.field-label {
  display: block; font-size: 0.75rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--stone-text); margin-bottom: 0.5rem;
}
.field-input {
  width: 100%; padding: 0.9rem 1rem;
  border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--sans); font-size: 0.95rem;
  background: var(--paper); color: var(--ink);
}
.field-input--area { resize: vertical; min-height: 140px; }
.txt-espresso { color: var(--espresso); }
.note-sm { color: var(--stone-text); font-size: 0.9rem; margin-top: 2.5rem; }
.note-xs { color: var(--stone-text); font-size: 0.92rem; }

/* gradient stops and strokes, tokenised */
.sc-ill-03 { stop-color: var(--ill-03); }
.sc-ill-18 { stop-color: var(--ill-18); }
.st-ill-03 { stroke: var(--ill-03); }
.st-ill-18 { stroke: var(--ill-18); }
.sc-ivory { stop-color: var(--ivory); }
