/* ============================================================
   LuminaThera Block Theme — design-system.css
   
   Bridge between the canonical design system tokens
   (tendingthelight/colors_and_type.css) and
   WordPress block theme rendering.
   
   theme.json handles: colors, fonts, spacing, font sizes.
   This file handles: everything theme.json cannot express —
   semantic classes, CTA primitives, surface text rules,
   motion, borders, shadows, and block-specific layout.
   ============================================================ */

/* -- CSS Custom Properties ---------------------------------- */
/* Mirror the canonical tokens for use in block templates.
   theme.json generates --wp--preset--* and --wp--custom--*
   variables; these aliases provide shorter names for templates. */

:root {
    /* Surface tokens — aliased from theme.json palette */
    --surface-1:        var(--wp--preset--color--surface-1);
    --surface-2:        var(--wp--preset--color--surface-2);
    --surface-3:        var(--wp--preset--color--surface-3);
    --surface-4:        var(--wp--preset--color--surface-4);
    --surface-card:     var(--wp--preset--color--surface-card);
    --surface-overlay:  var(--wp--preset--color--surface-overlay);
    --surface-overlay-card: var(--wp--preset--color--surface-overlay-card);
    --copper:           var(--wp--preset--color--copper);
    --copper-glow:      var(--wp--preset--color--copper-glow);
    --copper-text:      var(--wp--preset--color--copper-text);  /* action copper, AA on cream */
    --copper-text-sand: #984510; /* readable copper text on every light surface */
    --copper-on-dark:   #F3BFA1; /* warm copper text, 5.3:1 on surface-3 */
    --action-copper:       var(--copper-text);      /* cream text meets AA */
    --action-copper-hover: var(--copper-text-sand); /* deeper, still recognizably copper */

    /* Font aliases — matches canonical system tokens */
    --font-sans:  var(--wp--preset--font-family--body);
    --font-serif: var(--wp--preset--font-family--display);
    --cream:            var(--wp--preset--color--cream);
    --white:            var(--wp--preset--color--white);
    --teal-deep:        var(--wp--preset--color--teal-deep);
    --teal-mid:         var(--wp--preset--color--teal-mid);
    --teal-light:       var(--wp--preset--color--teal-light);
    --charcoal:         var(--wp--preset--color--charcoal);

    /* Text tokens */
    --text-heading:      var(--wp--preset--color--text-heading);
    --text-body:         var(--wp--preset--color--text-body);
    --text-muted:        var(--wp--preset--color--text-muted);
    --text-muted-sand:   var(--text-muted);
    --foreground:        var(--wp--preset--color--foreground);
    --muted-foreground:  var(--wp--preset--color--muted-foreground);
    --fg-on-dark:        rgba(255,255,255,0.90);
    --fg-on-dark-body:   rgba(255,255,255,0.82);
    --fg-on-dark-muted:  rgba(255,255,255,0.68);
    --fg-on-card:        rgba(255,255,255,0.84);

    /* Convenience aliases (canonical §08.4) */
    --fg-1: var(--charcoal);
    --fg-2: var(--text-body);
    --fg-3: var(--text-muted);

    /* Borders — from canonical tokens */
    --border-dark-subtle:   var(--wp--custom--border--dark-subtle);
    --border-dark-divider:  var(--wp--custom--border--dark-divider);
    --border-dark-strong:   var(--wp--custom--border--dark-strong);
    --border-light-subtle:  rgba(18, 51, 58, 0.12); /* increased contrast for light surfaces */
    --border-light-divider: var(--wp--custom--border--light-divider);
    --border-light-strong:  var(--wp--custom--border--light-strong);
    --surface-light-card:   rgba(18, 51, 58, 0.035); /* soft warm-teal card background */

    /* Editorial interaction system — copper is reserved for primary action
       and rare emphasis, while ink, surface tone, and mineral rules carry UI. */
    --interaction-ink:        var(--text-heading);
    --interaction-ink-muted:  var(--text-muted);
    --interaction-rule:       rgba(20, 47, 56, 0.16);
    --interaction-rule-hover: rgba(20, 47, 56, 0.30);
    --interaction-wash:       rgba(20, 47, 56, 0.045);
    --clay-muted:             #9b6b53;
    --focus-ring:             currentColor;
    --link-color:             var(--fg-on-dark);
    --link-hover:             var(--white);

    /* Ask First Analytics adapter. The plugin owns structure and behavior;
       LuminaThera maps only its existing semantic design tokens. */
    --afa-font-body:       var(--font-sans);
    --afa-font-heading:    var(--font-serif);
    --afa-text:            var(--text-heading);
    --afa-muted:           var(--text-muted);
    --afa-surface:         var(--cream);
    --afa-surface-elevated: var(--white);
    --afa-border:          var(--border-light-strong);
    --afa-link:            var(--copper-text);
    --afa-primary-bg:      var(--teal-deep);
    --afa-primary-text:    var(--white);
    --afa-secondary-bg:    var(--cream);
    --afa-secondary-text:  var(--text-heading);
    --afa-focus:           var(--teal-deep);
    --afa-radius:          var(--radius);
    --afa-shadow:          var(--shadow-cta);
    /* 1.2.0 launcher dimension tokens replace the old !important overrides. */
    --afa-launcher-height:    2.25rem;
    --afa-launcher-padding:   0.625rem 1.125rem;
    --afa-launcher-font-size: 11px;

    /* Utility pill (style guide v1.8 §05.3, ratified 2026-08-08).
       Chrome-level control for dark surfaces: nav-CTA pill grammar
       (radius-pill, uppercase, 0.15em tracking, weight 500) at a quieter
       11px sizing profile. Surface-2 fill stepping to surface-card on
       hover — reads as architecture, not an added element. Not a CTA
       tier; never copper. Consumed by .lt-cta--utility and by the AFA
       footer-launcher rescope below so class and launcher can't drift. */
    --utility-pill-bg:         var(--surface-2);
    --utility-pill-bg-hover:   var(--surface-card);
    --utility-pill-text:       var(--fg-on-dark-muted);
    --utility-pill-text-hover: var(--fg-on-dark);

    /* Radius */
    --radius:           var(--wp--custom--radius--default);
    --radius-card:      var(--wp--custom--radius--card);
    --radius-panel:     var(--wp--custom--radius--panel);
    --radius-section:   var(--wp--custom--radius--section);
    --radius-section-lg:var(--wp--custom--radius--section-lg);
    --radius-pill:      var(--wp--custom--radius--pill);

    /* Shadows */
    --shadow-card:      var(--wp--custom--shadow--card);
    --shadow-cta:       var(--wp--custom--shadow--cta);

    /* Motion */
    --duration-fast:    var(--wp--custom--duration--fast);
    --duration-normal:  var(--wp--custom--duration--normal);
    --duration-slow:    var(--wp--custom--duration--slow);
    --duration-reveal:  var(--wp--custom--duration--reveal);
    --ease-default:     var(--wp--custom--ease--default);
    --ease-smooth:      var(--wp--custom--ease--smooth);
    --ease-entrance:    cubic-bezier(0.22, 1, 0.36, 1);

    /* Hero scale variants */
    --hero-heading-default:   clamp(2.5rem, 5.5vw, 4.5rem);
    --hero-heading-cinematic: clamp(2.8rem, 7vw, 6.2rem);
    --body:                   clamp(1rem, 0.25vw + 0.95rem, 1.125rem);

    /* Layout tokens */
    --lt-content-width:    1400px;
    --lt-gutter:           clamp(1.5rem, 4vw, 5rem);
    --lt-section-padding:  clamp(5rem, 7.5vw, 7rem);
    --lt-section-padding-sm: clamp(4rem, 6vw, 5rem);
    --lt-section-padding-lg: clamp(6.5rem, 10vw, 9.5rem);

    /* Statement scale — large serif moments between heading-2 and hero:
       pull-quote, cinematic close-hero heading below 768px. Sized so a
       statement reads bigger than a section heading but never competes
       with the entrance hero (creative-review-002 P1.2). */
    --statement: clamp(2.4rem, 3.5vw, 3.4rem);

    /* Extended shadows */
    --shadow-hover:     0 12px 40px rgba(0,0,0,0.35);
    --shadow-elevated:  0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
    --shadow-soft:      0 8px 28px rgba(0,0,0,0.15);

    /* Extended radius */
    --radius-sm:        4px;
    --radius-circle:    50%;

    /* == DEFAULT VARIATION FALLBACK (Dark 3) == */
    --section-bg: var(--surface-3);
    --section-heading: var(--fg-on-dark);
    --section-body: var(--fg-on-dark-body);
    --section-muted: var(--fg-on-dark-muted);
    --section-copper: var(--copper-on-dark);
    --section-divider-dot: rgba(255, 255, 255, 0.20);
    --border-subtle: var(--border-dark-subtle);
    --border-divider: var(--border-dark-divider);
    --section-card-bg: rgba(255, 255, 255, 0.03);
    --card-emphasis-bg: var(--surface-card);
    --card-emphasis-shadow: var(--shadow-card);
}

/* Ask First Analytics legibility fix (2026-08-08). The plugin's own rules
   live inside @layer ask-first-analytics, so the GLOBAL TYPOGRAPHY CASCADES
   below — which are unlayered — always win the color property on any bare
   h1-h6/p element regardless of specificity (unlayered beats layered per
   the CSS cascade, full stop). Since :root's default --section-heading/
   --section-body fallback is the dark-surface ("Dark 3") token and the
   panel is a fixed-position overlay outside the normal section-scoping
   system, its title/description/legend text was inheriting near-white
   color against its own cream/white surface. Re-scope the section tokens
   at the plugin's own root so the existing --afa-* mapping actually reaches
   the rendered text, and back it with direct class overrides for the
   elements that don't route through --section-*. */
.ask-first-analytics-root,
.ask-first-analytics-fallback {
    --section-heading: var(--afa-text);
    --section-body: var(--afa-muted);
    --section-muted: var(--afa-muted);
}
.ask-first-analytics-panel__title,
.ask-first-analytics-choice legend {
    color: var(--afa-text);
}
.ask-first-analytics-panel__description,
.ask-first-analytics-unavailable,
.ask-first-analytics-choice__option {
    color: var(--afa-text);
}
.ask-first-analytics-policy-link {
    color: var(--afa-link);
}

/* == UTILITY PILL == (style guide v1.8 §05.3)
   Class form for any chrome-level control on a dark surface. */
.lt-cta--utility {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    min-height: 2.25rem;
    padding: 0.625rem 1.125rem;
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: none;
    background: var(--utility-pill-bg);
    color: var(--utility-pill-text);
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--duration-fast) var(--ease-smooth),
                color var(--duration-fast) var(--ease-smooth);
}
.lt-cta--utility:hover,
.lt-cta--utility:focus-visible {
    background: var(--utility-pill-bg-hover);
    color: var(--utility-pill-text-hover);
}

/* AFA footer launcher — rescope to the SAME utility-pill tokens (variant B,
   surface-2 step). Theme rules are unlayered so they win over the plugin's
   @layer defaults without !important. */
.lt-footer__privacy-choices .ask-first-analytics-launcher {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: none;
    background: var(--utility-pill-bg);
    color: var(--utility-pill-text);
    transition: background-color var(--duration-fast) var(--ease-smooth),
                color var(--duration-fast) var(--ease-smooth);
}
.lt-footer__privacy-choices .ask-first-analytics-launcher:hover,
.lt-footer__privacy-choices .ask-first-analytics-launcher:focus-visible {
    background: var(--utility-pill-bg-hover);
    color: var(--utility-pill-text-hover);
    filter: none;
}

/* == AFA CONSENT PROMPT — condensed dark banner == (ratified direction
   2026-08-08: banner follows the utility-pill/footer surface grammar).
   Scoped to the FIRST-RUN prompt only; the preferences dialog keeps its
   light card treatment (it carries the radio choices and needs the room).
   Single-row strip: message + privacy link inline on the left, pill
   actions on the right; banner height is set by the buttons. Wraps
   responsively on narrow viewports. Colors run through the --afa-* tokens
   rescoped here, so the plugin's structure is untouched. */
.ask-first-analytics-prompt {
    --afa-surface: var(--surface-1);
    --afa-text: var(--fg-on-dark-body);
    --afa-muted: var(--fg-on-dark-body);
    --afa-border: rgba(255, 255, 255, 0.14);
    --afa-link: var(--fg-on-dark-muted);
    --afa-panel-offset: 0px;
    --afa-panel-width: 100%;
    border-inline: 0;
    border-bottom: 0;
    border-top: 1px solid var(--afa-border);
    border-radius: 0;
    box-shadow: 0 -0.5rem 1.75rem rgb(0 0 0 / 28%);
}

.ask-first-analytics-prompt .ask-first-analytics-panel__content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1.25rem;
    padding: 0.75rem clamp(1rem, 4vw, 2rem);
}

/* Title stays in the DOM as the dialog's accessible name (aria-labelledby)
   but is visually removed — the single-line message carries the banner. */
.ask-first-analytics-prompt .ask-first-analytics-panel__title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.ask-first-analytics-prompt .ask-first-analytics-panel__description {
    flex: 1 1 22rem;
    min-width: 14rem;
    max-width: none;
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--afa-text);
}

.ask-first-analytics-prompt .ask-first-analytics-policy-link {
    order: 2;
    flex: 0 0 auto;
    margin-inline-start: auto;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: var(--afa-link);
}
.ask-first-analytics-prompt .ask-first-analytics-policy-link:hover {
    color: var(--fg-on-dark);
}

.ask-first-analytics-prompt .ask-first-analytics-panel__actions {
    order: 3;
    display: flex;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    gap: 0.5rem;
}

/* Both decision buttons take the pill grammar. Deny = utility pill
   (variant B); grant = same shape with teal-deep fill as the quiet
   affirmative. Copper stays reserved for conversion. */
.ask-first-analytics-prompt .ask-first-analytics-button {
    /* flex must be explicit: plugin 1.3 consent.css sets flex:1 1 0 on the
       BASE banner button rule (not just its 40rem query), which forces
       equal-width buttons and overflows the longer label. Theme unlayered
       wins; the 40rem query below restores 1 1 0 for stacked mobile. */
    flex: 0 0 auto;
    min-height: 1.75rem;
    padding: 0.3125rem 0.875rem;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: none;
    background: var(--utility-pill-bg);
    color: var(--utility-pill-text);
    transition: background-color var(--duration-fast) var(--ease-smooth),
                color var(--duration-fast) var(--ease-smooth);
}
.ask-first-analytics-prompt .ask-first-analytics-button:hover,
.ask-first-analytics-prompt .ask-first-analytics-button:focus-visible {
    background: var(--utility-pill-bg-hover);
    color: var(--utility-pill-text-hover);
    filter: none;
}
.ask-first-analytics-prompt .ask-first-analytics-button[data-afa-action="grant"] {
    background: var(--teal-deep);
    color: var(--white);
}
.ask-first-analytics-prompt .ask-first-analytics-button[data-afa-action="grant"]:hover,
.ask-first-analytics-prompt .ask-first-analytics-button[data-afa-action="grant"]:focus-visible {
    background: var(--surface-card);
    color: var(--fg-on-dark);
}

@media (max-width: 40rem) {
    .ask-first-analytics-prompt .ask-first-analytics-panel__actions {
        width: 100%;
        margin-inline-start: 0;
    }
    .ask-first-analytics-prompt .ask-first-analytics-button {
        flex: 1 1 0;
    }
}

@media (max-width: 767px) {
    :root {
        --lt-section-padding: clamp(3.2rem, 6vw, 4.2rem);
        --lt-section-padding-sm: clamp(2.2rem, 4vw, 3rem);
        --lt-section-padding-lg: clamp(4.2rem, 8vw, 5.5rem);
        --lt-gutter: 1.25rem;
    }
}

