/* =====================================================================
   Bright Hands - Boutique Quiet design system
   Source of truth for the Tier B redesign. Loaded by every /preview/*.html
   page. Lives at /preview/css/boutique.css and moves to /css/boutique.css
   at cutover (Phase 7).

   Companion JS: /preview/js/boutique.js (motion engine).

   Reference mockup: /mockups/option-2-v2-real-assets.html
   Spec doc: /mockups/SPEC.md
   ===================================================================== */

/* =====================================================================
   1. Tokens
   ===================================================================== */
:root {
  /* Palette */
  --paper:        #fbf9f4;
  --ivory:        #f7f4ee;
  --cream:        #f1ece1;
  --forest:       #1f3a2e;
  --forest-dark:  #142922;
  --moss:         #4a6b5a;
  --gold:         #b08a51;
  --gold-warm:    #c9a370;
  --ink:          #1a1d1c;
  --ink-soft:     #4a4d4c;
  --rule:         rgba(31, 58, 46, 0.12);
  --rule-soft:    rgba(31, 58, 46, 0.06);
  --shadow-card:  0 30px 80px -30px rgba(20, 41, 34, 0.35);
  --shadow-img:   0 30px 80px -30px rgba(0, 0, 0, 0.5);

  /* Type */
  --display:      'Lora', Georgia, serif;
  --body:         'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container:    1240px;
  --container-pad: 32px;
  --container-pad-mobile: 20px;

  /* Motion */
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-dur:   0.8s;
}

/* =====================================================================
   2. Reset + base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lenis-required hooks (active when JS loads). When Lenis isn't loaded
   (CSP block, JS off, prefers-reduced-motion), these classes never apply
   and native scroll runs. */
html.lenis, html.lenis body { height: auto; }
html.lenis-smooth { scroll-behavior: auto !important; }
html.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
html.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

img, picture, video { max-width: 100%; height: auto; display: block; }

a { color: var(--forest); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6, .display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.15;
}

p, li, dd { line-height: 1.7; }

/* =====================================================================
   3. Layout primitives
   ===================================================================== */
.bq-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
@media (max-width: 600px) {
  .bq-container { padding: 0 var(--container-pad-mobile); }
}

.bq-eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-block;
}
.bq-eyebrow--rule {
  padding-left: 56px;
  position: relative;
}
.bq-eyebrow--rule::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 1px;
  background: currentColor;
}
.bq-eyebrow--centered {
  padding: 0 56px;
  position: relative;
}
.bq-eyebrow--centered::before, .bq-eyebrow--centered::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: currentColor;
}
.bq-eyebrow--centered::before { left: 0; }
.bq-eyebrow--centered::after { right: 0; }
.bq-eyebrow--gold-warm { color: var(--gold-warm); }

/* =====================================================================
   4. Buttons
   ===================================================================== */
.bq-btn {
  display: inline-block;
  padding: 16px 38px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  font-family: var(--body);
}

/* On dark backgrounds */
.bq-btn--gold {
  background: var(--gold);
  color: var(--forest-dark);
}
.bq-btn--gold:hover {
  background: var(--ivory);
  opacity: 1;
}
.bq-btn--ghost-light {
  background: transparent;
  color: var(--ivory);
  padding: 15px 32px;
  border: 1px solid rgba(247, 244, 238, 0.4);
  font-weight: 500;
}
.bq-btn--ghost-light:hover {
  border-color: var(--ivory);
  background: rgba(247, 244, 238, 0.08);
  opacity: 1;
}

/* On light backgrounds */
.bq-btn--forest {
  background: var(--forest);
  color: var(--ivory);
}
.bq-btn--forest:hover {
  background: var(--forest-dark);
  color: var(--ivory);
  opacity: 1;
}
.bq-btn--ghost-dark {
  background: transparent;
  color: var(--forest);
  padding: 15px 32px;
  border: 1px solid var(--forest);
  font-weight: 500;
}
.bq-btn--ghost-dark:hover {
  background: var(--forest);
  color: var(--ivory);
  opacity: 1;
}

/* =====================================================================
   5. Nav
   ===================================================================== */
