/* =========================================================
   DecorAI — Editorial British interiors stylesheet
   Palette: warm neutrals, sage, clay, slate, charcoal ink
   Type: Fraunces (display) + Instrument Sans (body)
   ========================================================= */

:root {
  /* Paper stack */
  --paper: #FBF7F0;
  --paper-warm: #F7F1E6;
  --ivory: #F2EADB;
  --stone: #E6DCC8;
  --stone-soft: #EDE4D3;
  --mist: #D9D0BE;

  /* Ink stack */
  --ink: #1A1611;
  --charcoal: #2D2720;
  --slate: #55514B;
  --muted: #827A6D;
  --whisper: #A69B88;

  /* Accents */
  --sage: #A2AD94;
  --sage-deep: #6F7C66;
  --sage-shadow: #4F5A48;
  --clay: #C89272;
  --clay-deep: #A8694A;
  --taupe: #B1A084;
  --bracken: #5A5037;

  /* Utility */
  --hairline: rgba(42, 38, 32, 0.12);
  --hairline-strong: rgba(42, 38, 32, 0.22);
  --shadow-soft: 0 1px 2px rgba(42, 38, 32, 0.04), 0 8px 24px rgba(42, 38, 32, 0.06);
  --shadow-raised: 0 2px 4px rgba(42, 38, 32, 0.06), 0 20px 48px rgba(42, 38, 32, 0.10);

  /* Spacing scale (base 8) */
  --s-1: 0.5rem;
  --s-2: 0.75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 3rem;
  --s-7: 4rem;
  --s-8: 6rem;
  --s-9: 8rem;
  --s-10: 10rem;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Layout */
  --wrap: 1240px;
  --wrap-narrow: 880px;
  --nav-h: 72px;

  /* Type */
  --font-display: 'Fraunces', 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Instrument Sans', 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-editorial: 'Fraunces', 'EB Garamond', Georgia, serif;
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'ss02', 'liga', 'kern';
}

/* Paper grain — faint, editorial */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.10 0 0 0 0 0.09 0 0 0 0 0.07 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 0;
}
h1 { font-size: clamp(2.5rem, 4.4vw + 1rem, 5.75rem); line-height: 1.02; letter-spacing: -0.022em; }
h2 { font-size: clamp(2rem, 2.8vw + 0.5rem, 3.5rem); line-height: 1.08; letter-spacing: -0.018em; }
h3 { font-size: clamp(1.4rem, 1.2vw + 0.8rem, 2rem); line-height: 1.18; }
h4 { font-size: 1.25rem; line-height: 1.3; font-weight: 500; }

.display-italic { font-style: italic; font-variation-settings: 'opsz' 144, 'SOFT' 100; color: var(--bracken); }
.display-deep { color: var(--bracken); }

p { margin: 0 0 1rem; }
.lead {
  font-size: clamp(1.1rem, 0.5vw + 1rem, 1.35rem);
  line-height: 1.55;
  color: var(--slate);
  max-width: 58ch;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.6;
}
.eyebrow.solo::before { display: none; }

.pull {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.6rem, 1.5vw + 1rem, 2.4rem);
  line-height: 1.25;
  color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

/* =========================================================
   Layout primitives
   ========================================================= */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 3vw, 2.5rem); position: relative; z-index: 1; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 clamp(1.25rem, 3vw, 2.5rem); }
