/* ============================================================
   Coastal Breeze Air — Internal Pages
   Coastal-luxury aesthetic matching the home page.
   Cormorant Garamond display + Manrope body, brand cyan, warm
   cream paper (light) / deep navy (dark), watercolor ribbon
   accents, paper grain. Single look, both themes.
   ============================================================ */

.le {
  /* ---- DARK (default) tokens ---- */
  --le-bg: #02060F;
  --le-bg-soft: #050A1A;
  --le-bg-deep: #010308;
  --le-surface: rgba(8, 18, 36, 0.42);
  --le-surface-soft: rgba(8, 18, 36, 0.22);
  --le-surface-deep: rgba(6, 14, 30, 0.72);

  --le-hairline: rgba(190, 220, 250, 0.12);
  --le-hairline-mid: rgba(190, 220, 250, 0.20);
  --le-hairline-strong: rgba(190, 220, 250, 0.32);

  --le-ink: rgb(236, 246, 255);
  --le-ink-soft: rgb(216, 228, 244);
  --le-ink-mute: rgb(186, 206, 232);
  --le-ink-faint: rgb(150, 174, 210);

  --le-brand: rgb(140, 220, 255);
  --le-brand-soft: rgb(190, 230, 255);
  --le-brand-deep: rgb(60, 160, 230);
  --le-coral: rgb(255, 180, 160);
  --le-coral-deep: rgb(220, 130, 110);
  --le-gold: rgb(255, 200, 120);

  --le-grad-cyan: linear-gradient(95deg, rgb(180, 220, 255) 0%, rgb(120, 160, 230) 100%);
  --le-grad-cta: linear-gradient(110deg, rgb(120, 200, 255) 0%, rgb(80, 140, 220) 100%);
  --le-grad-warm: linear-gradient(110deg, rgb(255, 200, 175) 0%, rgb(255, 160, 130) 100%);

  --le-shadow-text: 0 2px 6px rgba(0, 8, 24, 0.85), 0 8px 36px rgba(0, 10, 30, 0.75);
  --le-shadow-soft: 0 1px 3px rgba(0, 8, 24, 0.70);

  --le-ribbon-blend: screen;
  --le-ribbon-opacity: 0.78;
  --le-grain-blend: screen;
  --le-grain-opacity: 0.07;
  --le-vignette-strength: 0.40;

  width: min(1280px, 100%);
  margin-inline: auto;
  background: var(--le-bg);
  color: var(--le-ink);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.le[data-theme="light"] {
  /* ---- LIGHT (warm parchment) tokens ---- */
  --le-bg: #F4EFE2;
  --le-bg-soft: #EBE5D2;
  --le-bg-deep: #DFD8C2;
  --le-surface: rgba(255, 252, 244, 0.65);
  --le-surface-soft: rgba(255, 252, 244, 0.42);
  --le-surface-deep: rgba(245, 240, 226, 0.85);

  --le-hairline: rgba(40, 30, 20, 0.10);
  --le-hairline-mid: rgba(40, 30, 20, 0.18);
  --le-hairline-strong: rgba(40, 30, 20, 0.28);

  --le-ink: rgb(20, 36, 60);
  --le-ink-soft: rgb(50, 64, 88);
  --le-ink-mute: rgb(82, 98, 124);
  --le-ink-faint: rgb(124, 138, 160);

  --le-brand: rgb(26, 111, 168);
  --le-brand-soft: rgb(42, 138, 200);
  --le-brand-deep: rgb(14, 78, 128);
  --le-coral: rgb(194, 104, 73);
  --le-coral-deep: rgb(160, 76, 50);
  --le-gold: rgb(184, 138, 50);

  --le-grad-cyan: linear-gradient(95deg, rgb(14, 78, 128) 0%, rgb(42, 138, 200) 100%);
  --le-grad-cta: linear-gradient(110deg, rgb(42, 138, 200) 0%, rgb(14, 78, 128) 100%);
  --le-grad-warm: linear-gradient(110deg, rgb(194, 104, 73) 0%, rgb(160, 76, 50) 100%);

  --le-shadow-text: 0 1px 2px rgba(40, 30, 20, 0.05), 0 4px 14px rgba(40, 30, 20, 0.08);
  --le-shadow-soft: 0 1px 2px rgba(40, 30, 20, 0.06);

  --le-ribbon-blend: multiply;
  --le-ribbon-opacity: 0.60;
  --le-grain-blend: multiply;
  --le-grain-opacity: 0.13;
  --le-vignette-strength: 0.0;
}

.le.le-template-category.has-coastal-page-bg,
.le.le-template-article.has-coastal-page-bg,
.le.le-shell.has-coastal-page-bg {
  background: var(--le-bg);
}

body.cb-role-internal .site-content {
  padding-top: 0 !important;
}

body.cb-role-internal .le.le-template-category,
body.cb-role-internal .le.le-template-article {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin-inline: auto;
  overflow: visible;
  --le-abf-max: 1600px;
  --le-section-max: 1180px;
  --le-copy-max: 960px;
  --le-min-page-gutter: 18px;
  --le-abf-gutter: clamp(18px, 6.666vw, 96px);
  --le-abf-pad-x: max(var(--le-abf-gutter), calc((100vw - var(--le-abf-max)) / 2 + var(--le-abf-gutter)));
  --le-section-pad-x: clamp(18px, 5vw, 96px);
  --le-editorial-max: var(--le-section-max);
  --le-fold-pad-x: var(--le-abf-pad-x);
}

.le.le-template-category.has-coastal-page-bg .le-shell__inner,
.le.le-template-article.has-coastal-page-bg .le-shell__inner,
.le.le-shell.has-coastal-page-bg .le-shell__inner {
  position: relative;
  z-index: 1;
}

/* Home text contrast carryover for internal role/category templates.
   Softened version of the home outline stack so type stays readable
   without the harsher edge on light paper sections. */
.le.le-template-category,
.le.le-template-article {
  --le-home-outline-soft:
    0 2px 10px rgba(0, 10, 30, 0.42),
    0 12px 34px rgba(0, 10, 30, 0.24);
  --le-home-outline-soft-body:
    0 1px 3px rgba(0, 10, 30, 0.22);
}

.le.le-template-category[data-theme="light"],
.le.le-template-article[data-theme="light"] {
  --le-home-outline-soft: none;
  --le-home-outline-soft-body: none;
}

.le.le-template-category h1,
.le.le-template-article h1,
.le.le-template-category .le-divider-h2,
.le.le-template-article .le-divider-h2,
.le.le-template-category .le-section-h2,
.le.le-template-article .le-section-h2,
.le.le-template-category .le-schedule-head h2,
.le.le-template-article .le-schedule-head h2,
.le.le-template-category .le-seocopy h2,
.le.le-template-article .le-seocopy h2,
.le.le-template-category .le-mag-body h3,
.le.le-template-article .le-mag-body h3,
.le.le-template-category .le-cover-index .label,
.le.le-template-article .le-cover-index .label,
.le.le-template-category .le-mag-tag,
.le.le-template-article .le-mag-tag {
  text-shadow: var(--le-home-outline-soft);
}

.le.le-template-category :is(
  .le-cover .lede,
  .le-mag-body > p,
  .le-seocopy p,
  .le-article p,
  .le-article li,
  .faq-block__question,
  .faq-block__answer,
  .category-strip__link,
  .le-place-strip .label,
  .le-nav-links a,
  .le-combo-half,
  .le-pill
),
.le.le-template-article :is(
  .le-cover .lede,
  .le-mag-body > p,
  .le-seocopy p,
  .le-article p,
  .le-article li,
  .faq-block__question,
  .faq-block__answer,
  .category-strip__link,
  .le-place-strip .label,
  .le-nav-links a,
  .le-combo-half,
  .le-pill
) {
  text-shadow: var(--le-home-outline-soft-body);
}

/* Internal role pages are long-form editorial surfaces, not promo reveals.
   Keep content visible immediately so sections never appear "blank" while
   waiting for reveal observers/timers. */
.le.le-template-category .reveal-init,
.le.le-template-article .reveal-init {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* Role templates use the editorial cover layout, not the global full-bleed
   parallax hero contract used by generic builder pages. */
.le.le-template-category .builder-blocks > .block-wrapper--parallax-hero-block {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.le.le-template-category .builder-blocks > .block-wrapper--parallax-hero-block > .le-cover.builder-block.parallax-hero {
  display: grid !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-inline: 0 !important;
  min-height: 0 !important;
  align-items: start;
  justify-content: initial;
  padding: 48px var(--le-fold-pad-x) 64px !important;
}
/* Lift animation layer out of grid flow so text/diagram columns are unobstructed
   — matches prototype's `position:absolute;inset:0` on .le-hvac-scene */
.le.le-template-category .le-cover .parallax-hero__animation-container,
.le.le-template-article .le-entry > .le-cover .parallax-hero__animation-container {
  position: absolute !important;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
/* Stretch the animation iframe to fill the fold container so waves reach 100vw */
.le.le-template-category .le-cover .parallax-hero__animation-frame,
.le.le-template-article .le-entry > .le-cover .parallax-hero__animation-frame {
  width: 100% !important;
  height: 100% !important;
  border: none;
  background: transparent;
}
body.cb-role-internal .le.le-template-category .builder-blocks > .block-wrapper:not(.block-wrapper--parallax-hero-block) {
  width: min(var(--le-section-max), calc(100vw - (var(--le-min-page-gutter) * 2)));
  max-width: var(--le-section-max);
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
body.cb-role-internal .le.le-template-category .builder-blocks > .block-wrapper:has(> .le-spec-block),
body.cb-role-internal .le.le-template-category .builder-blocks > .block-wrapper:has(> .le-place-strip),
body.cb-role-internal .le.le-template-category .builder-blocks > .block-wrapper:has(> .le-why),
body.cb-role-internal .le.le-template-category .builder-blocks > .block-wrapper:has(> .section-list) {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
body.cb-role-internal .le.le-template-category .builder-blocks > .block-wrapper:has(> .le-seocopy) {
  width: min(var(--le-copy-max), calc(100vw - (var(--le-min-page-gutter) * 2)));
  max-width: var(--le-copy-max);
}
body.cb-role-internal .le.le-template-article .le-entry > .le-cover {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: var(--le-fold-pad-x);
  padding-right: var(--le-fold-pad-x);
}
.le.le-template-category .le-cover .parallax-hero__content {
  display: block !important;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
  align-items: stretch;
}
.le.le-template-category .le-cover .parallax-hero__title {
  max-width: none !important;
}
.le.le-template-category .le-cover .parallax-hero__content > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}
.le.le-template-category .le-cover .le-crumbs,
.le.le-template-category .le-cover .le-crumbs :is(a, span),
.le.le-template-category .le-cover-index,
.le.le-template-category .le-cover-index li,
.le.le-template-category .le-cover-index .num,
.le.le-template-category .le-cover-index .label {
  line-height: normal !important;
}

/* Neutralize generic builder wrapper gutters/width caps so role templates
   match the prototype's 1280 editorial canvas exactly. */
.le.le-template-category .builder-blocks > .block-wrapper {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.le.le-template-category .builder-blocks {
  gap: 0 !important;
}
.le.le-template-category .builder-blocks > .block-wrapper + .block-wrapper {
  margin-top: 0 !important;
}
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block,
.le.le-template-category .builder-blocks > .block-wrapper:not(.block-wrapper--width-full) > section.builder-block:not(.hero-block):not(.video-hero-block):not(.parallax-hero),
.le.le-template-category .builder-blocks > .block-wrapper:not(.block-wrapper--width-full) > section:not(.hero-block):not(.video-hero-block):not(.parallax-hero) {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

/* Neutralize generic builder card treatment on role pages.
   Prototype sections are flat editorial strips, not rounded white cards. */
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block:not(.parallax-hero):not(.hero-block):not(.video-hero-block) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.le.le-template-category .builder-blocks > .block-wrapper > section:not(.builder-block):not(.parallax-hero):not(.hero-block):not(.video-hero-block) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Generic builder variants inject clipped radial pseudo-washes (notably
   .scoreboard-block--primary::before). On role pages those create hard
   rectangular seams over the full-page breeze field. Keep the content
   and motifs; remove only the generic section wash layers. */
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block:is(
  .le-why,
  .le-reviews,
  .le-faq,
  .le-seocopy,
  .section-list
)::before,
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block:is(
  .le-why,
  .le-reviews,
  .le-faq,
  .le-seocopy,
  .section-list
)::after {
  content: none !important;
  display: none !important;
}

/* Prototype-faithful internal section rhythm */
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-spec-block {
  padding: 0 !important;
}
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-spec-block > .le-spec {
  width: 100%;
  max-width: none;
  margin: 0;
}
.le.le-template-category .le-spec {
  padding: 26px var(--le-abf-pad-x) !important;
}
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-place-strip {
  height: auto !important;
  min-height: 78px;
  padding: 28px var(--le-abf-pad-x) !important;
}
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-why {
  padding: 72px var(--le-abf-pad-x) 56px !important;
}
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-why > .container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-reviews {
  padding: 72px var(--le-section-pad-x) !important;
  padding-left: var(--le-section-pad-x) !important;
  padding-right: var(--le-section-pad-x) !important;
}
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-faq {
  padding: 72px var(--le-section-pad-x) !important;
}
.le.le-template-category .le-schedule {
  padding: 96px var(--le-section-pad-x) !important;
}
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-seocopy {
  padding: 80px var(--le-section-pad-x) 64px !important;
}
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.section-list > .le-divider {
  padding-left: var(--le-abf-pad-x) !important;
  padding-right: var(--le-abf-pad-x) !important;
}
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.section-list > .le-mag-grid {
  width: min(var(--le-section-max), calc(100vw - (var(--le-min-page-gutter) * 2)));
  max-width: var(--le-section-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--le-section-pad-x);
  padding-right: var(--le-section-pad-x);
  box-sizing: border-box;
}

/* Role-template typography parity against internal prototypes.
   Defeat legacy `luxury-text-hero` clamps/weights from theme.css. */
.le.le-template-category .le-why .scoreboard-block__title,
.le.le-template-category .le-reviews .testimonials-block__title,
.le.le-template-category .le-faq .faq-block__title {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 56px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.012em !important;
  color: var(--le-ink) !important;
}
.le.le-template-category .le-seocopy .paragraph-block__title {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 48px !important;
  line-height: 1.06 !important;
  letter-spacing: -0.012em !important;
  color: var(--le-ink) !important;
}

/* Role-template body color calibration (prototype uses softer ink values). */
.le.le-template-category .le-spec-k { color: var(--le-ink-faint) !important; }
.le.le-template-category .le-spec-v { color: var(--le-ink) !important; }
.le.le-template-category .le-why-card p { color: var(--le-ink-soft) !important; }
.le.le-template-category .le-mag-card { color: var(--le-ink); }
.le.le-template-category .le-mag-body > p { color: var(--le-ink-soft) !important; }
.le.le-template-category .le-reviews-grid .review p,
.le.le-template-category .le-reviews-grid .testimonial-card__quote { color: var(--le-ink) !important; }
.le.le-template-category .le-seocopy p { color: var(--le-ink-soft) !important; }
.le.le-template-category .le-why-card,
.le.le-template-article .le-why-card {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
}
.le.le-template-category .le-faq details {
  background: transparent !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.faq-block.le-faq {
  background: transparent !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Light-theme token reset: .has-coastal-page-bg unconditionally forces dark ink
   (rgb(232,244,255)) onto --block-body-color for readability against the deep-night
   wave field. In light mode the atmospheric bg is warm parchment — text must be dark.
   Override the three block color tokens so the wide-net span/p/li !important rule
   resolves them to the correct light-mode values. */
.le[data-theme="light"].le-template-category .builder-blocks > .block-wrapper > section.builder-block:not(.hero-block):not(.video-hero-block):not(.parallax-hero) {
  --block-heading-color: var(--le-ink);
  --block-body-color: var(--le-ink-soft);
  --block-muted-color: var(--le-ink-mute);
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: var(--le-hairline-mid) !important;
}

.le.le-template-category .le-seocopy h2 {
  font-size: 48px !important;
}

/* Final text-outline enforcement for internal role pages.
   Later theme/look blocks can zero out text-shadow; keep home-style
   readability treatment consistently applied on internal templates. */
.le.le-template-category :is(
  h1,
  .le-divider-h2,
  .le-section-h2,
  .le-reviews .testimonials-block__title,
  .le-faq .faq-block__title,
  .le-schedule-head h2,
  .le-seocopy h2,
  .le-mag-body h3,
  .le-cover-index .label,
  .le-mag-tag
),
.le.le-template-article :is(
  h1,
  .le-divider-h2,
  .le-section-h2,
  .le-reviews .testimonials-block__title,
  .le-faq .faq-block__title,
  .le-schedule-head h2,
  .le-seocopy h2,
  .le-mag-body h3,
  .le-cover-index .label,
  .le-mag-tag
) {
  text-shadow: var(--le-home-outline-soft) !important;
}
.le.le-template-category :is(
  .le-cover .lede,
  .le-mag-body > p,
  .le-seocopy p,
  .le-article p,
  .le-article li,
  .faq-block__question,
  .faq-block__answer,
  .category-strip__link,
  .le-place-strip .label,
  .le-nav-links a,
  .le-combo-half,
  .le-pill
),
.le.le-template-article :is(
  .le-cover .lede,
  .le-mag-body > p,
  .le-seocopy p,
  .le-article p,
  .le-article li,
  .faq-block__question,
  .faq-block__answer,
  .category-strip__link,
  .le-place-strip .label,
  .le-nav-links a,
  .le-combo-half,
  .le-pill
) {
  text-shadow: var(--le-home-outline-soft-body) !important;
}

.le.le-template-category[data-theme="light"] :is(
  h1,
  h2,
  h3,
  h4,
  .le-divider-h2,
  .le-section-h2,
  .le-reviews .testimonials-block__title,
  .le-faq .faq-block__title,
  .le-schedule-head h2,
  .le-seocopy h2,
  .le-mag-body h3,
  .faq-block__question,
  .category-strip__link,
  .le-place-strip .label,
  .le-nav-links a,
  .le-combo-half,
  .le-pill
),
.le.le-template-article[data-theme="light"] :is(
  h1,
  h2,
  h3,
  h4,
  .le-divider-h2,
  .le-section-h2,
  .le-mag-body h3,
  .faq-block__question,
  .category-strip__link,
  .le-place-strip .label,
  .le-nav-links a,
  .le-combo-half,
  .le-pill
) {
  color: var(--le-ink) !important;
  text-shadow: none !important;
}

.le.le-template-category[data-theme="light"] :is(
  .le-cover .lede,
  .le-mag-body > p,
  .le-seocopy p,
  .le-article p,
  .le-article li,
  .faq-block__answer,
  .category-strip__link,
  .le-place-strip .places,
  .le-place-strip .places a
),
.le.le-template-article[data-theme="light"] :is(
  .le-cover .lede,
  .le-mag-body > p,
  .le-seocopy p,
  .le-article p,
  .le-article li,
  .faq-block__answer,
  .category-strip__link,
  .le-place-strip .places,
  .le-place-strip .places a
) {
  color: var(--le-ink-soft) !important;
  text-shadow: none !important;
}

.le.le-template-category[data-theme="light"] :is(
  .le-spec,
  .le-place-strip,
  .le-mag-card,
  .le-mag-rail,
  .le-mag-meta,
  .le-mag-badges,
  .le-mag-arrow
) {
  color: var(--le-ink) !important;
  text-shadow: none !important;
}

.le.le-template-category[data-theme="light"] .le-mag-num,
.le.le-template-category[data-theme="light"] .le-mag-arrow {
  color: var(--le-coral) !important;
}

.le.le-template-category[data-theme="light"] .le-mag-tag,
.le.le-template-category[data-theme="light"] .le-mag-meta,
.le.le-template-category[data-theme="light"] .le-mag-meta .le-mag-byline,
.le.le-template-category[data-theme="light"] .le-mag-meta a,
.le.le-template-category[data-theme="light"] .le-mag-byline,
.le.le-template-category[data-theme="light"] .le-mag-byline strong,
.le.le-template-article[data-theme="light"] .le-mag-tag,
.le.le-template-article[data-theme="light"] .le-mag-meta,
.le.le-template-article[data-theme="light"] .le-mag-meta .le-mag-byline,
.le.le-template-article[data-theme="light"] .le-mag-byline {
  color: rgb(28, 44, 68) !important;
  text-shadow: none !important;
}

.le.le-template-category[data-theme="light"] .le-mag-badges span {
  color: var(--le-ink-mute) !important;
  background: rgba(255, 252, 244, 0.72) !important;
  border-color: var(--le-hairline-mid) !important;
}

/* ============================================================
   Watercolor accent — head-only (fades out below the hero)
   ============================================================ */
.le-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 980px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 58%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 58%, rgba(0,0,0,0) 100%);
}
.le-ribbon {
  position: absolute;
  top: -12%;
  width: 130%;
  height: 125%;
  opacity: var(--le-ribbon-opacity);
  mix-blend-mode: var(--le-ribbon-blend);
}
.le[data-theme="light"] .le-ribbon {
  filter: contrast(2.0) saturate(1.25) brightness(0.88);
}
.le-ribbon img { width: 100%; height: 100%; display: block; }
.le-ribbon-blue { left: -50%; }
.le-ribbon-red { right: -55%; opacity: calc(var(--le-ribbon-opacity) * 0.55); }

/* Feather the parallax PNGs so their horizontal streaks dissolve into
   the paper instead of cutting hard at the artboard edge. In box-local
   coordinates: blue's image ends at box_x = 100% (≈ container 80%),
   red's content gets clipped by overflow:hidden at box_x ≈ 58%
   (≈ container right). Masks below taper each before that hard line,
   so red gradients smoothly into blue across the middle of the hero. */
.le[data-theme="light"] .le-ribbon-blue {
  -webkit-mask-image: linear-gradient(to right, black 0%, black 55%, rgba(0,0,0,0.55) 80%, transparent 100%);
          mask-image: linear-gradient(to right, black 0%, black 55%, rgba(0,0,0,0.55) 80%, transparent 100%);
}
.le[data-theme="light"] .le-ribbon-red {
  -webkit-mask-image: linear-gradient(to right, black 0%, black 22%, rgba(0,0,0,0.55) 45%, transparent 58%);
          mask-image: linear-gradient(to right, black 0%, black 22%, rgba(0,0,0,0.55) 45%, transparent 58%);
}
.le-grain {
  position: absolute; inset: 0;
  background-image: url('../images/brand/paper-grain.svg');
  background-size: 540px 540px;
  mix-blend-mode: var(--le-grain-blend);
  opacity: var(--le-grain-opacity);
}
.le-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 80% at 50% 35%, rgba(0,2,6,var(--le-vignette-strength)) 0%, transparent 75%),
    linear-gradient(180deg, rgba(0,2,6,0.45) 0%, transparent 22%);
}
.le[data-theme="light"] .le-vignette {
  background:
    radial-gradient(70% 80% at 50% 35%, rgba(255, 245, 224, 0.30) 0%, transparent 75%),
    linear-gradient(180deg, rgba(245, 235, 215, 0.40) 0%, transparent 24%);
}

/* ============================================================
   Breeze field — full-page parallax waves (mirrors home banner)
   ------------------------------------------------------------
   Home (Coastal Breeze Banner.html) uses two `position: fixed`
   ribbons that translate ±55% based on --conv (1 = open at top,
   0 = converged at bottom). Internal pages live inside DCArtboard
   frames where `position: fixed` anchors to the transformed
   ancestor; instead we tile N bands of the same ribbon pair down
   the artboard with progressively wider divergence — top tight,
   bottom spread.

   --le-conv (0..1) is set on each .le root by the ScrollConv React
   effect from scroll position; bands multiply their base spread by
   --le-conv so on a real scrolling page they diverge at top and
   converge at bottom (same metaphor as home). On the static canvas
   --le-conv defaults to 1.0 so the spread is locked in as the rest
   state.

   Per-family SIGNATURE — distinct density (band stride), spread
   amplitude, scale, tilt, and hue. Controlled by --le-family-*
   custom props set per data-family.
   ============================================================ */
/* --le-conv default lives on :root so JS can override via documentElement
   inline style and have it cascade to .le descendants unobstructed. */
:root { --le-conv: 1; }
.le {
  --le-family-spread: 1;
  --le-family-overlap: 40%;
  --le-family-opacity: 0.42;
  --le-breeze-spread-rand: 1;
  --le-breeze-scroll-speed: 1;
  --le-breeze-blue-nudge: 0%;
  --le-breeze-red-nudge: 0%;
  --le-breeze-blue-y: 0px;
  --le-breeze-red-y: 0px;
  --le-breeze-blue-tilt: 0deg;
  --le-breeze-red-tilt: 0deg;
  --le-breeze-drift-duration: 220s;
}
.le[data-theme="light"] { --le-family-opacity: 0.32; }

.le-breeze-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  --le-breeze-opacity: var(--le-family-opacity);
  /* Fade left+right edges so diverged ribbons never hard-cut against
     the artboard boundary — gets more noticeable at bottom bands
     where the spread is widest. */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 88%,
    transparent 100%
  );
}

.le.le-template-category .le-breeze-field,
.le.le-template-article .le-breeze-field {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: auto;
  width: 100vw;
  transform: translateX(-50%);
}

/* Band positioning is PERCENTAGE-based so bands span the .le height
   regardless of artboard size — 4 bands at 24% stride with 30% height
   gives gentle overlap (same as original design). Family-specific
   density variation lives in --le-family-overlap (band height %). */
.le-breeze-band {
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--i) * 24%);
  height: var(--le-family-overlap, 40%);
  overflow: hidden;
  will-change: transform;
  animation: le-breeze-band-drift var(--le-breeze-drift-duration, 220s) ease-in-out infinite alternate;
  animation-delay: var(--le-breeze-band-delay, calc(var(--i) * -5s));
  /* Feather top and bottom so adjacent bands dissolve into each other.
     Bands are 40% tall at 24% stride → 16% overlap, and 15% fade on
     each side leaves a solid 70% middle — adjacent solid zones overlap
     so there's no visible gap between bands. */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
}

@keyframes le-breeze-band-drift {
  0% {
    transform: translate3d(0, var(--le-breeze-band-y-start, 0px), 0) scale(1);
  }
  52% {
    transform:
      translate3d(
        var(--le-breeze-band-x-mid, 0.10%),
        calc(var(--le-breeze-band-y-start, 0px) + var(--le-breeze-band-y-mid, 1px)),
        0
      )
      scale(var(--le-breeze-band-scale, 1.01));
  }
  100% {
    transform:
      translate3d(
        var(--le-breeze-band-x-end, -0.06%),
        calc(var(--le-breeze-band-y-start, 0px) + var(--le-breeze-band-y-end, -1px)),
        0
      )
      scale(1);
  }
}

.le-breeze-layer {
  position: absolute;
  inset: 0;
  mix-blend-mode: var(--le-ribbon-blend);
  opacity: var(--le-breeze-opacity);
}
.le-breeze-layer img {
  position: absolute;
  top: 0; left: -10%;
  width: 120%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.le[data-theme="light"] .le-breeze-layer {
  filter: contrast(1.30) saturate(1.05);
}
.le-breeze-layer--red {
  opacity: calc(var(--le-breeze-opacity) * 0.82);
}

/* Base per-band spread: 3% at top, growing 5% per band index.
   Multiplied by --le-family-spread (per family) and --le-conv (scroll).
   At conv=1 (top of page): full spread; at conv=0 (bottom): centered. */
.le-breeze-layer--blue img {
  transform:
    translateX(calc(((-3% - var(--i) * 5%) * var(--le-family-spread) * var(--le-breeze-spread-rand, 1) * var(--le-breeze-scroll-speed, 1) * var(--le-conv, 1)) + var(--le-breeze-blue-nudge, 0%)))
    translateY(var(--le-breeze-blue-y, 0px))
    rotate(var(--le-breeze-blue-tilt, 0deg));
}
.le-breeze-layer--red img {
  transform:
    translateX(calc(((3% + var(--i) * 5%) * var(--le-family-spread) * var(--le-breeze-spread-rand, 1) * var(--le-breeze-scroll-speed, 1) * var(--le-conv, 1)) + var(--le-breeze-red-nudge, 0%)))
    translateY(var(--le-breeze-red-y, 0px))
    rotate(var(--le-breeze-red-tilt, 0deg));
}

.le[data-breeze-variant="gulf-lull"],
.le[data-breeze-variant="proof-tide"] {
  --le-breeze-drift-duration: 220s;
}
.le[data-breeze-variant="shoreline-drift"],
.le[data-breeze-variant="air-lagoon"] {
  --le-breeze-drift-duration: 250s;
}
.le[data-breeze-variant="salt-haze"],
.le[data-breeze-variant="coil-tide"],
.le[data-breeze-variant="archive-swell"] {
  --le-breeze-drift-duration: 280s;
}
.le[data-breeze-motion="static"] .le-breeze-band {
  animation: none;
}

/* ----------------- Per-family signature -----------------
   Differentiation via SPREAD amplitude + band overlap + hue.
   No expensive per-layer transforms — keeps the compositor sane
   with ~17 artboards × 4 bands × 2 SVG layers each. */

/* Services — baseline blue/coral. Moderate spread, gentle overlap. */
.le[data-family="services"] {
  --le-family-spread: 1.0;
  --le-family-overlap: 40%;
}
.le[data-family="services"] .le-breeze-field {
  filter: none;
}

/* Areas — coastal wind metaphor. Most spread amplitude, sparser
   feel via TALLER bands (one ribbon dominates each region),
   warmer hue. */
.le[data-family="areas"] {
  --le-family-spread: 1.4;
  --le-family-overlap: 48%;
}
.le[data-family="areas"] .le-breeze-field {
  filter: hue-rotate(-14deg) saturate(0.94);
}

/* Case studies — now lives under Areas. Inherits Areas' visual DNA
   (warm hue, wide spread, sparse bands) with a slightly quieter
   opacity — it's a sub-section, not a peer. Mild cool tint separates
   it from plain area pages without breaking continuity. */
.le[data-family="casestudies"] {
  --le-family-spread: 1.4;    /* match areas */
  --le-family-overlap: 48%;   /* match areas */
  --le-family-opacity: 0.30;
}
.le[data-theme="light"][data-family="casestudies"] { --le-family-opacity: 0.22; }
.le[data-family="casestudies"] .le-breeze-field {
  filter: hue-rotate(-8deg) saturate(0.88); /* warm, like areas, very slight archive nuance */
}

.le-breeze-grain {
  position: absolute; inset: 0;
  background-image: url('../images/brand/paper-grain.svg');
  background-size: 540px 540px;
  mix-blend-mode: var(--le-grain-blend);
  opacity: var(--le-grain-opacity);
  pointer-events: none;
}

/* Foldonly previews (1000px tall) only need bands 01+02 visible;
   the lower bands will naturally clip below. Lookpreview at 1900
   shows all four — fine. */

/* ============================================================
   Top nav — refined, fluid, with combo pill
   ============================================================ */
.le-nav {
  position: relative;
  z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 64px;
  background: linear-gradient(180deg, rgba(2, 6, 15, 0.55) 0%, rgba(2, 6, 15, 0) 100%);
}
.le[data-theme="light"] .le-nav {
  background: linear-gradient(180deg, rgba(244, 239, 226, 0.72) 0%, rgba(244, 239, 226, 0) 100%);
}
.le-brand { display: inline-flex; align-items: center; text-decoration: none; }
.le-logo { position: relative; display: inline-block; }
.le-logo img { width: auto; display: block; }
.le-logo .logo-cyan {
  position: relative;
  filter:
    drop-shadow( 1px 0 0 rgba(2, 8, 22, 0.95))
    drop-shadow(-1px 0 0 rgba(2, 8, 22, 0.95))
    drop-shadow(0  1px 0 rgba(2, 8, 22, 0.95))
    drop-shadow(0 -1px 0 rgba(2, 8, 22, 0.95))
    drop-shadow(0 8px 18px rgba(0, 20, 60, 0.45));
}
.le-logo .logo-navy {
  position: absolute; top: 0; left: 0;
  filter:
    drop-shadow( 1px 0 0 rgba(255, 255, 255, 0.95))
    drop-shadow(-1px 0 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0  1px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.95));
}
.le-logo--single .logo-navy { display: none; }
.le-logo--single .logo-cyan {
  filter: drop-shadow(0 8px 18px rgba(0, 20, 60, 0.28));
}
.le[data-theme="light"] .le-logo .logo-navy {
  filter:
    drop-shadow( 1px 0 0 rgba(244, 239, 226, 0.95))
    drop-shadow(-1px 0 0 rgba(244, 239, 226, 0.95))
    drop-shadow(0  1px 0 rgba(244, 239, 226, 0.95))
    drop-shadow(0 -1px 0 rgba(244, 239, 226, 0.95));
}
.le-nav-links { display: flex; align-items: center; gap: 36px; }
.le-nav-links a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--le-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
}
.le[data-theme="dark"] .le-nav-links a { text-shadow: 0 1px 3px rgba(0, 10, 30, 0.85); }
/* Case studies sub-label under Areas nav item */
.le-nav-item-with-sub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.le-nav-sub-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--le-brand-soft);
  opacity: 0.85;
  padding-left: 2px;
  line-height: 1;
}