.bq-nav {
  padding: 22px 0;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--rule-soft);
}
.bq-nav__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.bq-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bq-nav__logo {
  height: 38px;
  width: auto;
  display: block;
}
.bq-nav__brandtext {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: -0.005em;
}
.bq-nav__links {
  display: flex;
  gap: 38px;
  list-style: none;
}
.bq-nav__links a {
  color: var(--ink);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.8;
}
.bq-nav__cta {
  background: transparent;
  color: var(--forest);
  padding: 10px 24px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--forest);
  border-radius: 0;
  transition: all 0.25s;
  font-weight: 500;
}
.bq-nav__cta:hover {
  background: var(--forest);
  color: var(--ivory);
  opacity: 1;
}
@media (max-width: 880px) {
  .bq-nav__links { display: none; }
  .bq-nav__brandtext { display: none; }
}

/* =====================================================================
   6. Hero (full-bleed photo + ken-burns + parallax)
   ===================================================================== */
.bq-hero {
  min-height: 88vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 0 100px;
  background: var(--forest-dark);
}
.bq-hero__bg {
  position: absolute;
  inset: -10% 0 -10% 0;
  will-change: transform;
}
.bq-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../../images/hero-living-room-1200.webp');
  background-image: image-set(
    url('../../images/hero-living-room-800.webp') 1x,
    url('../../images/hero-living-room-1200.webp') 1.5x
  );
  background-size: cover;
  background-position: center;
  animation: bq-ken-burns 36s ease-in-out infinite alternate;
  will-change: transform;
}
@media (min-width: 1024px) {
  .bq-hero__bg::after { background-image: url('../../images/hero-living-room-1200.webp'); }
}
/* Hero blur modifier - softens the photo backdrop so text floats on a quiet
   layer. Inset compensation prevents the blurred edges from showing past
   the section bounds (CSS blur bleeds beyond the element by ~radius pixels). */
.bq-hero--blur .bq-hero__bg { inset: -12% -3% -12% -3%; }
.bq-hero--blur .bq-hero__bg::after {
  filter: blur(6px);
  transform: scale(1.04); /* counter the blur edge fade */
}
.bq-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(20, 41, 34, 0.85) 0%,
    rgba(20, 41, 34, 0.32) 50%,
    rgba(20, 41, 34, 0.55) 100%
  );
}
.bq-hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.bq-hero__eyebrow { margin-bottom: 30px; }
.bq-hero__title {
  font-size: clamp(2.6rem, 6.2vw, 5.6rem);
  color: var(--ivory);
  font-weight: 400;
  letter-spacing: -0.018em;
  margin-bottom: 32px;
}
.bq-hero__title em { font-style: italic; color: var(--gold-warm); font-weight: 400; }
.bq-hero__lede {
  font-size: 1.18rem;
  color: rgba(247, 244, 238, 0.88);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 44px;
  font-weight: 300;
}
.bq-hero__ctas {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@keyframes bq-ken-burns {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
  .bq-hero__bg::after { animation: none; }
}

/* =====================================================================
   7. Marquee (looping concept strip)
   ===================================================================== */
.bq-marquee {
  overflow: hidden;
  padding: 38px 0;
  background: var(--ivory);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.bq-marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  animation: bq-marquee 50s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.bq-marquee:hover .bq-marquee__track { animation-play-state: paused; }
.bq-marquee__item {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-style: italic;
  color: var(--forest);
  font-weight: 500;
  flex-shrink: 0;
}
.bq-marquee__dot {
  color: var(--gold);
  font-size: 1.5rem;
  flex-shrink: 0;
}
@keyframes bq-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .bq-marquee__track { animation: none; }
}

/* =====================================================================
   8. Trust band (4-stat row)
   ===================================================================== */
.bq-trust {
  background: var(--paper);
  padding: 100px 0;
}
.bq-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}
.bq-trust__item { text-align: center; }
.bq-trust__num {
  font-family: var(--display);
  font-size: 3.4rem;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 14px;
  font-weight: 400;
}
.bq-trust__num em { font-style: italic; color: var(--gold); }
.bq-trust__label {
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
@media (max-width: 768px) {
  .bq-trust__grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
}

/* =====================================================================
   9. Sticky-grid (Nimmi section / any image+text editorial pair)
   ===================================================================== */
.bq-section--forest { background: var(--forest); color: var(--ivory); padding: 130px 0; }
.bq-section--paper { background: var(--paper); padding: 130px 0; }
.bq-section--ivory { background: var(--ivory); padding: 130px 0; }

.bq-sticky-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 100px;
  align-items: start;
}
.bq-sticky-grid__image-wrap {
  position: sticky;
  top: 110px;
}
.bq-sticky-grid__image {
  width: 100%;
  max-width: 320px;
  background-size: cover;
  background-position: center top;
  background-color: var(--moss);
  box-shadow: var(--shadow-img);
}
.bq-sticky-grid__content h2 {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  margin-bottom: 36px;
  color: inherit;
  font-weight: 400;
}
.bq-sticky-grid__content h2 em { font-style: italic; color: var(--gold-warm); }
.bq-sticky-grid__eyebrow { margin-bottom: 28px; }
.bq-sticky-grid__content blockquote {
  font-family: var(--display);
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.5;
  color: rgba(247, 244, 238, 0.96);
  margin: 0 0 36px;
  padding: 0;
  max-width: 580px;
}
.bq-sticky-grid__content p {
  margin-bottom: 20px;
  color: rgba(247, 244, 238, 0.7);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 580px;
  font-weight: 300;
}
.bq-sticky-grid__creds {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(247, 244, 238, 0.15);
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-warm);
  font-weight: 500;
}
@media (max-width: 900px) {
  .bq-sticky-grid { grid-template-columns: 1fr; gap: 50px; }
  .bq-sticky-grid__image-wrap { position: static; }
}