/* == GLOBAL TYPOGRAPHY CASCADES == */
/* Routes standard tags and utilities to the dynamic context variables */
h1, h2, h3, h4, h5, h6,
.lt-heading-1, .lt-heading-2, .lt-heading-3, .lt-heading-4, .lt-heading-5, .lt-heading-6 {
    color: var(--section-heading, var(--text-heading));
    font-family: var(--font-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p, .lt-body, .lt-body-large {
    color: var(--section-body, var(--text-body));
    font-family: var(--font-sans);
}

.lt-text-muted, .lt-eyebrow {
    color: var(--section-muted, var(--text-muted));
    font-family: var(--font-sans);
}

/* Ensure form inputs and buttons do not inherit system fonts */
button, input, select, textarea {
    font-family: var(--font-sans);
}

/* == VARIATION CONTEXT PROVIDERS == */
/* These WP block styles redefine semantic variables used by blocks. */
.is-style-dark-1,
.lt-global-header,
.lt-global-footer {
    --section-bg: var(--surface-1);
    --section-heading: var(--fg-on-dark);
    --section-body: var(--fg-on-dark-body);
    --section-muted: var(--fg-on-dark-muted);
    --section-copper: var(--copper-on-dark);
    --section-divider-dot: rgba(255, 255, 255, 0.20);
    --border-subtle: var(--border-dark-subtle);
    --border-divider: var(--border-dark-divider);
    --section-card-bg: rgba(255, 255, 255, 0.03);
    --card-emphasis-bg: var(--surface-2);
    --card-emphasis-border: rgba(208, 116, 68, 0.42);
    --card-emphasis-shadow: var(--shadow-card);
}
.is-style-dark-2 {
    --section-bg: var(--surface-2);
    --section-heading: var(--fg-on-dark);
    --section-body: var(--fg-on-dark-body);
    --section-muted: var(--fg-on-dark-muted);
    --section-copper: var(--copper-on-dark);
    --section-divider-dot: rgba(255, 255, 255, 0.20);
    --border-subtle: var(--border-dark-subtle);
    --border-divider: var(--border-dark-divider);
    --section-card-bg: rgba(255, 255, 255, 0.03);
    --card-emphasis-bg: var(--surface-3);
    --card-emphasis-border: rgba(208, 116, 68, 0.42);
    --card-emphasis-shadow: var(--shadow-card);
}
.is-style-dark-3 {
    --section-bg: var(--surface-3);
    --section-heading: var(--fg-on-dark);
    --section-body: var(--fg-on-dark-body);
    --section-muted: var(--fg-on-dark-muted);
    --section-copper: var(--copper-on-dark);
    --section-divider-dot: rgba(255, 255, 255, 0.20);
    --border-subtle: var(--border-dark-subtle);
    --border-divider: var(--border-dark-divider);
    --section-card-bg: rgba(255, 255, 255, 0.03);
    --card-emphasis-bg: var(--surface-card);
    --card-emphasis-border: rgba(208, 116, 68, 0.42);
    --card-emphasis-shadow: var(--shadow-card);
}
.is-style-dark-overlay {
    --section-bg: var(--surface-overlay);
    --section-heading: var(--fg-on-dark);
    --section-body: var(--fg-on-dark-body);
    --section-muted: var(--fg-on-dark-muted);
    --section-copper: var(--copper-on-dark);
    --section-divider-dot: rgba(255, 255, 255, 0.20);
    --border-subtle: var(--border-dark-subtle);
    --border-divider: var(--border-dark-divider);
    --section-card-bg: transparent;
    --card-emphasis-bg: var(--surface-overlay-card);
    --card-emphasis-border: rgba(208, 116, 68, 0.42);
    --card-emphasis-shadow: var(--shadow-card);
}
.is-style-light-1,
.is-style-light,
.lt-dual-card.is-style-light {
    --section-bg: var(--cream);
    --section-heading: var(--text-heading);
    --section-body: var(--text-body);
    --section-muted: var(--text-muted);
    --section-copper: var(--copper-text-sand);
    --section-divider-dot: rgba(20, 47, 56, 0.20);
    --border-subtle: var(--border-light-subtle);
    --border-divider: var(--border-light-divider);
    --section-card-bg: var(--surface-light-card);
    --card-emphasis-bg: var(--white);
    --card-emphasis-border: rgba(208, 116, 68, 0.35);
    --card-emphasis-shadow: var(--shadow-soft);
}
.is-style-light-2 {
    --section-bg: var(--surface-4);
    --section-heading: var(--text-heading);
    --section-body: var(--text-body);
    --section-muted: var(--text-muted);
    --section-copper: var(--copper-text-sand);
    --section-divider-dot: rgba(20, 47, 56, 0.20);
    --border-subtle: var(--border-light-subtle);
    --border-divider: var(--border-light-divider);
    --section-card-bg: var(--surface-light-card);
    --card-emphasis-bg: var(--white);
    --card-emphasis-border: rgba(208, 116, 68, 0.35);
    --card-emphasis-shadow: var(--shadow-soft);
}

/* Surface-aware interaction tokens. These deliberately avoid using copper
   as the default border, link hover, or focus color. */
.is-style-dark-1,
.is-style-dark-2,
.is-style-dark-3,
.is-style-dark-overlay,
.lt-global-header,
.lt-global-footer {
    --link-color: var(--fg-on-dark);
    --link-hover: var(--white);
    --interaction-rule: rgba(255, 255, 255, 0.14);
    --interaction-rule-hover: rgba(255, 255, 255, 0.28);
    --interaction-wash: rgba(255, 255, 255, 0.055);
    --interaction-ink-muted: var(--section-muted);
    --focus-ring: var(--cream);
}

.is-style-light-1,
.is-style-light,
.is-style-light-2 {
    --link-color: var(--teal-deep);
    --link-hover: var(--text-heading);
    --interaction-rule: rgba(20, 47, 56, 0.16);
    --interaction-rule-hover: rgba(20, 47, 56, 0.30);
    --interaction-wash: rgba(20, 47, 56, 0.045);
    --interaction-ink-muted: var(--section-muted);
    --focus-ring: var(--text-heading);
}

/* == ON-IMAGE CONTEXT PROVIDER ================================ */
/* SYSTEMIC CONTRAST FIX: Elements that position text on top of
   dark images/overlays must always use light (on-dark) text,
   regardless of whether the parent section is light or dark.
   
   This class locally re-declares --section-* to on-dark values,
   creating a dark-surface text context that is immune to the
   parent's variant.  Apply it to any container whose children
   sit on top of a dark photograph or gradient overlay.
   
   Auto-applied to known text-over-image patterns below so no
   PHP template changes are required.
   ============================================================ */
.lt-on-image,
/* Auto-apply to all known text-over-image containers */
.lt-content-grid__card-content,
.lt-content-grid__card-back,
.lt-image-band__hero-inner,
.lt-bento-caption,
.lt-hero__content,
.lt-hero__bottom-bar {
    --section-heading:  var(--fg-on-dark);
    --section-body:     var(--fg-on-dark-body);
    --section-muted:    var(--fg-on-dark-muted);
    --section-copper:   var(--copper-on-dark);
    --border-subtle:    var(--border-dark-subtle);
    --border-divider:   var(--border-dark-divider);
}

/* -- Global Inner Container Utility ------------------------- */
/* Replaces per-block __inner boilerplate.
   Every block's inner wrapper should use class="lt-inner" */
.lt-inner {
    max-width: var(--lt-content-width);
    margin-inline: auto;
    padding-inline: var(--lt-gutter);
}

/* -- Helper Utilities --------------------------------------- */
.lt-text-center { text-align: center; }
.lt-mx-auto { margin-inline: auto; }
.lt-max-w-3xl { max-width: 48rem; }
.lt-mt-4 { margin-top: 1rem; }
.lt-mt-12 { margin-top: 3rem; }

/* -- Main Layout Spacing ------------------------------------ */
main {
    padding-top: clamp(80px, 10vw, 120px);
}

/* Neutralize clearance when a block provides its own full-bleed entrance */
main:has(.lt-hero),
main:has(.lt-post-detail),
main:has(.lt-team-editorial) {
    padding-top: 0 !important;
}


/* -- Font smoothing ----------------------------------------- */
/* Root stays at the browser default (16px). The old `font-size: var(--body)`
   set root to 18px at desktop, silently inflating every rem-based type and
   spacing value by 12.5% — body copy rendered at 20.25px (creative-review-002
   §1.2). Body copy size is applied at the body element via theme.json
   (styles.typography.fontSize → medium preset). */
html {
    font-size: 100%;
}

body {
    background: var(--section-bg, var(--surface-3));
    color: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* -- Page-level layout: full-width, zero-gap modules -------- */
/* Remove WordPress root-level gaps that leak the body bg above hero */
.wp-site-blocks {
    gap: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* WordPress generates margin-block-start: 24px on all wp-site-blocks children
   except :first-child — that 24px on <main> is the visible teal strip */
.wp-site-blocks > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}
/* Remove WordPress default block spacing/gaps */
.wp-block-post-content > *,
.wp-block-group > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.wp-block-post-content {
    --lt-block-flow-offset: 0px;
}
.wp-block-post-content > [class*="lt-"] {
    margin-block-start: var(--lt-block-flow-offset) !important;
}
/* Remove constrained max-width from page content */
.wp-block-post-content {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Ensure LT blocks fill the full viewport width */
.wp-block-post-content > [class*="lt-"] {
    width: 100%;
    max-width: none;
}
/* Surface-aware safety-net background for every lt-* block tagged with an
   is-style-* variant. Zero specificity via :where() — per-block rules
   (e.g. .lt-three-phase-arc { background: ... }) always win, so this only
   fires for blocks whose own stylesheet is missing or doesn't set a bg.
   Without this, surface-aware text colors apply but the section paints
   nothing, producing dark-text-on-dark-teal-body contrast failures. */
:where([class*="lt-"][class*="is-style-"]) {
    background: var(--section-bg);
}
/* Page title styling for dark background */
.wp-block-post-title {
    color: var(--cream);
    padding-left: var(--lt-gutter);
    padding-right: var(--lt-gutter);
    margin-bottom: clamp(2rem, 4vw, 3rem) !important;
}

/* -- Heading text-wrap -------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}
p {
    text-wrap: pretty;
}

/* -- Labels / Eyebrows ------------------------------------- */
/* Vercel canonical: text-xs tracking-label uppercase, no weight (400 default) */
.lt-label,
.lt-eyebrow {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: var(--wp--preset--font-size--label);
    letter-spacing: var(--wp--custom--tracking--label);
    text-transform: uppercase;
    color: var(--teal-mid);
}
.lt-label--wide {
    letter-spacing: var(--wp--custom--tracking--label-wide);
}

/* -- CTA Primitives ---------------------------------------- */
/* CANONICAL CTA SPEC — all primary actions must match:
   font-weight: 500 | font-size: 0.75rem | padding: 0.875rem 1.625rem
   letter-spacing: 0.15em | text-transform: uppercase
   See brand-style-guide.md §11.3.2.

   Keep every action surface in this selector group. Component styles may
   control placement and disabled state, but must not restate CTA visuals. */
.lt-cta,
.lt-form__submit,
.lt-inquiry-form__submit,
.wp-block-button .wp-element-button,
.wp-block-button .wp-block-button__link,
.wp-block-search__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.875rem 1.625rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-smooth);
    width: fit-content;
}

.lt-cta--primary,
.lt-form__submit,
.lt-inquiry-form__submit,
.wp-block-button .wp-element-button,
.wp-block-button .wp-block-button__link,
.wp-block-search__button {
    background: var(--action-copper);
    color: var(--cream);
    box-shadow: var(--shadow-cta);
}
.lt-cta--primary:hover,
.lt-form__submit:hover,
.lt-inquiry-form__submit:hover,
.wp-block-button .wp-element-button:hover,
.wp-block-button .wp-block-button__link:hover,
.wp-block-search__button:hover {
    background: var(--action-copper-hover);
    color: var(--cream);
}

.lt-cta--ghost {
    background: transparent;
    color: var(--section-heading, var(--fg-on-dark));
    border-color: var(--border-dark-strong);
}
.lt-cta--ghost:hover {
    border-color: var(--interaction-rule-hover, var(--border-dark-strong));
    background: var(--interaction-wash, rgba(255, 255, 255, 0.06));
    color: var(--section-heading, var(--fg-on-dark));
}

.lt-cta--text {
    padding: 0;
    background: transparent;
    border: none;
    color: var(--link-color, var(--teal-deep));
}
.lt-cta--text:hover {
    color: var(--link-hover, var(--text-heading));
}

/* -- Focus styles ------------------------------------------ */
.lt-cta:focus-visible,
.lt-form__submit:focus-visible,
.lt-inquiry-form__submit:focus-visible,
.wp-block-button .wp-element-button:focus-visible,
.wp-block-button .wp-block-button__link:focus-visible,
.wp-block-search__button:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--focus-ring, currentColor);
    outline-offset: 0.4em;
    border-radius: var(--radius);
}

/* -- Brand text selection ---------------------------------- */
::selection {
    background: rgba(208, 116, 68, 0.30);
    color: var(--cream);
}

/* -- Hero Block (O1) --------------------------------------- */
/* Canonical spec: tendingthelight homepage hero reference */
.lt-hero {
    position: relative;
    width: 100%;

    /* min-height (not height) lets editorial and content-rich heroes grow
       without clipping at responsive sizes. */
    min-height: max(92vh, 680px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: var(--section-bg, var(--surface-1));
}
.lt-hero--editorial {
    min-height: clamp(560px, 72svh, 720px);
}
.lt-hero--compact {
    min-height: clamp(480px, 62svh, 620px);
}
@media (max-width: 767px) {
    .lt-hero {
        min-height: max(92vh, 560px);
    }
    .lt-hero--editorial {
        min-height: clamp(520px, 70svh, 640px);
    }
    .lt-hero--compact {
        min-height: clamp(460px, 62svh, 560px);
    }
}
.lt-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    z-index: 0;
}
.lt-hero__watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(35vw, 50vw, 60vw);
    height: auto;
    opacity: 0.07;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}
.lt-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11,27,30,0.30) 0%,
        rgba(11,27,30,0.55) 55%,
        rgba(11,27,30,0.92) 100%
    );
    z-index: 1;
}

/* Style Variation: Subtle Overlay */
.lt-hero.is-style-subtle-overlay .lt-hero__overlay {
    background: linear-gradient(
        180deg,
        rgba(11,27,30,0.15) 0%,
        rgba(11,27,30,0.55) 85%
    );
}
/* Content container — matches canonical 1400px max-width centered */
.lt-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    /* max-width, margin-inline, padding-inline handled by .lt-inner */
    padding-bottom: clamp(4rem, 10vh, 10rem);
    box-sizing: border-box;
}
.lt-hero--has-bottom-bar .lt-hero__content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.lt-hero__eyebrow {
    font-family: var(--font-sans);
    font-weight: 600 !important;
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase;
    color: var(--section-copper, var(--copper-glow)) !important;
    margin: 0 0 26px !important;
    height: calc(1.8 * var(--body)) !important;
    line-height: calc(1.8 * var(--body)) !important;
}
/* H1 — canonical default: text-[2.5rem] md:text-[3.5rem] lg:text-[4.5rem]
   Cinematic modifier (.lt-hero--cinematic) lifts ceiling to 6.2rem to match TTL. */
.lt-hero__heading {
    font-family: var(--font-serif);
    font-size: var(--hero-heading-default);
    font-weight: 300 !important;
    line-height: 1.0;
    letter-spacing: -0.015em;
    color: var(--section-heading, var(--fg-on-dark));
    max-width: 980px;
    margin: 0 0 28px;
    white-space: pre-line;
}
.lt-hero--cinematic .lt-hero__heading {
    font-size: var(--hero-heading-cinematic);
    max-width: 1120px;
}
/* Subheading — sans-serif body, sits below h1 with 28px gap */
.lt-hero__subheading {
    margin: 0;
    max-width: 760px;
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 300;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.6;
    color: var(--section-body, rgba(255,255,255, 0.72));
}
.lt-hero--cinematic .lt-hero__subheading {
    font-family: var(--font-sans) !important;
    font-style: normal !important;
    font-size: clamp(1rem, 1.2vw, 1.15rem) !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.92) !important;
}

.lt-hero--has-bottom-bar {
    height: 100vh !important;
    min-height: 580px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding-top: clamp(8rem, 14vh, 11rem) !important;
    padding-bottom: max(
        clamp(4rem, 8vh, 6rem),
        calc(var(--lt-page-header-transition-depth) + var(--lt-page-header-follow-space))
    ) !important;
    box-sizing: border-box !important;
}

.lt-hero--has-bottom-bar .lt-inner {
    width: 100% !important;
    max-width: 1400px !important;
    margin-inline: auto !important;
    padding-inline: clamp(1.5rem, 4vw, 5rem) !important;
    box-sizing: border-box !important;
}

.lt-hero--has-bottom-bar .lt-hero__wrapper {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.lt-hero--has-bottom-bar .lt-hero__content {
    width: 100% !important;
    max-width: 980px !important;
    margin-inline: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 0 !important;
    z-index: 3 !important;
    box-sizing: border-box !important;
}

.lt-hero--has-bottom-bar .lt-hero__eyebrow {
    font-family: var(--font-sans) !important;
    font-weight: inherit !important;
    font-size: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
    margin: 0 0 26px !important;
    height: auto !important;
    line-height: 1.8 !important;
}

.lt-hero--has-bottom-bar .lt-hero__eyebrow span {
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--section-copper, var(--copper-glow)) !important;
    line-height: 1.8 !important;
    display: inline !important;
    margin: 0 !important;
    height: auto !important;
}

.lt-hero--has-bottom-bar .lt-hero__bottom-bar {
    margin-top: clamp(3rem, 8vh, 5rem) !important;
    padding-bottom: 0 !important;
    z-index: 3 !important;
}

.lt-hero__bottom-bar .lt-cta {
    padding: 20px 38px !important;
    font-size: 12px !important;
    letter-spacing: 0.18em !important;
    font-weight: 600 !important;
    color: #fff !important;
    gap: 10px !important;
}
.lt-hero__bottom-bar .lt-cta--primary {
    padding-left: 37.88px !important;
    padding-right: 37.88px !important;
}
.lt-hero__bottom-bar .lt-cta--ghost {
    padding-left: 38.53px !important;
    padding-right: 38.53px !important;
}

.lt-hero__bottom-bar .lt-hero__actions {
    display: flex !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

/* Bottom Bar Grid */
.lt-hero__bottom-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px !important;
    align-items: end;
    border-top: none !important;
    padding-top: 0 !important;
}

@media (min-width: 601px) {
    .lt-hero__bottom-content {
        grid-template-columns: 1fr auto;
        gap: 40px !important;
    }
}

/* Cohort Box with Left Vertical Copper Line */
.lt-hero__cohort-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 22px !important;
    border-left: 1px solid rgba(208, 116, 68, 0.55) !important;
}