.le-nav-links a.is-current { color: var(--le-brand-soft); }
.le-nav-links a.is-current::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--le-brand-soft), transparent);
}
.le-nav-actions { display: flex; align-items: center; gap: 12px; }

/* Combo pill — Call num | Text */
.le-combo {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--le-hairline-mid);
  border-radius: 999px;
  background: var(--le-surface);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.le-combo-half {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px;
  color: var(--le-ink);
  text-decoration: none;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em;
}
.le-combo-half:first-of-type { border-right: 1px solid var(--le-hairline-mid); padding-right: 14px; }
.le-combo-half:last-of-type { padding-left: 14px; }
.le-combo-half .num {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.le-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px;
  border: 1px solid var(--le-hairline-mid);
  border-radius: 999px;
  color: var(--le-ink);
  text-decoration: none;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  background: var(--le-surface);
  backdrop-filter: blur(10px);
}
.le-pill.primary {
  background: var(--le-grad-warm);
  color: rgb(40, 18, 8);
  border-color: rgba(255, 180, 160, 0.60);
  box-shadow: 0 8px 24px -8px rgba(255, 130, 100, 0.40);
}
.le[data-theme="light"] .le-pill.primary {
  color: #FFFFFF;
  border-color: rgba(194, 104, 73, 0.50);
  box-shadow: 0 8px 24px -10px rgba(194, 104, 73, 0.35);
}