/* For light-bg sticky-grid sections (different content color) */
.bq-section--paper .bq-sticky-grid__content blockquote,
.bq-section--ivory .bq-sticky-grid__content blockquote {
  color: var(--ink);
}
.bq-section--paper .bq-sticky-grid__content p,
.bq-section--ivory .bq-sticky-grid__content p {
  color: var(--ink-soft);
}
.bq-section--paper .bq-sticky-grid__creds,
.bq-section--ivory .bq-sticky-grid__creds {
  border-top-color: var(--rule);
  color: var(--ink-soft);
}

/* =====================================================================
   10. Centered intro header (for sections like Pricing, Gallery)
   ===================================================================== */
.bq-intro {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 70px;
}
.bq-intro__eyebrow { margin-bottom: 24px; }
.bq-intro h2 {
  font-size: clamp(1.95rem, 3.8vw, 3rem);
  margin-bottom: 24px;
  color: var(--forest);
  font-weight: 400;
}
.bq-intro h2 em { font-style: italic; color: var(--gold); }
.bq-intro p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.7;
}

/* =====================================================================
   11. Image gallery grid (asymmetric 3-col)
   ===================================================================== */
.bq-gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
  grid-template-rows: 240px 240px;
}
.bq-gallery__cell {
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}
.bq-gallery__cell--tall {
  grid-row: span 2;
  height: 100%;
}
@media (max-width: 800px) {
  .bq-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .bq-gallery__cell--tall { grid-row: span 1; }
}

/* =====================================================================
   12. Pricing card
   ===================================================================== */
.bq-pricing-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--paper);
  padding: 80px 60px;
  border: 1px solid var(--rule);
  text-align: center;
  position: relative;
}
.bq-pricing-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--gold);
}
.bq-pricing-card__display {
  font-family: var(--display);
  font-size: clamp(3.2rem, 6vw, 5rem);
  color: var(--forest);
  line-height: 1;
  margin-bottom: 12px;
  font-weight: 400;
}
.bq-pricing-card__display .prefix {
  font-size: 0.32em;
  vertical-align: 0.45em;
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-right: 4px;
}
.bq-pricing-card__display .small {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.bq-pricing-card__sub {
  color: var(--ink-soft);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  margin-bottom: 48px;
  text-transform: uppercase;
  font-weight: 500;
}
.bq-pricing-card__includes {
  text-align: left;
  margin: 40px 0 48px;
  columns: 2;
  column-gap: 40px;
  color: var(--ink);
  font-size: 0.96rem;
}
.bq-pricing-card__includes li {
  list-style: none;
  padding: 10px 0;
  padding-left: 26px;
  position: relative;
  break-inside: avoid;
}
.bq-pricing-card__includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}
@media (max-width: 600px) {
  .bq-pricing-card__includes { columns: 1; }
  .bq-pricing-card { padding: 50px 28px; }
}