.lt-hero__cohort-eyebrow {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--copper-glow);
    font-weight: 600;
    margin: 0 0 12px !important;
    line-height: 1.2;
}

.lt-hero__cohort-date {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.1 !important;
    margin: 0 0 8px !important;
}

.lt-hero__cohort-details {
    font-size: 13px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.01em;
    margin: 0 !important;
    line-height: 1.4;
}

/* Bottom centered absolute eyebrow */
.lt-hero__bottom-eyebrow {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.40);
    font-weight: 600;
    margin: 0;
    z-index: 10;
}

/* CTA Arrow support in hero */
.lt-cta-arrow {
    font-weight: 300;
    font-size: 14px;
}

/* Compress layout on shorter screens to guarantee hero fits in viewport height */
@media (max-height: 720px) {
    .lt-hero--has-bottom-bar {
        /* Floor must clear the fixed header (~6.5rem logo+nav): at the old
           4.5rem floor the cinematic-scale headline sat under the logo. */
        padding-top: clamp(6.75rem, 10vh, 7.5rem) !important;
        --lt-page-header-follow-space: 3rem;
        padding-bottom: max(
            clamp(4rem, 7vh, 4.5rem),
            calc(var(--lt-page-header-transition-depth) + var(--lt-page-header-follow-space))
        ) !important;
        min-height: 480px !important;
    }
    /* Cinematic scale steps down to standard hero scale on short screens so
       the centered cluster fits between header clearance and the CTA bar. */
    .lt-hero--has-bottom-bar.lt-hero--cinematic .lt-hero__heading {
        font-size: clamp(2.6rem, 5.5vw, 4.5rem);
    }
    .lt-hero--has-bottom-bar .lt-hero__content {
        margin-top: auto !important;
        margin-bottom: auto !important;
    }
    .lt-hero--has-bottom-bar .lt-hero__bottom-bar {
        margin-top: clamp(1rem, 3vh, 2rem) !important;
    }
    .lt-hero__eyebrow {
        margin: 0 0 12px !important;
    }
    .lt-hero__heading {
        margin: 0 0 16px !important;
    }
    .lt-hero__cohort-date {
        font-size: clamp(1.4rem, 2.2vw, 1.8rem) !important;
    }
}

/* -- CTA Hero Variant modifier (.lt-hero--cta) ----------------- */
.lt-hero--cta {
    height: auto;
    min-height: auto;
    justify-content: flex-start;
    padding-block: var(--lt-section-padding-lg);
    
    /* Force dark-mode section variables to guarantee high contrast over the dark overlay */
    --section-bg: var(--surface-1) !important;
    --section-heading: var(--fg-on-dark) !important;
    --section-body: var(--fg-on-dark-body) !important;
    --section-muted: var(--fg-on-dark-muted) !important;
    --border-subtle: var(--border-dark-subtle) !important;
    --border-divider: var(--border-dark-divider) !important;

    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
}
/* Background image — low opacity for texture */
.lt-hero--cta .lt-hero__bg {
    opacity: 0.35;
}
/* Dark gradient overlay */
.lt-hero--cta .lt-hero__overlay {
    background: linear-gradient(
        180deg,
        rgba(11, 27, 30, 0.80) 0%,
        rgba(11, 27, 30, 0.95) 100%
    );
}
.lt-hero--cta .lt-hero__content {
    padding-bottom: 0;
}
.lt-hero--cta .lt-hero__heading {
    font-size: var(--wp--preset--font-size--heading-2);
    line-height: 1.08;
    letter-spacing: -0.01em;
    max-width: 780px;
    margin: 0 0 28px;
}
.lt-hero--cta .lt-hero__body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: var(--wp--preset--font-size--large);
    line-height: 1.8;
    color: var(--section-body, rgba(255, 255, 255, 0.70));
    max-width: 560px;
    margin: 0 0 48px;
}
/* CTA button row */
.lt-hero--cta .lt-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


/* -- Section Divider --------------------------------------- */
/* Canonical: Primitives.jsx → SectionDivider
   Layout: [Dot] [expanding line] [LABEL TEXT]  — Vercel aligned */
.lt-section-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 64px; /* match mb-16 */
}
.lt-section-divider__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background-color var(--duration-fast) var(--ease-default);
}
.lt-section-divider__rule {
    height: 1px;
    flex-grow: 1; /* expand to fill space between dot and label */
    display: inline-block;
}
.lt-section-divider__label {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    flex-shrink: 0;
    transition: color var(--duration-fast) var(--ease-default);
}

/* Dark variant — on dark surfaces */
.lt-section-divider--dark .lt-section-divider__dot {
    background: rgba(255, 255, 255, 0.2);
}
.lt-section-divider--dark:hover .lt-section-divider__dot {
    background: rgba(255, 255, 255, 0.4);
}
.lt-section-divider--dark .lt-section-divider__rule {
    background: rgba(255, 255, 255, 0.1);
}
.lt-section-divider--dark .lt-section-divider__label {
    color: var(--section-muted, var(--fg-on-dark-muted));
}
.lt-section-divider--dark:hover .lt-section-divider__label {
    color: var(--section-body, var(--fg-on-dark-body));
}

/* Light variant — on cream surfaces */
.lt-section-divider--light .lt-section-divider__dot {
    background: rgba(30, 41, 59, 0.2); /* mapped to text-heading approx */
}
.lt-section-divider--light:hover .lt-section-divider__dot {
    background: rgba(30, 41, 59, 0.4);
}
.lt-section-divider--light .lt-section-divider__rule {
    background: rgba(30, 41, 59, 0.1);
}
.lt-section-divider--light .lt-section-divider__label {
    color: var(--interaction-ink-muted, rgba(20, 47, 56, 0.72));
}
.lt-section-divider--light:hover .lt-section-divider__label {
    color: var(--section-heading, rgba(20, 47, 56, 0.92));
}

/* -- Content Grid Block (O2) ------------------------------- */
/* Canonical spec: ProgramsSection.jsx */
.lt-content-grid {
    background: var(--section-bg, var(--surface-3));
    padding-block: var(--lt-section-padding);
    position: relative;
    width: 100%;

}
/* .lt-content-grid__inner — layout handled by .lt-inner utility */
/* Top row — Header left, Featured card right */
.lt-content-grid__top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 56px;
    align-items: center;
}
.lt-content-grid__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}
.lt-content-grid__cta-wrap {
    margin-top: 16px;
}
.lt-content-grid__heading {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2.2rem, 5vw, 5rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--section-heading, var(--fg-on-dark));
    margin: 0;
    max-width: 780px;
}
/* Editorial section link — primary copper pills remain reserved for the
   global conversion action and page closes. */
.lt-content-grid__cta {
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.45rem 0;
    border-radius: 0;
    background: transparent;
    color: var(--link-color, var(--section-heading));
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid var(--interaction-rule);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-smooth);
    text-decoration: none;
    width: fit-content;
}
.lt-content-grid__cta:hover {
    background: transparent;
    color: var(--link-hover, var(--section-heading));
    border-bottom-color: var(--interaction-rule-hover);
}

/* Card grid — 3 columns, first card spans full width */
.lt-content-grid__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
/* Featured (first) card — right column in top row */
.lt-content-grid__card--featured {
    width: 100%;
    /* To visually match the height of 33%-width portrait cards below,
       this 50%-width card needs a wider aspect ratio. */
    aspect-ratio: 4 / 3;
}
/* Standard cards */
.lt-content-grid__card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--section-bg, var(--surface-card));
    display: block;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-dark-subtle);
    text-decoration: none;
    color: inherit;
    transition: transform var(--duration-fast) var(--ease-smooth),
                box-shadow var(--duration-fast) var(--ease-smooth);
}
.lt-content-grid__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
/* Sibling Dimming on Hover */
.lt-content-grid__cards:has(.lt-content-grid__card:hover) .lt-content-grid__card:not(:hover) {
    opacity: 0.5;
}
/* Card image */
.lt-content-grid__card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity var(--duration-fast) var(--ease-smooth);
}
.lt-content-grid__card:hover .lt-content-grid__card-img {
    opacity: 0.85;
}
/* Card gradient overlay */
.lt-content-grid__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11,27,30,0) 40%,
        rgba(11,27,30,0.92) 100%
    );
    z-index: 1;
}
/* Card content — bottom-left anchored */
.lt-content-grid__card-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    color: var(--section-heading, var(--fg-on-dark));
    z-index: 2;
}
.lt-content-grid__card-tag {
    display: block;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--section-copper, var(--copper-glow));
    font-weight: 400;
    margin-bottom: 8px;
}
.lt-content-grid__card-name {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: var(--wp--preset--font-size--heading-3);
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin: 0 0 10px;
    color: var(--section-heading, var(--fg-on-dark));
}
.lt-content-grid__card-body {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--section-body, var(--fg-on-dark-body));
    margin: 0;
}

/* Card Flip Animations */
.lt-content-grid__card--has-flip {
    perspective: 1200px;
    background: transparent;
    border: none;
    box-shadow: none;
}
.lt-content-grid__card--has-flip:hover {
    transform: none; /* disable the parent translateY hover */
    box-shadow: none;
}

.lt-content-grid__card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform var(--duration-slow) var(--ease-smooth);
    transform-style: preserve-3d;
    border-radius: var(--radius-card);
}

.lt-content-grid__card--has-flip:hover .lt-content-grid__card-inner {
    transform: rotateY(180deg);
}

.lt-content-grid__card-front,
.lt-content-grid__card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-card);
    overflow: hidden;
}

/* Base styles for non-flip cards */
.lt-content-grid__card:not(.lt-content-grid__card--has-flip) .lt-content-grid__card-inner,
.lt-content-grid__card:not(.lt-content-grid__card--has-flip) .lt-content-grid__card-front {
    position: static;
    height: 100%;
    width: 100%;
    border-radius: inherit;
}
.lt-content-grid__card:not(.lt-content-grid__card--has-flip) .lt-content-grid__card-front {
    background: var(--section-bg, var(--surface-card));
}

/* Flip front styles */
.lt-content-grid__card--has-flip .lt-content-grid__card-front {
    background: var(--section-bg, var(--surface-card));
    border: 1px solid var(--border-dark-subtle);
    box-shadow: var(--shadow-card);
}

.lt-content-grid__card-back {
    transform: rotateY(180deg);
    background: var(--section-bg, var(--surface-1));
    border: 1px solid var(--border-dark-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.lt-content-grid__card-back-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lt-content-grid__card-back-body {
    font-size: 15px;
    color: var(--section-muted, var(--text-muted));
    line-height: 1.6;
}


/* Mobile: stack to single column */
@media (max-width: 767px) {
    .lt-content-grid__top-row {
        grid-template-columns: 1fr;
    }
    .lt-content-grid__header {
        margin-bottom: 36px;
    }
    .lt-content-grid__cards {
        grid-template-columns: 1fr;
    }
    .lt-content-grid__card--featured,
    .lt-content-grid__card {
        aspect-ratio: 4 / 5;
    }
}
/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .lt-content-grid__top-row {
        grid-template-columns: 1fr;
    }
    .lt-content-grid__cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .lt-content-grid__card--featured {
        aspect-ratio: 16 / 9;
    }
}

/* -- Content Grid Routing Variant (.lt-content-grid--routing) ------- */
.lt-content-grid--routing {
    /* Layout styling overrides if needed */
}
.lt-content-grid__routing-header {
    margin-bottom: 3rem;
    max-width: 700px;
}
.lt-content-grid__routing-heading {
    font-family: var(--font-serif);
    font-size: var(--wp--preset--font-size--heading-2);
    font-weight: 300;
    color: var(--section-heading, var(--fg-on-dark));
    margin-bottom: 1rem;
}
.lt-content-grid__routing-body {
    color: var(--section-body, var(--fg-on-dark-body));
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: var(--wp--preset--font-size--medium);
    line-height: 1.7;
}
.lt-content-grid__routing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 1024px) {
    .lt-content-grid__routing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .lt-content-grid__routing-grid {
        grid-template-columns: 1fr;
    }
}
.lt-content-grid__routing-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: var(--section-card-bg, rgba(255, 255, 255, 0.04));
    border-radius: var(--radius-card);
    border: 1px solid var(--border-dark-subtle, rgba(255, 255, 255, 0.08));
    text-decoration: none;
    color: inherit;
    transition: transform var(--duration-normal) var(--ease-smooth),
                border-color var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth);
}
.lt-content-grid__routing-card:hover {
    transform: translateY(-4px);
    border-color: var(--interaction-rule-hover);
    background: color-mix(in srgb, var(--section-card-bg, transparent) 80%, var(--section-heading) 5%);
    box-shadow: var(--shadow-soft);
}
.lt-content-grid__routing-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--section-copper, var(--copper-text-sand));
}
.lt-content-grid__routing-icon {
    color: var(--interaction-ink-muted);
}
.lt-content-grid__routing-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}
.lt-content-grid__routing-card-title {
    font-family: var(--font-serif);
    font-size: var(--wp--preset--font-size--heading-4);
    font-weight: 300;
    color: var(--section-heading, var(--fg-on-dark));
    margin: 0;
}
.lt-content-grid__routing-card-desc {
    color: var(--section-body, var(--fg-on-dark-body));
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.6;
    flex: 1;
}
.lt-content-grid__routing-card-cta {
    font-family: var(--font-sans);
    font-size: var(--wp--preset--font-size--small);
    font-weight: 500;
    color: var(--link-color, var(--section-heading));
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--duration-fast) var(--ease-smooth);
}
.lt-content-grid__routing-card:hover .lt-content-grid__routing-card-cta {
    gap: 0.75rem;
}

/* Editorial pathways: three clear routes and one supportive off-ramp. */
.lt-content-grid--editorial-pathways .lt-content-grid__routing-header {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.75fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: end;
    max-width: none;
    margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.lt-content-grid--editorial-pathways .lt-content-grid__routing-heading,
.lt-content-grid--editorial-pathways .lt-content-grid__routing-body {
    margin: 0;
}

.lt-content-grid--editorial-pathways .lt-content-grid__routing-heading {
    max-width: 10ch;
    text-wrap: balance;
}

.lt-content-grid--editorial-pathways .lt-content-grid__routing-body {
    max-width: 34rem;
    padding-bottom: 0.35rem;
}

.lt-content-grid--editorial-pathways .lt-content-grid__routing-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 clamp(1.25rem, 2.5vw, 2.5rem);
    border-top: 1px solid var(--interaction-rule);
}

.lt-content-grid--editorial-pathways .lt-content-grid__routing-card {
    grid-column: span 4;
    min-height: clamp(20rem, 29vw, 26rem);
    padding: clamp(1.75rem, 3vw, 3rem) 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--interaction-rule);
    border-radius: 0;
    box-shadow: none;
    transition: color var(--duration-normal) var(--ease-smooth),
                padding var(--duration-normal) var(--ease-smooth),
                background-color var(--duration-normal) var(--ease-smooth);
}

.lt-content-grid--editorial-pathways .lt-content-grid__routing-card:hover {
    padding-inline: 0.75rem;
    background: var(--interaction-wash);
    border-color: var(--interaction-rule);
    box-shadow: none;
    transform: none;
}

.lt-content-grid--editorial-pathways .lt-content-grid__routing-number {
    margin-bottom: auto;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1;
}

.lt-content-grid--editorial-pathways .lt-content-grid__routing-card-title {
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
}

.lt-content-grid--editorial-pathways .lt-content-grid__routing-card-desc {
    max-width: 30rem;
    flex: 0 1 auto;
}

.lt-content-grid--editorial-pathways .lt-content-grid__routing-card--offramp {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(5rem, 0.35fr) minmax(12rem, 0.8fr) minmax(16rem, 1.45fr) auto;
    gap: clamp(1rem, 3vw, 3rem);
    align-items: center;
    min-height: 0;
    padding-block: clamp(1.6rem, 3vw, 2.5rem);
}

.lt-content-grid--editorial-pathways .lt-content-grid__routing-card--offramp .lt-content-grid__routing-number {
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0.14em;
}

.lt-content-grid--editorial-pathways .lt-content-grid__routing-card--offramp .lt-content-grid__routing-card-desc,
.lt-content-grid--editorial-pathways .lt-content-grid__routing-card--offramp .lt-content-grid__routing-card-cta {
    margin: 0;
}

@media (max-width: 900px) {
    .lt-content-grid--editorial-pathways .lt-content-grid__routing-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lt-content-grid--editorial-pathways .lt-content-grid__routing-card {
        grid-column: span 6;
    }

    .lt-content-grid--editorial-pathways .lt-content-grid__routing-card--offramp {
        grid-column: 1 / -1;
        grid-template-columns: 4rem minmax(10rem, 0.8fr) minmax(14rem, 1.2fr);
    }

    .lt-content-grid--editorial-pathways .lt-content-grid__routing-card--offramp .lt-content-grid__routing-card-cta {
        grid-column: 2 / -1;
    }
}