section { position: relative; z-index: 1; }
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.band-stone { background: var(--stone-soft); }
.band-ivory { background: var(--ivory); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink h1, .band-ink h2, .band-ink h3 { color: var(--paper); }

.hairline { border: 0; border-top: 1px solid var(--hairline); margin: 0; }
.divider-ornament {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  color: var(--whisper); margin: 2.5rem auto;
}
.divider-ornament::before, .divider-ornament::after {
  content: ''; width: 80px; height: 1px; background: var(--hairline-strong);
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, 0.82);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--hairline);
  box-shadow: 0 6px 20px rgba(42, 38, 32, 0.04);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: var(--nav-h);
  max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand img { height: 28px; width: auto; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a { font-size: 0.93rem; color: var(--slate); transition: color 200ms ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  background: var(--ink); color: var(--paper);
  border-radius: 999px;
  font-size: 0.9rem; letter-spacing: 0.01em;
  transition: background 200ms ease, transform 200ms ease;
}
.nav-cta:hover { background: var(--bracken); transform: translateY(-1px); }
.menu-toggle { display: none; padding: 0.5rem; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* =========================================================
   Buttons & store badges
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-size: 0.97rem; font-weight: 500; letter-spacing: 0.005em;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--bracken); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-outline {
  background: transparent; color: var(--ink);
  border: 1px solid var(--hairline-strong);
}
.btn-outline:hover { border-color: var(--ink); background: var(--paper-warm); }

.store-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 220ms ease, filter 220ms ease;
}
.store-badge img { height: 54px; width: auto; }
.store-badge:hover { transform: translateY(-2px); filter: brightness(0.95); }

/* Stars */
.stars { display: inline-flex; gap: 2px; color: var(--clay-deep); font-size: 1rem; letter-spacing: 0.05em; }
.stars.small { font-size: 0.85rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.hero-masthead {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.hero-masthead span { border-top: 1px solid var(--hairline); padding-top: 0.5rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 3rem; } }

.hero h1 .amp { font-style: italic; color: var(--clay-deep); font-weight: 300; }
.hero h1 .line-two { display: block; font-style: italic; color: var(--bracken); font-weight: 300; }
.hero-lead { margin-top: 1.75rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline);
  color: var(--slate); font-size: 0.9rem;
}
.hero-trust strong { color: var(--ink); font-weight: 500; font-family: var(--font-display); font-size: 1.25rem; margin-right: 0.4rem; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; align-items: center; }

/* Phone frame in hero */
.phone-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
}
.phone-stage::before {
  content: ''; position: absolute; inset: 5% 8%;
  background: radial-gradient(ellipse at center, rgba(168, 105, 74, 0.10), transparent 70%);
  filter: blur(28px); z-index: 0;
}
.phone {
  position: relative; z-index: 2;
  width: clamp(260px, 32vw, 380px);
  aspect-ratio: 9 / 19.5;
  background: var(--ink);
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.04) inset,
    0 0 0 1px var(--hairline-strong),
    var(--shadow-raised);
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px; overflow: hidden;
  background: var(--stone);
  position: relative;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: var(--ink); border-radius: 14px; z-index: 3;
}

/* Floating before/after tile by the phone */
.hero-tile {
  position: absolute;
  bottom: 6%; left: -6%;
  width: clamp(200px, 22vw, 280px);
  aspect-ratio: 4 / 3;
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-raised);
  border: 1px solid var(--hairline);
  padding: 10px;
  z-index: 3;
  transform: rotate(-2.5deg);
}
.hero-tile .ba { border-radius: 10px; overflow: hidden; }
@media (max-width: 700px) { .hero-tile { display: none; } }

.hero-tag {
  position: absolute;
  top: 8%; right: -4%;
  padding: 0.5rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--slate);
  box-shadow: var(--shadow-soft);
  z-index: 4;
  transform: rotate(4deg);
}

/* =========================================================
   Before / After slider
   ========================================================= */
.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--stone);
  user-select: none;
  touch-action: none;
}
.ba-layer { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: 50%; width: 2px; background: var(--paper);
  box-shadow: 0 0 0 1px var(--hairline-strong);
  transform: translateX(-1px);
  pointer-events: none;
}
.ba-handle::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
  background: var(--paper); border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-soft);
}
.ba-handle::after {
  content: '‹ ›'; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  color: var(--ink); font-size: 0.85rem; letter-spacing: 0.15em; font-weight: 600;
  font-family: var(--font-body);
}
.ba-label {
  position: absolute; bottom: 12px;
  font-family: var(--font-body);
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.3rem 0.55rem; border-radius: 4px;
  background: rgba(26, 22, 17, 0.72); color: var(--paper);
  backdrop-filter: blur(8px);
}
.ba-label.left { left: 12px; }
.ba-label.right { right: 12px; }

/* =========================================================
   Social proof strip
   ========================================================= */