/* =====================================================================
   13. Footer
   ===================================================================== */
.bq-footer {
  padding: 90px 0 50px;
  background: var(--forest-dark);
  color: var(--ivory);
}
.bq-footer a { color: rgba(247, 244, 238, 0.7); }
.bq-footer a:hover { color: var(--gold-warm); opacity: 1; }
.bq-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 70px;
}
.bq-footer__brand .bq-nav__brand { margin-bottom: 22px; }
.bq-footer__brand .bq-nav__logo { filter: brightness(0) invert(1); opacity: 0.9; }
.bq-footer__brand .bq-nav__brandtext { color: var(--ivory); }
.bq-footer__brand p {
  color: rgba(247, 244, 238, 0.55);
  font-size: 0.92rem;
  line-height: 1.85;
  max-width: 340px;
  font-weight: 300;
}
.bq-footer__col h3 {
  font-family: var(--body);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-warm);
  font-weight: 500;
  margin-bottom: 22px;
}
.bq-footer__col ul { list-style: none; }
.bq-footer__col li { padding: 7px 0; }
.bq-footer__col a { font-size: 0.92rem; }
.bq-footer__bottom {
  padding-top: 36px;
  border-top: 1px solid rgba(247, 244, 238, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.78rem;
  color: rgba(247, 244, 238, 0.4);
  letter-spacing: 0.06em;
}
@media (max-width: 800px) {
  .bq-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   14. Motion (reveal-on-scroll, scale-in, parallax)
   ===================================================================== */
.bq-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--reveal-dur) var(--ease-out), transform var(--reveal-dur) var(--ease-out);
}
.bq-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.bq-scale-in {
  transform: scale(0.98);
  transition: transform 0.9s var(--ease-out);
}
.bq-scale-in.is-visible {
  transform: scale(1);
}
.bq-reveal--delay-1 { transition-delay: 0.1s; }
.bq-reveal--delay-2 { transition-delay: 0.2s; }
.bq-reveal--delay-3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .bq-reveal, .bq-scale-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =====================================================================
   15. Staging banner (only renders in /preview/)
   ===================================================================== */
.bq-staging-banner {
  background: var(--forest);
  color: var(--ivory);
  padding: 11px 20px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.bq-staging-banner a {
  color: var(--gold-warm);
  border-bottom: none;
  opacity: 1;
}
.bq-staging-banner a:hover { color: var(--ivory); }

/* =====================================================================
   16. Sticky mobile CTA (production parity - same data-event hooks)
   ===================================================================== */
.bq-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--forest);
  padding: 10px;
  gap: 8px;
}
.bq-sticky-cta__btn {
  flex: 1;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.bq-sticky-cta__btn--call {
  background: var(--gold);
  color: var(--forest-dark);
}
.bq-sticky-cta__btn--ask {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--gold-warm);
}
@media (max-width: 768px) {
  .bq-sticky-cta { display: flex; }
  .bq-footer { padding-bottom: 100px; }
}

/* =====================================================================
   17. Article typography (for wrapped production guides/services pages)
   ===================================================================== */
.bq-article-wrap, .bq-article-section { padding: 0; background: transparent; }

