/* =============================================================================
   LCI Energy — "Warm Editorial-Technical" skin
   A beautifully typeset field report: expressive high-contrast serif display
   (Fraunces) over a literary body serif (Spectral), generous air, rounded
   corners with soft layered elevation, editorial grids, oversized pull-quote
   statistics, and quiet ruled chapter-break dividers.

   Loads AFTER base.css. Only look-and-feel here — base.css owns structure,
   nav dropdowns, hamburger, forms, blog cards, pills, search, and motion.
   ============================================================================= */

:root {
    /* Editorial rhythm: open the room up. */
    --space: 1.28rem;
    --container: 74rem;
    --radius: 16px;
    --radius-lg: 26px;

    /* Chapter-break dividers + hairlines, tuned warm. */
    --rule: color-mix(in srgb, var(--color-text, #1a1a1a) 16%, transparent);
    --rule-soft: color-mix(in srgb, var(--color-text, #1a1a1a) 9%, transparent);

    /* Soft layered elevation — the "printed card" feel. */
    --shadow-sm: 0 1px 2px rgba(20, 24, 33, .05), 0 2px 6px rgba(20, 24, 33, .05);
    --shadow: 0 10px 24px -14px rgba(20, 24, 33, .28), 0 3px 10px -6px rgba(20, 24, 33, .12);
    --shadow-lg: 0 40px 70px -40px rgba(20, 24, 33, .38), 0 14px 30px -18px rgba(20, 24, 33, .18);

    /* A touch more paper warmth on raised panels. */
    --surface: color-mix(in srgb, var(--color-background, #fff) 94%, var(--color-primary, #14508c) 6%);
    --surface-2: color-mix(in srgb, var(--color-background, #fff) 88%, var(--color-primary, #14508c) 12%);

    /* Motion: a slow, settling editorial ease. */
    --reveal-distance: 20px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* -----------------------------------------------------------------------------
   Base type — a literary body voice on warm paper
   -------------------------------------------------------------------------- */
body {
    font-family: var(--font-body, Spectral, Georgia, serif);
    background:
        radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--color-accent, #c0392b) 5%, transparent), transparent 60%),
        var(--color-background, #fbf8f3);
    color: var(--color-text, #23201c);
    font-size: var(--font-size, 1.06rem);
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

p { max-width: 68ch; }

/* -----------------------------------------------------------------------------
   Headings — Fraunces: high-contrast, optically warm, oversized
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .display {
    font-family: var(--font-heading, Fraunces, Georgia, serif);
    font-weight: 560;
    line-height: 1.08;
    letter-spacing: -0.012em;
    font-optical-sizing: auto;
    color: color-mix(in srgb, var(--color-text, #23201c) 96%, var(--color-primary, #14508c));
}

.display {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.02;
    font-size: clamp(2.5rem, 1.6rem + 4.1vw, 4.9rem);
}

h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.7rem); }
h2 { font-size: clamp(1.85rem, 1.35rem + 1.9vw, 2.85rem); }
h3 { font-size: clamp(1.28rem, 1.05rem + .8vw, 1.7rem); font-weight: 580; }

.lede {
    font-size: clamp(1.12rem, 1.02rem + .5vw, 1.4rem);
    line-height: 1.62;
    color: color-mix(in srgb, var(--color-text, #23201c) 82%, var(--color-background));
    font-weight: 400;
}

/* Two-tone headline word — the accent, kept editorial (italic serif flourish). */
.hl {
    color: var(--color-accent-text, var(--color-accent, #c0392b));
    font-style: italic;
    font-weight: 500;
}

/* Pull-quotes read as literary marginalia. */
blockquote.lede {
    font-style: italic;
    border-left: 3px solid var(--color-accent, #c0392b);
    padding-left: 1.15rem;
    color: color-mix(in srgb, var(--color-text, #23201c) 88%, var(--color-background));
}

/* -----------------------------------------------------------------------------
   Eyebrows — airy serif small-caps kickers (the chapter-break device)
   -------------------------------------------------------------------------- */
.eyebrow {
    font-family: var(--font-heading, Fraunces, serif);
    font-style: italic;
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: .02em;
    text-transform: none;
    color: var(--color-accent-text, var(--color-accent, #c0392b));
    display: inline-flex;
    align-items: center;
    gap: .6rem;
}

/* A quiet ruled tick before a plain serif eyebrow. */
.section-head .eyebrow:not(.chip-kicker)::before,
.feature-row-body .eyebrow:not(.chip-kicker)::before {
    content: "";
    width: 2.2rem;
    height: 1px;
    background: var(--color-accent, #c0392b);
    opacity: .7;
}

/* The pill-style kicker: soft, warm, understated (base owns its box sizing). */
.eyebrow.chip-kicker {
    font-style: normal;
    font-size: .82rem;
    letter-spacing: .04em;
    padding: .34em .82em;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-accent, #c0392b) 12%, var(--color-background));
    color: var(--color-accent-text, var(--color-accent, #c0392b));
    border: 1px solid color-mix(in srgb, var(--color-accent, #c0392b) 26%, transparent);
}
.eyebrow.chip-kicker .dot {
    width: .5em;
    height: .5em;
    border-radius: 999px;
    background: var(--color-signal, var(--color-accent, #2f9e57));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-signal, #2f9e57) 25%, transparent);
    animation: lci-pulse 2.6s ease-in-out infinite;
}
@keyframes lci-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
    .eyebrow.chip-kicker .dot { animation: none; }
}

/* -----------------------------------------------------------------------------
   Section rhythm — roomy, paced by quiet ruled chapter breaks
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(3.5rem, 2.4rem + 4vw, 6.5rem); }
.section-lg { padding-block: clamp(4.5rem, 3rem + 6vw, 9rem); }
.section-sm { padding-block: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); }

.section-head { margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.4rem); }
.section-head .lede { margin-top: .85rem; }
.section-head h2 { max-width: 20ch; }
.section-head[data-options~="text-center"] h2,
.section-head.text-center h2 { max-width: none; }

/* -----------------------------------------------------------------------------
   Buttons — softened, tactile, with a gentle lift
   -------------------------------------------------------------------------- */
.btn, .btn-outline {
    font-family: var(--font-heading, Fraunces, serif);
    font-weight: 550;
    letter-spacing: .002em;
    border-radius: 999px;
    padding: .74em 1.5em;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s;
}
.btn {
    background: var(--color-primary, #14508c);
    color: var(--color-on-primary, #fff);
    box-shadow: var(--shadow-sm);
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    background: color-mix(in srgb, var(--color-primary, #14508c) 90%, #000);
}
.btn:active { transform: translateY(0); }
.btn-lg { padding: .92em 1.9em; font-size: 1.06rem; }

.btn-outline {
    border: 1.5px solid color-mix(in srgb, var(--color-primary, #14508c) 45%, transparent);
    color: var(--color-primary, #14508c);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--color-primary, #14508c);
    background: color-mix(in srgb, var(--color-primary, #14508c) 8%, transparent);
    transform: translateY(-2px);
}

.hero-actions { gap: .9rem; margin-top: 1.6rem; }
.hero-actions[data-options~="justify-end"] { justify-content: flex-end; }

/* Animated link underline — a slow ink wipe. */
.link-underline {
    font-family: var(--font-heading, Fraunces, serif);
    font-weight: 520;
    color: var(--color-primary, #14508c);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.link-underline .icon { transition: transform .35s var(--ease); }
.link-underline:hover .icon { transform: translateX(4px); }

/* -----------------------------------------------------------------------------
   Header — a calm, printed masthead
   -------------------------------------------------------------------------- */
.site-header {
    background: color-mix(in srgb, var(--color-background, #fbf8f3) 82%, transparent);
    backdrop-filter: saturate(1.2) blur(12px);
    -webkit-backdrop-filter: saturate(1.2) blur(12px);
    border-bottom: 1px solid var(--rule-soft);
    transition: box-shadow .3s var(--ease), background-color .3s;
}
.site-header.is-scrolled {
    box-shadow: var(--shadow);
    background: color-mix(in srgb, var(--color-background, #fbf8f3) 92%, transparent);
}
.site-header .nav-menu { gap: 10px; }
.site-header .nav-menu :is(li:nth-child(3), li:nth-child(4), li:nth-child(5)) {
  padding: 0 5px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 2px;
  transition: color .15s ease, background-color .15s ease, box-shadow .2s ease, transform .2s ease, filter .15s ease;
}
.site-header .nav-menu :is(li:nth-child(3):hover, li:nth-child(4):hover, li:nth-child(5):hover) {
  border: 1px solid rgba(255,255,255,.4);
}

/* The hamburger takes over at 1200px (base.css only switches at 768px), so this
   block carries the whole mobile sheet — without it the toggle flips .is-open on
   a nav nothing ever shows. The sheet matches the gray header so the white links
   stay readable. */
@media (max-width: 1200px) {
  .site-header { justify-content: flex-end; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: var(--space) calc(var(--space) * 1.5);
    background: #636363;
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow, 0 8px 24px rgba(0,0,0,.12));
    z-index: 40;
  }
  .site-nav.is-open { display: block; }
  .nav-toggle { display: flex; }
  .site-header .brand { margin-right: auto; }
  .site-header .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header .nav-menu .nav-item { border: 0; border-bottom: 1px solid rgba(255,255,255,.15); border-radius: 0; padding: 0; }
  .site-header .site-nav .nav-menu .nav-item:hover { border: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav-item .nav-link { padding: .75em 0; }
  .has-dropdown { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .has-dropdown > .nav-dropdown { grid-column: 1 / -1; }
  .nav-dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 0 var(--space);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-dropdown a.nav-link { color: #fff; }
  .nav-sub-toggle { width: 2.5rem; height: 2.5rem; color: #fff; }
  .nav-sub-toggle[aria-expanded="true"] + .nav-dropdown { display: block; }
  .nav-sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); }
}
@media (max-width: 400px) {
  .nav-search { display: none; }
}

.brand {
    font-family: var(--font-heading, Fraunces, serif);
    font-weight: 600;
    letter-spacing: -.02em;
    font-size: 1.32rem;
    color: var(--color-primary, #14508c);
    flex-shrink: 0;
}

.nav-link.is-active,
.nav-item.has-current > .nav-link { color: var(--color-primary), var(--color-accent, #c0392b)); }

/* Recolor the dropdown surface only — base.css owns behavior + the caret. */
.nav-dropdown {
    background: var(--color-background, #fbf8f3);
    border: 1px solid var(--rule-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.nav-dropdown a.nav-link { color: #111; }
.nav-dropdown a.nav-link:hover { color: var(--color-primary); }

/* Ribbon + announcement bars. */
.ribbon {
    background: color-mix(in srgb, var(--color-primary, #14508c) 92%, #000);
    color: var(--color-on-primary, #fff);
    font-size: .84rem;
}
.ribbon a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.announcement {
    background: var(--color-accent, #c0392b);
    color: var(--color-on-accent, #fff);
    text-align: center;
    font-family: var(--font-heading, serif);
    font-size: .92rem;
    padding: .55rem 1rem;
}
.announcement a { color: inherit; }

/* Keep the search glyph centered (base owns it) — recolor only. */
.nav-search { color: var(--color-primary, #14508c); }
.nav-search:hover { color: var(--color-accent-text, var(--color-accent, #c0392b)); }

/* -----------------------------------------------------------------------------
   Cards & panels — tactile printed cards
   -------------------------------------------------------------------------- */
.card {
    border-radius: var(--radius-lg);
    background: var(--color-background, #fbf8f3);
    border: 1px solid var(--rule-soft);
    box-shadow: var(--shadow);
    padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.3rem);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.card .link-underline { margin-top: .5rem; }

/* Offset overlap card — overhang with real elevation. */
.offset-card {
    background: var(--color-background, #fbf8f3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--rule-soft);
    padding: clamp(1.7rem, 1.2rem + 1.6vw, 2.8rem);
}
.offset-media img,
.offset-media > * { border-radius: var(--radius-lg); }

/* -----------------------------------------------------------------------------
   Imagery — printed-plate framing, warm duotone
   -------------------------------------------------------------------------- */
img { border-radius: var(--radius); }
.media img,
.media > [role="img"],
.split .media img,
.feature-row .media img {
    border-radius: var(--radius-lg);
    object-fit: cover;
    width: 100%;
    box-shadow: var(--shadow);
}
.media { position: relative; }

/* Warm brand duotone for cohesion. */
.duotone img,
.duotone {
    filter: grayscale(1) contrast(1.02);
}
.duotone { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.duotone::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg,
        color-mix(in srgb, var(--color-primary, #14508c) 62%, transparent),
        color-mix(in srgb, var(--color-accent, #c0392b) 32%, transparent));
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* Hero photo scrim — warmer, deeper. */
.scrim::after {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-primary, #14508c) 32%, transparent) 0%,
        rgba(20, 24, 33, .68) 100%);
}
.hero.scrim .display { max-width: 16ch; }

/* -----------------------------------------------------------------------------
   Home hero carousel — four full-bleed slides (current hero + the three
   service lines) crossfading behind a shared dot nav. Site-specific: not a
   base.css primitive.
   -------------------------------------------------------------------------- */
.hero-carousel {
    position: relative;
    padding: 0;
    overflow: hidden;
}
.hero-carousel-viewport {
    position: relative;
    min-height: clamp(34rem, 27rem + 24vw, 48rem);
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    transition: opacity 1.1s var(--ease), visibility 1.1s;
    padding-block: clamp(3.5rem, 2.4rem + 4vw, 6.5rem);
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.hero-slide .container { width: 100%; }
.hero-slide .display { max-width: 18ch; }
.hero-slide .lede { margin-top: .9rem; }
.hero-slide .hero-actions { margin-top: 1.6rem; }
.hero-caption {
    margin-top: 1rem;
    font-size: .85rem;
    font-family: var(--font-body, Spectral, serif);
    color: color-mix(in srgb, #fff 68%, transparent);
}

.hero-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: clamp(1.2rem, .8rem + 1.5vw, 2.2rem);
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: .6rem;
}
.hero-dot {
    width: .6rem;
    height: .6rem;
    border-radius: 999px;
    border: 1.5px solid color-mix(in srgb, #fff 70%, transparent);
    background: color-mix(in srgb, #fff 25%, transparent);
    padding: 0;
    cursor: pointer;
    transition: background-color .3s var(--ease), width .3s var(--ease), border-color .3s;
}
.hero-dot:hover { background: color-mix(in srgb, #fff 55%, transparent); }
.hero-dot.is-active {
    background: #fff;
    width: 1.8rem;
    border-color: #fff;
}
@media (max-width: 40rem) {
    .hero-slide .display { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: opacity .3s linear; }
}

/* Floating product plate glow. */
.aura { position: relative; }
.aura::before {
    content: "";
    position: absolute;
    inset: -12% -6% 4%;
    background: radial-gradient(60% 60% at 50% 40%,
        color-mix(in srgb, var(--color-accent, #c0392b) 32%, transparent), transparent 70%);
    filter: blur(50px);
    z-index: -1;
}
.device {
    border-radius: var(--radius-lg);
    border: 1px solid var(--rule-soft);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    background: var(--color-background);
}
.device img { border-radius: 0; display: block; width: 100%; }

/* Proof-figure pinned to a photo corner — frosted printed tag. */
.media-stat {
    position: absolute;
    left: 1.1rem;
    bottom: 1.1rem;
    background: color-mix(in srgb, var(--color-background, #fbf8f3) 86%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: .8rem 1.1rem;
    display: flex;
    flex-direction: column;
}
.media-stat .stat-num { font-size: 1.75rem; line-height: 1; }
.media-stat .stat-label { font-size: .8rem; margin-top: .2rem; }

/* -----------------------------------------------------------------------------
   Statistics — oversized editorial pull-quote numbers
   -------------------------------------------------------------------------- */
.stat-num {
    font-family: var(--font-heading, Fraunces, serif);
    font-weight: 600;
    color: var(--color-accent-text, var(--color-accent, #c0392b));
    letter-spacing: -.02em;
    line-height: 1;
    font-size: clamp(2.4rem, 1.7rem + 2.4vw, 3.6rem);
    white-space: nowrap;
}
.stat-label {
    font-family: var(--font-body, Spectral, serif);
    font-style: italic;
    color: var(--color-muted, #6a6357);
    font-size: .96rem;
    margin-top: .55rem;
    line-height: 1.4;
}
.stats { gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.stat { padding-block: .5rem; }

/* Big pull-quote metric split (used on energy pages). */
.metric-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: clamp(1.8rem, 1.2rem + 3vw, 4rem);
    align-items: center;
}
.metric-figure .stat-num {
    font-size: clamp(4rem, 2.5rem + 7vw, 9rem);
    display: block;
}
.metric-cap { max-width: 60ch; }

/* -----------------------------------------------------------------------------
   Steps — numbered chapter markers, soft cards
   -------------------------------------------------------------------------- */
.step {
    background: var(--color-background, #fbf8f3);
    border: 1px solid var(--rule-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
}
.step-num {
    font-family: var(--font-heading, Fraunces, serif);
    font-weight: 600;
    font-style: italic;
    background: color-mix(in srgb, var(--color-primary, #14508c) 10%, var(--color-background));
    color: var(--color-primary, #14508c);
    border: 1px solid color-mix(in srgb, var(--color-primary, #14508c) 24%, transparent);
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    font-size: 1.2rem;
}
.step h3 { margin-top: 1rem; }

/* -----------------------------------------------------------------------------
   Feature rows — calm asymmetric editorial splits
   -------------------------------------------------------------------------- */
.feature-row { gap: clamp(1.8rem, 1.2rem + 3vw, 4.5rem); align-items: center; }
.feature-row-body h3 { margin-top: .3rem; }

.split { gap: clamp(1.8rem, 1.2rem + 3vw, 4.5rem); }
.split-wide { gap: clamp(2rem, 1.2rem + 3.5vw, 5rem); }

/* -----------------------------------------------------------------------------
   Editorial / bento grids
   -------------------------------------------------------------------------- */
.editorial-grid { gap: clamp(1.2rem, .9rem + 1.2vw, 2rem); }
.bento { gap: clamp(1.2rem, .9rem + 1.2vw, 2rem); }

/* -----------------------------------------------------------------------------
   Testimonials / proof cards
   -------------------------------------------------------------------------- */
.testimonial {
    background: var(--color-background, #fbf8f3);
    border: 1px solid var(--rule-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem);
}
.testimonial blockquote {
    font-family: var(--font-heading, Fraunces, serif);
    font-style: italic;
    font-size: 1.16rem;
    line-height: 1.5;
    font-weight: 450;
}
.testimonial .author {
    font-family: var(--font-body, Spectral, serif);
    font-size: .92rem;
    color: var(--color-muted, #6a6357);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rule-soft);
    line-height: 1.5em;
    gap: 5px;
}
.testimonial .author .author-meta { text-align: left; }

/* -----------------------------------------------------------------------------
   Callout band — a boxed field-note aside
   -------------------------------------------------------------------------- */
.callout-band {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem 2.4rem;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    border: 1px solid var(--rule-soft);
    border-left: 4px solid var(--color-accent, #c0392b);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(1.6rem, 1.2rem + 1.8vw, 2.8rem);
}
.callout-copy { flex: 1 1 22rem; }
.callout-copy h3 { margin-bottom: .5rem; }
.callout-copy p { margin: 0; }
.callout-actions { flex: 0 0 auto; }

/* -----------------------------------------------------------------------------
   Logo grid / marquee — quiet monogram plates
   -------------------------------------------------------------------------- */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 1.1rem;
}
.logo-cell {
    display: flex;
    align-items: center;
    gap: .9rem;
    background: var(--color-background, #fbf8f3);
    border: 1px solid var(--rule-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.2rem;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.logo-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.logo-cell-label {
    font-family: var(--font-heading, Fraunces, serif);
    font-weight: 520;
    font-size: .96rem;
    line-height: 1.3;
}
.marquee-track { gap: 3rem; }
.marquee-track img,
.marquee img { border-radius: 0; max-height: 40px; filter: grayscale(1); transition: all .2s; }
.marquee-track img:hover,
.marquee img:hover { filter: grayscale(0); }

/* -----------------------------------------------------------------------------
   Accolades — vetting badges with centered icon tiles
   -------------------------------------------------------------------------- */
.accolades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: clamp(1.2rem, .9rem + 1.2vw, 2rem);
}
.accolade {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    background: var(--color-background, #fbf8f3);
    border: 1px solid var(--rule-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
}
.accolade-figure {
    display: grid;
    place-items: center;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--color-accent, #c0392b) 12%, var(--color-background));
    color: var(--color-accent-text, var(--color-accent, #c0392b));
    margin-bottom: .35rem;
}
.accolade-figure .icon { width: 1.5rem; height: 1.5rem; }
.accolade-title {
    font-family: var(--font-heading, Fraunces, serif);
    font-style: italic;
    font-weight: 540;
    font-size: 1.14rem;
}
.accolade-meta { color: var(--color-muted, #6a6357); font-size: .94rem; line-height: 1.45; }

/* -----------------------------------------------------------------------------
   Contact panel — labelled field rows
   -------------------------------------------------------------------------- */
.contact-panel { display: grid; gap: .9rem; margin-top: 1.6rem; }

.contact-item .icon {
    color: var(--color-primary, #14508c);
    width: 1.25rem;
    height: 1.25rem;
}
.contact-item .label {
    font-family: var(--font-heading, Fraunces, serif);
    font-style: italic;
    color: var(--color-muted, #6a6357);
    font-size: .95rem;
}
.contact-item .value {
    grid-column: 1 / -1;
    font-size: 1.05rem;
}
@media (min-width: 40rem) {
    .contact-item .value { grid-column: 3; justify-self: end; text-align: right; }
}

/* -----------------------------------------------------------------------------
   Forms — soft, warm inputs
   -------------------------------------------------------------------------- */
.form, .signup-form { display: grid; gap: 1.1rem; }
.field label {
    font-family: var(--font-heading, Fraunces, serif);
    font-style: italic;
    font-weight: 500;
    font-size: .98rem;
    margin-bottom: .35rem;
    display: block;
}
.field input,
.field textarea,
.field select {
    border-radius: var(--radius);
    border: 1px solid var(--rule);
    background: var(--color-background, #fbf8f3);
    font-family: var(--font-body, Spectral, serif);
    padding: .8em 1em;
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--color-primary, #14508c);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary, #14508c) 18%, transparent);
    outline: none;
}

/* -----------------------------------------------------------------------------
   Prose (privacy / terms / blog body)
   -------------------------------------------------------------------------- */
.prose { font-size: 1.08rem; line-height: 1.78; }
.prose h3 {
    margin-top: 2.2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--rule-soft);
}
.prose p { max-width: 72ch; }
.prose a { color: var(--color-primary, #14508c); }

/* -----------------------------------------------------------------------------
   Comparison / data tables
   -------------------------------------------------------------------------- */
.table-wrap { border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--rule-soft); }
.comparison, .data-table { width: 100%; border-collapse: collapse; background: var(--color-background, #fbf8f3); }
.comparison th, .data-table th {
    font-family: var(--font-heading, Fraunces, serif);
    font-weight: 560;
    text-align: left;
    padding: 1rem 1.2rem;
    background: var(--surface);
    border-bottom: 1px solid var(--rule);
}
.comparison td, .data-table td {
    padding: .95rem 1.2rem;
    border-bottom: 1px solid var(--rule-soft);
}
.comparison tr:hover td, .data-table tr:hover td {
    background: color-mix(in srgb, var(--color-primary, #14508c) 4%, transparent);
}

/* -----------------------------------------------------------------------------
   FAQ accordion — recolor the disclosure surface
   -------------------------------------------------------------------------- */
.faq details {
    border: 1px solid var(--rule-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background: var(--color-background, #fbf8f3);
    margin-bottom: .9rem;
}
.faq summary {
    font-family: var(--font-heading, Fraunces, serif);
    font-weight: 520;
    font-size: 1.1rem;
    padding: 1.1rem 1.3rem;
}
.faq-answer { padding: 0 1.3rem 1.2rem; }

/* -----------------------------------------------------------------------------
   Colored bands — keep the warm signal alive on brand surfaces
   -------------------------------------------------------------------------- */
[data-options~="background-primary"] .stat-num,
[data-options~="background-contrast"] .stat-num,
.section-invert .stat-num {
    color: color-mix(in srgb, var(--color-on-primary, #fff) 88%, var(--color-accent, #c0392b));
}
[data-options~="background-primary"] .eyebrow,
[data-options~="background-contrast"] .eyebrow {
    color: color-mix(in srgb, var(--color-on-primary, #fff) 90%, var(--color-accent, #c0392b));
}
.spotlight[data-options~="background-primary"] .hl,
[data-options~="background-contrast"] .hl {
    color: color-mix(in srgb, var(--color-on-primary, #fff) 84%, var(--color-accent, #c0392b));
}

/* -----------------------------------------------------------------------------
   Footer — a quiet colophon
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--color-text, #0d141c);
    color: color-mix(in srgb, #fff 82%, var(--color-text));
    border-top: 1px solid var(--color-primary, #3baeef);
}
.site-footer a { color: color-mix(in srgb, #fff 82%, transparent); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: var(--color-on-primary, #fff); }
.footer-tagline { font-style: italic; opacity: .82; }
.footer-col-title {
    font-family: var(--font-heading, Fraunces, serif);
    font-weight: 550;
    color: var(--color-on-primary, #fff);
}
.footer-nav a,
.footer-contact a,
.footer-contact span,
.footer-social a { color: inherit; }
.footer-nav a:hover,
.footer-social a:hover,
.footer-contact a:hover { color: var(--color-on-primary, #fff); }
.footer-bottom { border-top: 1px solid color-mix(in srgb, var(--color-on-primary, #fff) 16%, transparent); }
.footer-signup-btn { padding: .7em .9em; }

/* -----------------------------------------------------------------------------
   Motion — a slower, settling editorial reveal
   -------------------------------------------------------------------------- */
.reveal, [data-reveal] { transition-timing-function: var(--ease); transition-duration: .8s; }

/* -----------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 52rem) {
    body { line-height: 1.68; }
    .callout-band { flex-direction: column; align-items: flex-start; }
    .callout-actions { width: 100%; }
    .callout-actions .btn { width: 100%; text-align: center; }
    .hero-actions[data-options~="justify-end"] { justify-content: flex-start; }
    .metric-figure .stat-num { font-size: clamp(3.4rem, 2.5rem + 8vw, 5rem); }
}

@media (prefers-reduced-motion: reduce) {
    .card:hover, .btn:hover, .logo-cell:hover, .accolade:hover { transform: none; }
}

/* inspector:.brand-logo */
.brand-logo {
    max-height: 60px;
}
/* inspector-end:.brand-logo */

/* inspector:.nav-link */
.nav-link {
    font-weight: 500;
    color: #fff;
    font-size: .86em;
}
/* inspector-end:.nav-link */

.container {
    margin: 0px;
}

.is-active {
    color: var(--color-primary, #14508c);
}

/* inspector:[data-ed-sid="e2nud9m"] */
[data-ed-sid="e2nud9m"] {
  font-style: italic;
  line-height: 1.4em;
  font-family: var(--header-font);
}
/* inspector-end:[data-ed-sid="e2nud9m"] */

/* inspector:.container */
.container {
  margin: 0px auto;
}
/* inspector-end:.container */

/* inspector:[data-ed-sid="e1yca6b"] */
[data-ed-sid="e1yca6b"] {
  width: 100%;
  max-width: 100%;
  height: auto;
}
/* inspector-end:[data-ed-sid="e1yca6b"] */

.nav-toggle-bar {
    background-color: #ffffff;
}

.nav-toggle-bar {
    background-color: #ffffff;
}

/* inspector:.blog-card */
.blog-card {
  min-width: 300px;
  max-width: unset;
}
/* inspector-end:.blog-card */

/* inspector:.contact-item */
.contact-item {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: .5rem 1rem;
    padding-block: .85rem;
    border-bottom: 1px solid var(--rule-soft);
    padding: 15px;
}
.contact-item:last-child {
    border-bottom: 0;
}
/* inspector-end:.contact-item */

[data-ed-coll="b912b2fa"] .collection-heading {
    margin: 50px 0px 0px;
}

[data-ed-coll="b912b2fa"] .collection-heading {
    margin: 50px 0px 0px;
    font-size: 35px;
}

[data-ed-coll="b912b2fa"] h3 {
    margin: 0px;
}