/* ============================================================
   Hero — confident, big, with breathing room
   ============================================================ */
.le-head {
  position: relative;
  z-index: 4;
  padding: 56px 96px 72px;
}
.le-crumbs {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--le-ink-faint);
  margin-bottom: 28px;
}
.le-crumbs a { color: var(--le-ink-mute); text-decoration: none; }
.le-crumbs a:hover { color: var(--le-brand-soft); }
.le-crumbs .sep { opacity: 0.5; }

.le-head h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 96px;
  line-height: 1.00;
  letter-spacing: -0.018em;
  max-width: 16ch;
  margin: 0 0 28px;
  text-wrap: balance;
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1;
}
.le[data-theme="dark"] .le-head h1 { text-shadow: var(--le-shadow-text); }
.le-head h1 em {
  font-style: italic;
  background: var(--le-grad-cyan);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1, "swsh" 1;
}
.le-head .lede {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.45;
  max-width: 56ch;
  color: var(--le-ink-soft);
  text-wrap: pretty;
  font-style: italic;
}
.le[data-theme="dark"] .le-head .lede { text-shadow: 0 1px 4px rgba(0, 8, 24, 0.85); }

.le-pubrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--le-hairline);
  font-size: 12px; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--le-ink-mute);
}
.le-pubrow .author strong { color: var(--le-ink); font-weight: 600; }
.le-pubrow .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--le-ink-faint); opacity: 0.55; }

/* Category hero variant */
.le-head-category h1 { max-width: 20ch; font-size: 108px; }
.le-head-category { padding-bottom: 56px; }

/* ============================================================
   COVER FOLD — editorial title block + HVAC system diagram
   Two-column hero. Left: chapter mark, h1, lede, byline.
   Right: blueprint-framed cross-section diagram (.le-diagram).
   ============================================================ */
.le-cover {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  padding: 48px 96px 64px;
  align-items: start;
  overflow: hidden;
  isolation: isolate;
}
.le-cover .le-cover-text { min-width: 0; }
.le-cover .le-crumbs {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--le-ink-faint);
  margin-bottom: 28px;
}
.le-cover .le-crumbs a { color: var(--le-ink-mute); text-decoration: none; }
.le-cover .le-crumbs a:hover { color: var(--le-brand-soft); }
.le-cover .le-crumbs .sep { opacity: 0.5; }
.le-cover .le-figure-tag {
  color: var(--le-coral);
  letter-spacing: 0.22em;
}
.le-cover .le-figure-tag em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0;
  margin-left: 4px;
  position: relative;
  top: 1px;
}

.le-cover h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 80px;
  line-height: 0.98;
  letter-spacing: -0.020em;
  margin: 0 0 24px;
  text-wrap: balance;
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1;
}
.le[data-theme="dark"] .le-cover h1 { text-shadow: var(--le-shadow-text); }
.le-cover h1 em {
  font-style: italic;
  background: var(--le-grad-cyan);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1, "swsh" 1;
}

.le-cover .lede {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  line-height: 1.42;
  max-width: 36ch;
  color: var(--le-ink-soft);
  text-wrap: pretty;
  margin-bottom: 36px;
}
.le[data-theme="dark"] .le-cover .lede { text-shadow: 0 1px 4px rgba(0, 8, 24, 0.85); }

/* Cover meta — byline + thin rule + date/read/page stamps */
.le-cover-meta {
  display: flex; align-items: flex-start; gap: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--le-hairline);
}
.le-byline { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.le-byline-mono {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--le-hairline-strong);
  border-radius: 50%;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--le-coral);
  letter-spacing: 0.02em;
  background: var(--le-surface);
  flex: 0 0 44px;
}
.le-byline-text { display: flex; flex-direction: column; gap: 2px; }
.le-byline-by {
  font-size: 10px; letter-spacing: 0.30em; text-transform: uppercase;
  color: var(--le-ink-faint);
}
.le-byline-text strong {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--le-ink);
  letter-spacing: 0.02em;
}
.le-byline-role {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--le-ink-mute);
}
.le-cover-rule { flex: 1 1 auto; height: 1px; background: var(--le-hairline); margin-top: 22px; min-width: 12px; }
.le-cover-stamps {
  display: flex; gap: 22px;
  flex: 0 0 auto;
  margin-top: 4px;
}
.le-stamp {
  display: flex; flex-direction: column; gap: 4px;
  font-family: 'Manrope', sans-serif;
  font-variant-numeric: tabular-nums;
}
.le-stamp .k {
  font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--le-ink-faint);
}
.le-stamp .v {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--le-ink);
  line-height: 1;
}

/* Category index list — small numbered roman-numeral menu in place of byline */
.le-cover-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 28px;
  padding: 0; margin: 0; list-style: none;
  flex: 1 1 auto;
}
.le-cover-index li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--le-hairline);
}
.le-cover-index .num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--le-coral);
  letter-spacing: 0;
  flex: 0 0 18px;
}
.le-cover-index .label {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--le-ink-soft);
}

/* Category-specific h1 cadence */
.le-cover-category h1 { font-size: 72px; line-height: 1.02; }

/* ============================================================
   HVAC system diagram — blueprint frame with corner marks
   ============================================================ */
.le-diagram {
  position: relative;
  margin: 4px 0 0;
  color: var(--le-ink);
}
.le-diagram-frame {
  position: relative;
  padding: 22px 26px 18px;
  border: 1px solid var(--le-hairline-mid);
  background:
    linear-gradient(180deg, var(--le-surface-soft) 0%, var(--le-surface) 100%);
}
.le[data-theme="dark"] .le-diagram-frame {
  background:
    linear-gradient(180deg, rgba(8, 18, 36, 0.30) 0%, rgba(8, 18, 36, 0.50) 100%);
}
/* Corner marks — small crosshairs at each corner */
.le-cm {
  position: absolute;
  width: 14px; height: 14px;
  opacity: 0.55;
}
.le-cm::before, .le-cm::after {
  content: ''; position: absolute; background: currentColor;
}
.le-cm::before { left: 0; right: 0; top: 50%; height: 1px; }
.le-cm::after  { top: 0; bottom: 0; left: 50%; width: 1px; }
.le-cm.tl { top: -7px; left: -7px; }
.le-cm.tr { top: -7px; right: -7px; }
.le-cm.bl { bottom: -7px; left: -7px; }
.le-cm.br { bottom: -7px; right: -7px; }

.le-diagram-svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--le-ink-soft);
}

/* Annotations: lift the label text to brand color, sub to faint mono */
.le-diagram-svg .le-ann-label { fill: var(--le-ink); }
.le-diagram-svg .le-ann-sub   { fill: var(--le-ink-faint); }
.le-diagram-svg .le-tb        { fill: var(--le-ink-mute); }
.le-diagram-svg .le-tb-r      { fill: var(--le-coral); }
/* Color the flows so cool vs warm reads at a glance */
.le-diagram-svg .le-flow-cool { color: var(--le-brand-soft); }
.le-diagram-svg .le-flow-cool line,
.le-diagram-svg .le-flow-cool path { stroke: var(--le-brand-soft); }
.le-diagram-svg .le-flow-warm { color: var(--le-coral); }
.le-diagram-svg .le-flow-warm line,
.le-diagram-svg .le-flow-warm path { stroke: var(--le-coral); }