.bq-article h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 500;
  color: var(--forest);
  margin: 2.4rem 0 1rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.bq-article h2.heading {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  color: var(--forest);
}
.bq-article h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--forest);
  margin: 2rem 0 0.8rem;
}
.bq-article p {
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}
.bq-article p.lead {
  font-family: var(--display);
  font-size: 1.32rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 1.6rem;
}
.bq-article ul, .bq-article ol {
  color: var(--ink);
  margin: 0 0 1.4rem 1.4rem;
  padding: 0;
}
.bq-article ul li, .bq-article ol li {
  font-size: 1.04rem;
  line-height: 1.85;
  margin-bottom: 0.6rem;
}
.bq-article a {
  color: var(--forest);
  border-bottom: 1px solid rgba(31, 58, 46, 0.3);
  transition: border-color 0.2s, color 0.2s;
}
.bq-article a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
  opacity: 1;
}
.bq-article blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 1.8rem 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.bq-article strong { color: var(--forest); font-weight: 600; }

/* Production article elements that we keep verbatim */
.bq-article .article-body { max-width: none; }
.bq-article .post-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  margin: 0 0 32px;
  font-size: 0.95rem;
}
.bq-article .post-byline img,
.bq-article .post-byline__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.bq-article .post-byline__name { font-weight: 500; color: var(--forest); margin: 0; }
.bq-article .post-byline__date { color: var(--ink-soft); font-size: 0.86rem; margin: 2px 0 0; }
.bq-article .post-updated { color: var(--ink-soft); font-size: 0.86rem; }

.bq-article .trust-row,
.bq-article .trust-row-band {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0 28px;
  font-size: 0.9rem;
}
.bq-article .trust-row span,
.bq-article .trust-row-band span {
  background: var(--ivory);
  border: 1px solid var(--rule);
  padding: 5px 12px;
  color: var(--forest);
}

.bq-article .post-toc,
.bq-article nav.post-toc {
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  padding: 22px 28px;
  margin: 0 0 36px;
  border-radius: 0;
}
.bq-article .post-toc h2 { font-size: 1.1rem; margin: 0 0 8px; color: var(--forest); }
.bq-article .post-toc ol { margin: 0; padding-left: 20px; }
.bq-article .post-toc ol a { color: var(--forest); border-bottom: none; }
.bq-article .post-toc ol a:hover { color: var(--gold); border-bottom: 1px solid var(--gold); }

.bq-article .post-cta {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 36px 32px;
  margin: 2.4rem 0;
  text-align: center;
}
.bq-article .post-cta h2 { margin-top: 0; }
.bq-article .post-cta .btn,
.bq-article .post-cta .btn-primary,
.bq-article .post-cta .btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border: 0;
  margin: 6px 4px 0;
  text-decoration: none;
  border-bottom: 0;
}
.bq-article .post-cta .btn-primary {
  background: var(--forest);
  color: var(--ivory);
}
.bq-article .post-cta .btn-primary:hover { background: var(--forest-dark); border-bottom: 0; }
.bq-article .post-cta .btn-secondary {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}
.bq-article .post-cta .btn-secondary:hover { background: var(--forest); color: var(--ivory); border-bottom: 0; }

.bq-article .helpful-guides { margin: 3rem 0; }
.bq-article .helpful-guides h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.bq-article .helpful-guides ul { list-style: none; margin: 0; padding: 0; }
.bq-article .helpful-guides li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.bq-article .helpful-guides li a {
  font-size: 1rem;
  color: var(--ink);
  border-bottom: 0;
  display: block;
}
.bq-article .helpful-guides li a:hover { color: var(--forest); border-bottom: 0; }

.bq-article .faq-list { margin: 1.6rem 0; }
.bq-article .faq-list dt {
  font-family: var(--display);
  font-weight: 500;
  color: var(--forest);
  font-size: 1.15rem;
  margin-top: 22px;
}
.bq-article .faq-list dd {
  margin: 8px 0 16px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.75;
}

.bq-article .answer-block {
  background: var(--ivory) !important;
  border-left: 4px solid var(--gold) !important;
  border-radius: 0 !important;
  padding: 22px 26px !important;
  margin: 0 0 28px !important;
}
.bq-article .answer-block p[itemprop="name"] {
  color: var(--forest) !important;
  font-family: var(--display);
  font-size: 1.16rem !important;
  font-weight: 500 !important;
  margin: 0 0 10px !important;
}
.bq-article .answer-block p[itemprop="text"] {
  color: var(--ink) !important;
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

.bq-article hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4rem 0; }