.social-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.social-strip > div {
  background: var(--paper);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: flex; flex-direction: column; gap: 0.35rem;
}
.social-strip strong {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2vw + 0.5rem, 2.5rem);
  font-weight: 400; color: var(--ink);
  line-height: 1;
}
.social-strip span { color: var(--slate); font-size: 0.9rem; }
@media (max-width: 820px) { .social-strip { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Signature before/after gallery
   ========================================================= */
.signature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.sig-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}
.sig-card:nth-child(1) { grid-column: span 7; }
.sig-card:nth-child(2) { grid-column: span 5; }
.sig-card:nth-child(3) { grid-column: span 5; }
.sig-card:nth-child(4) { grid-column: span 7; }
.sig-card:nth-child(5) { grid-column: span 12; }
@media (max-width: 820px) {
  .signature-grid > * { grid-column: span 12 !important; }
}
.sig-card .ba { aspect-ratio: 16 / 11; border-radius: 0; }
.sig-body {
  padding: 1.4rem 1.5rem 1.6rem;
  border-top: 1px solid var(--hairline);
}
.sig-body .eyebrow { margin-bottom: 0.5rem; }
.sig-body h3 { margin-bottom: 0.3rem; }
.sig-body p { color: var(--slate); font-size: 0.97rem; margin: 0; }

/* =========================================================
   Editorial two-column
   ========================================================= */
.two-col {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.two-col .caption { font-family: var(--font-editorial); font-style: italic; color: var(--slate); font-size: 0.95rem; }
.two-col .rule-top { border-top: 2px solid var(--ink); padding-top: 1.25rem; }

/* =========================================================
   How it works — step cards
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-style: italic;
  color: var(--clay-deep);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}
.step h4 { margin-bottom: 0.4rem; }
.step p { color: var(--slate); font-size: 0.95rem; margin: 0; }

/* =========================================================
   Core features grid
   ========================================================= */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature {
  padding: 1.75rem;
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.feature:hover { transform: translateY(-3px); border-color: var(--hairline-strong); box-shadow: var(--shadow-soft); }
.feature-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--ivory);
  color: var(--bracken);
  border-radius: 10px;
  margin-bottom: 1rem;
}
.feature-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.feature h4 { margin-bottom: 0.4rem; }
.feature p { color: var(--slate); font-size: 0.94rem; margin: 0; }

/* =========================================================
   SEO editorial sections
   ========================================================= */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.editorial.reversed .editorial-text { order: 2; }
@media (max-width: 820px) { .editorial { grid-template-columns: 1fr; } .editorial.reversed .editorial-text { order: 0; } }
.editorial-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.editorial-visual .ba { aspect-ratio: 4/5; border-radius: 0; }
.editorial-visual .corner-tag {
  position: absolute; top: 18px; left: 18px;
  padding: 0.35rem 0.7rem; background: var(--paper);
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--slate); border-radius: 4px;
}
.editorial-text h2 { margin-bottom: 1.25rem; }
.editorial-text .lead { margin-bottom: 1.25rem; }
.editorial-text ul {
  list-style: none; padding: 0; margin: 1.25rem 0 0;
  border-top: 1px solid var(--hairline);
}
.editorial-text ul li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--hairline);
  display: flex; gap: 1rem; align-items: baseline;
  color: var(--slate); font-size: 0.98rem;
}
.editorial-text ul li::before {
  content: '—'; color: var(--clay-deep); flex: none; font-family: var(--font-display);
}

/* =========================================================
   Interior styles library
   ========================================================= */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
@media (max-width: 1100px) { .styles-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px)  { .styles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .styles-grid { grid-template-columns: repeat(2, 1fr); } }
.style-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--stone);
  cursor: pointer;
}
.style-card .style-visual {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 600ms ease;
}
.style-card:hover .style-visual { transform: scale(1.04); }
.style-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 22, 17, 0.62) 100%);
}
.style-card-body {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  z-index: 2; color: var(--paper);
}
.style-card-body .eyebrow { color: rgba(251, 247, 240, 0.72); margin-bottom: 0.2rem; }
.style-card-body h4 { color: var(--paper); font-weight: 400; font-family: var(--font-display); font-size: 1.15rem; }