@media (max-width: 600px) {
    .lt-content-grid--editorial-pathways .lt-content-grid__routing-grid {
        display: block;
    }

    .lt-content-grid--editorial-pathways .lt-content-grid__routing-card,
    .lt-content-grid--editorial-pathways .lt-content-grid__routing-card--offramp {
        display: flex;
        min-height: 0;
        padding-block: 2rem;
        padding-inline: 0;
    }

    .lt-content-grid--editorial-pathways .lt-content-grid__routing-card:hover {
        padding-inline: 0.5rem;
    }

    .lt-content-grid--editorial-pathways .lt-content-grid__routing-number {
        margin-bottom: 1.5rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lt-content-grid__routing-card,
    .lt-content-grid__routing-card-cta {
        transition: none;
    }
    .lt-content-grid__routing-card:hover {
        transform: none;
    }
}




/* -- Dual Card Block (O5) ---------------------------------- */
/* Canonical spec: WhoThisIsFor.jsx */
.lt-dual-card {
    background: var(--section-bg, var(--surface-2));
    padding-block: var(--lt-section-padding);
    width: 100%;
}
/* .lt-dual-card__inner — layout handled by .lt-inner utility */
.lt-dual-card__heading {
    font-family: var(--font-serif);
    font-weight: 300;
    color: var(--section-heading, var(--fg-on-dark));
    font-size: var(--wp--preset--font-size--heading-2);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0 0 56px;
    max-width: 820px;
}
/* Grid: 1.1fr / 1fr for contrast, 1fr / 1fr for parallel */
.lt-dual-card__grid {
    display: grid;
    gap: 24px;
}
.lt-dual-card--contrast .lt-dual-card__grid {
    grid-template-columns: 1.1fr 1fr;
}
.lt-dual-card--parallel .lt-dual-card__grid {
    grid-template-columns: 1fr 1fr;
}
/* Card base */
.lt-dual-card__card {
    background: var(--section-card-bg, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border-divider, rgba(255, 255, 255, 0.10));
    border-radius: var(--radius-panel);
    padding: clamp(2rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 28px;
    transition: all var(--duration-normal) var(--ease-smooth);
}
/* Emphasis card (admin highlighted or first card in contrast variant) */
.lt-dual-card__card--emphasis {
    background: var(--card-emphasis-bg, var(--surface-card)) !important;
    border: 1px solid var(--card-emphasis-border, rgba(208, 116, 68, 0.42)) !important;
    box-shadow: var(--card-emphasis-shadow, var(--shadow-card));
    transform: translateY(-4px);
}
.lt-dual-card__card--emphasis:hover {
    transform: translateY(-6px);
}
.lt-dual-card__card:not(.lt-dual-card__card--emphasis):hover {
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-2px);
}
/* Tag */
.lt-dual-card__tag {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--section-muted, rgba(255, 255, 255, 0.50));
}
.lt-dual-card__tag--copper {
    color: var(--section-copper, var(--copper));
}
/* Body text */
.lt-dual-card__body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: var(--wp--preset--font-size--large);
    line-height: 1.6;
    color: var(--section-body, rgba(255, 255, 255, 0.70));
    margin: 0;
}
/* Points list */
.lt-dual-card__points {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lt-dual-card__point {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--section-body, rgba(255, 255, 255, 0.70));
    display: flex;
    gap: 12px;
    align-items: baseline;
}
/* Bullet dot */
.lt-dual-card__bullet {
    width: 5px;
    height: 5px;
    border-radius: var(--radius-pill);
    background: var(--section-divider-dot, rgba(255, 255, 255, 0.40));
    display: inline-block;
    flex-shrink: 0;
    transform: translateY(-3px);
}
.lt-dual-card__point--copper .lt-dual-card__bullet {
    background: var(--copper);
}

/* Mobile: stack cards */
@media (max-width: 767px) {
    .lt-dual-card__grid {
        grid-template-columns: 1fr;
    }
    .lt-dual-card__heading {
        margin-bottom: 32px;
    }
}

/* -- CTA Hero Block (O7) absorbed into Hero (O1) -- */

/* -- Text Focused Block (O6) ------------------------------- */
/* Canonical spec: FeesSection.jsx (features), FAQ (accordion) */
.lt-text-focused {
    background: var(--section-bg, var(--surface-3));
    padding-block: var(--lt-section-padding);
}

/* Narrative variant grid layout */
.lt-text-focused__narrative-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}
@media (max-width: 900px) {
    .lt-text-focused__narrative-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
.lt-text-focused__paragraph {
    font-size: var(--wp--preset--font-size--large);
    font-weight: 300;
    line-height: 1.85;
    color: var(--section-body, rgba(255, 255, 255, 0.70));
    margin: 0 0 22px;
}
.lt-text-focused__paragraph:last-child {
    margin-bottom: 0;
}
/* .lt-text-focused__inner — layout handled by .lt-inner utility */
/* Header — heading left, body right */
.lt-text-focused__header {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    margin-bottom: 56px;
    align-items: end;
}
.lt-text-focused__heading {
    font-family: var(--font-serif);
    font-weight: 300;
    color: var(--section-heading, #fff);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0;
}
.lt-text-focused__body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: var(--wp--preset--font-size--large);
    line-height: var(--wp--custom--leading--body);
    color: var(--section-body, rgba(255, 255, 255, 0.70));
    margin: 0;
}

/* --- Accordion variant: FAQ --- */

/* Category-aware layout: sidebar + accordion on desktop */
.lt-text-focused__faq-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
}
@media (min-width: 992px) {
    .lt-text-focused__faq-layout {
        flex-direction: row;
        gap: clamp(3rem, 5vw, 5rem);
    }
}

/* Category sidebar — desktop */
.lt-text-focused__faq-categories {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.lt-text-focused__faq-categories::-webkit-scrollbar {
    display: none;
}
@media (min-width: 992px) {
    .lt-text-focused__faq-categories {
        flex-direction: column;
        flex-shrink: 0;
        width: 240px;
        overflow-x: visible;
        padding-bottom: 0;
        position: sticky;
        top: 120px;
        align-self: flex-start;
    }
}

/* Category tab button */
.lt-text-focused__faq-cat-btn {
    display: block;
    width: auto;
    white-space: nowrap;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.04);
    color: var(--section-body, rgba(255, 255, 255, 0.60));
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0;
    text-align: left;
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-smooth),
                color var(--duration-fast) var(--ease-smooth);
}
@media (min-width: 992px) {
    .lt-text-focused__faq-cat-btn {
        width: 100%;
        white-space: normal;
    }
}
.lt-text-focused__faq-cat-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--section-heading, #fff);
}
.lt-text-focused__faq-cat-btn.is-active {
    /* copper-text gives 6.2:1 against white vs --copper's 4.2:1; same hue family */
    background: var(--copper-text);
    color: #fff;
    font-weight: 500;
}

/* Accordion container — grows to fill remaining space */
.lt-text-focused__accordion {
    flex: 1;
    min-width: 0;
}

/* Flat fallback layout (no categories) */
.lt-text-focused__accordion--flat {
    max-width: 900px;
}

/* FAQ item — background card with subtle tint */
.lt-text-focused__faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-card);
    margin-bottom: 8px;
    overflow: hidden;
    border-left: 3px solid transparent;
    transition: border-color var(--duration-fast) var(--ease-smooth),
                background var(--duration-fast) var(--ease-smooth);
}
.lt-text-focused__faq-item:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}
.lt-text-focused__faq-item[open] {
    border-left-color: var(--copper);
    background: rgba(255, 255, 255, 0.06);
}

/* Layout 2-col variant (flat list only) */
.lt-text-focused--layout-2-col .lt-text-focused__accordion--flat {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    column-gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}
@media (min-width: 992px) {
    .lt-text-focused--layout-2-col .lt-text-focused__accordion--flat {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Question row */
.lt-text-focused__faq-question {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: var(--wp--preset--font-size--large);
    color: var(--section-heading, #fff);
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    list-style: none;
}

@media (min-width: 768px) {
    .lt-text-focused__faq-question {
        font-family: var(--font-serif);
        padding: 32px 28px;
    }
}
.lt-text-focused__faq-question::-webkit-details-marker {
    display: none;
}

/* Plus/cross icon */
.lt-text-focused__faq-icon {
    display: block;
    color: var(--copper);
    flex-shrink: 0;
}
.lt-text-focused__faq-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}
.lt-text-focused__faq-icon-v {
    transform-origin: center;
    transition: transform var(--duration-fast) var(--ease-smooth), opacity var(--duration-fast) var(--ease-smooth);
}
.lt-text-focused__faq-item[open] .lt-text-focused__faq-icon-v {
    transform: rotate(90deg);
    opacity: 0;
}

/* Answer body */
.lt-text-focused__faq-answer {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1rem;
    line-height: var(--wp--custom--leading--body);
    color: var(--section-body, rgba(255, 255, 255, 0.70));
    padding: 0 28px 24px;
    max-width: 720px;
}

/* Category panel visibility (JS-controlled) */
.lt-text-focused__faq-panel {
    display: none;
}
.lt-text-focused__faq-panel.is-active {
    display: block;
}

/* Mobile: stack header and tier cards */
@media (max-width: 767px) {
    .lt-text-focused__header {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }
    .lt-text-focused__tiers {
        grid-template-columns: 1fr;
    }
}

/* -- Split Media Block (O3) -------------------------------- */
/* Canonical spec: design-system.md § O3 */
.lt-split-media {
    background: var(--section-bg, var(--surface-2));
    padding-block: var(--lt-section-padding);
    width: 100%;

}
/* .lt-split-media__inner — layout handled by .lt-inner utility */
.lt-split-media__divider {
    margin-bottom: 56px;
}
/* Grid: 2-column, equal width */
.lt-split-media__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
/* Column ordering */
.lt-split-media--text-first .lt-split-media__text { order: 1; }
.lt-split-media--text-first .lt-split-media__media { order: 2; }
.lt-split-media--image-first .lt-split-media__text { order: 2; }
.lt-split-media--image-first .lt-split-media__media { order: 1; }
/* Text column */
.lt-split-media__heading {
    font-family: var(--font-serif);
    font-weight: 300;
    color: var(--section-heading, var(--fg-on-dark));
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0 0 32px;
}
.lt-split-media__body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: var(--wp--preset--font-size--large);
    line-height: var(--wp--custom--leading--body);
    color: var(--section-body, rgba(255, 255, 255, 0.70));
    margin: 0 0 40px;
}
.lt-split-media__body p {
    margin: 0 0 16px;
}
.lt-split-media__body p:last-child {
    margin-bottom: 0;
}
/* Image column */
.lt-split-media__image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-card);
}
.lt-split-media__placeholder {
    aspect-ratio: 4 / 5;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.30);
    font-size: 14px;
}

/* Mobile: stack text above image */
@media (max-width: 767px) {
    .lt-split-media__grid {
        grid-template-columns: 1fr;
    }
    /* Always text-first on mobile */
    .lt-split-media__text { order: 1 !important; }
    .lt-split-media__media { order: 2 !important; }
}