/* B. Psychrometric — hot/cold accent fills */
.le-diagram-psych .le-diagram-svg .le-psych-hot  { color: var(--le-coral); fill: var(--le-coral); }
.le-diagram-psych .le-diagram-svg .le-psych-cold { color: var(--le-brand-soft); fill: var(--le-brand-soft); }
/* lift the comfort caption a touch */
.le-diagram-psych .le-diagram-svg .le-ann-label { fill: var(--le-ink); }

/* C. Thermostat dial — center temp pulled into ink, arc colors */
.le-diagram-dial .le-diagram-svg .le-dial-cool {
  stroke: var(--le-brand-soft);
  fill: var(--le-brand-soft);
  color: var(--le-brand-soft);
}
.le-diagram-dial .le-diagram-svg .le-dial-warm {
  stroke: var(--le-coral);
  fill: var(--le-coral);
  color: var(--le-coral);
}
.le-diagram-dial .le-diagram-svg .le-dial-temp { fill: var(--le-ink); }
.le[data-theme="dark"] .le-diagram-dial .le-diagram-svg .le-dial-temp {
  filter: drop-shadow(0 2px 8px rgba(0, 8, 24, 0.5));
}

/* Fold-only artboard — same chrome as full page but no scroll context */
.le-foldonly { min-height: 1000px; }
.le-foldonly .le-accent { height: 760px; }

/* ============================================================
   HVAC HERO LAYERS — scene (drifting airflow + thermal pulses)
   and watermark (oversized condenser fan grille + cooling fins).
   ============================================================ */

/* SCENE — full-bleed "video" behind the cover content */
.le-hvac-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: var(--le-brand-soft);
  mix-blend-mode: screen;
  opacity: 0.55;
  overflow: hidden;
  -webkit-mask-image:
    radial-gradient(ellipse 76% 58% at 58% 45%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.82) 42%, rgba(0,0,0,0.26) 72%, rgba(0,0,0,0) 100%),
    linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 8%, black 78%, transparent 100%);
  -webkit-mask-composite: source-in, source-in;
          mask-image:
    radial-gradient(ellipse 76% 58% at 58% 45%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.82) 42%, rgba(0,0,0,0.26) 72%, rgba(0,0,0,0) 100%),
    linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 8%, black 78%, transparent 100%);
}
.le[data-theme="light"] .le-hvac-scene {
  mix-blend-mode: multiply;
  opacity: 0.42;
  color: var(--le-brand-deep);
}
.le-hvac-scene svg { width: 100%; height: 100%; display: block; }

.le-hvac-streamline {
  animation-name: le-hvac-drift;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}
@keyframes le-hvac-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-800px); }
}

/* WATERMARK — oversized fan stamp anchored top-right of the hero.
   Sits ABOVE the diagram with a screen/multiply blend so the
   rotating blades read prominently over the diagram. */
.le-hvac-watermark {
  position: absolute;
  top: -200px;
  right: -240px;
  width: 720px;
  height: 720px;
  z-index: 5;
  pointer-events: none;
  color: var(--le-brand-soft);
  opacity: 0.42;
  mix-blend-mode: screen;
  /* Soft radial fade from the fan center so the outer grille rings
     dissolve into the page rather than ending at a hard edge */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 45%, rgba(0,0,0,0.3) 80%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 45%, rgba(0,0,0,0.3) 80%, rgba(0,0,0,0) 100%);
}
.le[data-theme="light"] .le-hvac-watermark {
  color: var(--le-brand-deep);
  opacity: 0.26;
  mix-blend-mode: multiply;
}
.le-hvac-watermark svg { width: 100%; height: 100%; display: block; }

/* The cover content (text + diagram) needs to sit ABOVE the layers */
.le-cover > .le-cover-text { position: relative; z-index: 3; }
.le-cover > .le-diagram     { position: relative; z-index: 3; }

/* The category cover's index list sits inside .le-cover-meta — bump it too */
.le-cover .le-cover-meta { position: relative; z-index: 3; }

/* ============================================================
   Spec plate — service "data plate" strip
   ============================================================ */
.le-spec {
  position: relative; z-index: 3;
  display: flex; align-items: stretch; justify-content: space-between;
  gap: 24px;
  padding: 26px 96px;
  /* Seam-blended: hairlines fade at edges, surface fades top/bottom
     into the paper so the plate doesn't read as a hard rectangle. */
  border-top: none;
  border-bottom: none;
  background:
    /* faux top hairline that dissolves into the paper at left+right */
    linear-gradient(90deg, transparent 0%, var(--le-hairline-mid) 18%, var(--le-hairline-mid) 82%, transparent 100%) top/100% 1px no-repeat,
    linear-gradient(90deg, transparent 0%, var(--le-hairline-mid) 18%, var(--le-hairline-mid) 82%, transparent 100%) bottom/100% 1px no-repeat,
    /* surface, masked to fade out at top/bottom edges */
    linear-gradient(180deg, transparent 0%, var(--le-surface-soft) 28px, var(--le-surface-soft) calc(100% - 28px), transparent 100%);
}
.le-spec-item {
  display: flex; flex-direction: column; gap: 6px;
  flex: 1 1 0;
  min-width: 0;
}
.le-spec-k {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--le-ink-faint);
}
.le-spec-v {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.15;
  color: var(--le-ink);
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
}
.le-spec-sep {
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--le-hairline-mid) 20%, var(--le-hairline-mid) 80%, transparent 100%);
  flex: 0 0 1px;
}

/* Responsive — collapse cover to single column under 1100, but our artboards
   are 1280 wide so this is rarely triggered. Keep for safety. */
@media (max-width: 1100px) {
  .le-cover { grid-template-columns: 1fr; gap: 36px; padding: 36px 48px 48px; }
  .le-cover h1 { font-size: 56px; }
  .le-cover-category h1 { font-size: 52px; }
  .le-spec { flex-wrap: wrap; gap: 16px 24px; padding: 22px 48px; }
}

/* Place strip — "Serving 30A · Seaside · Watercolor · ..." */
.le-place-strip {
  position: relative; z-index: 4;
  padding: 28px 96px;
  display: flex; align-items: center; gap: 18px;
  border-top: none;
  border-bottom: none;
  background:
    linear-gradient(90deg, transparent, var(--le-hairline-mid) 18%, var(--le-hairline-mid) 82%, transparent) top/100% 1px no-repeat,
    linear-gradient(90deg, transparent, var(--le-hairline-mid) 18%, var(--le-hairline-mid) 82%, transparent) bottom/100% 1px no-repeat,
    linear-gradient(180deg, transparent 0%, var(--le-surface-soft) 28px, var(--le-surface-soft) calc(100% - 28px), transparent 100%);
  overflow: hidden;
}
.le-place-strip .label {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--le-coral);
  white-space: nowrap;
  padding-right: 18px;
  border-right: 1px solid var(--le-hairline-mid);
}
.le-place-strip .places {
  display: flex; align-items: center; gap: 22px;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--le-ink-soft);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18px, black calc(100% - 96px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 18px, black calc(100% - 96px), transparent 100%);
}
.le-place-strip .places span { display: inline-flex; align-items: center; }
.le-place-strip .category-strip__link {
  color: inherit !important;
  display: inline !important;
  padding: 0 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-style: inherit !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: none !important;
}
.le-place-strip .places .bullet {
  color: var(--le-brand-soft);
  font-size: 14px;
  margin: 0 4px;
  opacity: 0.6;
}

.le-place-strip .category-strip__link[aria-current="page"] {
  color: var(--le-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, var(--le-coral) 62%, transparent);
}

/* ============================================================
   Trust strip (compact, post-hero)
   ============================================================ */
.le-trust-strip {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
  padding: 22px 96px;
  border-top: none;
  border-bottom: none;
  background:
    linear-gradient(90deg, transparent, var(--le-hairline-mid) 18%, var(--le-hairline-mid) 82%, transparent) top/100% 1px no-repeat,
    linear-gradient(90deg, transparent, var(--le-hairline-mid) 18%, var(--le-hairline-mid) 82%, transparent) bottom/100% 1px no-repeat,
    linear-gradient(180deg, transparent 0%, var(--le-surface-soft) 24px, var(--le-surface-soft) calc(100% - 24px), transparent 100%);
  font-size: 13px;
  color: var(--le-ink-soft);
}
.le-trust-strip .item {
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: 0.06em;
}
.le-trust-strip .item svg { color: var(--le-brand-soft); flex: 0 0 auto; }
.le-trust-strip .item strong { color: var(--le-ink); font-weight: 600; }
.le-trust-strip .sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--le-ink-faint); opacity: 0.55;
}

/* ============================================================
   Article body — long-form reading
   ============================================================ */
.le-article {
  position: relative; z-index: 3;
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 0;
}
.le-article p {
  font-family: 'Manrope', sans-serif;
  font-size: 17.5px;
  line-height: 1.78;
  color: var(--le-ink-soft);
  margin-bottom: 22px;
  text-wrap: pretty;
}
.le-article p a {
  color: var(--le-brand-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--le-brand-soft);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.le-article p a:hover { color: var(--le-brand); border-color: var(--le-brand); }
.le-article h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.15;
  color: var(--le-ink);
  margin: 56px 0 18px;
  letter-spacing: -0.010em;
}
.le-article h2:first-of-type { margin-top: 16px; }

/* Text depressurisation: precision-target ornament before non-first h2s, zero CLS (pure CSS).
   Color matches --le-brand-soft (#bee6ff) resolved on dark theme. */
.le-article h2:not(:first-of-type)::before {
  content: '';
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 1.25rem;
  opacity: 0.40;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-70 -70 140 140'%3E%3Cg stroke='%23bee6ff' fill='none'%3E%3Ccircle r='62' stroke-width='0.8' opacity='.55'/%3E%3Ccircle r='50' stroke-width='0.4' opacity='.35'/%3E%3Cline x1='0' y1='-50' x2='0' y2='-44' stroke-width='0.7' opacity='.65'/%3E%3Cline x1='50' y1='0' x2='44' y2='0' stroke-width='0.7' opacity='.65'/%3E%3Cline x1='0' y1='50' x2='0' y2='44' stroke-width='0.7' opacity='.65'/%3E%3Cline x1='-50' y1='0' x2='-44' y2='0' stroke-width='0.7' opacity='.65'/%3E%3C/g%3E%3Ccircle r='2' fill='%23bee6ff' opacity='.65'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media print {
  .le-article h2::before { display: none; }
}

.le-article h2 em {
  font-style: italic;
  color: var(--le-brand-soft);
}
.le-article p strong { color: var(--le-ink); font-weight: 600; }

.le-dropcap::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 88px;
  line-height: 0.82;
  float: left;
  padding: 8px 14px 0 0;
  background: var(--le-grad-cyan);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.le.le-template-article .le-article > p:first-of-type::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 88px;
  line-height: 0.82;
  float: left;
  padding: 8px 14px 0 0;
  background: var(--le-grad-cyan);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* Pull quote inside article body — italic Cormorant */
.le-pullquote {
  margin: 56px -60px;
  padding: 32px 60px;
  border-top: 1px solid var(--le-hairline-mid);
  border-bottom: 1px solid var(--le-hairline-mid);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  position: relative;
}
.le-pullquote::before {
  content: '“';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--le-bg);
  color: var(--le-coral);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 76px;
  line-height: 1;
  font-family: 'Cormorant Garamond', serif;
}
.le-pullquote blockquote {
  font-size: 30px;
  line-height: 1.30;
  color: var(--le-ink);
  text-align: center;
  max-width: 26ch;
  margin: 0 auto 16px;
  text-wrap: balance;
  font-weight: 500;
}
.le-pullquote cite {
  display: block;
  text-align: center;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--le-ink-mute);
}
.le-pullquote cite strong { color: var(--le-coral); font-weight: 600; }

/* ============================================================
   Eyebrow + section heading (shared)
   ============================================================ */
.le-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--le-brand-soft);
  margin-bottom: 18px;
  font-weight: 500;
}
.le-eyebrow::before {
  content: ''; display: block; width: 32px; height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.le-eyebrow-coral { color: var(--le-coral); }

.le-section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  color: var(--le-ink);
  margin: 0 0 18px;
  letter-spacing: -0.012em;
  text-wrap: balance;
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1;
}
.le-section-h2 em {
  font-style: italic;
  background: var(--le-grad-cyan);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-feature-settings: "swsh" 1;
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.le-faq {
  position: relative; z-index: 3;
  padding: 72px 96px;
}
.le-faq-list { margin-top: 32px; max-width: 920px; }
.le-faq details {
  border-top: 1px solid var(--le-hairline-mid);
  padding: 18px 0;
}
.le-faq details:last-of-type { border-bottom: 1px solid var(--le-hairline-mid); }
.le-faq summary {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; list-style: none;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 26px;
  color: var(--le-ink);
  padding: 8px 0;
}
.le-faq summary::-webkit-details-marker { display: none; }
.le-faq summary .ind {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--le-hairline-strong);
  border-radius: 50%;
  color: var(--le-coral);
  transition: transform .2s, background .2s;
}
.le-faq details[open] summary .ind { transform: rotate(45deg); background: var(--le-surface); }
.le-faq details .answer { padding: 8px 56px 12px 0; }
.le-faq details .answer p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--le-ink-soft);
  max-width: 64ch;
}

/* ============================================================
   Reviews block
   ============================================================ */
.le-reviews {
  position: relative; z-index: 3;
  padding: 72px 96px;
  border-top: 1px solid var(--le-hairline);
}
.le-reviews-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 36px; flex-wrap: wrap;
}
.le-reviews-head .right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
}
.le-reviews-head .rating {
  display: inline-flex; align-items: baseline; gap: 12px;
}
.le-reviews-head .rating .stars {
  font-size: 22px; color: var(--le-gold); letter-spacing: 0.08em;
}
.le-reviews-head .rating .num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 38px;
  color: var(--le-ink);
}
.le-reviews-head .all-reviews {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--le-ink-mute);
  text-decoration: none;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
}
.le-reviews-head .all-reviews:hover { color: var(--le-brand-soft); }