/* =========================================================
   Room-by-room grid
   ========================================================= */
.rooms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
@media (max-width: 900px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .rooms { grid-template-columns: 1fr; } }
.room {
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper);
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.room:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.room-visual { aspect-ratio: 4 / 3; background: var(--stone); background-size: cover; background-position: center; }
.room-body { padding: 1rem 1.15rem 1.25rem; }
.room-body h4 { margin-bottom: 0.2rem; }
.room-body p { color: var(--slate); font-size: 0.9rem; margin: 0; }

/* =========================================================
   British homes band
   ========================================================= */
.british-homes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
@media (max-width: 900px) { .british-homes { grid-template-columns: repeat(2, 1fr); } }
.brit-card {
  padding: 1.6rem 1.4rem;
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
}
.brit-card .svg-illo { display: block; width: 80px; height: 56px; margin-bottom: 1rem; }
.brit-card h4 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.brit-card p { font-size: 0.92rem; color: var(--slate); margin: 0; }

/* =========================================================
   Audience segments
   ========================================================= */
.audience {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.audience > div {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--hairline);
}
.audience > div:last-child { border-right: 0; }
@media (max-width: 900px) {
  .audience { grid-template-columns: repeat(2, 1fr); }
  .audience > div:nth-child(2n) { border-right: 0; }
  .audience > div:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 500px) {
  .audience { grid-template-columns: 1fr; }
  .audience > div { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .audience > div:last-child { border-bottom: 0; }
}
.audience h4 {
  font-family: var(--font-display); font-size: 1.25rem; font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  color: var(--bracken);
  margin-bottom: 0.5rem;
}
.audience p { color: var(--slate); font-size: 0.94rem; margin: 0; }

/* =========================================================
   Use cases & benefits — numbered list
   ========================================================= */
.numlist {
  counter-reset: n;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--hairline);
}
@media (max-width: 700px) { .numlist { grid-template-columns: 1fr; } }
.numlist > div {
  counter-increment: n;
  padding: 1.5rem 1rem 1.5rem 4rem;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.numlist > div::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: 1.5rem;
  font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: var(--clay-deep);
  letter-spacing: 0.04em;
}
.numlist > div:nth-child(odd) { border-right: 1px solid var(--hairline); padding-right: 2rem; }
@media (max-width: 700px) { .numlist > div:nth-child(odd) { border-right: 0; padding-right: 1rem; } }
.numlist h4 { margin-bottom: 0.3rem; font-size: 1.1rem; }
.numlist p { margin: 0; color: var(--slate); font-size: 0.95rem; }

/* =========================================================
   Small spaces & renovation editorial pairs
   ========================================================= */
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
@media (max-width: 820px) { .spaces-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .spaces-grid { grid-template-columns: 1fr; } }
.space-card {
  padding: 1.75rem;
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
}
.space-card .tag {
  display: inline-block; padding: 0.22rem 0.55rem;
  background: var(--ivory); border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bracken); margin-bottom: 1rem;
}
.space-card h4 { margin-bottom: 0.4rem; }
.space-card p { color: var(--slate); font-size: 0.93rem; margin: 0; }

/* =========================================================
   Inspiration gallery (large, editorial collage)
   ========================================================= */
.collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 120px;
  gap: 1rem;
  margin-top: 3rem;
}
.collage div {
  background-size: cover; background-position: center;
  border-radius: var(--r-md);
  background-color: var(--stone);
}
.collage div:nth-child(1) { grid-column: span 3; grid-row: span 3; }
.collage div:nth-child(2) { grid-column: span 3; grid-row: span 2; }
.collage div:nth-child(3) { grid-column: span 2; grid-row: span 2; }
.collage div:nth-child(4) { grid-column: span 2; grid-row: span 3; }
.collage div:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.collage div:nth-child(6) { grid-column: span 3; grid-row: span 2; }
.collage div:nth-child(7) { grid-column: span 3; grid-row: span 2; }
@media (max-width: 820px) {
  .collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .collage div { grid-column: span 1 !important; grid-row: span 2 !important; }
  .collage div:nth-child(1) { grid-column: span 2 !important; }
}