/* -- Image Band Block (O4) --------------------------------- */
/* Canonical spec: design-system.md § O4 */
.lt-image-band {
    width: 100%;

}
/* Hero image section */
.lt-image-band__hero {
    position: relative;
    height: clamp(300px, 55vh, 600px);
    overflow: hidden;
}
.lt-image-band__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lt-image-band__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 27, 30, 0.40) 0%,
        rgba(11, 27, 30, 0.70) 100%
    );
}
.lt-image-band__hero-inner {
    position: relative;
    /* max-width, margin-inline, padding-inline handled by .lt-inner */
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 48px;
}
.lt-image-band__heading {
    font-family: var(--font-serif);
    font-weight: 300;
    color: var(--section-heading, #fff);
    font-size: var(--wp--preset--font-size--heading-2);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0;
    max-width: 780px;
}
/* Stages content section */
.lt-image-band__stages {
    background: var(--section-bg, var(--surface-1));
    padding-block: var(--lt-section-padding-sm);
}
.lt-image-band__stages-inner {
    /* max-width, margin-inline, padding-inline handled by .lt-inner */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
/* Individual stage */
.lt-image-band__stage {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lt-image-band__stage-number {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--copper);
}
.lt-image-band__stage-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--wp--preset--font-size--large);
    color: var(--section-heading, #fff);
    line-height: 1.3;
    margin: 0;
}
.lt-image-band__stage-desc {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.8;
    color: var(--section-body, rgba(255, 255, 255, 0.70));
    margin: 0;
}

/* Mobile: 1-col stages */
@media (max-width: 767px) {
    .lt-image-band__stages-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .lt-image-band__hero {
        height: clamp(250px, 40vh, 400px);
    }
}

/* -- Event Listing Block (O8) ------------------------------ */
/* Canonical spec: design-system.md § O8 / §6.2–6.5 */
.lt-event-listing {
    background: var(--section-bg, var(--surface-3));
    padding-block: var(--lt-section-padding);
    width: 100%;

}
/* .lt-event-listing__inner — layout handled by .lt-inner utility */
.lt-event-listing__divider {
    margin-bottom: 56px;
}
/* Header row: heading + optional View All CTA */
.lt-event-listing__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}
.lt-event-listing__heading {
    font-family: var(--font-serif);
    font-weight: 300;
    color: var(--section-heading, var(--fg-on-dark));
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Filter bar */
.lt-event-listing__filter-bar {
    margin-block-end: 2rem;
}

.lt-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lt-filter-btn {
    all: unset;
    cursor: pointer;
    padding: 0.4em 1em;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-body, #3d3d3d);
    background: transparent;
    border: 1px solid var(--border-dark-subtle, rgba(0, 0, 0, 0.12));
    border-radius: var(--radius-pill, 100px);
    transition: background var(--duration-fast, 150ms) var(--ease-default, ease),
                color var(--duration-fast, 150ms) var(--ease-default, ease),
                border-color var(--duration-fast, 150ms) var(--ease-default, ease);
}

.lt-filter-btn:hover {
    background: color-mix(in oklch, var(--teal-mid, #2a7c6b), transparent 90%);
    border-color: var(--teal-mid, #2a7c6b);
}

.lt-filter-btn:focus-visible {
    outline: 2px solid var(--teal-mid, #2a7c6b);
    outline-offset: 2px;
}

.lt-filter-btn.is-active {
    color: var(--cream, #faf6f1);
    background: var(--teal-deep, #0c3c3c);
    border-color: var(--teal-deep, #0c3c3c);
}

/* Card grid */
.lt-event-listing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
/* Empty state */
.lt-event-listing__empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--section-muted, rgba(255, 255, 255, 0.50));
    font-family: var(--font-sans);
    font-size: var(--wp--preset--font-size--large);
    font-weight: 300;
}

/* --- EventCard --- */
.lt-event-card {
    background: var(--section-bg, var(--surface-card));
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    transition: border-color var(--duration-fast) var(--ease-default);
}
.lt-event-card:hover {
    border-color: var(--border-light-strong);
}
/* Image */
.lt-event-card__image-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.lt-event-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Content */
.lt-event-card__content {
    display: flex;
    gap: 20px;
    padding: 24px;
    flex: 1;
}
/* Date badge */
.lt-event-card__date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 56px;
    border-radius: 8px;
    background: rgba(191, 139, 81, 0.12);
    flex-shrink: 0;
}
.lt-event-card__month {
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--section-copper, var(--copper));
    line-height: 1;
}
.lt-event-card__day {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 300;
    color: var(--section-heading, #fff);
    line-height: 1.2;
}
/* Details */
.lt-event-card__details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.lt-event-card__title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(1.05rem, 1.1vw, 1.3rem);
    color: var(--section-heading, #fff);
    line-height: 1.3;
    margin: 0;
}
.lt-event-card__desc {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.60);
    margin: 0;
}
/* Meta: time + location */
.lt-event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 4px;
}
.lt-event-card__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    color: var(--section-muted, rgba(255, 255, 255, 0.50));
}
.lt-event-card__meta-item svg {
    color: var(--copper);
    flex-shrink: 0;
}
/* CTA */
.lt-event-card__cta {
    margin-top: auto;
    padding-top: 8px;
}
/* Status badge */
.lt-event-card__status-badge {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    width: fit-content;
}
/* Status-specific styles */
.lt-event-card--upcoming { opacity: 1; }
.lt-event-card--past {
    opacity: 0.50;
}
.lt-event-card--past .lt-event-card__status-badge {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.60);
}
.lt-event-card--cancelled {
    opacity: 0.60;
}
.lt-event-card--cancelled .lt-event-card__status-badge {
    background: rgba(220, 80, 60, 0.15);
    color: #e8695a;
}
.lt-event-card--postponed {
    opacity: 0.80;
}
.lt-event-card--postponed .lt-event-card__status-badge {
    background: rgba(191, 139, 81, 0.15);
    color: var(--copper);
}

/* Card footer: CTA + category label */
.lt-event-card__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 4px;
}
.lt-event-card__category {
    font-family: var(--font-sans);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.lt-event-card__category--workshop  { color: var(--teal-mid); }
.lt-event-card__category--retreat   { color: var(--copper); }
.lt-event-card__category--community { color: var(--teal-deep); }
.lt-event-card__category--webinar   { color: var(--teal-mid); }
.lt-event-card__category--program   { color: var(--copper); }

/* Light-surface category labels */
.is-style-light-1 .lt-event-card__category--workshop,
.is-style-light-2 .lt-event-card__category--workshop  { color: var(--teal-mid); }
.is-style-light-1 .lt-event-card__category--retreat,
.is-style-light-2 .lt-event-card__category--retreat,
.is-style-light-1 .lt-event-card__category--program,
.is-style-light-2 .lt-event-card__category--program    { color: var(--copper-text); }
.is-style-light-1 .lt-event-card__category--community,
.is-style-light-2 .lt-event-card__category--community  { color: var(--teal-deep); }

/* Image hover zoom */
.lt-event-card__image {
    transition: transform 0.55s var(--ease-smooth);
}
.lt-event-card:hover .lt-event-card__image {
    transform: scale(1.04);
}

/* Stretched-link: make entire card clickable via title link */
.lt-event-card--linked {
    position: relative;
    cursor: pointer;
}
.lt-event-card__title-link {
    color: inherit;
    text-decoration: none;
}
.lt-event-card__title-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
.lt-event-card__title-link:hover,
.lt-event-card__title-link:focus-visible {
    color: var(--link-hover, inherit);
    text-decoration: none;
}
/* Keep CTA independently clickable above the stretched overlay */
.lt-event-card__cta {
    position: relative;
    z-index: 2;
}
.lt-event-card__status-badge {
    position: relative;
    z-index: 2;
}

/* Container Queries for grid */
.lt-event-listing {
    container-type: inline-size;
}

@container (max-width: 991px) {
    .lt-event-listing__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@container (max-width: 767px) {
    .lt-event-listing__grid {
        grid-template-columns: 1fr;
    }
    .lt-event-listing__header {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 480px) {
    /* Filter pills: horizontal scroll on small screens (spec §9) */
    .lt-filter-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;   /* Firefox */
        padding-block: 0.25rem;  /* breathing room for focus ring */
    }
    .lt-filter-buttons::-webkit-scrollbar {
        display: none;           /* Chrome / Safari */
    }
    .lt-filter-btn {
        flex-shrink: 0;
    }
}

/* --- Event Card: Light-surface variant --- */
/* Cards on light surfaces use white bg with subtle borders
   instead of the dark-surface card treatment. */
.is-style-light-1 .lt-event-card,
.is-style-light-2 .lt-event-card {
    background: var(--card-emphasis-bg, #fff);
    border: 1px solid var(--border-light-divider);
    box-shadow: none;
}
.is-style-light-1 .lt-event-card:hover,
.is-style-light-2 .lt-event-card:hover {
    border-color: var(--border-light-strong);
    box-shadow: var(--shadow-soft);
}
/* Date badge on light */
.is-style-light-1 .lt-event-card__date-badge,
.is-style-light-2 .lt-event-card__date-badge {
    background: #F5EFE6;
}
.is-style-light-1 .lt-event-card__month,
.is-style-light-2 .lt-event-card__month {
    color: var(--section-muted, var(--text-muted));
}
.is-style-light-1 .lt-event-card__day,
.is-style-light-2 .lt-event-card__day {
    color: var(--text-heading);
}
/* Title + description on light */
.is-style-light-1 .lt-event-card__title,
.is-style-light-2 .lt-event-card__title {
    color: var(--text-heading);
}
.is-style-light-1 .lt-event-card__desc,
.is-style-light-2 .lt-event-card__desc {
    color: var(--text-muted);
}
/* Meta on light */
.is-style-light-1 .lt-event-card__meta,
.is-style-light-2 .lt-event-card__meta {
    padding-top: 14px;
    border-top: 1px solid var(--border-light-subtle);
}
.is-style-light-1 .lt-event-card__meta-item,
.is-style-light-2 .lt-event-card__meta-item {
    color: var(--text-muted);
}
.is-style-light-1 .lt-event-card__meta-item svg,
.is-style-light-2 .lt-event-card__meta-item svg {
    color: var(--copper-text);
}
/* CTA on light */
.is-style-light-1 .lt-event-card .lt-cta--text,
.is-style-light-2 .lt-event-card .lt-cta--text {
    color: var(--copper-text);
}
/* Status badges on light */
.is-style-light-1 .lt-event-card--past .lt-event-card__status-badge,
.is-style-light-2 .lt-event-card--past .lt-event-card__status-badge {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
}
.is-style-light-1 .lt-event-card--cancelled .lt-event-card__status-badge,
.is-style-light-2 .lt-event-card--cancelled .lt-event-card__status-badge {
    background: rgba(220, 80, 60, 0.08);
    color: #c0392b;
}
.is-style-light-1 .lt-event-card--postponed .lt-event-card__status-badge,
.is-style-light-2 .lt-event-card--postponed .lt-event-card__status-badge {
    background: rgba(191, 139, 81, 0.10);
    color: var(--copper-text);
}
/* Empty state on light */
.is-style-light-1 .lt-event-listing__empty,
.is-style-light-2 .lt-event-listing__empty {
    color: var(--text-muted);
}
/* Heading on light */
.is-style-light-1 .lt-event-listing__heading,
.is-style-light-2 .lt-event-listing__heading {
    color: var(--text-heading);
}

/* Zero out Gutenberg spacing gaps between root layout content and footer template part */
.wp-site-blocks > footer.wp-block-template-part,
footer.wp-block-template-part {
    margin-top: 0 !important;
}

/* -- Global Footer ----------------------------------------- */
.lt-global-footer {
    background: var(--section-bg, var(--surface-1));
    color: var(--section-body, var(--fg-on-dark-body));
    padding: clamp(6rem, 10vw, 9rem) 0 2.75rem;
    border-top: 0;
}
/* .lt-footer__inner — layout handled by .lt-inner utility */
.lt-footer__grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.45fr) repeat(2, minmax(150px, 0.5fr));
    column-gap: clamp(3rem, 8vw, 8rem);
    row-gap: 3rem;
    align-items: start;
    margin-bottom: clamp(4rem, 8vw, 7rem);
}
@media (max-width: 991px) {
    .lt-footer__grid {
        grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(130px, 0.5fr));
        column-gap: 2.5rem;
    }
}
@media (max-width: 767px) {
    .lt-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem 1.5rem;
        margin-bottom: 3.5rem;
    }

    .lt-footer__grid > :first-child {
        grid-column: 1 / -1;
    }
}
.lt-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
}
.lt-footer__logo {
    max-height: 60px;
    width: auto;
}
.lt-footer__description {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(1.65rem, 2.6vw, 2.65rem);
    line-height: 1.12;
    color: var(--fg-on-dark);
    letter-spacing: -0.01em;
    margin: 0 0 2.5rem;
    max-width: 18ch;
}
.lt-footer__contact {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 0.65rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.lt-footer__address {
    display: grid;
    gap: 0.2rem;
}
.lt-footer__contact-item {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
}
a.lt-footer__contact-item--link {
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-smooth);
    width: fit-content;
}
a.lt-footer__contact-item--link:hover {
    color: var(--link-hover);
}
.lt-footer__social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}
.lt-footer__social-link {
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--duration-fast) var(--ease-smooth);
}
.lt-footer__social-link:hover {
    color: #ffffff;
}
.lt-footer__disclaimer-section {
    margin-top: 0;
    border-top: 1px solid var(--interaction-rule);
    padding-top: 2rem;
}
.lt-footer__disclaimer {
    font-family: var(--font-sans);
    font-size: 12px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    max-width: 1000px;
    margin: 0;
}
.lt-footer__emergency {
    margin-top: 16px;
    max-width: 1000px;
}
.lt-footer__emergency p {
    font-family: var(--font-sans);
    font-size: 12px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    font-weight: 300;
}
.lt-footer__col-heading {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-on-dark-muted);
    margin-bottom: 1rem;
}
.lt-footer__bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--interaction-rule);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.lt-footer__copyright {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--section-muted, var(--fg-on-dark-muted));
    font-weight: 300;
}
.lt-footer__cohort {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    color: var(--section-muted, var(--fg-on-dark-muted));
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.lt-footer__privacy-choices {
    margin-inline-start: auto;
}
.lt-footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0;
    border-bottom: 1px solid var(--interaction-rule);
}
.lt-footer-list li {
    border-top: 1px solid var(--interaction-rule);
}
.lt-footer-list a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    width: 100%;
    padding: 0.8rem 0;
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-smooth);
}
.lt-footer-list a::after {
    content: '→';
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-0.35rem);
    transition: opacity var(--duration-fast) var(--ease-smooth),
                transform var(--duration-fast) var(--ease-smooth);
}
.lt-footer-list a:hover,
.lt-footer-list a:focus-visible {
    color: #ffffff;
}
.lt-footer-list a:hover::after,
.lt-footer-list a:focus-visible::after {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 540px) {
    .lt-footer__grid {
        grid-template-columns: 1fr;
    }

    .lt-footer__grid > :first-child {
        grid-column: 1;
    }

    .lt-footer__contact {
        grid-template-columns: 1fr;
    }
}

/* -- Facilitator Grid Block -------------------------------- */
.lt-facilitator-grid {
    background: var(--section-bg, var(--surface-2));
    padding-block: var(--lt-section-padding);
    position: relative;
    z-index: 2;
}
/* .lt-facilitator-grid__inner — layout handled by .lt-inner utility */
.lt-facilitator-grid__eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
}
.lt-facilitator-grid__eyebrow-rule {
    width: 40px;
    height: 1px;
    background: var(--copper);
    flex-shrink: 0;
}
.lt-facilitator-grid__eyebrow-text {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--section-copper, var(--copper));
    font-weight: 400;
}
.lt-facilitator-grid__heading {
    font-family: var(--font-serif);
    font-weight: 300;
    color: var(--section-heading, var(--fg-on-dark));
    font-size: var(--wp--preset--font-size--heading-2);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 clamp(2.5rem, 5vw, 4rem);
    max-width: 760px;
}
/* Optional body under the heading (field_fac_body) — pulls the heading's
   bottom margin up so the cluster reads as one unit. */
.lt-facilitator-grid__heading:has(+ .lt-facilitator-grid__body) {
    margin-bottom: 1.25rem;
}
.lt-facilitator-grid__body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: var(--wp--preset--font-size--large);
    line-height: var(--wp--custom--leading--body);
    color: var(--section-body, var(--fg-on-dark-body));
    max-width: 640px;
    margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}
.lt-facilitator-grid__body:has(+ .lt-facilitator-grid__link) {
    margin-bottom: 1.5rem;
}
.lt-facilitator-grid__link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    margin: 0 0 clamp(2.5rem, 5vw, 4rem);
    color: var(--link-color, var(--section-heading));
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: gap var(--duration-fast) var(--ease-smooth), color var(--duration-fast) var(--ease-smooth);
}
.lt-facilitator-grid__link:hover,
.lt-facilitator-grid__link:focus-visible {
    gap: 0.8rem;
    color: var(--link-hover, var(--section-heading));
}
.lt-facilitator-grid__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .lt-facilitator-grid__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .lt-facilitator-grid__cards {
        grid-template-columns: 1fr;
    }
}
.lt-facilitator-grid__card {
    background: var(--section-bg, var(--surface-card));
    border: 1px solid var(--border-divider, rgba(255,255,255,0.06));
    border-radius: var(--radius-card);
    padding: clamp(1.75rem, 2.5vw, 2.25rem);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transform: translateY(0);
    transition: all var(--duration-fast) var(--ease-smooth);
}
.lt-facilitator-grid__card:hover {
    transform: translateY(-4px);
    border-color: var(--interaction-rule-hover, var(--border-divider)) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.40);
}
/* Sibling Dimming on Hover */
.lt-facilitator-grid__cards:has(.lt-facilitator-grid__card:hover) .lt-facilitator-grid__card:not(:hover) {
    opacity: 0.4;
}
.lt-facilitator-grid__photo-wrap {
    width: 110px;
}
.lt-facilitator-grid__photo-frame {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius-pill);
    background: var(--section-bg, var(--surface-overlay));
    border: 1px solid var(--interaction-rule);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-hover);
    transition: all var(--duration-normal) var(--ease-smooth);
}
.lt-facilitator-grid__card:hover .lt-facilitator-grid__photo-frame {
    border-radius: var(--radius-pill);
    border-color: var(--interaction-rule-hover);
    box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.lt-facilitator-grid__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    transition: transform var(--duration-normal) var(--ease-smooth);
}
.lt-facilitator-grid__card:hover .lt-facilitator-grid__photo {
    transform: scale(1.08);
}
.lt-facilitator-grid__name {
    font-family: var(--font-serif);
    font-weight: 300;
    color: var(--section-heading, var(--fg-on-dark));
    font-size: var(--wp--preset--font-size--heading-3);
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 6px;
}
.lt-facilitator-grid__creds {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--section-copper, var(--copper-glow));
    font-weight: 400;
}
.lt-facilitator-grid__bio {
    font-size: 14.5px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--section-body, rgba(255,255,255,0.78));
    margin: 0;
}

/* -- Glance Stats Block ------------------------------------ */
.lt-glance-stats {
    background: var(--section-bg, var(--cream));
    border-top: 1px solid var(--border-subtle, var(--border-light-subtle));
}
.lt-glance-stats__grid {
    /* max-width, margin-inline, padding-inline handled by .lt-inner */
    padding-block: clamp(2.5rem, 4vw, 3.5rem);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.lt-glance-stats__item {
    /* default: no left border/padding for first child */
}
.lt-glance-stats__item + .lt-glance-stats__item {
    padding-left: 28px;
    border-left: 1px solid var(--border-divider, var(--border-light-divider));
}
.lt-glance-stats__label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-mid);
    font-weight: 400;
    margin-bottom: 10px;
}
.lt-glance-stats__value {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    color: var(--section-heading, var(--text-heading));
    line-height: 1.2;
    letter-spacing: -0.01em;
}
@media (max-width: 900px) {
    .lt-glance-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
    .lt-glance-stats__item:nth-child(odd) {
        padding-left: 0;
        border-left: none;
    }
    .lt-glance-stats__item:nth-child(even) {
        padding-left: 20px;
        border-left: 1px solid var(--border-light-divider);
    }
}
@media (max-width: 600px) {
    .lt-glance-stats__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .lt-glance-stats__item,
    .lt-glance-stats__item + .lt-glance-stats__item {
        padding-left: 0;
        border-left: none;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-light-divider);
    }
    .lt-glance-stats__item:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }
}



/* -- Schedule Timeline Block ------------------------------- */
.lt-schedule-timeline {
    background: var(--section-bg, var(--surface-2));
    padding-block: var(--lt-section-padding);
}
/* .lt-schedule-timeline__inner — layout handled by .lt-inner utility */
.lt-schedule-timeline__panel {
    background: var(--section-bg, var(--surface-overlay));
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.1));
    border-radius: var(--radius-panel);
    padding: clamp(2rem, 4vw, 3.5rem);
}
.lt-schedule-timeline__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 36px;
}
.lt-schedule-timeline__eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--section-copper, var(--copper-glow));
    font-weight: 400;
    margin-bottom: 14px;
}
.lt-schedule-timeline__heading {
    font-family: var(--font-serif);
    font-weight: 300;
    color: var(--section-heading, var(--fg-on-dark));
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0;
}
.lt-schedule-timeline__legend {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.lt-schedule-timeline__legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.lt-schedule-timeline__legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.lt-schedule-timeline__legend-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--section-muted, var(--fg-on-dark-muted));
    font-weight: 400;
}
.lt-schedule-timeline__rows {
    display: flex;
    flex-direction: column;
}
.lt-schedule-timeline__row {
    display: grid;
    grid-template-columns: 16px 1.1fr 1.6fr 1fr;
    gap: clamp(1rem, 2.5vw, 2.5rem);
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-divider, rgba(255,255,255,0.06));
    transition: opacity var(--duration-fast) var(--ease-smooth),
                background-color var(--duration-fast) var(--ease-smooth),
                padding var(--duration-fast) var(--ease-smooth);
}
.lt-schedule-timeline__row:last-child {
    border-bottom: none;
}
.lt-schedule-timeline__row.is-highlighted {
    background-color: rgba(208, 116, 68, 0.08); /* Warm copper tint */
    border-radius: 8px;
    padding-inline: 12px;
}
.lt-schedule-timeline__row.is-highlighted .lt-schedule-timeline__row-dot {
    transform: scale(1.4);
}
.lt-schedule-timeline__row-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    transition: transform var(--duration-fast) var(--ease-smooth);
}
.lt-schedule-timeline__row-type {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--section-muted, var(--fg-on-dark-muted));
    font-weight: 400;
}
.lt-schedule-timeline__row-title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    color: var(--section-heading, var(--fg-on-dark));
    letter-spacing: -0.005em;
}
.lt-schedule-timeline__row-time {
    font-size: 13px;
    font-weight: 300;
    color: var(--section-body, var(--fg-on-dark-body));
    letter-spacing: 0.01em;
    text-align: right;
}
@media (max-width: 900px) {
    .lt-schedule-timeline__row {
        grid-template-columns: 16px 1fr 1fr;
    }
    .lt-schedule-timeline__row-time {
        text-align: left;
        grid-column: 2 / 4;
        padding-top: 5px;
    }
}
@media (max-width: 600px) {
    .lt-schedule-timeline__row {
        grid-template-columns: 16px 1fr;
    }
    .lt-schedule-timeline__row-title {
        grid-column: 2;
    }
    .lt-schedule-timeline__row-time {
        grid-column: 2;
    }
}