/* Service-card grids inside articles (some service pages use these) */
.bq-article .row > [class*="col-"] { padding: 0; }

/* Drop production Bootstrap-style wrappers when nested in article */
.bq-article .container { max-width: none; padding: 0; }
.bq-article .row { display: block; margin: 0; }
.bq-article .col-lg-7,
.bq-article .col-lg-8,
.bq-article .col-lg-9,
.bq-article .col-lg-10 { width: 100%; max-width: 100%; padding: 0; flex: none; }

/* "Verifiable, Not Just Claimed" trust strip pattern from production */
.bq-article .verify-trust-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4rem 0; }

/* ===== Cookie consent banner (consent.js controls show/hide) =====
   Mirrors production banner but restyled to fit the boutique palette.
   Hidden by default; consent.js sets display:flex when no consent recorded. */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fbf9f4;
  border-top: 1px solid #e6e3dc;
  box-shadow: 0 -8px 24px rgba(20, 23, 22, 0.06);
  padding: 12px 22px;
  display: none; /* JS toggles to flex */
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  z-index: 9999;
  font-family: var(--body, 'Manrope'), system-ui, sans-serif;
  font-size: 0.92rem;
  color: var(--ink, #1a1d1c);
  line-height: 1.5;
}
#cookie-banner > div:first-child { max-width: 760px; }
#cookie-banner a { color: var(--forest, #1f3a2e); text-decoration: underline; }
#cookie-banner .btn,
#cookie-banner button {
  font-family: inherit;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 0 22px;
  min-height: 44px;
  border-radius: 2px;
  cursor: pointer;
  border: 0;
  margin-left: 8px;
}
#cookie-banner #accept-cookies { background: var(--forest, #1f3a2e); color: var(--ivory, #f7f4ee); }
#cookie-banner #decline-cookies { background: transparent; color: var(--forest, #1f3a2e); border: 1px solid var(--forest, #1f3a2e); }
#cookie-banner #manage-cookies { background: transparent; color: var(--forest, #1f3a2e); text-decoration: underline; padding: 0 10px; font-weight: 500; }
@media (max-width: 720px) {
  #cookie-banner {
    padding: 10px 14px;
    gap: 8px;
    flex-wrap: wrap;
    text-align: left;
    font-size: 0.85rem;
  }
  #cookie-banner > div:first-child { flex: 1 1 100%; }
  #cookie-banner > div:last-child {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    width: 100%;
  }
  #cookie-banner .btn,
  #cookie-banner button { margin: 0; padding: 0 16px; min-height: 44px; }
}

/* While the cookie banner is visible, hide the sticky CTA so they don't
   compete for bottom-of-viewport real estate on mobile. consent.js toggles
   `cookie-banner-open` on <body>. */
body.cookie-banner-open .bq-sticky-cta { display: none !important; }

/* =====================================================================
   Tier-1 motion: scroll progress, word stagger, count-up fades
   Wired by boutique.js. All respect prefers-reduced-motion.
   ===================================================================== */

/* Scroll-progress hairline at top of viewport */
.bq-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-warm, #c8a75a) 100%);
  z-index: 9999;
  pointer-events: none;
  transition: width 80ms linear;
}
@media (prefers-reduced-motion: reduce) {
  .bq-progress { display: none; }
}