.le-reviews-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
}
.le-reviews .testimonials-block__title {
  color: var(--le-ink);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: -0.012em;
  margin-bottom: 12px;
}
.le-reviews .testimonials-block__grid-item { display: block; }
.le-reviews-grid .review,
.le-reviews-grid .testimonial-card.review {
  padding: 28px 28px;
  border: 1px solid var(--le-hairline-mid);
  background: var(--le-surface);
  position: relative;
  border-radius: 0;
  box-shadow: none;
}
.le-reviews-grid .review .stars,
.le-reviews-grid .testimonial-card.review .stars {
  color: var(--le-gold); font-size: 14px; letter-spacing: 0.10em; margin-bottom: 14px;
}
.le-reviews-grid .review p,
.le-reviews-grid .testimonial-card__quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px; line-height: 1.4;
  color: var(--le-ink);
  margin: 0 0 16px;
}
.le-reviews-grid .review cite,
.le-reviews-grid .testimonial-card__name {
  font-style: normal; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--le-ink-mute);
  display: block;
  margin-top: 6px;
}
.le-reviews-grid .review cite strong { color: var(--le-ink-soft); font-weight: 600; }
.le-reviews-grid .testimonial-card__meta {
  color: var(--le-ink-faint);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 6px;
}
@media (max-width: 980px) {
  .le-reviews-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Areas strip — local coverage grid
   ============================================================ */
.le-areas-strip {
  position: relative; z-index: 3;
  padding: 72px 96px;
  border-top: 1px solid var(--le-hairline);
}
.le-areas-head { max-width: 720px; margin-bottom: 32px; }
.le-areas-head .lede {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.45;
  color: var(--le-ink-soft);
  margin-top: 14px;
  max-width: 60ch;
}
.le-areas-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 24px;
}
.le-areas-list li {
  border-top: 1px solid var(--le-hairline);
}
.le-areas-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0;
  color: var(--le-ink-soft);
  text-decoration: none;
  font-size: 15px;
  transition: color .2s;
}
.le-areas-list a:hover { color: var(--le-brand-soft); }
.le-areas-list a svg { color: var(--le-brand-soft); flex: 0 0 auto; opacity: 0.7; }
.le-areas-list .zip {
  margin-left: auto;
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--le-ink-faint);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   Why Us strip (category)
   ============================================================ */
.le-why {
  position: relative; z-index: 3;
  padding: 72px 96px 56px;
  border-top: 1px solid var(--le-hairline);
}
.le-why-head {max-width: 720px;margin-bottom: 40px;justify-self: anchor-center;}
.le-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  justify-items: anchor-center;
}
.le-why-card {
  padding: 28px 30px 28px 30px;
  border-left: 1px solid var(--le-hairline-mid);
}
.le-why-card:first-child { border-left: 0; padding-left: 0; }
.le-why-card .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(120, 200, 255, 0.22), rgba(35, 61, 127, 0.22));
  color: var(--le-brand-soft);
  margin-bottom: 18px;
}
.le[data-theme="light"] .le-why-card .icon {
  background: linear-gradient(140deg, rgba(42, 138, 200, 0.18), rgba(14, 78, 128, 0.10));
  color: var(--le-brand);
}
.le-why-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 26px;
  color: var(--le-ink);
  margin: 0 0 8px;
  letter-spacing: -0.006em;
}
.le-why-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--le-ink-soft);
}

/* ============================================================
   Prev / next nav
   ============================================================ */
.le-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 96px;
  border-top: 1px solid var(--le-hairline-mid);
  border-bottom: 1px solid var(--le-hairline-mid);
  position: relative; z-index: 3;
}
.le-prevnext a {
  display: flex; flex-direction: column; gap: 8px;
  padding: 28px 32px;
  text-decoration: none;
  color: var(--le-ink);
  transition: background .2s;
}
.le-prevnext a:hover { background: var(--le-surface-soft); }
.le-prevnext .next {
  border-left: 1px solid var(--le-hairline-mid);
  align-items: flex-end; text-align: right;
}
.le-prevnext .dir {
  font-size: 11px; letter-spacing: 0.30em; text-transform: uppercase;
  color: var(--le-coral);
}
.le-prevnext .title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--le-ink);
}

/* ============================================================
   Card grid — related + category cards
   ============================================================ */
.le-related {
  position: relative; z-index: 3;
  padding: 72px 96px;
}
.le-divider {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 28px;
  padding: 72px 96px 32px;
}
.le-divider .rule {
  flex: 1; height: 1px;
  background: var(--le-hairline-mid);
}
.le-divider-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 36px;
  color: var(--le-ink);
  margin: 0;
  white-space: nowrap;
}
.le-cardgrid {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.le-cardgrid-large {
  padding: 0 96px;
  gap: 28px;
}
.le-cat-card {
  position: relative;
  padding: 40px 30px 28px;
  border: 1px solid var(--le-hairline-mid);
  background: var(--le-surface);
  color: var(--le-ink);
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s, background .25s;
  overflow: hidden;
  counter-increment: le-card;
}
/* Top hairline accent */
.le-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--le-grad-cyan);
  opacity: 0;
  transition: opacity .25s;
}
/* Italic Cormorant Roman numeral in the top corner — luxury catalog feel */
.le-cat-card::after {
  content: counter(le-card, upper-roman);
  position: absolute;
  top: 16px; right: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--le-coral);
  opacity: 0.65;
  transition: opacity .25s, transform .25s;
}
/* Soft watercolor wash from below on hover */
.le-cat-card .wash {
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 70%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(140, 220, 255, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.le[data-theme="light"] .le-cat-card .wash {
  background: radial-gradient(60% 100% at 50% 100%, rgba(26, 111, 168, 0.10), transparent 70%);
}
.le-cat-card:hover {
  border-color: var(--le-brand-soft);
  transform: translateY(-3px);
  background: var(--le-surface-deep);
}
.le-cat-card:hover::before { opacity: 1; }
.le-cat-card:hover::after { opacity: 1; transform: translateY(-1px); }
.le-cat-card:hover .wash { opacity: 1; }
.le-cardgrid { counter-reset: le-card; }
.le-cat-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--le-ink);
  letter-spacing: -0.006em;
  text-wrap: balance;
}
.le-cat-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--le-ink-soft);
  margin: 0 0 18px;
  flex: 1;
}
.le-cat-card .readmore {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--le-brand-soft);
  font-weight: 500;
  margin-top: auto;
}

/* ============================================================
   Schedule appointment form
   ============================================================ */
.le-schedule {
  position: relative; z-index: 3;
  padding: 96px 96px 96px;
  /* Seamless: hairline fades into paper at left+right; surface fades
     in vertically over 80px so there's no hard top edge between the
     article and the schedule form. */
  border-top: none;
  background:
    linear-gradient(90deg, transparent, var(--le-hairline-mid) 20%, var(--le-hairline-mid) 80%, transparent) top/100% 1px no-repeat,
    linear-gradient(180deg, transparent 0%, var(--le-surface-soft) 80px, var(--le-surface-soft) calc(100% - 80px), transparent 100%);
}
.le-schedule-head { max-width: 720px; margin-bottom: 44px; }
.le-schedule-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 76px;
  line-height: 1.02;
  color: var(--le-ink);
  margin: 0 0 18px;
  letter-spacing: -0.014em;
  text-wrap: balance;
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1;
}
.le[data-theme="dark"] .le-schedule-head h2 { text-shadow: var(--le-shadow-soft); }
.le[data-theme="dark"] .le-schedule {
  background:
    linear-gradient(90deg, transparent, rgba(190, 220, 250, 0.04) 20%, rgba(190, 220, 250, 0.04) 80%, transparent) top/100% 1px no-repeat,
    transparent;
}
.le-schedule-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--le-ink-soft);
  line-height: 1.4;
  max-width: 56ch;
  margin-bottom: 28px;
}
.le-trust-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--le-ink-soft);
}
.le-trust-row .item {
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0.04em;
}
.le-trust-row .item svg { color: var(--le-brand-soft); flex: 0 0 auto; }
.le-trust-row .item strong { color: var(--le-ink); font-weight: 600; }
.le-schedule-callrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
}
.le-callbtn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--le-hairline-strong);
  border-radius: 999px;
  background: var(--le-surface);
  color: var(--le-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.le-schedule-callrow .or {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--le-ink-soft);
  font-size: 17px;
}

.le-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
}
.le-field { display: flex; flex-direction: column; gap: 8px; }
.le-field.le-field-full { grid-column: 1 / -1; }
.le-field label {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--le-ink-mute);
  font-weight: 500;
}
.le-field label .req { color: var(--le-coral); margin-left: 4px; }
.le-field-hint {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--le-ink-faint);
  margin-top: -2px;
}
.le-field input, .le-field textarea, .le-field select {
  background: var(--le-bg-deep);
  border: 1px solid var(--le-hairline-strong);
  border-radius: 0;
  padding: 14px 16px;
  color: var(--le-ink);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  transition: border-color .2s, background .2s;
}
.le[data-theme="light"] .le-field input,
.le[data-theme="light"] .le-field textarea,
.le[data-theme="light"] .le-field select {
  background: rgba(255, 252, 244, 0.85);
}
.le-field input::placeholder, .le-field textarea::placeholder {
  color: var(--le-ink-faint);
  font-style: italic;
}
.le-field input:focus, .le-field textarea:focus, .le-field select:focus {
  outline: none;
  border-color: var(--le-brand-soft);
}
.le-field textarea {
  min-height: 100px;
  resize: vertical;
}
.le-select { position: relative; }
.le-select select { width: 100%; appearance: none; -webkit-appearance: none; padding-right: 36px; }
.le-select svg {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--le-ink-mute);
  pointer-events: none;
}
.le-input-icon { position: relative; }
.le-input-icon input { width: 100%; padding-right: 44px; }
.le-locate {
  position: absolute;
  right: 8px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px;
  border: none;
  background: transparent;
  color: var(--le-brand-soft);
  cursor: pointer;
  display: grid; place-items: center;
}
.le-form-actions {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  margin-top: 8px;
}
.le-submit {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  border: none;
  border-radius: 0;
  background: var(--le-grad-cta);
  color: #0a1530;
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  cursor: pointer;
}
.le[data-theme="light"] .le-submit { color: #FFFFFF; }
.le-form-note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--le-ink-faint);
  max-width: 52ch;
  line-height: 1.5;
}

/* ============================================================
   SEO copy block (long-form keyword content)
   ============================================================ */
.le-seocopy {
  position: relative; z-index: 3;
  padding: 80px 96px 64px;
  border-top: 1px solid var(--le-hairline);
  max-width: 1280px;
}
.le-seocopy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.06;
  color: var(--le-ink);
  margin: 0 0 24px;
  letter-spacing: -0.012em;
  max-width: 22ch;
}
.le-seocopy h2 em {
  font-style: italic;
  background: var(--le-grad-cyan);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.le-seocopy p {
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--le-ink-soft);
  margin-bottom: 20px;
  max-width: 75ch;
}
.le-seocopy p a {
  color: var(--le-brand-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--le-brand-soft);
}

/* ============================================================
   Decorative ornament — small mark between major sections.
   A pair of hairlines with a coral diamond in the middle.
   ============================================================ */
.le-ornament {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  gap: 22px;
  padding: 42px 96px;
}
.le-ornament::before, .le-ornament::after {
  content: '';
  display: block;
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--le-hairline-strong), transparent);
}
.le-ornament .glyph {
  width: 10px; height: 10px;
  background: var(--le-coral);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* ============================================================
   "More in HVAC Services" small mark + footer
   ============================================================ */
.le-morein {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--le-ink-mute);
  margin-top: 36px;
}
.le-morein a {
  color: var(--le-coral);
  text-decoration: none;
  border-bottom: 1px solid var(--le-coral);
}

.le-footer {
  position: relative; z-index: 3;
  padding: 80px 96px 40px;
  /* Seamless top: hairline fades into paper at left+right, no hard
     border between the page body and the footer. */
  border-top: none;
  background:
    linear-gradient(90deg, transparent, var(--le-hairline) 20%, var(--le-hairline) 80%, transparent) top/100% 1px no-repeat;
}
.le-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 36px;
}
.le-footer h4 {
  font-size: 11px; letter-spacing: 0.30em; text-transform: uppercase;
  color: var(--le-ink-mute);
  margin: 0 0 16px;
  font-weight: 500;
}
.le-footer ul li { margin-bottom: 8px; }
.le-footer a {
  color: var(--le-ink-soft); text-decoration: none; font-size: 13.5px;
  transition: color .2s;
}
.le-footer a:hover { color: var(--le-brand-soft); }
.le-footer-brand p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--le-ink-soft);
  margin: 12px 0 16px;
  max-width: 32ch;
}
.le-footer-contact { padding: 0; }
.le-footer-contact li {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px !important;
  font-size: 13px;
  color: var(--le-ink-soft);
}
.le-footer-contact li svg { color: var(--le-brand-soft); flex: 0 0 auto; }
.le-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--le-hairline);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--le-ink-faint);
}
.le-footer-bottom .creds { display: flex; flex-wrap: wrap; gap: 18px; }

/* ============================================================
   LOOK B — DRAFTING (engineer's drawing set)
   Blueprint grid backdrop, Manrope sans-only headlines, heavier
   hairlines, single brand-cyan accent, more visible HVAC overlay.
   ============================================================ */