/* =========================================================
   Comparison — why DecorAI stands out
   ========================================================= */
.compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare-card {
  padding: 2rem;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--paper);
}
.compare-card.subdued { background: var(--ivory); color: var(--muted); }
.compare-card.subdued h4 { color: var(--slate); text-decoration: line-through; text-decoration-color: var(--hairline-strong); text-decoration-thickness: 1px; }
.compare-card h4 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.compare-card ul { list-style: none; padding: 0; margin: 0; }
.compare-card li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--hairline);
  display: flex; gap: 0.8rem; align-items: flex-start;
  font-size: 0.95rem;
}
.compare-card li:first-child { border-top: 0; }
.compare-card .mark { flex: none; color: var(--sage-deep); font-weight: 600; }
.compare-card.subdued .mark { color: var(--muted); }

/* =========================================================
   Testimonials
   ========================================================= */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }
.review {
  padding: 1.75rem;
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 1rem;
}
.review-quote {
  font-family: var(--font-editorial); font-style: italic;
  font-size: 1.05rem; line-height: 1.5; color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
  flex: 1;
}
.review-meta { display: flex; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--hairline); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--stone);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 0.95rem; color: var(--bracken);
  border: 1px solid var(--hairline);
}
.review-meta .who { font-size: 0.88rem; color: var(--charcoal); }
.review-meta .who small { display: block; color: var(--muted); font-size: 0.78rem; }

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq {
  margin-top: 2.5rem;
  border-top: 1px solid var(--hairline);
}
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.5vw + 1rem, 1.35rem);
  color: var(--ink); text-align: left;
  transition: color 200ms ease;
}
.faq-q:hover { color: var(--bracken); }
.faq-q .plus {
  position: relative; width: 20px; height: 20px; flex: none;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 1px; background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 260ms ease;
}
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-q .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 320ms cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--slate);
}
.faq-a-inner { padding: 0 0 1.4rem; max-width: 72ch; }
.faq-item.open .faq-a { max-height: 360px; }

/* =========================================================
   Final CTA
   ========================================================= */
.finale {
  background: var(--ink); color: var(--paper);
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}
.finale::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(168, 105, 74, 0.22), transparent 60%),
              radial-gradient(ellipse at 80% 70%, rgba(111, 124, 102, 0.18), transparent 60%);
  pointer-events: none;
}
.finale-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 820px) { .finale-grid { grid-template-columns: 1fr; } }
.finale h2 { color: var(--paper); }
.finale .lead { color: rgba(251, 247, 240, 0.74); }
.finale .store-row { margin-top: 2rem; }
.finale-phone {
  position: relative;
  aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
}
.finale-phone .phone {
  background: var(--paper-warm); padding: 10px;
  box-shadow: 0 40px 60px rgba(0,0,0,0.4);
}
.finale-phone .phone-screen { background: var(--ivory); }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--paper-warm);
  padding: clamp(3rem, 5vw, 5rem) 0 2rem;
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: var(--slate); font-size: 0.95rem; max-width: 32ch; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer a { color: var(--charcoal); font-size: 0.95rem; transition: color 180ms ease; }
.footer a:hover { color: var(--ink); }
.footer-base {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--muted); font-size: 0.85rem;
}

/* =========================================================
   Image inside layered wrappers
   ========================================================= */
.ba-layer img,
.style-visual img,
.room-visual img,
.collage-item img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.ba-layer { overflow: hidden; }
.style-visual { position: absolute; inset: 0; display: block; overflow: hidden; }
.style-card .style-visual img { transition: transform 600ms ease; }
.style-card:hover .style-visual img { transform: scale(1.04); }

.collage-item { margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--stone); }
.collage-item img { transition: transform 700ms ease; }
.collage-item:hover img { transform: scale(1.03); }

/* Keyboard focus for interactive cards */
.style-card, .room, .sig-card { text-decoration: none; color: inherit; display: block; }
.style-card:focus-visible,
.room:focus-visible,
.sig-card:focus-visible,
.nav-cta:focus-visible,
.btn:focus-visible,
.store-badge:focus-visible,
.faq-q:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute; left: 1rem; top: 1rem;
  padding: 0.7rem 1rem;
  background: var(--ink); color: var(--paper);
  border-radius: 6px;
  font-size: 0.9rem; font-weight: 500;
  transform: translateY(-200%);
  transition: transform 180ms ease;
  z-index: 100;
}
.skip-link:focus { transform: translateY(0); }