/* Word-by-word stagger reveal (applied to .bq-stagger-words; JS wraps each word) */
.bq-stagger-words .bq-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.bq-stagger-words.is-staggered .bq-word {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .bq-stagger-words .bq-word {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =====================================================================
   Page meta line (read time + last updated) shown under guide-page H1
   ===================================================================== */
.bq-meta {
  font-family: var(--body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.72);
  margin: 18px 0 0;
  text-align: center;
  font-weight: 500;
}
.bq-meta__sep {
  margin: 0 10px;
  opacity: 0.5;
  font-weight: 400;
}

/* =====================================================================
   Sticky TOC on long guides (appears at viewports >= 1280px)
   Auto-built by boutique.js when article > 1500 words AND has 3+ H2s.
   ===================================================================== */
.bq-toc {
  position: fixed;
  top: 110px;
  right: max(20px, calc((100vw - 1180px) / 2 - 240px));
  width: 220px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  font-family: var(--body);
  font-size: 0.85rem;
  line-height: 1.55;
  padding: 18px 20px;
  background: var(--ivory);
  border: 1px solid var(--rule);
  z-index: 50;
}
.bq-toc h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.bq-toc ul { list-style: none; padding: 0; margin: 0; }
.bq-toc li { margin: 6px 0; }
.bq-toc a {
  color: var(--ink-soft);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding: 2px 0 2px 10px;
  display: block;
  transition: color 200ms ease, border-color 200ms ease;
}
.bq-toc a:hover {
  color: var(--forest);
  border-left-color: var(--rule);
}
.bq-toc a.is-active {
  color: var(--forest);
  font-weight: 500;
  border-left-color: var(--gold);
}
@media (max-width: 1279px) {
  .bq-toc { display: none; }
}

/* =====================================================================
   Screen-reader-only visually hidden text (a11y).
   Used by:
     - "Skip to main content" link at the top of <body> (chrome)
     - Form labels we want screen readers to announce but visually replace
       with a placeholder (lead-magnet-form on homepage)
   .sr-only-focusable becomes visible when focused via keyboard, which is
   the proper pattern for skip links so keyboard users can see them.
   ===================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* =====================================================================
   MOBILE FIXES
   - Lead-magnet form: stack vertically below 520px (was wrapping ugly)
   - Body padding to clear sticky CTA bar on mobile
   - Hamburger nav menu for sub-880px viewports
   ===================================================================== */

/* Lead-magnet form on narrow viewports: stack input above button.
   !important needed because the homepage form has inline flex/width styles. */
@media (max-width: 520px) {
  #lead-magnet-form {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  #lead-magnet-form > input,
  #lead-magnet-form > button {
    width: 100% !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
}

/* Mobile: clear the sticky bottom CTA bar so content + cookie banner
   never get hidden behind it. Sticky CTA is ~64-72px tall on mobile. */
@media (max-width: 880px) {
  body { padding-bottom: 76px; }
}

/* Hamburger button (injected by boutique.js). Hidden on desktop, shown
   on viewports <= 880px to replace the desktop nav links. */
.bq-nav__hamburger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: opacity 0.2s;
}
.bq-nav__hamburger:hover { opacity: 0.7; }
.bq-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.bq-nav__hamburger.is-open span:nth-child(1) { transform: translate(0, 7px) rotate(45deg); }
.bq-nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.bq-nav__hamburger.is-open span:nth-child(3) { transform: translate(0, -7px) rotate(-45deg); }

@media (max-width: 880px) {
  .bq-nav__hamburger { display: flex; }
  /* Hide the desktop CTA on mobile — Book a Tour now lives inside the drawer */
  .bq-nav__cta { display: none; }
}

/* Backdrop overlay behind the open mobile menu */
.bq-mobile-menu__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 41, 34, 0.45);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.bq-mobile-menu__backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile drawer: slides in from the right. Always rendered in the DOM
   (boutique.js injects it once on init); CSS toggles position via class. */
.bq-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 340px;
  height: 100vh;
  height: 100dvh;
  background: var(--paper);
  z-index: 100;
  padding: 80px 32px 40px;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(20, 41, 34, 0.12);
}
.bq-mobile-menu.is-open { transform: translateX(0); }

.bq-mobile-menu__links {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
}
.bq-mobile-menu__links li {
  border-bottom: 1px solid var(--rule);
}
.bq-mobile-menu__links a {
  display: block;
  padding: 18px 0;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s, padding-left 0.2s;
}
.bq-mobile-menu__links a:hover,
.bq-mobile-menu__links a:focus {
  color: var(--gold);
  padding-left: 6px;
  opacity: 1;
}
.bq-mobile-menu__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 32px;
}
.bq-mobile-menu__cta .bq-btn {
  text-align: center;
  width: 100%;
  display: block;
  padding: 16px 24px;
}

/* Lock body scroll when drawer is open */
body.bq-menu-open {
  overflow: hidden;
}