.le[data-look="drafting"] {
  --le-bg: #F4F1E4;
  --le-bg-soft: #ECE7D2;
  --le-hairline: rgba(20, 32, 54, 0.16);
  --le-hairline-mid: rgba(20, 32, 54, 0.26);
  --le-hairline-strong: rgba(20, 32, 54, 0.40);
  --le-coral: var(--le-brand);   /* single-accent: collapse coral into brand */
  --le-coral-deep: var(--le-brand-deep);
  --le-grad-cyan: var(--le-brand);
  --le-grad-warm: var(--le-brand);
}
/* Replace watercolor with a hairline blueprint grid */
.le[data-look="drafting"] .le-accent {
  background-image:
    linear-gradient(to right, rgba(20, 32, 54, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 32, 54, 0.07) 1px, transparent 1px),
    linear-gradient(to right, rgba(20, 32, 54, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 32, 54, 0.04) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  height: 980px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}
.le[data-look="drafting"] .le-ribbon,
.le[data-look="drafting"] .le-grain,
.le[data-look="drafting"] .le-vignette { display: none; }

/* Hide the breeze field in drafting; blueprint grid is the chrome here. */
.le[data-look="drafting"] .le-breeze-field { display: none; }

/* Type: Manrope-led, no italic display */
.le[data-look="drafting"] .le-cover h1,
.le[data-look="drafting"] .le-section-h2,
.le[data-look="drafting"] .le-schedule-head h2,
.le[data-look="drafting"] .le-article h2,
.le[data-look="drafting"] .le-divider-h2,
.le[data-look="drafting"] .le-seocopy h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.018em;
}
.le[data-look="drafting"] .le-cover h1 { font-size: 60px; line-height: 1.05; }
.le[data-look="drafting"] .le-cover-category h1 { font-size: 54px; }
.le[data-look="drafting"] .le-section-h2 { font-size: 44px; }

.le[data-look="drafting"] .le-cover h1 em,
.le[data-look="drafting"] .le-section-h2 em,
.le[data-look="drafting"] .le-article h2 em,
.le[data-look="drafting"] .le-schedule-head h2 em,
.le[data-look="drafting"] .le-seocopy h2 em {
  font-style: normal;
  font-weight: 700;
  background: none;
  -webkit-background-clip: border-box;
          background-clip: border-box;
  color: var(--le-brand);
  -webkit-text-fill-color: var(--le-brand);
}

/* Lede & cover supporting text become Manrope */
.le[data-look="drafting"] .le-cover .lede {
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.55;
  max-width: 44ch;
}
.le[data-look="drafting"] .le-byline-role,
.le[data-look="drafting"] .le-byline-mono {
  font-family: 'Manrope', sans-serif;
  font-style: normal;
}
.le[data-look="drafting"] .le-byline-mono {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--le-brand);
  border-radius: 4px;
}
.le[data-look="drafting"] .le-stamp .v {
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.le[data-look="drafting"] .le-spec-v {
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.le[data-look="drafting"] .le-figure-tag em {
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 700;
}
.le[data-look="drafting"] .le-spec {
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-color: var(--le-hairline-strong);
}

/* Dropcap in body — keep Cormorant for now, just lose the gradient */
.le[data-look="drafting"] .le-dropcap::first-letter {
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 72px;
  background: none;
  -webkit-text-fill-color: var(--le-brand);
  color: var(--le-brand);
}

/* HVAC overlays — louder in drafting */
.le[data-look="drafting"] .le-hvac-watermark { opacity: 0.34; }
.le[data-look="drafting"] .le-hvac-scene { opacity: 0.55; }

/* Pubrow stamp value italics gone */
.le[data-look="drafting"] .le-byline-text strong { font-weight: 700; letter-spacing: 0.04em; }

/* ============================================================
   LOOK C — SPECIMEN (modernist book)
   Roman (not italic) Cormorant headlines, generous whitespace,
   sparser layout, coral-led accent, calmer HVAC overlay.
   ============================================================ */
.le[data-look="specimen"] {
  --le-bg: #FAF6EC;
  --le-bg-soft: #F2EBD8;
  --le-hairline: rgba(40, 28, 18, 0.08);
  --le-hairline-mid: rgba(40, 28, 18, 0.16);
  --le-hairline-strong: rgba(40, 28, 18, 0.26);
  --le-grad-cyan: var(--le-coral-deep);  /* swap brand accent for coral */
  --le-grad-warm: var(--le-coral-deep);
}

/* Watercolor: keep but dim and warm-bias */
.le[data-look="specimen"] .le-ribbon { opacity: 0.30; }
.le[data-look="specimen"] .le-ribbon-blue { opacity: 0.18; }
.le[data-look="specimen"] .le-grain { opacity: 0.06; }

/* Same dim treatment for the breeze field — warm-bias via global filter */
.le[data-look="specimen"] .le-breeze-field { --le-breeze-opacity: 0.20; }
.le[data-look="specimen"] .le-breeze-layer--blue { opacity: calc(var(--le-breeze-opacity) * 0.55); }

/* Roman, not italic. Bigger and lighter. */
.le[data-look="specimen"] .le-cover h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 96px;
  line-height: 0.98;
  letter-spacing: -0.022em;
  max-width: 14ch;
}
.le[data-look="specimen"] .le-cover-category h1 { font-size: 88px; }
.le[data-look="specimen"] .le-cover h1 em,
.le[data-look="specimen"] .le-section-h2 em,
.le[data-look="specimen"] .le-article h2 em,
.le[data-look="specimen"] .le-schedule-head h2 em,
.le[data-look="specimen"] .le-seocopy h2 em {
  font-style: normal;
  background: none;
  -webkit-background-clip: border-box;
          background-clip: border-box;
  color: var(--le-coral-deep);
  -webkit-text-fill-color: var(--le-coral-deep);
}
.le[data-look="specimen"] .le-section-h2 {
  font-weight: 400;
  font-style: normal;
  font-size: 60px;
  letter-spacing: -0.016em;
}
.le[data-look="specimen"] .le-article h2 {
  font-weight: 400;
  font-style: normal;
  font-size: 38px;
  letter-spacing: -0.012em;
  margin-top: 64px;
}

/* Lede: roman serif, larger */
.le[data-look="specimen"] .le-cover .lede {
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.45;
  max-width: 42ch;
  color: var(--le-ink-soft);
}

/* Generous whitespace */
.le[data-look="specimen"] .le-cover {
  padding: 72px 120px 88px;
  gap: 80px;
}
.le[data-look="specimen"] .le-spec { padding: 32px 120px; }
.le[data-look="specimen"] .le-place-strip { padding: 32px 120px; }
.le[data-look="specimen"] .le-article { padding: 100px 0; }
.le[data-look="specimen"] .le-cover-meta { padding-top: 32px; gap: 36px; }

/* Crumbs softer */
.le[data-look="specimen"] .le-crumbs {
  font-size: 11px;
  letter-spacing: 0.32em;
  margin-bottom: 36px;
  opacity: 0.85;
}
.le[data-look="specimen"] .le-figure-tag { color: var(--le-coral-deep); }

/* Spec plate — Cormorant italic values stay; just dial the typography softer */
.le[data-look="specimen"] .le-spec-v {
  font-size: 17px;
  color: var(--le-ink-soft);
}
.le[data-look="specimen"] .le-spec-k {
  letter-spacing: 0.28em;
}

/* Dropcap reverts to gentle roman */
.le[data-look="specimen"] .le-dropcap::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 96px;
  background: none;
  -webkit-text-fill-color: var(--le-coral-deep);
  color: var(--le-coral-deep);
}

/* HVAC overlays — minimal in specimen */
.le[data-look="specimen"] .le-hvac-watermark { opacity: 0.16; }
.le[data-look="specimen"] .le-hvac-scene { opacity: 0.22; }

/* Byline simpler */
.le[data-look="specimen"] .le-byline-mono {
  color: var(--le-coral-deep);
  border-color: var(--le-hairline-strong);
}
.le[data-look="specimen"] .le-byline-by,
.le[data-look="specimen"] .le-stamp .k { letter-spacing: 0.36em; }

/* Look-preview artboards — same chrome as full page but constrained height */
.le-lookpreview { min-height: 1900px; }

/* ============================================================
   MAGAZINE CARDS — replaces the boxy .le-cat-card system.
   Wide horizontal rows with a rail (roman + tag), body (italic
   title + excerpt + meta + badges), and an animated motif.
   Hairline separators only — no rounded corners, no card shadow.
   Reads like a magazine table of contents.
   ============================================================ */