/* -- Three Phase Arc Block --------------------------------- */
.lt-three-phase-arc {
    background: var(--section-bg, var(--surface-2));
    padding-block: var(--lt-section-padding);
    position: relative;
    z-index: 2;
}
/* .lt-three-phase-arc__inner — layout handled by .lt-inner utility */
.lt-three-phase-arc__eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
}
.lt-three-phase-arc__eyebrow-rule {
    width: 40px;
    height: 1px;
    background: var(--copper);
    flex-shrink: 0;
}
.lt-three-phase-arc__eyebrow-text {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--section-copper, var(--copper));
    font-weight: 400;
}
.lt-three-phase-arc__header {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: end;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}
@media (max-width: 900px) {
    .lt-three-phase-arc__header {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.lt-three-phase-arc__heading {
    font-family: var(--font-serif);
    font-weight: 300;
    color: var(--section-heading, var(--fg-on-dark));
    font-size: var(--wp--preset--font-size--heading-2);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0;
}
.lt-three-phase-arc__description {
    font-size: var(--wp--preset--font-size--large);
    font-weight: 300;
    line-height: 1.85;
    color: var(--section-body, rgba(255,255,255,0.72));
    margin: 0;
}
.lt-three-phase-arc__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) {
    .lt-three-phase-arc__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.lt-three-phase-arc__card {
    background: var(--section-card-bg, var(--surface-card));
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.1));
    border-radius: var(--radius-card);
    padding: clamp(1.75rem, 2.6vw, 2.25rem);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}
.lt-three-phase-arc__number {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 2.2rem;
    color: var(--copper);
    letter-spacing: -0.02em;
    line-height: 1;
}
.lt-three-phase-arc__cadence {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--section-copper, var(--copper));
    font-weight: 400;
}
.lt-three-phase-arc__name {
    font-family: var(--font-serif);
    font-weight: 300;
    color: var(--section-heading, var(--fg-on-dark));
    font-size: clamp(1.5rem, 2vw, 1.85rem);
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.lt-three-phase-arc__schedule {
    font-size: 12.5px;
    font-weight: 300;
    color: var(--section-muted, rgba(255,255,255,0.60));
    letter-spacing: 0.01em;
}
.lt-three-phase-arc__summary {
    font-size: 15px;
    font-weight: 300;
    line-height: var(--wp--custom--leading--body);
    color: var(--section-body, rgba(255,255,255,0.78));
    margin: 6px 0 0;
}

/* -- Bento Image Grid ---------------------------------------- */
.lt-bento-image-grid {
    background: var(--section-bg, var(--cream));
    padding-block: var(--lt-section-padding);
    width: 100%;
    position: relative;
    z-index: 1;
}

.lt-bento-header {
    margin-bottom: var(--wp--preset--spacing--xl, 48px);
}

.lt-bento-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .lt-bento-grid-wrapper {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        grid-auto-rows: 250px;
        gap: 24px;
    }
    
    .lt-bento-item.col-span-2 {
        grid-column: span 2;
    }
    
    .lt-bento-item.row-span-2 {
        grid-row: span 2;
    }
}

.lt-bento-item {
    position: relative;
    border-radius: var(--wp--preset--spacing--sm, 16px);
    overflow: hidden;
    background: var(--section-bg, var(--surface-2));
    border: 1px solid var(--border-divider, rgba(255,255,255,0.06));
    transition: transform var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth);
    isolation: isolate;
}

.lt-bento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
    z-index: 2;
}

.lt-bento-figure {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

.lt-bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-smooth);
}

.lt-bento-item:hover .lt-bento-img {
    transform: scale(1.05);
}

.lt-bento-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    transform: translateY(10px);
    opacity: 0;
    transition: all var(--duration-normal) var(--ease-smooth);
}

.lt-bento-item:hover .lt-bento-caption {
    transform: translateY(0);
    opacity: 1;
}

/* -- Horizontal Steps ---------------------------------------- */
.lt-horizontal-steps {
    background: var(--section-bg, var(--surface-2));
    padding-block: var(--lt-section-padding);
    width: 100%;
    position: relative;
    z-index: 1;
}
/* .lt-horizontal-steps__inner — layout handled by .lt-inner utility */
.lt-steps-header {
    margin-bottom: var(--wp--preset--spacing--xl, 48px);
}

.lt-steps-wrapper {
    position: relative;
    padding: 24px 0;
}

.lt-steps-track {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 768px) {
    .lt-steps-track {
        flex-direction: row;
        align-items: stretch;
        gap: 0;
    }
}

.lt-step-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

@media (min-width: 768px) {
    .lt-step-item {
        flex-direction: column;
        padding-right: 24px;
        gap: 24px;
    }
    
    /* The connecting line between nodes */
    .lt-step-item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 24px;
        left: 48px;
        right: 0;
        height: 2px;
        background: var(--border-divider, rgba(255, 255, 255, 0.1));
        z-index: 1;
    }
}

.lt-step-node {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--section-card-bg, var(--surface-2));
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    transition: all var(--duration-fast) var(--ease-default);
}

.lt-step-item:hover .lt-step-node {
    background: var(--interaction-wash, rgba(255,255,255,0.06));
    border-color: var(--interaction-rule-hover, var(--border-divider));
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.lt-step-number {
    font-size: 14px;
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--section-heading, var(--white));
}

.lt-step-content {
    flex: 1;
}

.lt-step-title {
    font-size: 20px;
    font-family: var(--font-serif);
    color: var(--section-heading, var(--white));
    margin: 0 0 8px;
}

.lt-step-desc {
    font-size: 15px;
    color: var(--section-body, var(--text-muted));
    line-height: 1.6;
    margin: 0;
}

/* -- Reduced Motion ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Journey Graph Block
   ========================================================================== */
.lt-journey-graph {
    padding-block: var(--lt-section-padding);
    background-color: var(--surface-1);
    position: relative;
    overflow: hidden;
}

.lt-journey-graph__header {
    text-align: left;
    max-width: 880px;
    margin: 0 0 64px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.lt-journey-graph__track-wrapper {
    position: relative;
    padding: 48px 0;
}

.lt-journey-graph__svg-path {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100px;
    transform: translateY(-50%);
    color: var(--border-subtle);
    z-index: 1;
}

.lt-journey-graph__nodes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 24px;
}

.lt-journey-graph__node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transform: translateY(0);
    transition: transform var(--duration-normal) var(--ease-smooth);
}

.lt-journey-graph__node:hover {
    transform: translateY(-8px);
}

.lt-journey-graph__node:nth-child(even) {
    flex-direction: column-reverse;
}

.lt-journey-graph__node:nth-child(odd) .lt-journey-graph__node-content {
    margin-top: 32px;
}

.lt-journey-graph__node:nth-child(even) .lt-journey-graph__node-content {
    margin-bottom: 32px;
}

.lt-journey-graph__node-point {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--surface-2);
    border: 2px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-shrink: 0;
    position: relative;
    transition: all var(--duration-fast) var(--ease-default);
}

.lt-journey-graph__node:hover .lt-journey-graph__node-point {
    border-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.1);
}

.lt-journey-graph__node-point img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.lt-journey-graph__node-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--white);
    opacity: 0.5;
    transition: opacity var(--duration-fast) var(--ease-default);
}

.lt-journey-graph__node:hover .lt-journey-graph__node-dot {
    opacity: 1;
}

.lt-journey-graph__node-content {
    max-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lt-journey-graph__node-content h3 {
    margin: 0;
    font-size: 18px;
    color: var(--white);
    font-family: var(--font-serif);
}

.lt-journey-graph__node-content p {
    margin: 0;
    font-size: 14px;
    color: var(--section-muted, var(--text-muted));
    line-height: 1.5;
}

@media (max-width: 768px) {
    .lt-journey-graph__svg-path {
        display: none;
    }
    
    .lt-journey-graph__nodes {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        padding-left: 24px;
        border-left: 2px dashed var(--border-subtle);
    }

    .lt-journey-graph__node,
    .lt-journey-graph__node:nth-child(even) {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        width: 100%;
        transform: none !important;
    }

    .lt-journey-graph__node:nth-child(odd) .lt-journey-graph__node-content,
    .lt-journey-graph__node:nth-child(even) .lt-journey-graph__node-content {
        margin: 0;
        max-width: none;
    }
    
    .lt-journey-graph__node-point {
        margin-left: calc(-24px - 25px);
        background-color: var(--surface-1);
    }
}

/* ==========================================================================
   Composition cadence & motion choreography
   See docs/brand-style-guide.md §11.4.4 (cadence/motion) and §11.4.5 (motif).
   All new motion gated by prefers-reduced-motion: no-preference + @supports.
   ========================================================================== */

/* -- Surface rhythm: single-owner curved transition -------- */
/* The receiving section owns the boundary. Its curve consumes a measured
   portion of the preceding section's existing closing space; the predecessor
   is never resized, and heroes do not receive hidden automatic behavior. */
:root {
    --lt-transition-depth: clamp(2.5rem, 4vw, 4rem);
    --lt-transition-radius: var(--radius-section-lg);
    /* Page entrances need more quiet below their last line or action than
       internal chapter changes. The receiving curve still owns the boundary,
       but it only tucks slightly into a page header. */
    --lt-page-header-transition-depth: clamp(0.75rem, 1.15vw, 1.25rem);
    --lt-page-header-follow-space: clamp(2.75rem, 4vw, 4.5rem);
}
@media (max-width: 767px) {
    :root {
        --lt-transition-depth: clamp(1.75rem, 8vw, 2.5rem);
        --lt-transition-radius: var(--radius-section);
        --lt-page-header-transition-depth: 0.75rem;
        --lt-page-header-follow-space: clamp(2.25rem, 8vw, 3.25rem);
    }
}

.lt-transition--curve-in,
.lt-section--overlap-top {
    --lt-block-flow-offset: calc(-1 * var(--lt-transition-depth));
    border-start-start-radius: var(--lt-transition-radius);
    border-start-end-radius: var(--lt-transition-radius);
    margin-block-start: var(--lt-block-flow-offset) !important;
    position: relative;
    z-index: 2;
}

/* A page header is a different cadence boundary from an internal chapter.
   Preserve the soft curve, but prevent it from consuming the hero's closing
   space and crowding the final line, metadata row, or CTA cluster. */
.lt-page-header + :is(.lt-transition--curve-in, .lt-section--overlap-top) {
    --lt-block-flow-offset: calc(-1 * var(--lt-page-header-transition-depth));
    border-start-start-radius: var(--lt-transition-radius) var(--lt-page-header-transition-depth);
    border-start-end-radius: var(--lt-transition-radius) var(--lt-page-header-transition-depth);
}


/* -- Hero motif (terracotta brand curve) ------------------- */
/* Right-anchored organic curve, evokes TTL hero. Sits on top
   of the dark gradient overlay (z-1). */
.lt-hero__motif {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: min(70vw, 820px);
    pointer-events: none;
    z-index: 2;
    opacity: 0.85;
}
.lt-hero__motif svg {
    width: 100%;
    height: 100%;
    display: block;
}
/* Ensure motif sits above overlay, and content/bottom-bar sit above motif */
.lt-hero:has(.lt-hero__motif) .lt-hero__overlay { z-index: 1; }
.lt-hero:has(.lt-hero__motif) .lt-hero__motif { z-index: 2; }
.lt-hero:has(.lt-hero__motif) .lt-hero__content { z-index: 3; }
.lt-hero:has(.lt-hero__motif) .lt-hero__bottom-bar { z-index: 3; }

/* -- Section motifs (decorative background patterns) ------- */
/* See docs/brand-style-guide.md §11.4.6 for spec.           */
/* Two variants: 'ripples' (partial copper arcs, bottom-right)
   and 'veils' (horizontal gradient bands, full-width bottom).
   Always opt-in per block via ACF 'section_motif' select.
   Max 3 motif instances per page (brand rule, not code-enforced). */

.lt-section-motif {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.lt-section-motif svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Ripples — concentric copper arcs, bottom-right corner */
.lt-section-motif--ripples {
    bottom: 0;
    right: 0;
    width: min(50vw, 600px);
    height: min(50vw, 600px);
}

/* Veils — horizontal gradient bands, full-width bottom */
.lt-section-motif--veils {
    bottom: 0;
    left: 0;
    right: 0;
    height: clamp(200px, 25vh, 300px);
}

/* Ensure section content sits above motif */
.lt-section-motif + .lt-inner,
.lt-section-motif ~ .lt-inner {
    position: relative;
    z-index: 1;
}

/* Mobile: scale down to avoid crowding content */
@media (max-width: 768px) {
    .lt-section-motif--ripples {
        width: min(65vw, 360px);
        height: min(65vw, 360px);
        opacity: 0.7;
    }
    .lt-section-motif--veils {
        height: clamp(120px, 18vh, 180px);
        opacity: 0.65;
    }
}

/* -- Section divider --simple variant (TTL parity) -------- */
/* TTL pattern: short copper rule + copper label, no leading dot. */
.lt-section-divider--simple .lt-section-divider__dot { display: none; }
.lt-section-divider--simple .lt-section-divider__rule {
    flex-grow: 0;
    width: 48px;
    height: 1px;
    background: var(--copper);
}
.lt-section-divider--simple .lt-section-divider__label {
    color: var(--section-copper, var(--copper));
}

/* -- Scroll-driven entrance reveal (native, JS-free) ------ */
/* Uses CSS Scroll-Linked Animations (animation-timeline: view()).
   Chrome 115+, Safari 26+. Degrades to "no animation, fully visible"
   in unsupporting browsers via the @supports gate.
   Honors prefers-reduced-motion via the no-preference query. */
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        @keyframes lt-reveal {
            from { transform: translateY(12px); }
            to   { transform: translateY(0); }
        }
        .lt-reveal {
            animation: lt-reveal linear both;
            animation-timeline: view();
            animation-range: entry 0% cover 25%;
        }
        /* Staggered children — apply to a parent grid/flex container.
           Children fade in slightly later as the parent enters view. */
        .lt-reveal-stagger > * {
            animation: lt-reveal linear both;
            animation-timeline: view();
            animation-range: entry 0% cover 35%;
        }
        .lt-reveal-stagger > *:nth-child(2) { animation-range: entry 0% cover 45%; }
        .lt-reveal-stagger > *:nth-child(3) { animation-range: entry 0% cover 55%; }
        .lt-reveal-stagger > *:nth-child(4) { animation-range: entry 0% cover 65%; }
        .lt-reveal-stagger > *:nth-child(n+5) { animation-range: entry 0% cover 75%; }
    }
}

/* -- Homepage editorial scroll layer ---------------------- */
/* The blocks remain canonical and fully readable without these enhancements.
   Motion is intentionally limited to depth, progress, and journey emphasis. */
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: scroll()) {
        @keyframes lt-home-progress {
            from { transform: scaleX(0); }
            to { transform: scaleX(1); }
        }

        body.home .lt-global-header::after {
            content: '';
            position: absolute;
            right: 0;
            bottom: 0;
            left: 0;
            z-index: 12;
            height: 1px;
            background: rgba(255, 255, 255, 0.62);
            transform: scaleX(0);
            transform-origin: left center;
            animation: lt-home-progress linear both;
            animation-timeline: scroll(root block);
            pointer-events: none;
        }

        @keyframes lt-home-hero-image {
            from { transform: scale(1.035) translate3d(0, -1%, 0); }
            to { transform: scale(1.12) translate3d(0, 5%, 0); }
        }

        @keyframes lt-home-hero-ribbon {
            from {
                transform: translate3d(5%, 0, 0) scale(1);
                opacity: .62;
            }
            to {
                transform: translate3d(5%, -6%, 0) scale(1.075);
                opacity: .82;
            }
        }

        @keyframes lt-home-hero-copy {
            from { transform: translateY(0); opacity: 1; }
            to { transform: translateY(.75rem); opacity: .92; }
        }

        body.home .wp-block-post-content > .lt-hero:first-child .lt-hero__bg {
            animation: lt-home-hero-image linear both;
            animation-timeline: scroll(root block);
            animation-range: 0 90vh;
            will-change: transform;
        }

        body.home .wp-block-post-content > .lt-hero:first-child .lt-hero__content {
            animation: lt-home-hero-copy linear both;
            animation-timeline: scroll(root block);
            animation-range: 0 72vh;
        }

        body.home .wp-block-post-content > .lt-hero--motion-editorial:first-child .lt-hero__motif {
            animation: lt-home-hero-ribbon linear both;
            animation-timeline: scroll(root block);
            animation-range: 0 86vh;
            will-change: transform, opacity;
        }

        @media (max-width: 767px) {
            @keyframes lt-home-hero-image {
                from { transform: scale(1.02) translate3d(0, 0, 0); }
                to { transform: scale(1.075) translate3d(0, 2%, 0); }
            }

            body.home .wp-block-post-content > .lt-hero--motion-editorial:first-child .lt-hero__motif {
                animation: none;
                will-change: auto;
            }
        }
    }

    @supports (animation-timeline: view()) {
        @keyframes lt-home-editorial-media {
            from { transform: scale(1.045) translateY(-1.5%); }
            to { transform: scale(1.015) translateY(1.5%); }
        }

        body.home .lt-featured-program__image {
            animation: lt-home-editorial-media linear both;
            animation-timeline: view();
            animation-range: entry -10% cover 90%;
            will-change: transform;
        }

        body.home .wp-block-post-content > .lt-hero:last-child .lt-hero__bg {
            animation: lt-home-editorial-media linear both;
            animation-timeline: view();
            animation-range: entry 0% cover 100%;
            will-change: transform;
        }
    }
}

.lt-home-motion-ready body.home .lt-steps--horizontal .lt-steps__step {
    /* Preserve the editorial active-step rhythm without dimming readable
       content below the semantic contrast contract. */
    opacity: 0.72;
    transition: opacity var(--duration-normal) var(--ease-smooth),
                transform var(--duration-normal) var(--ease-entrance);
}

.lt-home-motion-ready body.home .lt-steps--horizontal .lt-steps__step.is-scroll-active {
    opacity: 1;
    transform: translateY(-0.25rem);
}