/* =========================================================
   Long-form static pages (Privacy, Terms, Contact)
   Editorial British magazine treatment — serif, roomy,
   ornamental breaks, numbered sections, callouts.
   ========================================================= */

/* Hero */
.page-hero {
  padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(3rem, 5vw, 5rem);
  position: relative;
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(168, 105, 74, 0.06), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(111, 124, 102, 0.05), transparent 60%),
    var(--paper);
}
.page-hero .eyebrow { margin-bottom: 1.25rem; }
.page-hero h1 {
  font-size: clamp(2.75rem, 4.5vw + 1rem, 5rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.page-hero h1 em { font-style: italic; color: var(--bracken); }
.page-hero .lead {
  margin-top: 1.75rem;
  font-size: clamp(1.15rem, 0.5vw + 1rem, 1.45rem);
  line-height: 1.55;
  color: var(--slate);
  max-width: 60ch;
}
.page-updated {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Main article */
.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 3vw, 2.5rem) clamp(4rem, 6vw, 6rem);
  color: var(--charcoal);
  font-size: 1.08rem;
  line-height: 1.7;
  counter-reset: section;
}

.page-content > p,
.page-content ul,
.page-content ol,
.page-content table,
.page-content hr { max-width: 680px; }

/* Headings */
.page-content h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.4vw + 1rem, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 400;
  margin: 4rem 0 1.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--hairline);
}
.page-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.page-content h2 em {
  font-style: italic;
  color: var(--bracken);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.page-content h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 400;
  color: var(--bracken);
  margin: 2.25rem 0 0.85rem;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

/* First paragraph after h2 — slight lead emphasis */
.page-content h2 + p {
  font-size: 1.14rem;
  line-height: 1.6;
  color: var(--ink);
}

/* Body paragraphs */
.page-content p {
  margin: 0 0 1.35rem;
}

/* Lists — editorial em-dash markers */
.page-content ul,
.page-content ol {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  border-top: 1px solid var(--hairline);
}
.page-content li {
  position: relative;
  padding: 0.9rem 0 0.9rem 2rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--charcoal);
}
.page-content li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0.9rem;
  color: var(--clay-deep);
  font-family: var(--font-display);
  font-weight: 500;
}
.page-content ol { counter-reset: li; }
.page-content ol li::before {
  counter-increment: li;
  content: counter(li, decimal-leading-zero);
  color: var(--clay-deep);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  top: 1rem;
  letter-spacing: 0.04em;
}

/* Links */
.page-content a {
  color: var(--bracken);
  border-bottom: 1px solid var(--hairline-strong);
  transition: color 180ms ease, border-color 180ms ease;
}
.page-content a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Strong */
.page-content strong { color: var(--ink); font-weight: 500; }

/* Tables */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
}
.page-content thead { background: var(--ivory); }
.page-content th {
  text-align: left;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--slate);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hairline);
}
.page-content td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
  color: var(--charcoal);
}
.page-content tbody tr:last-child td { border-bottom: 0; }
.page-content tbody tr td:first-child {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.05rem;
}

/* Ornamental horizontal rule */
.page-content hr {
  border: 0;
  height: 1rem;
  margin: 4rem auto 2rem;
  max-width: 180px;
  background-image: radial-gradient(circle, var(--whisper) 1.2px, transparent 1.2px);
  background-size: 0.75rem 0.75rem;
  background-repeat: repeat-x;
  background-position: center;
}

/* Closing signature */
.page-content hr + p em {
  display: block;
  text-align: center;
  max-width: 48ch;
  margin: 0 auto;
  color: var(--slate);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}