.le-mag-grid {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 96px;
  border-top: 0;
  counter-reset: mag-card;
}
.le-mag-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 96px;
  right: 96px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--le-hairline) 8%, var(--le-hairline) 92%, transparent 100%);
  pointer-events: none;
}
.le-mag-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr 220px;
  gap: 40px;
  align-items: start;
  padding: 44px 0 56px;
  border-bottom: 0;
  text-decoration: none;
  color: inherit;
  transition: background 0.4s, padding-left 0.3s;
}
.le-mag-card::before {
  /* Soft watercolor wash that blooms in from the left on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, var(--le-surface-soft) 12%, var(--le-surface-soft) 52%, transparent 100%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.le-mag-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--le-hairline) 8%, var(--le-hairline) 92%, transparent 100%);
  pointer-events: none;
}
.le-mag-card:hover { padding-left: 12px; }
.le-mag-card:hover::before { opacity: 0.7; }
.le-mag-card:hover .le-mag-mark { transform: rotate(6deg) scale(1.06); }
.le-mag-card:hover .le-mag-arrow { letter-spacing: 0.32em; padding-right: 0; color: var(--le-coral-deep); }
.le-mag-card:hover .le-mag-arrow svg { transform: translateX(4px); }

.le-mag-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 6px;
  position: relative;
  z-index: 2;
}
.le-mag-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--le-coral);
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1;
}
.le-mag-tag {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--le-ink-faint);
  padding-top: 10px;
  border-top: 1px solid var(--le-hairline-mid);
  width: 78px;
}

.le-mag-body {
  min-width: 0;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}
.le-mag-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.04;
  letter-spacing: -0.014em;
  margin: 0 0 14px;
  color: var(--le-ink);
  text-wrap: balance;
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1;
}
.le-mag-body > p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.48;
  color: var(--le-ink-soft);
  max-width: 66ch;
  margin: 0 0 22px;
  text-wrap: pretty;
}
.le-mag-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: 'Manrope', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--le-ink-faint);
  margin-bottom: 16px;
}
.le-mag-meta .le-mag-byline { color: var(--le-ink-mute); }
.le-mag-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--le-ink-faint);
  opacity: 0.65;
  flex: 0 0 3px;
}
.le-mag-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.le-mag-badges span {
  font-family: 'Manrope', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--le-hairline-mid);
  border-radius: 999px;
  color: var(--le-ink-mute);
  background: var(--le-surface);
}

.le-mag-mark {
  width: 200px; height: 200px;
  color: var(--le-brand-soft);
  opacity: 0.85;
  align-self: center;
  justify-self: end;
  position: relative;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.le-mag-mark svg { width: 100%; height: 100%; display: block; }
.le[data-theme="light"] .le-mag-mark { color: var(--le-brand-deep); opacity: 0.75; }

.le-article-shell {
  position: relative;
  isolation: isolate;
}

.le-deco-motif {
  position: relative;
  z-index: 2;
  width: clamp(118px, 13vw, 220px);
  height: clamp(118px, 13vw, 220px);
  color: var(--le-brand-soft);
  opacity: 0.20;
  pointer-events: none;
  filter: drop-shadow(0 18px 32px rgba(0, 8, 24, 0.20));
}

.le-deco-motif svg {
  width: 100%;
  height: 100%;
  display: block;
}

.le[data-theme="light"] .le-deco-motif {
  color: var(--le-brand-deep);
  opacity: 0.38;
  filter: drop-shadow(0 8px 16px rgba(14, 78, 128, 0.18));
  mix-blend-mode: multiply;
}

.le-heading-cluster {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  max-width: 980px;
  isolation: isolate;
}

.le-heading-cluster .le-section-h2,
.le-heading-cluster .luxury-text-hero,
.le-heading-cluster .scoreboard-block__title,
.le-heading-cluster .testimonials-block__title,
.le-heading-cluster .faq-block__title,
.le-heading-cluster .paragraph-block__title {
  margin-bottom: 0;
}

.le-heading-cluster--reviews {
  max-width: 760px;
}

.le-heading-cluster--faq,
.le-heading-cluster--seocopy {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.le-heading-cluster--seocopy {
  margin-left: 0;
  margin-right: 0;
  justify-content: flex-start;
}

.le-heading-motif {
  flex: 0 0 clamp(54px, 6vw, 96px);
  width: clamp(54px, 6vw, 96px);
  height: clamp(54px, 6vw, 96px);
  color: var(--le-coral);
  opacity: 0.34;
  pointer-events: none;
  filter: drop-shadow(0 14px 26px rgba(0, 8, 24, 0.18));
  animation: le-deco-float 20s ease-in-out infinite alternate;
}

.le-heading-motif svg {
  width: 100%;
  height: 100%;
  display: block;
}

.le[data-theme="light"] .le-heading-motif {
  color: var(--le-brand-deep);
  opacity: 0.52;
  filter: drop-shadow(0 6px 12px rgba(14, 78, 128, 0.18));
  mix-blend-mode: multiply;
}

.le-section-motif {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  width: clamp(128px, 15vw, 260px);
  height: clamp(128px, 15vw, 260px);
  color: var(--le-brand-soft);
  opacity: 0.13;
  filter: drop-shadow(0 24px 44px rgba(0, 8, 24, 0.20));
  mix-blend-mode: screen;
  animation: le-deco-float 24s ease-in-out infinite alternate;
}

.le-section-motif svg {
  width: 100%;
  height: 100%;
  display: block;
}

.le[data-theme="light"] .le-section-motif {
  color: var(--le-brand-deep);
  opacity: 0.34;
  filter: drop-shadow(0 12px 24px rgba(14, 78, 128, 0.20));
  mix-blend-mode: multiply;
}

.le-section-motif--why {
  left: max(20px, calc((100vw - var(--le-abf-max, 1600px)) / 2 + 34px));
  top: 42px;
}

.le-section-motif--reviews {
  right: max(18px, calc((100vw - var(--le-abf-max, 1600px)) / 2 + 44px));
  top: 34px;
  animation-duration: 28s;
  animation-delay: -7s;
}

.le-section-motif--faq {
  left: max(18px, calc((100vw - var(--le-abf-max, 1600px)) / 2 + 74px));
  top: 30px;
  animation-duration: 30s;
  animation-delay: -12s;
}

.le-section-motif--seocopy {
  right: max(22px, calc((100vw - var(--le-abf-max, 1600px)) / 2 + 58px));
  top: 48px;
  animation-duration: 26s;
  animation-delay: -5s;
}

.le[data-theme="dark"] .le-section-motif--seocopy {
  color: var(--le-coral);
}

.le-section-motif--article-divider {
  position: relative;
  inset: auto;
  width: clamp(86px, 9vw, 150px);
  height: clamp(86px, 9vw, 150px);
  margin: -61px auto -158px;
  opacity: 0.24;
  z-index: 3;
  color: var(--le-coral);
}

.le[data-theme="light"] .le-section-motif--article-divider {
  opacity: 0.42;
  color: var(--le-brand-deep);
  mix-blend-mode: multiply;
}

.le[data-family="casestudies"] .le-heading-motif,
.le[data-family="casestudies"] .le-section-motif {
  color: var(--le-brand-deep);
}

.le-deco-motif--divider {
  width: clamp(96px, 11vw, 176px);
  height: clamp(96px, 11vw, 176px);
  margin: -42px 96px 8px auto;
  opacity: 0.28;
  animation: le-deco-float 16s ease-in-out infinite alternate;
}

.le-deco-motif--article {
  position: absolute;
  z-index: 1;
  animation: le-deco-float 18s ease-in-out infinite alternate;
}

.le-deco-motif--article-a {
  top: 70px;
  left: max(-120px, calc((100% - 960px) / 2 - 150px));
}

.le-deco-motif--article-b {
  top: 42%;
  right: max(-130px, calc((100% - 960px) / 2 - 170px));
  animation-duration: 22s;
  animation-delay: -6s;
}

.le-deco-motif--article-c {
  bottom: 90px;
  left: max(-100px, calc((100% - 960px) / 2 - 130px));
  animation-duration: 26s;
  animation-delay: -11s;
}

.le-deco-motif--isobars,
.le-deco-motif--gulf,
.le-deco-motif--marker {
  color: var(--le-coral);
}

.le[data-family="casestudies"] .le-deco-motif {
  color: var(--le-brand-deep);
}

@keyframes le-deco-float {
  from { transform: translate3d(0, -8px, 0) rotate(-1.5deg); }
  to { transform: translate3d(0, 10px, 0) rotate(1.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .le-deco-motif,
  .le-heading-motif,
  .le-section-motif {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  body.cb-role-internal .le.le-template-article .le-entry > .le-cover,
  .le.le-template-category .builder-blocks > .block-wrapper--parallax-hero-block,
  .le.le-template-category .builder-blocks > .block-wrapper--parallax-hero-block > .le-cover.builder-block.parallax-hero {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }

  .le-deco-motif--divider,
  .le-deco-motif--article,
  .le-section-motif--outside,
  .le-section-motif--article-divider {
    display: none;
  }

  .le-heading-cluster {
    justify-content: center;
    text-align: center;
  }

  .le-heading-cluster--seocopy {
    justify-content: flex-start;
    text-align: left;
  }

  .le-heading-motif {
    display: none;
  }
}

.le-mag-arrow {
  position: absolute;
  bottom: 22px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--le-coral);
  transition: color 0.3s, letter-spacing 0.3s, padding-right 0.3s;
}
.le-mag-arrow svg {
  transition: transform 0.3s;
}

/* ============================================================
   FAMILY PARALLAX — distinct atmospheric color per template
   family. The watercolor ribbon shifts hue without changing the
   underlying type/component system. Subtle, not theme-bending.
   ============================================================ */
.le[data-family="services"] .le-ribbon-warm  { background: radial-gradient(60% 70% at 60% 30%, rgba(217, 119, 87, 0.55), transparent 65%); }
.le[data-family="services"] .le-ribbon-blue  { background: radial-gradient(70% 70% at 30% 30%, rgba(60, 140, 200, 0.50), transparent 70%); }

.le[data-family="areas"] .le-ribbon-warm  { background: radial-gradient(55% 70% at 70% 25%, rgba(232, 163, 92, 0.55), transparent 65%); }
.le[data-family="areas"] .le-ribbon-blue  { background: radial-gradient(80% 70% at 25% 35%, rgba(85, 175, 220, 0.50), transparent 72%); }
.le[data-family="areas"] {
  --le-coral: rgb(216, 152, 86);
  --le-coral-deep: rgb(168, 110, 58);
}
.le[data-family="areas"] .le-figure-tag { color: var(--le-coral); }

.le[data-family="casestudies"] .le-ribbon-warm  { background: radial-gradient(55% 60% at 40% 60%, rgba(106, 142, 110, 0.50), transparent 70%); }
.le[data-family="casestudies"] .le-ribbon-blue  { background: radial-gradient(70% 80% at 70% 25%, rgba(45, 105, 130, 0.48), transparent 72%); }
.le[data-family="casestudies"] {
  --le-coral: rgb(140, 90, 70);
  --le-coral-deep: rgb(108, 64, 48);
  --le-brand-soft: rgb(108, 155, 130);
  --le-brand-deep: rgb(58, 96, 86);
}
.le[data-family="casestudies"] .le-mag-mark { color: var(--le-brand-deep); }
.le[data-family="casestudies"] .le-figure-tag { color: var(--le-brand-deep); }

/* Responsive — collapse cards to single-column under 1100 (rarely
   triggered since artboards are 1280, but kept for safety). */
@media (max-width: 1100px) {
  .le-mag-grid { padding: 0 48px; }
  .le-mag-card { grid-template-columns: 80px 1fr; }
  .le-mag-mark { display: none; }
}

/* ============================================================
   TWEAK HOOKS — expressive controls that reshape the feel.
   data-tweak-motif: whisper | medium | loud — opacity + scale of
     HVAC scene, watermark, and per-card motifs.
   data-tweak-density: tight | regular | spacious — padding,
     font size cadence, and gap rhythm across the magazine grid +
     covers.
   ============================================================ */

/* --- Motif intensity --- */
html[data-tweak-motif="whisper"] .le-hvac-scene     { opacity: 0.22; }
html[data-tweak-motif="whisper"] .le-hvac-watermark { opacity: 0.18; }
html[data-tweak-motif="whisper"] .le-mag-mark       { opacity: 0.45; transform: scale(0.78); }
html[data-tweak-motif="whisper"] .le[data-theme="light"] .le-mag-mark { opacity: 0.40; }
html[data-tweak-motif="whisper"] .le-diagram-frame  { opacity: 0.70; }

html[data-tweak-motif="medium"] .le-mag-mark        { opacity: 0.85; }
/* medium is default — most rules unchanged */

html[data-tweak-motif="loud"] .le-hvac-scene        { opacity: 0.78; }
html[data-tweak-motif="loud"] .le-hvac-watermark    { opacity: 0.62; }
html[data-tweak-motif="loud"] .le-mag-mark          { opacity: 1; transform: scale(1.14); }
html[data-tweak-motif="loud"] .le[data-theme="light"] .le-mag-mark { opacity: 0.92; }
html[data-tweak-motif="loud"] .le-mag-card { grid-template-columns: 96px 1fr 280px; }

/* --- Density: rhythm of the whole reading experience --- */
html[data-tweak-density="tight"] .le-cover { padding: 32px 80px 44px; gap: 40px; }
html[data-tweak-density="tight"] .le-cover h1 { font-size: 60px; }
html[data-tweak-density="tight"] .le-cover-category h1 { font-size: 52px; }
html[data-tweak-density="tight"] .le-cover .lede { font-size: 18px; }
html[data-tweak-density="tight"] .le-spec { padding: 18px 80px; }
html[data-tweak-density="tight"] .le-mag-grid { padding: 0 80px; }
html[data-tweak-density="tight"] .le-mag-card { padding: 28px 0 32px; gap: 28px; grid-template-columns: 78px 1fr 170px; }
html[data-tweak-density="tight"] .le-mag-body h3 { font-size: 28px; margin-bottom: 10px; }
html[data-tweak-density="tight"] .le-mag-body > p { font-size: 17px; margin-bottom: 14px; }
html[data-tweak-density="tight"] .le-mag-meta { margin-bottom: 10px; }
html[data-tweak-density="tight"] .le-mag-num { font-size: 32px; }
html[data-tweak-density="tight"] .le-mag-mark { width: 150px; height: 150px; }
html[data-tweak-density="tight"] .le-article { padding: 60px 0; }
html[data-tweak-density="tight"] .le-section-h2 { font-size: 52px; }

/* regular = baseline, no overrides */

html[data-tweak-density="spacious"] .le-cover { padding: 72px 120px 88px; gap: 80px; }
html[data-tweak-density="spacious"] .le-cover h1 { font-size: 96px; line-height: 0.96; }
html[data-tweak-density="spacious"] .le-cover-category h1 { font-size: 88px; }
html[data-tweak-density="spacious"] .le-cover .lede { font-size: 26px; max-width: 38ch; }
html[data-tweak-density="spacious"] .le-spec { padding: 38px 120px; }
html[data-tweak-density="spacious"] .le-mag-grid { padding: 0 140px; }
html[data-tweak-density="spacious"] .le-mag-card { padding: 64px 0 80px; gap: 56px; grid-template-columns: 120px 1fr 260px; }
html[data-tweak-density="spacious"] .le-mag-body h3 { font-size: 48px; margin-bottom: 22px; letter-spacing: -0.018em; }
html[data-tweak-density="spacious"] .le-mag-body > p { font-size: 24px; margin-bottom: 30px; max-width: 56ch; }
html[data-tweak-density="spacious"] .le-mag-meta { margin-bottom: 22px; }
html[data-tweak-density="spacious"] .le-mag-num { font-size: 52px; }
html[data-tweak-density="spacious"] .le-mag-mark { width: 240px; height: 240px; }
html[data-tweak-density="spacious"] .le-article { padding: 120px 0; }
html[data-tweak-density="spacious"] .le-section-h2 { font-size: 82px; }
html[data-tweak-density="spacious"] .le-divider { padding: 64px 0 40px; }

/* ============================================================
   Mobile fit for live CMS pages
   ------------------------------------------------------------
   Prototype artboards are fixed-width desktop compositions. In live
   CMS pages, collapse the internal template to a readable single-column
   flow so role pages remain usable on phones.
   ============================================================ */
@media (max-width: 900px) {
  .le {
    width: 100%;
  }

  body.cb-role-internal .le.le-template-category,
  body.cb-role-internal .le.le-template-article {
    --le-abf-gutter: 18px;
    --le-abf-pad-x: 18px;
    --le-section-pad-x: 18px;
    --le-min-page-gutter: 14px;
  }

  .le-nav {
    padding: 16px;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .le-nav-links {
    order: 3;
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
  }
  .le-nav-links a {
    font-size: 10px;
    letter-spacing: 0.16em;
  }
  .le-nav-sub-label {
    display: none;
  }
  .le-nav-actions {
    margin-left: auto;
    gap: 8px;
  }
  .le-combo-half {
    padding: 8px 10px;
    font-size: 10px;
  }
  .le-combo-half .num {
    font-size: 10px;
  }
  .le-pill {
    padding: 9px 12px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .le-cover {
    padding: 22px 18px 30px;
    gap: 22px;
  }
  .le-cover .le-crumbs {
    font-size: 9px;
    letter-spacing: 0.16em;
    margin-bottom: 14px;
  }
  .le-cover h1,
  .le-cover-category h1 {
    font-size: 42px;
    line-height: 1.04;
    margin-bottom: 14px;
  }
  .le-cover .lede {
    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 18px;
  }
  .le-cover-meta {
    gap: 12px;
    padding-top: 14px;
    flex-wrap: wrap;
  }
  .le-cover-index {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .le-spec,
  .le-place-strip,
  .le-divider,
  .le-article,
  .le-faq,
  .le-reviews,
  .le-areas-strip,
  .le-why,
  .le-schedule,
  .le-seocopy,
  .le-footer,
  .le-ornament {
    padding-left: 18px;
    padding-right: 18px;
  }

  .le-place-strip {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .le-place-strip .label {
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .le-place-strip .places {
    row-gap: 10px;
    column-gap: 8px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .le-pubrow {
    margin-top: 20px;
    padding: 14px 18px 0;
    gap: 10px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .le-mag-grid {
    padding-left: 18px;
    padding-right: 18px;
  }
  .le-mag-card {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 18px 0 22px;
  }
  .le-mag-num {
    font-size: 24px;
  }
  .le-mag-tag {
    width: auto;
    font-size: 8px;
    letter-spacing: 0.16em;
    padding-top: 6px;
  }
  .le-mag-body h3 {
    font-size: 26px;
    margin-bottom: 8px;
  }
  .le-mag-body > p {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .le-mag-meta {
    font-size: 9px;
    letter-spacing: 0.12em;
    gap: 8px;
    margin-bottom: 10px;
  }
  .le-mag-badges span {
    font-size: 9px;
    letter-spacing: 0.10em;
    padding: 4px 9px;
  }
  .le-mag-mark {
    display: none;
  }
  .le-mag-arrow {
    position: static;
    margin-top: 10px;
    font-size: 9px;
    letter-spacing: 0.12em;
    gap: 6px;
  }

  .le-why-grid,
  .le-areas-list,
  .le-footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .le-why-card,
  .le-why-card:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .le-reviews-head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .le-reviews-head .rating .num {
    font-size: 30px;
  }

  .le-faq summary {
    padding-right: 28px;
    font-size: 16px;
  }
  .le-faq details .answer {
    padding-right: 0;
  }

  .le-schedule-head h2,
  .le-seocopy h2 {
    font-size: 42px;
    line-height: 1.06;
  }
  .le-schedule-sub,
  .le-seocopy p,
  .le-article p {
    font-size: 15px;
    line-height: 1.65;
  }
  .le-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .le-submit {
    width: 100%;
    justify-content: center;
  }

  .le-footer {
    padding-top: 42px;
    padding-bottom: 28px;
  }
  .le-footer-bottom {
    font-size: 9px;
    letter-spacing: 0.14em;
  }
}

/* ============================================================
   Mobile (≤767px) — phone-tier refinements for /areas and
   sibling category pages. Targets specific overflow + scale
   issues the 900px tier doesn't fully resolve at phone widths:
     • section h2s declared with !important at 56px/48px
     • .le-spec items collapsing to single-char columns
     • hero / cover padding tightening
     • FAQ summary touch-target sizing
   Desktop/tablet rules above are untouched.
   ============================================================ */
@media (max-width: 767px) {
  /* --- Section headings: defeat the !important 56px/48px rules
         declared higher up that survive the 900px tier. --- */
  .le.le-template-category .le-why .scoreboard-block__title,
  .le.le-template-category .le-reviews .testimonials-block__title,
  .le.le-template-category .le-faq .faq-block__title {
    font-size: 34px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.008em !important;
  }
  .le.le-template-category .le-seocopy .paragraph-block__title,
  .le.le-template-category .le-seocopy h2 {
    font-size: 32px !important;
    line-height: 1.1 !important;
  }

  /* --- Hero h1: slightly soften from the 900px 42px so the heading
         settles on phones without crowding the breadcrumb row. --- */
  .le.le-template-category .le-cover h1,
  .le.le-template-category .le-cover-category h1 {
    font-size: 36px;
    line-height: 1.06;
    letter-spacing: -0.01em;
  }
  .le.le-template-category .le-cover .lede {
    font-size: 16px;
    line-height: 1.5;
  }
  /* Tame hero top padding so the title isn't crammed against the
     site nav on short-viewport phones. */
  .le.le-template-category .builder-blocks > .block-wrapper--parallax-hero-block > .le-cover.builder-block.parallax-hero {
    padding-top: 28px !important;
    padding-bottom: 40px !important;
  }

  /* --- Spec strip: items collapse to ~29px because flex 1 1 0
         with five children + gap eats everything. Switch to a
         2-column grid so each cell can actually show its value. --- */
  .le-spec {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
    row-gap: 16px;
    padding: 22px 18px !important;
    justify-content: stretch;
  }
  .le-spec-item {
    min-width: 0;
    flex: initial;
  }
  .le-spec-v {
    font-size: 17px;
    line-height: 1.18;
  }
  .le-spec-k {
    font-size: 9.5px;
    letter-spacing: 0.28em;
  }
  /* Vertical separator dividers don't make sense in a 2-col grid. */
  .le-spec-sep { display: none; }

  /* --- Card body cleanup: at 375 the badges + meta row gets very
         busy. Trim badge padding and meta gap so a phone reader
         can scan the row at a glance. --- */
  .le-mag-card {
    padding: 22px 0 24px;
  }
  .le-mag-body h3 {
    font-size: 24px;
    line-height: 1.08;
  }
  .le-mag-body > p {
    font-size: 15.5px;
    line-height: 1.45;
    margin-bottom: 10px;
  }
  .le-mag-badges {
    gap: 6px;
  }
  .le-mag-badges span {
    padding: 4px 8px;
    letter-spacing: 0.08em;
  }
  .le-mag-meta {
    letter-spacing: 0.10em;
  }

  /* --- FAQ summary: bump touch target & soften the indicator. --- */
  .le-faq summary,
  .faq-block__question {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    padding-right: 36px !important;
    font-size: 15.5px !important;
    line-height: 1.4 !important;
  }
  .le-faq summary .ind,
  .faq-block__question .ind {
    width: 26px;
    height: 26px;
  }
  .le-faq details .answer {
    padding-top: 4px;
    padding-bottom: 14px;
  }
  .le-faq details .answer p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* --- Place strip (the "30A · Seaside ·…" rail). On phones the
         single-row scroll cropped the names. Allow wrap. --- */
  .le-place-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 18px !important;
  }
  .le-place-strip .label {
    border-right: 0;
    padding-right: 0;
  }
  .le-place-strip .places {
    flex-wrap: wrap;
    white-space: normal;
    overflow: visible;
    font-size: 16px;
    gap: 6px 14px;
  }

  /* --- Areas list (sibling of section-list) — single column on
         phones so zip codes don't get pushed off-screen. --- */
  .le-areas-list {
    grid-template-columns: 1fr;
  }
  .le-areas-strip {
    padding: 36px 18px !important;
  }

  /* --- Contact form: keep submit thumb-sized and clear of edges --- */
  .le-submit,
  .le.le-template-category .le-form button[type="submit"] {
    min-height: 48px;
  }

  /* --- Belt-and-braces clip: even though no overflow shows up
         at standard scroll states, a 100vw breeze-field anchored
         at left:50% can poke past the visible edge under some
         scrollbar/zoom conditions. Clip horizontally at the
         template root. Vertical scroll is preserved. --- */
  body.cb-role-internal {
    overflow-x: clip;
  }
  body.cb-role-internal .le.le-template-category,
  body.cb-role-internal .le.le-template-article {
    overflow-x: clip;
  }
}

/* ============================================================
   Tablet (768px–1199px) — restore editorial scale and grid
   density that the legacy `max-width: 900px` mobile-tier rules
   collapse too aggressively at iPad/Surface widths. Also bridges
   the 901–1199 band where some grids (mag-mark, areas-list)
   collapse below their natural multi-column rhythm.

   Sub-bands:
     • 768–900   :  iPad portrait, small tablet — restore 2/3-up
                     grids; mid-scale typography; keep motifs.
     • 901–1199  :  iPad landscape / small laptop — re-enable
                     mag motif at compact size; tighten gutters.

   Scope discipline: this block only touches rules whose mobile
   collapse is harmful at >=768px. Heading SEO content, alt
   attributes, schema, and breadcrumb structure are untouched.
   ============================================================ */
@media (min-width: 768px) and (max-width: 1199px) {

  /* -- 768–900 sub-band: lift mobile collapses for tablet width -- */
  /* The `@media (max-width: 900px)` block above flattens every
     grid to 1-col. At >= 768 we have room for 2/3-up rhythms. */

  /* Hero cover: keep single-column at this band (diagram is large)
     but reclaim some scale. Padding follows clamp() vars naturally
     via :root tokens, but the 900-tier overrides them at 22/18px.
     We push hero padding back to a tablet-appropriate measure. */
  .le.le-template-category .le-cover,
  .le.le-template-article .le-entry > .le-cover {
    padding: 40px 48px 56px;
    gap: 32px;
  }
  .le.le-template-category .le-cover h1,
  .le.le-template-category .le-cover-category h1,
  .le.le-template-article .le-cover h1 {
    font-size: 56px;
    line-height: 1.02;
    letter-spacing: -0.018em;
    margin-bottom: 18px;
  }
  .le.le-template-category .le-cover .lede,
  .le.le-template-article .le-cover .lede {
    font-size: 19px;
    line-height: 1.45;
    margin-bottom: 24px;
  }
  .le.le-template-category .le-cover .le-crumbs {
    font-size: 11px;
    letter-spacing: 0.20em;
    margin-bottom: 18px;
  }
  .le.le-template-category .le-cover-meta {
    gap: 18px;
    padding-top: 18px;
    flex-wrap: wrap;
  }
  /* Beach index: 3-up reads tidy at iPad portrait — the 900-tier
     1-col leaves it scroll-heavy and wastes horizontal real estate. */
  .le.le-template-category .le-cover-index {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 22px;
  }

  /* Spec strip: keep flex row with wrapping; tighten cell gap
     so 5 items fit two rows max at 768. */
  .le.le-template-category .le-spec {
    gap: 14px 22px;
    padding: 22px 48px !important;
  }
  .le-spec-v {
    font-size: 17px;
  }

  /* Why-routing 3-up grid: at 768 the 900-tier collapsed this to a
     single stacked column which made readers scroll past three
     near-identical cards. Restore 3-up with proportional padding. */
  .le-why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .le-why-card {
    padding: 22px 18px;
    border-left: 1px solid var(--le-hairline-mid);
  }
  .le-why-card:first-child {
    border-left: 0;
    padding-left: 0;
  }
  .le-why-card h3 {
    font-size: 22px;
  }
  .le-why-card p {
    font-size: 14px;
    line-height: 1.5;
  }
  .le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-why {
    padding: 56px 48px 44px !important;
  }

  /* Magazine cards (Towns covered list): the 900-tier collapsed the
     left rail to 42px and hid the motif entirely. Reclaim a 64px
     ordinal column and re-enable the motif at compact scale so the
     editorial rhythm survives at tablet widths. */
  .le-mag-grid {
    padding: 0 48px;
  }
  .le-mag-card {
    grid-template-columns: 64px 1fr;
    gap: 22px;
    padding: 30px 0 34px;
  }
  .le-mag-num {
    font-size: 30px;
  }
  .le-mag-tag {
    font-size: 9px;
    letter-spacing: 0.18em;
  }
  .le-mag-body h3 {
    font-size: 30px;
    line-height: 1.08;
    margin-bottom: 10px;
  }
  .le-mag-body > p {
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 14px;
  }
  .le-mag-meta {
    font-size: 10px;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
  }
  .le-mag-badges span {
    font-size: 10px;
    letter-spacing: 0.10em;
    padding: 4px 10px;
  }
  .le-mag-arrow {
    position: static;
    margin-top: 14px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  /* Reviews grid stays 1-col below 980 by an earlier rule; nothing
     to add. But pulse cards inherit huge bottom margins from the
     900-tier — trim. */
  .le-reviews,
  .le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-reviews {
    padding: 56px 48px !important;
  }

  /* FAQ block: 900-tier dropped summary to 16px which is fine, but
     padding-right 28px crowds the indicator pill on tablet. */
  .le-faq summary {
    font-size: 19px;
    line-height: 1.32;
    padding-right: 36px;
  }
  .le-faq details .answer {
    padding-right: 24px;
  }
  .le-faq details .answer p {
    font-size: 16px;
    line-height: 1.62;
  }
  .le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-faq {
    padding: 56px 48px !important;
  }

  /* Section h2 headings (Towns covered, Area response pulse, etc.):
     the 900-tier let scoreboard/reviews/faq drop to 42px. Push
     back up — at 768 we have room for 44–48px serif display. */
  .le.le-template-category .le-why .scoreboard-block__title,
  .le.le-template-category .le-reviews .testimonials-block__title,
  .le.le-template-category .le-faq .faq-block__title {
    font-size: 44px !important;
    line-height: 1.06 !important;
  }
  .le.le-template-category .le-seocopy .paragraph-block__title,
  .le.le-template-category .le-seocopy h2 {
    font-size: 40px !important;
    line-height: 1.08 !important;
  }
  .le-section-h2 {
    font-size: 44px;
    line-height: 1.06;
  }

  /* Schedule / contact form: the form wrapper uses .contact-cta__row
     sub-containers which already establish 2-col grids; we only
     need to ensure the underlying .le-form stays as block flow
     (the 900-tier sets it to a 1-col grid which then forces each
     inner row to span full width and the inner 2-col grids show
     two fields per row). Restore block flow + 2-col rows. */
  .le-form {
    display: block;
  }
  .contact-cta__row.le-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px;
  }
  .le-schedule-head h2,
  .le-seocopy h2 {
    font-size: 44px;
    line-height: 1.06;
  }
  .le-schedule-sub,
  .le-seocopy p,
  .le-article p {
    font-size: 16px;
    line-height: 1.65;
  }
  .le-submit {
    width: auto;
  }
  .le.le-template-category .le-schedule {
    padding: 64px 48px !important;
  }
  .le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-seocopy {
    padding: 56px 48px 44px !important;
  }

  /* Areas list (sibling /areas grid in some pages): 3-up grid at
     tablet (the 4-up desktop is too tight; 1-col mobile is too
     sparse). */
  .le-areas-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 18px;
  }
  .le-areas-strip {
    padding: 56px 48px !important;
  }

  /* Prev/next nav: keep 2-col but compact padding */
  .le-prevnext {
    margin: 0 48px;
  }
  .le-prevnext a {
    padding: 22px 24px;
  }

  /* Place strip — keep single-line scroll with mask; just relax
     horizontal padding so labels don't kiss the edge */
  .le-place-strip {
    padding: 22px 48px !important;
  }
  .le-place-strip .places {
    font-size: 17px;
  }

  /* Footer grid: 3-col reads well at 768+; mobile 1-col is too
     tall when there's room for columns. */
  .le-footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .le-footer {
    padding-top: 56px;
    padding-bottom: 36px;
  }

  /* Restore mag-mark motif visibility — the 1100-tier hides it
     entirely. At tablet widths show it at compact scale beside
     the wider 901–1199 cards. (768–900 keeps it suppressed since
     the 64px ordinal column already provides visual anchor.) */
  /* Default in this band: still hidden — re-enable in the
     901–1199 narrowing below. */
}

/* 901–1199 sub-band: laptop / iPad landscape. Restore mag-mark
   motif and lift hero a touch further. */
@media (min-width: 901px) and (max-width: 1199px) {
  /* The .le-cover @max-width:1100 rule already collapses to 1-col
     and sets h1=56px below 1100. Above 1100 (1101–1199) the hero
     is still two-column at its natural sizing. */

  /* Mag mark: re-enable at compact scale so the editorial motif
     remains in the rhythm. 1100-tier hides it entirely; we
     reintroduce at smaller width when card has room. */
  .le-mag-card {
    grid-template-columns: 80px 1fr 130px;
  }
  .le-mag-mark {
    display: block;
    width: 120px;
    height: 120px;
    opacity: 0.7;
  }
  /* Areas list: 4-up is fine at this width, but tighten gap */
  .le-areas-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 0 18px;
  }
  /* Why grid 3-up looks natural at this width with normal padding */
  .le-why-card {
    padding: 28px 24px;
  }
  /* Section pad reverts to 64px gutters */
  .le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-why,
  .le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-faq,
  .le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-reviews,
  .le.le-template-category .builder-blocks > .block-wrapper > section.builder-block.le-seocopy {
    padding-left: 64px !important;
    padding-right: 64px !important;
  }
  .le.le-template-category .le-schedule {
    padding-left: 64px !important;
    padding-right: 64px !important;
  }
  .le-mag-grid {
    padding: 0 64px;
  }
  .le-areas-strip,
  .le-place-strip,
  .le-prevnext {
    padding-left: 64px !important;
    padding-right: 64px !important;
  }
  .le-prevnext {
    margin-left: 64px;
    margin-right: 64px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