.lt-home-motion-ready body.home .lt-steps--horizontal .lt-steps__step.is-scroll-active .lt-steps__node {
    border-color: var(--interaction-rule-hover);
    background: var(--interaction-wash);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

@media (max-width: 760px) {
    .lt-home-motion-ready body.home .lt-steps--horizontal .lt-steps__step,
    .lt-home-motion-ready body.home .lt-steps--horizontal .lt-steps__step.is-scroll-active {
        opacity: 1;
        transform: none;
    }
}

/* -- FAQ accordion smooth open (native interpolate-size) -- */
/* Chrome 129+, Safari 18.2+. In unsupporting browsers the
   <details> element keeps its current binary open/close. */
@media (prefers-reduced-motion: no-preference) {
    @supports (interpolate-size: allow-keywords) {
        :root {
            interpolate-size: allow-keywords;
        }
        .lt-text-focused__faq-answer {
            overflow: hidden;
            transition:
                block-size var(--duration-normal) var(--ease-entrance),
                opacity var(--duration-fast) var(--ease-smooth);
        }
        .lt-text-focused__faq-item:not([open]) .lt-text-focused__faq-answer {
            block-size: 0;
            opacity: 0;
        }
        .lt-text-focused__faq-item[open] .lt-text-focused__faq-answer {
            block-size: auto;
            opacity: 1;
        }
    }
}

/* -- Native page transitions ------------------------------ */
/* Cross-fade page navigation. Chrome 126+, Safari 18.
   The @view-transition opt-in stays on regardless of motion
   preference; we neutralize the animation under reduce so
   the transition is instant (no flash) rather than a fade. */
@view-transition {
    navigation: auto;
}
@media (prefers-reduced-motion: no-preference) {
    ::view-transition-old(root) {
        animation: lt-fade-out var(--duration-fast, 0.25s) var(--ease-smooth) both;
    }
    ::view-transition-new(root) {
        animation: lt-fade-in var(--duration-normal, 0.35s) var(--ease-entrance) both;
    }
}
@keyframes lt-fade-out { to { opacity: 0; } }
@keyframes lt-fade-in  { from { opacity: 0; } }

/* ============================================================
   Global Header — Styles
   Canonical source: Navigation.tsx + Primitives.jsx (ApplyCTA)
   ============================================================ */

/* Reset any WP template part spacing */
.lt-global-header-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    min-height: 0 !important;
}

/* Collapse the header template-part flow wrapper so the hero
   starts at the very top of the viewport (header is position:fixed) */
.wp-site-blocks > header.wp-block-template-part,
header.wp-block-template-part {
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: visible;        /* let fixed header paint normally */
}

/* Master fixed wrapper */
.lt-global-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    background: transparent;
    transition: transform var(--duration-fast, 0.3s) var(--ease-smooth, ease);
}
.lt-global-header.is-hidden {
    transform: translateY(-100%);
}

/* Admin bar offsets */
body.admin-bar .lt-global-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .lt-global-header {
        top: 46px;
    }
}

/* ---- Banner ---- */
/* Wrapper handles the scroll-collapse animation */
.lt-header-banner-wrapper {
    overflow: hidden;
    transition: all var(--duration-normal, 0.6s) ease;
    opacity: 1;
}
.lt-global-header.is-scrolled .lt-header-banner-wrapper {
    height: 0 !important;
    opacity: 0;
}

/* Banner bar — bg-surface-4 equivalent */
.lt-header-banner {
    background: var(--surface-4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    height: 100%;
    min-height: 40px;
}

/* Banner content — text-copper text-xs uppercase tracking-widest font-medium */
.lt-header-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #A24B19;
    font-family: var(--wp--preset--font-family--body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity var(--duration-fast) ease;
}
a.lt-header-banner-content:hover {
    opacity: 0.8;
}

/* ---- Navigation Container ---- */
.lt-nav-container {
    background: transparent;
    transition: background-color var(--duration-normal) ease,
                backdrop-filter var(--duration-normal) ease,
                box-shadow var(--duration-normal) ease;
}

body.single-event .lt-nav-container:not(.is-menu-open) {
    background: rgba(22, 38, 41, 0.96);
}

/* Scrolled state — bg-surface-2/95 backdrop-blur-xl shadow
   Source: Navigation.tsx line 122 */
.lt-nav-container.is-scrolled {
    background: rgba(22, 38, 41, 0.90);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: none;
}

/* Inner container — max-w-[1400px] mx-auto px-6 md:px-12 lg:px-20 h-16 md:h-20
   Source: Navigation.tsx line 129 */
.lt-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
@media (min-width: 768px) {
    .lt-nav-inner {
        height: 80px;
    }
}

/* ---- Brand Logo ---- */
/* Source: Navigation.tsx lines 136-138
   Default: h-10 md:h-14 | Scrolled: h-8 md:h-9 */
.lt-nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.lt-nav-brand img {
    height: 40px;
    width: auto;
    filter: brightness(1.25);
    transition: height var(--duration-normal) ease;
}
.lt-nav-brand__text,
.lt-footer__brand-text {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(1.5rem, 4vw, 2.15rem);
    line-height: 1;
    color: var(--cream);
}
@media (min-width: 768px) {
    .lt-nav-brand img {
        height: 56px;
    }
}
.lt-nav-container.is-scrolled .lt-nav-brand img {
    height: 32px;
}
@media (min-width: 768px) {
    .lt-nav-container.is-scrolled .lt-nav-brand img {
        height: 36px;
    }
}

/* ---- Mobile Toggle ---- */
.lt-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-dark-subtle);
    border-radius: var(--radius-circle);
    background: rgba(11, 27, 30, 0.45);
    color: var(--cream);
    cursor: pointer;
}
.lt-nav-toggle__bar {
    display: block;
    width: 18px;
    height: 1px;
    margin-inline: auto;
    background: currentColor;
    transition: transform var(--duration-fast) var(--ease-smooth),
                opacity var(--duration-fast) var(--ease-smooth);
}
.lt-nav-container.is-menu-open .lt-nav-toggle__bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.lt-nav-container.is-menu-open .lt-nav-toggle__bar:nth-child(2) {
    opacity: 0;
}
.lt-nav-container.is-menu-open .lt-nav-toggle__bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}
@media (min-width: 1024px) {
    .lt-nav-toggle {
        display: none;
    }
}

/* ---- Menu Container ---- */
.lt-nav-menu {
    display: none;
}
@media (max-width: 1023px) {
    .lt-menu-lock {
        overflow: hidden;
    }
    .lt-nav-container.is-menu-open {
        background: rgba(11, 27, 30, 0.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }
    .lt-nav-container.is-menu-open .lt-nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        min-height: calc(100vh - 64px);
        padding: 2rem var(--lt-gutter) 3rem;
        background: var(--surface-1);
        border-top: 1px solid var(--border-dark-subtle);
        overflow-y: auto;
        z-index: 20;
    }
    .lt-nav-container.is-menu-open .lt-nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }
    .lt-nav-container.is-menu-open .lt-nav-list li {
        display: block;
        border-bottom: 1px solid var(--border-dark-subtle);
    }
    .lt-nav-container.is-menu-open .lt-nav-list a {
        display: block;
        width: 100%;
        padding: 1.05rem 0;
        color: var(--fg-on-dark);
        transform: none !important;
    }
    .lt-nav-container.is-menu-open .lt-nav-list a::after {
        display: none;
    }
    .lt-nav-container.is-menu-open .lt-nav-cta--mobile {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        margin-left: 0;
    }
}
@media (min-width: 1024px) {
    .lt-nav-menu {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        position: relative;
        margin-left: auto;
    }
}

.lt-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.lt-nav-list li {
    position: relative;
    display: flex;
}

/* ---- Nav Links ----
   Source: Navigation.tsx line 155
   "relative text-white/70 hover:text-white text-xs uppercase
    tracking-widest font-medium py-1 group"

   No underline at rest or hover. Navigation relies on a quiet tonal shift. */
.lt-nav-list a {
    position: relative;
    display: inline-block;
    padding: 0.25rem 0;
    font-family: var(--wp--preset--font-family--body);
    font-weight: 500;                   /* font-medium */
    font-size: 0.75rem;                 /* text-xs = 12px */
    color: rgba(255,255,255,0.7);       /* text-white/70 */
    letter-spacing: 0.1em;             /* tracking-widest */
    text-transform: uppercase;
    text-decoration: none !important;   /* NO underline ever */
    transition: color var(--duration-fast, 0.3s) ease, transform 0.15s ease;
}

/* Hover state — text-white */
.lt-nav-list a:hover {
    color: #ffffff;
    text-decoration: none !important;
}

/* Navigation uses a tonal shift rather than a decorative underline. */
.lt-nav-list a::after {
    content: none;
}

.lt-nav-list a:hover::after {
    width: 0;
}

/* Active page — text is bright white, no persistent underline */
.lt-nav-list li.current-menu-item a {
    color: #ffffff;
}

/* ---- CTA Button ----
   Inherits canonical CTA font spec (weight: 500, size: 0.75rem,
   tracking: 0.15em, uppercase) but uses compact padding for
   the ~64px header bar. This is the ONE allowed padding exception. */
.lt-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    background: var(--action-copper);
    color: #fff;
    box-shadow: var(--shadow-cta);
    transition: all var(--duration-fast) var(--ease-smooth);
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    width: fit-content;
}
.lt-nav-cta:hover {
    background: var(--action-copper-hover);
    color: #fff;
    text-decoration: none !important;
}
.lt-nav-cta-arrow {
    font-weight: 300;
    font-size: 14px;
}
.lt-nav-cta--mobile {
    display: none;
}

/* Hide CTA on smaller screens — only show when nav is visible */
@media (max-width: 1023px) {
    .lt-nav-cta--desktop {
        display: none;
    }
}

@media (min-width: 1024px) {
    .lt-nav-cta--desktop {
        margin-left: 1.5rem !important;
    }
}

/* ============================================================
   SUB-NAVIGATION SYSTEM
   ============================================================ */

/* --- Desktop Dropdown Container --- */
@media (min-width: 1024px) {
    .lt-nav-list li.menu-item-has-children {
        position: relative;
    }

    .lt-nav-list .sub-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: var(--surface-1, #142F38); /* Matches brand deep teal */
        border: 1px solid var(--border-dark-subtle, rgba(255, 255, 255, 0.08));
        border-radius: var(--radius-card, 0.75rem);
        padding: 0.75rem 0;
        min-width: 220px;
        box-shadow: var(--shadow-card, 0 10px 30px rgba(0, 0, 0, 0.25));
        list-style: none;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                    visibility 0.25s ease;
        z-index: 100;
    }

    /* Expand when parent is hovered or holds focus */
    .lt-nav-list li.menu-item-has-children:hover .sub-menu,
    .lt-nav-list li.menu-item-has-children:focus-within .sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .lt-nav-list .sub-menu li {
        width: 100%;
        display: block;
        padding: 0;
    }

    .lt-nav-list .sub-menu a {
        display: block;
        width: 100%;
        padding: 0.65rem 1.25rem;
        font-family: var(--font-sans);
        font-size: 0.75rem;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.7);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        text-decoration: none !important;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    .lt-nav-list .sub-menu a::after {
        display: none !important; /* disable hover line for submenu links */
    }

    .lt-nav-list .sub-menu a:hover,
    .lt-nav-list .sub-menu a:focus {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.04);
    }

    /* Hide mobile chevron toggles on desktop */
    .lt-submenu-toggle {
        display: none !important;
    }
}

/* --- Mobile Accordion --- */
@media (max-width: 1023px) {
    .lt-nav-list li.menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .lt-nav-list li.menu-item-has-children > a {
        flex-grow: 1;
    }

    /* Chevron arrow toggle button */
    .lt-submenu-toggle {
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.6);
        padding: 1.05rem var(--lt-gutter, 1.25rem);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease, color 0.2s ease;
        line-height: 1;
    }

    .lt-submenu-toggle[aria-expanded="true"] {
        transform: rotate(180deg);
        color: #ffffff;
    }

    /* Submenu drawer */
    .lt-nav-list .sub-menu {
        display: none;
        list-style: none;
        width: 100%;
        padding: 0 0 0.5rem 1.5rem; /* indent child links */
        margin: 0;
        flex-direction: column;
        border-left: 1px solid var(--border-dark-subtle, rgba(255, 255, 255, 0.08));
    }

    .lt-nav-list .sub-menu.is-expanded {
        display: flex;
    }

    .lt-nav-list .sub-menu li {
        border-bottom: none !important;
    }

    .lt-nav-list .sub-menu a {
        padding: 0.6rem 0 !important;
        font-family: var(--font-sans);
        font-size: 0.775rem !important;
        color: rgba(255, 255, 255, 0.55) !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }

    .lt-nav-list .sub-menu a:hover,
    .lt-nav-list .sub-menu a:focus {
        color: #ffffff !important;
    }
}



/* -- Respira brand motif (angled terracotta background glow) -- */
/* Canonical spec: Angled background container (typically 5-15 deg skew)
 *    with terracotta/copper tone, used as accent decoration. */
.lt-brand-motif--angled {
	position: relative;
	overflow: hidden;
}
.lt-brand-motif--angled::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--copper-glow);
	transform: skewY(-10deg);
	transform-origin: top left;
	z-index: -1;
}


/* ============================================================
   WORDPRESS CORE BLOCK OVERRIDES
   Styles for native WordPress blocks used in default templates
   (404, page, single, index). These ensure all WP core blocks
   align with the LuminaThera design system.
   ============================================================ */

/* Outline variant */
.wp-block-button.is-style-outline .wp-element-button,
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--section-heading, var(--link-color));
    border-color: var(--interaction-rule);
    box-shadow: none;
}
.wp-block-button.is-style-outline .wp-element-button:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    border-color: var(--interaction-rule-hover, var(--border-dark-strong));
    background: var(--interaction-wash, rgba(255,255,255,0.06));
    color: var(--section-heading, var(--cream));
    transform: translateY(-1px);
}

/* Button group alignment */
.wp-block-buttons {
    gap: 1rem;
}

/* -- WP Headings ------------------------------------------- */
/* Surface-aware: reads --section-heading from the nearest is-style-* wrapper.
   Falls back to --cream (dark-surface default) when no wrapper is in effect. */
.wp-block-heading,
.wp-block-post-title {
    font-family: var(--font-serif);
    font-weight: var(--wp--custom--weight--heading, 300);
    letter-spacing: var(--wp--custom--tracking--heading, -0.01em);
    line-height: var(--wp--custom--leading--heading, 1.05);
    color: var(--section-heading, var(--cream));
}

/* -- WP Paragraph ------------------------------------------ */
/* Surface-aware: same pattern as headings. Without this, light-surface
   blocks render white-on-cream because this selector outspecificity-wins
   over block-level .lt-*__summary / __paragraph / __body rules. */
.wp-block-post-content p,
.lt-page p,
.lt-single p,
.lt-error-page p:not(.lt-eyebrow) {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: var(--wp--custom--leading--body);
    color: var(--section-body, var(--fg-on-dark-body));
}

/* -- WP Separator ------------------------------------------ */
.wp-block-separator {
    border: none;
    border-top: 1px solid var(--border-dark-divider);
    opacity: 1;
    margin: 3rem auto;
    max-width: 120px;
}
.wp-block-separator.is-style-wide {
    max-width: 100%;
}

/* -- WP Quote ---------------------------------------------- */
.wp-block-quote {
    border-left: 3px solid var(--copper);
    padding: 1.5rem 0 1.5rem 2rem;
    margin: 2rem 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.1rem, 1vw + 0.9rem, 1.35rem);
    line-height: 1.6;
    color: var(--section-heading, var(--fg-on-dark));
}
.wp-block-quote cite {
    display: block;
    margin-top: 1rem;
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--section-muted, var(--fg-on-dark-muted));
}

/* -- WP List ----------------------------------------------- */
.wp-block-list {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: var(--wp--custom--leading--body);
    color: var(--section-body, var(--fg-on-dark-body));
    padding-left: 1.5rem;
}
.wp-block-list li + li {
    margin-top: 0.5rem;
}
.wp-block-list li::marker {
    color: var(--section-copper, var(--copper));
}

/* -- WP Image ---------------------------------------------- */
.wp-block-image {
    border-radius: var(--radius-card);
    overflow: hidden;
}
.wp-block-image img {
    width: 100%;
    height: auto;
    display: block;
}
.wp-block-image figcaption {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--fg-on-dark-muted);
    text-align: center;
    margin-top: 0.75rem;
    letter-spacing: 0.02em;
}

/* -- WP Search --------------------------------------------- */
.wp-block-search__input {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    background: var(--surface-card);
    border: 1px solid var(--border-dark-divider);
    border-radius: var(--radius);
    color: var(--cream);
    padding: 0.75rem 1rem;
    transition: border-color var(--duration-fast) ease;
}
.wp-block-search__input:focus {
    border-color: var(--interaction-rule-hover, currentColor);
    outline: 2px solid var(--focus-ring, currentColor);
    outline-offset: 2px;
}

/* -- WP Post Date ------------------------------------------ */
.wp-block-post-date {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fg-on-dark-muted);
}

/* -- WP Table ---------------------------------------------- */
.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--fg-on-dark-body);
}
.wp-block-table th {
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--fg-on-dark-muted);
    text-align: left;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid var(--border-dark-strong);
}
.wp-block-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-dark-subtle);
}
.wp-block-table tr:last-child td {
    border-bottom: none;
}