@media (max-width: 620px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-soft);
}
.contact-card h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-style: normal;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 400;
}
.contact-card p {
  margin: 0 0 0.85rem;
  color: var(--slate);
  font-size: 0.95rem;
}
.contact-card a {
  display: inline-block;
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--bracken);
  border-bottom: 1px solid var(--hairline-strong);
  transition: color 180ms ease, border-color 180ms ease;
}
.contact-card a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Editorial callout for important legal statements */
.page-callout {
  margin: 2.5rem 0;
  padding: 1.5rem 1.75rem;
  background: var(--ivory);
  border-left: 3px solid var(--bracken);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}
.page-callout p { margin: 0; max-width: none; }

/* Reading comfort on very wide screens — slight right rag */
@media (min-width: 1100px) {
  .page-content { padding-right: clamp(2.5rem, 5vw, 6rem); }
}

/* =========================================================
   Honest basics — Privacy & Pricing grid
   ========================================================= */
.honest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 820px) { .honest-grid { grid-template-columns: 1fr; } }
.honest-card {
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
}
.honest-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0.6rem 0 1rem;
  color: var(--ink);
  font-weight: 400;
}
.honest-card > p { color: var(--slate); font-size: 1rem; margin-bottom: 1.25rem; }
.honest-list {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  border-top: 1px solid var(--hairline);
}
.honest-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.5;
  display: flex; gap: 0.75rem; align-items: baseline;
}
.honest-list li::before {
  content: '✓';
  color: var(--sage-deep);
  flex: none;
  font-weight: 600;
}
.honest-list strong { color: var(--ink); font-weight: 500; }
.honest-foot {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--bracken);
  font-size: 1rem;
}
.honest-foot a {
  border-bottom: 1px solid var(--hairline-strong);
  transition: border-color 180ms ease, color 180ms ease;
}
.honest-foot a:hover { border-bottom-color: var(--bracken); color: var(--ink); }

/* =========================================================
   Mid-page install band
   ========================================================= */
.install-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative; overflow: hidden;
}
.install-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(168, 105, 74, 0.18), transparent 60%);
  pointer-events: none;
}
.install-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.install-band-inner h2 { line-height: 1.1; }

/* Footer heading overrides (semantic <h2> visual = small caps) */
.footer .footer-h {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 1rem;
  line-height: 1.2;
}

/* Support H3 variants where H4 was before */
.step h3,
.feature h3,
.room-body h3,
.brit-card h3,
.audience h3,
.space-card h3,
.compare-card h3,
.numlist h3,
.style-card-body h3,
.sig-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.step h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 0.4rem; font-weight: 500; }
.feature h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 0.4rem; font-weight: 500; }
.room-body h3 { font-size: 1.15rem; margin-bottom: 0.2rem; font-weight: 500; }
.brit-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; font-weight: 500; }
.audience h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  color: var(--bracken);
  margin-bottom: 0.5rem;
}
.space-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; font-weight: 500; }
.compare-card h3 { font-size: 1.25rem; margin-bottom: 1.25rem; font-weight: 500; }
.compare-card.subdued h3 {
  color: var(--slate);
  text-decoration: line-through;
  text-decoration-color: var(--hairline-strong);
  text-decoration-thickness: 1px;
}
.numlist h3 { font-size: 1.1rem; margin-bottom: 0.3rem; font-weight: 500; }
.style-card-body h3 { color: var(--paper); font-weight: 400; font-size: 1.15rem; }
.sig-body h3 { font-size: 1.4rem; line-height: 1.2; margin-bottom: 0.3rem; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view { opacity: 1; transform: none; }

/* Stagger delays */
.reveal.d-1 { transition-delay: 80ms; }
.reveal.d-2 { transition-delay: 160ms; }
.reveal.d-3 { transition-delay: 240ms; }
.reveal.d-4 { transition-delay: 320ms; }
.reveal.d-5 { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Section-head shared
   ========================================================= */
.section-head { max-width: 68ch; margin-bottom: 1.5rem; }
.section-head h2 { margin-top: 0.6rem; }
.section-head .lead { margin-top: 1.25rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow { margin: 0 auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* Caption band */
.caption-band {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-editorial); font-style: italic;
  color: var(--slate); font-size: 0.95rem;
  margin-top: 1rem;
}
.caption-band::before { content: ''; flex: none; width: 32px; height: 1px; background: var(--hairline-strong); }