/* -- WP Code Block ----------------------------------------- */
.wp-block-code {
    background: var(--surface-1);
    border: 1px solid var(--border-dark-subtle);
    border-radius: var(--radius-card);
    padding: 1.5rem 2rem;
    overflow-x: auto;
}
.wp-block-code code {
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Cascadia Code', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--cream);
}

/* -- WP Preformatted --------------------------------------- */
.wp-block-preformatted {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--fg-on-dark-body);
    background: var(--surface-1);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-card);
    overflow-x: auto;
}


/* ============================================================
   TEMPLATE-LEVEL STYLES
   ============================================================ */

/* -- 404 Error Page ---------------------------------------- */
.lt-error-page {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 10%, rgba(208, 116, 68, 0.10), transparent 29rem),
        linear-gradient(145deg, var(--surface-2), var(--surface-1));
    text-align: center;
    padding: var(--lt-section-padding) var(--lt-gutter);
}

.lt-error-page::before {
    content: "";
    position: absolute;
    width: clamp(22rem, 46vw, 44rem);
    aspect-ratio: 1;
    right: clamp(-22rem, -16vw, -10rem);
    top: clamp(-24rem, -20vw, -12rem);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: var(--radius-circle);
    box-shadow:
        0 0 0 clamp(3rem, 7vw, 7rem) rgba(255, 255, 255, 0.018),
        0 0 0 clamp(8rem, 15vw, 14rem) rgba(255, 255, 255, 0.012);
    pointer-events: none;
}

.lt-error-page__inner {
    position: relative;
    z-index: 1;
    width: min(100%, 1120px);
    margin: 0 auto;
}

.lt-error-page__intro {
    width: min(100%, 760px);
    margin: 0 auto;
}

.lt-error-page .lt-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--copper);
    margin: 0 0 1.25rem;
}

.lt-error-page__heading {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(3.25rem, 7vw, 5.75rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
    color: var(--cream);
    margin: 0;
    text-wrap: balance;
}

.lt-error-page__body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
    line-height: var(--wp--custom--leading--body);
    color: var(--fg-on-dark-body);
    max-width: 570px;
    margin: 1.5rem auto 0;
}

.lt-error-page__routes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(3.25rem, 7vw, 5.5rem);
    border-top: 1px solid var(--border-dark-divider);
    border-bottom: 1px solid var(--border-dark-divider);
    text-align: left;
}

.lt-error-page__route {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 19rem;
    padding: clamp(1.75rem, 3.5vw, 3rem);
    transition:
        background var(--duration-fast) var(--ease-smooth),
        border-color var(--duration-fast) var(--ease-smooth);
}

.lt-error-page__route + .lt-error-page__route {
    border-left: 1px solid var(--border-dark-divider);
}

.lt-error-page__route:hover {
    background: rgba(255, 255, 255, 0.025);
}

.lt-error-page__route--primary {
    background: rgba(208, 116, 68, 0.055);
}

.lt-error-page__route--primary:hover {
    background: rgba(208, 116, 68, 0.085);
}

.lt-error-page p.lt-error-page__route-number {
    margin: 0 0 2.5rem;
    color: var(--copper-on-dark);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.2em;
}

.lt-error-page__route-heading {
    max-width: 16rem;
    margin: 0;
    color: var(--cream);
    font-family: var(--font-serif);
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
    font-weight: 300;
    line-height: 1.08;
    text-wrap: balance;
}

.lt-error-page p.lt-error-page__route-body {
    max-width: 18rem;
    margin: 1rem 0 2rem;
    color: var(--fg-on-dark-body);
    font-size: 0.96rem;
    line-height: 1.7;
}

.lt-error-page p.lt-error-page__route-link,
.lt-error-page__route-action {
    margin: auto 0 0;
}

.lt-error-page__route-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        border-color var(--duration-fast) var(--ease-smooth),
        gap var(--duration-fast) var(--ease-smooth);
}

.lt-error-page__route-link a:hover {
    gap: 0.8rem;
    border-color: var(--copper-on-dark);
    color: var(--cream);
}

.lt-error-page__route-action .wp-block-button__link {
    white-space: nowrap;
}

.lt-error-page p.lt-error-page__home-link {
    margin: 2rem 0 0;
    color: var(--fg-on-dark-muted);
    font-size: 0.84rem;
    letter-spacing: 0.01em;
}

.lt-error-page__home-link a {
    color: var(--cream);
    text-underline-offset: 0.25em;
}

.lt-error-page__home-link a:hover {
    color: var(--cream);
    text-decoration-color: var(--copper-on-dark);
}

@media (max-width: 860px) {
    .lt-error-page {
        min-height: auto;
        padding-top: clamp(5rem, 14vw, 7rem);
        padding-bottom: clamp(5rem, 14vw, 7rem);
    }

    .lt-error-page__routes {
        grid-template-columns: 1fr;
    }

    .lt-error-page__route {
        min-height: 0;
        padding: 2rem 1.5rem;
    }

    .lt-error-page__route + .lt-error-page__route {
        border-top: 1px solid var(--border-dark-divider);
        border-left: 0;
    }

    .lt-error-page p.lt-error-page__route-number {
        margin-bottom: 1.5rem;
    }

    .lt-error-page p.lt-error-page__route-body {
        margin-bottom: 1.5rem;
    }

    .lt-error-page p.lt-error-page__route-link,
    .lt-error-page__route-action {
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .lt-error-page {
        text-align: left;
    }

    .lt-error-page__intro,
    .lt-error-page__intro .has-text-align-center {
        text-align: left;
    }

    .lt-error-page__heading {
        font-size: clamp(3rem, 16vw, 4.25rem);
    }

    .lt-error-page__body {
        margin-left: 0;
    }

    .lt-error-page p.lt-error-page__home-link {
        text-align: left;
    }
}

/* -- Single Post ------------------------------------------- */
.lt-single {
    background: var(--surface-2);
    padding-top: clamp(120px, 15vw, 180px); /* clearance for fixed header */
    padding-bottom: var(--lt-section-padding);
}
.lt-single__article {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--lt-gutter);
}
.lt-single__title,
.lt-single .wp-block-post-title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    color: var(--cream);
    margin-bottom: 1rem;
}
.lt-single__date,
.lt-single .wp-block-post-date {
    margin-bottom: 3rem;
}
.lt-single .wp-block-post-content > :not([class*="lt-"]) + :not([class*="lt-"]) {
    margin-top: 1.5rem !important;
}

/* -- Generic Page ------------------------------------------ */
.lt-page {
    background: var(--surface-2);
    padding-top: clamp(120px, 15vw, 180px); /* clearance for fixed header */
    padding-bottom: var(--lt-section-padding);
}

/* Full-width LT modules already own their closing rhythm. Keeping the generic
   prose padding after the final module exposes the page surface as a blank
   color band between that module and the footer. */
.lt-page:has(> .wp-block-post-content > [class*="lt-"]:last-child),
.lt-single:has(> .wp-block-post-content > [class*="lt-"]:last-child) {
    padding-bottom: 0;
}
.lt-page .wp-block-post-content {
    max-width: var(--lt-content-width);
    margin: 0 auto;
    padding: 0 var(--lt-gutter);
}

/* Prose spacing for post-content in generic/single templates */
.lt-page .wp-block-post-content > :not([class*="lt-"]) + :not([class*="lt-"]),
.lt-single .wp-block-post-content > :not([class*="lt-"]) + :not([class*="lt-"]) {
    margin-top: 1.5rem !important;
}
.lt-page .wp-block-post-content > h2,
.lt-single .wp-block-post-content > h2 {
    margin-top: 3rem !important;
    color: var(--cream);
}
.lt-page .wp-block-post-content > h3,
.lt-single .wp-block-post-content > h3 {
    margin-top: 2.5rem !important;
    color: var(--cream);
}

/* -- Index / Archive --------------------------------------- */
.wp-block-query .wp-block-post-template {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 2rem;
}

/* ============================================================
   LT BRAND CUSTOM FORMS (HIPAA GOOGLE FORMS INTEGRATION)
   ============================================================ */

.lt-form-container {
    max-width: 720px;
    margin: 2rem auto !important;
    padding: 3rem clamp(1.5rem, 5vw, 3.5rem);
    background: var(--surface-3);
    border: 1px solid var(--border-dark-subtle, rgba(255,255,255,0.06));
    border-radius: var(--radius-card, 1rem);
    box-shadow: var(--shadow-card, 0 8px 32px rgba(0,0,0,0.3));
    transition: opacity var(--duration-normal) var(--ease-default);
}

/* Light surface variations (e.g. inside a surface-4 section) */
.is-style-light-section .lt-form-container,
.bg-surface-4 .lt-form-container {
    background: var(--white, #FFFFFF);
    border: 1px solid var(--border-light-subtle, rgba(11,34,40,0.06));
    box-shadow: none;
}

.lt-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lt-form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lt-form__label {
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: var(--tracking-label, 0.15em);
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.is-style-light-section .lt-form__label,
.bg-surface-4 .lt-form__label {
    color: rgba(11,34,40,0.7);
}

.lt-form__label--conversational {
    text-transform: none !important;
    font-size: 0.95rem !important;
    font-weight: 300 !important;
    letter-spacing: normal !important;
    line-height: 1.5 !important;
    color: var(--cream) !important;
}
.is-style-light-section .lt-form__label--conversational,
.bg-surface-4 .lt-form__label--conversational {
    color: var(--charcoal) !important;
}

.lt-form__label--required::after {
    content: '*';
    color: var(--copper);
    margin-left: 2px;
}

.lt-form__description {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.825rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.25rem;
}

.is-style-light-section .lt-form__description,
.bg-surface-4 .lt-form__description {
    color: rgba(11,34,40,0.4);
}

/* Text Input and Textarea styling */
.lt-form__input,
.lt-form__textarea {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.875rem 1.125rem;
    background: var(--surface-card, #213F45);
    border: 1px solid var(--border-dark-divider, rgba(255,255,255,0.1));
    border-radius: var(--radius, 0.375rem);
    color: var(--cream, #FAF8F4);
    transition: border-color var(--duration-fast) var(--ease-smooth),
                box-shadow var(--duration-fast) var(--ease-smooth);
    width: 100%;
    outline: none;
}

.is-style-light-section .lt-form__input,
.is-style-light-section .lt-form__textarea,
.bg-surface-4 .lt-form__input,
.bg-surface-4 .lt-form__textarea {
    background: var(--cream, #FAF8F4);
    border: 1px solid var(--border-light-divider, rgba(11,34,40,0.1));
    color: var(--charcoal, #2C2C2C);
}

.lt-form__input:focus,
.lt-form__textarea:focus {
    border-color: var(--interaction-rule-hover, currentColor);
    box-shadow: 0 0 0 2px var(--interaction-wash, rgba(255,255,255,0.06));
}

.lt-form__textarea {
    min-height: 120px;
    resize: vertical;
}

/* Custom Select Dropdowns */
.lt-form__select-wrapper {
    position: relative;
    width: 100%;
}

.lt-form__select {
    appearance: none;
    -webkit-appearance: none;
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.875rem 2.5rem 0.875rem 1.125rem;
    background: var(--surface-card, #213F45);
    border: 1px solid var(--border-dark-divider, rgba(255,255,255,0.1));
    border-radius: var(--radius, 0.375rem);
    color: var(--cream, #FAF8F4);
    transition: border-color var(--duration-fast) var(--ease-smooth);
    width: 100%;
    outline: none;
    cursor: pointer;
}

.is-style-light-section .lt-form__select,
.bg-surface-4 .lt-form__select {
    background: var(--cream, #FAF8F4);
    border: 1px solid var(--border-light-divider, rgba(11,34,40,0.1));
    color: var(--charcoal, #2C2C2C);
}

.lt-form__select:focus {
    border-color: var(--interaction-rule-hover, currentColor);
    box-shadow: 0 0 0 2px var(--interaction-wash, rgba(255,255,255,0.06));
}

.lt-form__select-wrapper::after {
    content: "";
    position: absolute;
    right: 1.125rem;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background-color: var(--cream);
    clip-path: polygon(100% 0, 0 0, 50% 100%);
    pointer-events: none;
}

.is-style-light-section .lt-form__select-wrapper::after,
.bg-surface-4 .lt-form__select-wrapper::after {
    background-color: var(--charcoal);
}

/* Custom Checkboxes and Radios */
.lt-form__options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.lt-form__option-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--cream);
    cursor: pointer;
    position: relative;
    user-select: none;
}

.is-style-light-section .lt-form__option-label,
.bg-surface-4 .lt-form__option-label {
    color: var(--charcoal);
}

/* Hide native inputs */
.lt-form__option-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom radio/checkbox visuals */
.lt-form__option-control {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--surface-card, #213F45);
    border: 1px solid var(--border-dark-divider, rgba(255,255,255,0.15));
    transition: all var(--duration-fast) var(--ease-smooth);
    flex-shrink: 0;
}

.is-style-light-section .lt-form__option-control,
.bg-surface-4 .lt-form__option-control {
    background: var(--cream, #FAF8F4);
    border: 1px solid var(--border-light-divider, rgba(11,34,40,0.15));
}

/* Checkbox specific shapes */
.lt-form__option-input[type="checkbox"] ~ .lt-form__option-control {
    border-radius: var(--radius, 0.375rem);
}

/* Radio specific shapes */
.lt-form__option-input[type="radio"] ~ .lt-form__option-control {
    border-radius: var(--radius-circle, 9999px);
}

/* Hover state */
.lt-form__option-label:hover .lt-form__option-control {
    border-color: var(--interaction-rule-hover, currentColor);
    transform: scale(1.05);
}

/* Checked state */
.lt-form__option-input:checked ~ .lt-form__option-control {
    background: var(--teal-mid);
    border-color: var(--teal-mid);
}

/* Checkmark indicator for checkboxes */
.lt-form__option-input[type="checkbox"]:checked ~ .lt-form__option-control::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 9px;
    border: solid var(--cream);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Dot indicator for radios */
.lt-form__option-input[type="radio"]:checked ~ .lt-form__option-control::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cream);
}

/* Submit Section */
.lt-form__submit-wrapper {
    margin-top: 1rem;
}

.lt-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success display styling */
.lt-form-success {
    display: none;
    opacity: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
    transition: opacity var(--duration-normal) var(--ease-default);
    gap: 1.5rem;
}

.lt-form-success__icon {
    width: 48px;
    height: 48px;
    color: var(--copper);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lt-form-success__heading {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--cream);
    line-height: 1.1;
    margin: 0;
}

.is-style-light-section .lt-form-success__heading,
.bg-surface-4 .lt-form-success__heading {
    color: var(--charcoal);
}

.lt-form-success__message {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1rem;
    line-height: var(--wp--custom--leading--body);
    color: var(--fg-on-dark-body);
    max-width: 480px;
    margin: 0;
}

.is-style-light-section .lt-form-success__message,
.bg-surface-4 .lt-form-success__message {
    color: var(--text-body);
}

.lt-form-success.is-visible {
    display: flex;
    opacity: 1;
}

/* Date/Time field resets */
.lt-form__input[type="date"],
.lt-form__input[type="time"] {
    position: relative;
}

/* Spinning loader for submitting state */
.lt-form__spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: lt-spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes lt-spin {
    to { transform: rotate(360deg); }
}

/* Form Spacing and Typography Cascades */
.lt-form-section .lt-form-title {
    font-family: var(--font-serif);
    font-weight: 300;
    color: var(--section-heading, var(--fg-on-dark));
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 auto 1.25rem auto !important;
    text-align: center;
    max-width: 800px;
}

.lt-form-section .lt-form-description {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--section-muted, var(--fg-on-dark-muted));
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.6;
    margin: 0 auto 3rem auto !important;
    text-align: center;
    max-width: 620px;
}

.is-style-light-section .lt-form-section .lt-form-title,
.bg-surface-4 .lt-form-title {
    color: var(--charcoal);
}

.is-style-light-section .lt-form-section .lt-form-description,
.bg-surface-4 .lt-form-description {
    color: var(--text-muted);
}

/* Required Fields and Error Styling */
.lt-form__required-asterisk {
    color: var(--copper);
    margin-left: 0.25rem;
    font-weight: 500;
}

.lt-form__error-message {
    display: none;
    color: #e06c53; /* soft clinical red-orange to match copper brand */
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 0.35rem;
    align-items: center;
    gap: 0.35rem;
}

/* Show error message when field is invalid */
.lt-form__group:has(:user-invalid) .lt-form__error-message,
.lt-form__group.is-invalid .lt-form__error-message {
    display: flex;
}

/* Invalid field border highlight */
.lt-form__input:user-invalid,
.lt-form__textarea:user-invalid,
.lt-form__select:user-invalid {
    border-color: #e06c53;
    box-shadow: 0 0 0 1px #e06c53;
}

.lt-form__input:user-invalid:focus,
.lt-form__textarea:user-invalid:focus,
.lt-form__select:user-invalid:focus {
    border-color: #e06c53;
    box-shadow: 0 0 0 2px rgba(224, 108, 83, 0.2);
}

/* Option group invalid state indicators */
.lt-form__group:has(.lt-form__option-input[type="radio"]:user-invalid) .lt-form__options-grid,
.lt-form__group.is-invalid .lt-form__options-grid {
    border-left: 2px solid #e06c53;
    padding-left: 0.75rem;
    transition: border-color var(--duration-fast) var(--ease-smooth);
}
