# LCARS theme — codeless .bnp manifest (WO-TF-020, Wave A).
# Synthesized into manifest.pb by `ninja plugin build` (no plugin.wasm).
#
# Identity: the full library-computer interface of a sci-fi podcast / media
# outfit. Pill rails, elbow brackets, live numeric readouts, stardate stamps
# and episode-console furniture frame every surface — the chrome IS the
# interface. Dark = canonical LCARS black with orange / amber / lilac panels;
# light = daylight-ops cream with the colour bars kept vivid. Motion tier
# GO BIG: one dependency-free canvas sweep on the hero / landing only.
#
# This theme was previously a pongo2 wasm guest; the codeless path renders the
# SAME .ninjatpl sources host-side via cms/backend/plugin/pongoengine, so no
# engine ships here. Every override maps its classes 1:1 onto the lcars-*
# vocabulary defined below; semantic colour tokens only (hsl(var(--token))).
theme_presets: presets.json
bundled_fonts: fonts.json
master_pages: master_pages.json

required_icon_packs:
  - lucide

system_templates:
  - key: lcars
    title: LCARS
    description: "Library-computer interface theme for sci-fi podcast and media sites: elbow-rail chrome, numeric readouts, stardate stamps, dual daylight-ops cream and canonical-black modes."

page_templates:
  - system: lcars
    key: default
    title: Standard Display
    description: "Elbow header, left command rail, main panel, and footer bar."
    slots: [header, sidebar, main, footer]
  - system: lcars
    key: full-width
    title: Full Display
    description: "Edge-to-edge LCARS frame with no command rail."
    slots: [header, main, footer]
  - system: lcars
    key: full-display
    title: Full Display (legacy)
    description: "Pre-existing full-width key, retained for sites already using it."
    slots: [header, main, footer]
  - system: lcars
    key: landing
    title: Landing
    description: "Hero readout band, main panel stack, closing CTA, and footer."
    slots: [hero, main, cta, footer]
  - system: lcars
    key: article
    title: Article
    description: "Long-form transcript column with a data aside rail."
    slots: [header, main, aside, footer]
  - system: lcars
    key: blog-index
    title: Episode Index
    description: "Title readout, featured lead, and an episode-panel grid."
    slots: [header, featured, main, footer]
  - system: lcars
    key: contact
    title: Hail Channel
    description: "Contact console: form on the main panel, channel details in the aside rail."
    slots: [header, main, aside, footer]
  - system: lcars
    key: auth
    title: Access Terminal
    description: "Centered access panel on a canonical-black terminal ground."
    slots: [main, footer]

template_overrides:
  # Chrome (4)
  - { template: lcars, block: navbar }
  - { template: lcars, block: footer }
  - { template: lcars, block: utility-bar }
  - { template: lcars, block: announcement-bar }
  # Marketing (12)
  - { template: lcars, block: hero }
  - { template: lcars, block: feature-grid }
  - { template: lcars, block: rich-section }
  - { template: lcars, block: stats }
  - { template: lcars, block: testimonial }
  - { template: lcars, block: logo-strip }
  - { template: lcars, block: pricing }
  - { template: lcars, block: team }
  - { template: lcars, block: faq }
  - { template: lcars, block: timeline }
  - { template: lcars, block: cta }
  - { template: lcars, block: countdown }
  # Primitives (11)
  - { template: lcars, block: heading }
  - { template: lcars, block: text }
  - { template: lcars, block: rich-text }
  - { template: lcars, block: image }
  - { template: lcars, block: quote }
  - { template: lcars, block: divider }
  - { template: lcars, block: button }
  - { template: lcars, block: card }
  - { template: lcars, block: gallery }
  - { template: lcars, block: video-embed }
  - { template: lcars, block: audio-embed }
  # Commerce / local (6)
  - { template: lcars, block: menu-list }
  - { template: lcars, block: event-list }
  - { template: lcars, block: contact-form }
  - { template: lcars, block: contact-card }
  - { template: lcars, block: hours-location }
  - { template: lcars, block: social-links }
  # Blog family (12)
  - { template: lcars, block: blog-hero }
  - { template: lcars, block: featured-posts }
  - { template: lcars, block: related-posts }
  - { template: lcars, block: popular-posts }
  - { template: lcars, block: category-list }
  - { template: lcars, block: post-hero }
  - { template: lcars, block: post-metadata }
  - { template: lcars, block: author-bio }
  - { template: lcars, block: author-bio-hero }
  - { template: lcars, block: newsletter-signup }
  - { template: lcars, block: breadcrumbs }
  - { template: lcars, block: sidebar-nav }
  # Auth surface (3)
  - { template: lcars, block: auth-form }
  - { template: lcars, block: password-reset-form }
  - { template: lcars, block: auth-status }
  # System (1)
  - { template: lcars, block: page-suggestions }

email_wrappers:
  - lcars

css:
  input_css_append: |
    /* ============================================================
       LCARS — appended component CSS (WO-TF-020).
       Library-computer interface: pill rails, elbow brackets,
       numeric readouts, stardate stamps. Semantic tokens ONLY —
       hsl(var(--token)); never literal colours. Class names map
       1:1 onto the override vocabulary.
       ============================================================ */

    /* --- Base / layout primitives --- */
    .lcars-page { font-family: var(--font-body, "Antonio", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif); letter-spacing: 0.02em; }
    .lcars-body { font-family: var(--font-body, "Antonio", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif); }
    .lcars-mono { font-family: var(--font-mono, "Share Tech Mono", ui-monospace, "SFMono-Regular", monospace); font-variant-numeric: tabular-nums; letter-spacing: 0.05em; }
    .numeric-tabular { font-variant-numeric: tabular-nums; }
    .lcars-well { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; box-sizing: border-box; }
    .lcars-measure { max-width: 72ch; }
    .lcars-section { padding-top: 3rem; padding-bottom: 3rem; }
    .lcars-section-tight { padding-top: 1.75rem; padding-bottom: 1.75rem; }
    .lcars-stack > * + * { margin-top: 1.5rem; }
    .lcars-stack-sm > * + * { margin-top: 0.625rem; }

    /* --- Typography --- */
    .lcars-display, .lcars-heading { font-family: var(--font-heading, "Antonio", "Roboto Condensed", system-ui, sans-serif); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: hsl(var(--primary)); line-height: 1.05; margin: 0; }
    .lcars-heading-h2-accent { border-bottom: 0.1875rem solid hsl(var(--primary)); padding-bottom: 0.25rem; }
    .lcars-heading-1 { font-size: clamp(2rem, 5vw, 2.75rem); }
    .lcars-heading-2 { font-size: clamp(1.625rem, 3.5vw, 2rem); }
    .lcars-heading-3 { font-size: 1.375rem; }
    .lcars-heading-4 { font-size: 1.125rem; }
    .lcars-eyebrow { font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: hsl(var(--secondary)); margin: 0 0 0.75rem 0; }
    .lcars-kicker { font-family: var(--font-mono, "Share Tech Mono", monospace); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: hsl(var(--accent)); }
    .lcars-text { font-family: var(--font-body, "Antonio", "Roboto Condensed", system-ui, sans-serif); font-size: 1.0625rem; line-height: 1.7; color: hsl(var(--foreground)); }
    .lcars-text a { color: hsl(var(--secondary)); text-decoration: underline; text-underline-offset: 0.2em; }
    .lcars-text a:hover { color: hsl(var(--primary)); }
    .lcars-text strong { color: hsl(var(--primary)); font-weight: 700; }
    .lcars-text code, .lcars-prose code { font-family: var(--font-mono, "Share Tech Mono", monospace); background-color: hsl(var(--muted)); padding: 0.125rem 0.375rem; border-radius: 0.25rem; font-size: 0.875em; color: hsl(var(--accent)); }
    .lcars-prose { font-family: var(--font-body, "Antonio", "Roboto Condensed", system-ui, sans-serif); color: hsl(var(--foreground)); line-height: 1.7; font-size: 1.0625rem; }
    .lcars-prose a { color: hsl(var(--secondary)); text-decoration: underline; text-underline-offset: 0.2em; }
    .lcars-prose a:hover { color: hsl(var(--primary)); }
    .lcars-prose strong { color: hsl(var(--primary)); }
    /* Paragraph rhythm inside long-form text/prose (episode transcripts) so
       multi-paragraph bodies separate cleanly instead of running together. */
    .lcars-text p, .lcars-prose p { margin: 0 0 1.1rem 0; }
    .lcars-text p:last-child, .lcars-prose p:last-child { margin-bottom: 0; }
    .lcars-lede { font-family: var(--font-body, "Antonio", system-ui, sans-serif); font-size: 1.25rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
    .lcars-label { font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: hsl(var(--foreground)); }
    .lcars-readout { font-family: var(--font-mono, "Share Tech Mono", monospace); font-variant-numeric: tabular-nums; letter-spacing: 0.1em; color: hsl(var(--accent)); text-transform: uppercase; }
    .lcars-stardate { font-family: var(--font-mono, "Share Tech Mono", monospace); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: hsl(var(--accent)); }

    /* --- Pills / bars / marks (LCARS signature) --- */
    .lcars-pill { display: inline-block; height: 1.25rem; min-width: 3rem; border-radius: 0.625rem; background-color: hsl(var(--primary)); flex: none; }
    .lcars-pill-secondary { background-color: hsl(var(--secondary)); }
    .lcars-pill-accent { background-color: hsl(var(--accent)); }
    .lcars-cap { display: inline-block; height: 1.5rem; width: 1.5rem; background-color: hsl(var(--primary)); flex: none; }
    .lcars-cap-left { border-radius: 0.75rem 0 0 0.75rem; }
    .lcars-cap-right { border-radius: 0 0.75rem 0.75rem 0; }
    .lcars-bar-accent { height: 0.5rem; border-radius: 0.25rem; background: linear-gradient(to right, hsl(var(--primary)) 0%, hsl(var(--primary)) 34%, hsl(var(--secondary)) 34%, hsl(var(--secondary)) 67%, hsl(var(--accent)) 67%, hsl(var(--accent)) 100%); }
    .lcars-rule { border: 0; border-top: 0.1875rem solid hsl(var(--primary)); margin: 0; }

    /* --- Buttons (pill, uppercase, right-rounded) --- */
    .lcars-btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.25rem; background-color: hsl(var(--primary)); color: hsl(var(--background)); border: 0; border-radius: 0 1.25rem 1.25rem 0; font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; line-height: 1.3; box-shadow: none; background-image: none; transition: filter 150ms ease; cursor: pointer; }
    .lcars-btn-primary:hover { filter: brightness(1.15); }
    .lcars-btn-primary:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
    .lcars-btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.25rem; background-color: hsl(var(--secondary)); color: hsl(var(--background)); border: 0; border-radius: 0 1.25rem 1.25rem 0; font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; line-height: 1.3; transition: filter 150ms ease; cursor: pointer; }
    .lcars-btn-secondary:hover { filter: brightness(1.15); }
    .lcars-btn-outline { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.25rem; background-color: transparent; color: hsl(var(--secondary)); border: 0.125rem solid hsl(var(--secondary)); border-radius: 0 1.25rem 1.25rem 0; font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; line-height: 1.3; transition: background-color 150ms ease, color 150ms ease; cursor: pointer; }
    .lcars-btn-outline:hover { background-color: hsl(var(--secondary)); color: hsl(var(--background)); }
    .lcars-btn-outline:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
    .lcars-btn-ghost { display: inline-flex; align-items: center; gap: 0.375rem; color: hsl(var(--accent)); font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; line-height: 1.3; transition: gap 150ms ease; }
    .lcars-btn-ghost:hover { gap: 0.625rem; }
    .lcars-btn-sm { padding: 0.375rem 0.875rem; font-size: 0.8125rem; }
    .lcars-btn-lg { padding: 0.75rem 1.75rem; font-size: 1.0625rem; }
    .lcars-btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
    .lcars-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; }
    /* Sized <use> icons carry explicit width/height attributes (SVG geometry
       guard); this only handles inline flow/alignment, never sizing. */
    .lcars-inline-icon { display: inline-block; vertical-align: -0.125em; flex: none; }

    /* --- Panels / cards / surfaces --- */
    .lcars-panel { background-color: hsl(var(--card)); color: hsl(var(--card-foreground)); border-left: 0.5rem solid hsl(var(--primary)); border-radius: 0 0.5rem 0.5rem 0; padding: 1.25rem 1.5rem; box-shadow: none; }
    .lcars-panel-secondary { border-left-color: hsl(var(--secondary)); }
    .lcars-panel-accent { border-left-color: hsl(var(--accent)); }
    .lcars-panel-header { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 0.75rem; }
    .lcars-panel-title { font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-size: 0.9375rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: hsl(var(--foreground)); white-space: nowrap; }
    .lcars-panel-header-bar { flex: 1; height: 0.125rem; background-color: hsl(var(--border)); }
    .lcars-panel-body { }
    .lcars-card { background-color: hsl(var(--card)); color: hsl(var(--card-foreground)); border-top: 0.375rem solid hsl(var(--primary)); border-radius: 0 0 0.75rem 0.75rem; padding: 1.5rem; box-shadow: none; overflow: hidden; }
    .lcars-card-accent { border-top-color: hsl(var(--accent)); }
    .lcars-surface-muted { background-color: hsl(var(--muted)); }
    .lcars-surface-card { background-color: hsl(var(--card)); }
    .lcars-media-frame { display: block; width: 100%; overflow: hidden; background-color: hsl(var(--muted)); border-radius: 0.5rem; }
    .lcars-media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
    .lcars-img-empty { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 20rem; background-color: hsl(var(--muted)); border-radius: 0.5rem; }
    /* Graceful empty-media state: an on-brand LCARS readout panel with a status
       label, shown instead of a bare grey rectangle when no image ships. Stays
       compact instead of ballooning into a blank square. */
    .lcars-console-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem; align-self: start; width: 100%; aspect-ratio: 4 / 3; max-height: 15rem; padding: 1.5rem; background-color: hsl(var(--muted)); border-radius: 0.5rem; box-sizing: border-box; }
    .lcars-console-art-label { font-family: var(--font-mono, "Share Tech Mono", monospace); font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
    .lcars-console-art-scope { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; max-width: 16rem; }
    .lcars-console-art-scope i { display: block; height: 0.625rem; border-radius: 0.3125rem; opacity: 0.55; }
    .lcars-console-art-scope i:nth-child(1) { width: 100%; background-color: hsl(var(--primary)); }
    .lcars-console-art-scope i:nth-child(2) { width: 72%; background-color: hsl(var(--secondary)); }
    .lcars-console-art-scope i:nth-child(3) { width: 88%; background-color: hsl(var(--accent)); }
    .lcars-console-art-scope i:nth-child(4) { width: 60%; background-color: hsl(var(--secondary)); }
    .lcars-console-art-scope i:nth-child(5) { width: 80%; background-color: hsl(var(--primary)); }

    /* --- Responsive grids --- */
    .lcars-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(1, minmax(0, 1fr)); }
    @media (min-width: 640px) { .lcars-grid-2, .lcars-grid-3, .lcars-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (min-width: 1024px) { .lcars-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lcars-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
    .lcars-leadership-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(1, minmax(0, 1fr)); }
    @media (min-width: 640px) { .lcars-leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (min-width: 1024px) { .lcars-leadership-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

    /* --- Page frame chrome (elbow rails, command sidebar) --- */
    .lcars-frame { display: flex; flex-direction: column; min-height: 100vh; padding: 0.5rem; gap: 0.375rem; background-color: hsl(var(--background)); }
    .lcars-elbow-top, .lcars-elbow-bottom { display: flex; align-items: stretch; height: 2.25rem; gap: 0.375rem; }
    .lcars-elbow-corner { width: 12rem; min-width: 12rem; background-color: hsl(var(--primary)); }
    .lcars-elbow-tl { border-radius: 0 0 2rem 0; }
    .lcars-elbow-bl { border-radius: 0 2rem 0 0; }
    .lcars-bar { flex: 1; }
    .lcars-bar-top { background-color: hsl(var(--secondary)); border-radius: 0 0 1rem 0; }
    .lcars-bar-bottom { background-color: hsl(var(--secondary)); border-radius: 0 1rem 0 0; }
    .lcars-frame-header { display: flex; align-items: center; gap: 0.625rem; }
    .lcars-frame-caps { display: flex; align-items: center; gap: 0.375rem; }
    .lcars-content-row { display: grid; grid-template-columns: 12rem 1fr; gap: 0.375rem; flex: 1; }
    .lcars-rail { display: flex; flex-direction: column; gap: 0.375rem; }
    .lcars-rail-btn { display: flex; align-items: center; justify-content: flex-end; text-align: right; padding: 0.625rem 1rem; min-height: 3rem; border-radius: 0 0 0 1.5rem; background-color: hsl(var(--secondary)); color: hsl(var(--background)); font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; transition: filter 150ms ease; }
    .lcars-rail-btn:nth-child(3n+1) { background-color: hsl(var(--primary)); }
    .lcars-rail-btn:nth-child(3n+2) { background-color: hsl(var(--secondary)); }
    .lcars-rail-btn:nth-child(3n) { background-color: hsl(var(--accent)); }
    .lcars-rail-btn:hover { filter: brightness(1.15); }
    .lcars-rail-cap { height: 2.25rem; background-color: hsl(var(--primary)); border-radius: 1rem 0 0 0; }
    .lcars-rail-readout { padding: 0.5rem 1rem; text-align: right; }
    .lcars-main-panel { min-width: 0; background-color: hsl(var(--background)); }

    /* --- Chrome: navbar --- */
    .lcars-navbar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.5rem 0; }
    .lcars-brand { display: inline-flex; align-items: center; gap: 0.625rem; font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.14em; color: hsl(var(--primary)); text-decoration: none; }
    .lcars-brand-logo { height: 2rem; width: auto; }
    .lcars-nav-links { display: none; align-items: center; gap: 0.375rem; }
    @media (min-width: 768px) { .lcars-nav-links { display: flex; } }
    .lcars-nav-link { font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: hsl(var(--background)); background-color: hsl(var(--secondary)); padding: 0.375rem 1rem; border-radius: 0 1rem 1rem 0; text-decoration: none; transition: filter 150ms ease; }
    .lcars-nav-link:hover { filter: brightness(1.15); }
    .lcars-nav-toggle { display: inline-flex; }
    @media (min-width: 768px) { .lcars-nav-toggle { display: none; } }
    .lcars-nav-drawer { display: none; flex-direction: column; gap: 0.375rem; padding: 0.75rem 0 0.5rem; width: 100%; }
    @media (min-width: 768px) { .lcars-nav-drawer { display: none !important; } }
    .lcars-nav-drawer a { padding: 0.625rem 1rem; font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: hsl(var(--background)); background-color: hsl(var(--secondary)); border-radius: 0 1rem 1rem 0; text-decoration: none; }

    /* --- Chrome: utility bar + announcement bar --- */
    .lcars-utility-bar { font-family: var(--font-mono, "Share Tech Mono", monospace); font-size: 0.8125rem; letter-spacing: 0.08em; padding: 0.375rem 0; }
    .lcars-utility-bar--muted { background-color: hsl(var(--muted)); color: hsl(var(--muted-foreground)); }
    .lcars-utility-bar--primary { background-color: hsl(var(--primary)); color: hsl(var(--background)); }
    .lcars-utility-bar--dark { background-color: hsl(var(--foreground)); color: hsl(var(--background)); }
    .lcars-utility-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
    .lcars-utility-group { display: flex; align-items: center; gap: 1.25rem; }
    .lcars-utility-item { display: inline-flex; align-items: center; gap: 0.375rem; color: inherit; text-decoration: none; }
    .lcars-announce { font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.5rem 0; }
    .lcars-announce--info { background-color: hsl(var(--secondary)); color: hsl(var(--background)); }
    .lcars-announce--promo { background-color: hsl(var(--accent)); color: hsl(var(--background)); }
    .lcars-announce--alert { background-color: hsl(var(--destructive)); color: hsl(var(--destructive-foreground)); }
    .lcars-announce-row { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
    .lcars-announce a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
    .lcars-announce-close { margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer; line-height: 1; padding: 0 0.25rem; }

    /* --- Chrome: footer --- */
    .lcars-footer { background-color: hsl(var(--background)); color: hsl(var(--foreground)); border-top: 0.375rem solid hsl(var(--primary)); border-radius: 0.75rem 0.75rem 0 0; padding: 2.5rem 0 2rem; }
    .lcars-footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(1, minmax(0, 1fr)); }
    @media (min-width: 640px) { .lcars-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (min-width: 1024px) { .lcars-footer-cols { grid-template-columns: 2fr repeat(3, 1fr); } }
    .lcars-footer-head { font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: hsl(var(--secondary)); margin: 0 0 0.875rem; }
    .lcars-footer-link { display: block; font-size: 0.9375rem; color: hsl(var(--foreground)); text-decoration: none; padding: 0.25rem 0; }
    .lcars-footer-link:hover { color: hsl(var(--primary)); }
    .lcars-footer-legal { color: hsl(var(--muted-foreground)); font-size: 0.8125rem; font-family: var(--font-mono, "Share Tech Mono", monospace); letter-spacing: 0.06em; border-top: 1px solid hsl(var(--border)); padding-top: 1.5rem; margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }

    /* --- Marketing: hero --- */
    .lcars-hero { padding: 4rem 0; }
    .lcars-hero-headline { font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.02; font-size: clamp(2.5rem, 6vw, 4.5rem); color: hsl(var(--primary)); margin: 0; }
    .lcars-hero-sub { font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.5; color: hsl(var(--foreground)); margin: 1.25rem 0 0; }
    .lcars-hero-split { display: grid; gap: 2.5rem; grid-template-columns: repeat(1, minmax(0, 1fr)); align-items: center; }
    @media (min-width: 1024px) { .lcars-hero-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

    /* --- Marketing: logo strip --- */
    .lcars-logo { filter: grayscale(1); opacity: 0.7; transition: filter 200ms ease, opacity 200ms ease; }
    .lcars-logo:hover { filter: grayscale(0); opacity: 1; }
    .lcars-logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem; }

    /* --- Marketing: feature grid --- */
    .lcars-feature { border-top: 0.25rem solid hsl(var(--accent)); border-radius: 0 0 0.5rem 0.5rem; padding: 1rem 1rem 1.25rem; background-color: hsl(var(--card)); }
    .lcars-feature-title { font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.0625rem; color: hsl(var(--foreground)); margin: 0.75rem 0 0.5rem; }

    /* --- Marketing: stats / metrics --- */
    .lcars-metric { font-family: var(--font-mono, "Share Tech Mono", monospace); font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; font-variant-numeric: tabular-nums; color: hsl(var(--primary)); letter-spacing: 0.02em; }
    .lcars-stat-figure { font-family: var(--font-mono, "Share Tech Mono", monospace); font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; color: hsl(var(--accent)); letter-spacing: 0.02em; }
    .lcars-stat-label { font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-size: 0.8125rem; color: hsl(var(--muted-foreground)); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.5rem; }
    .lcars-numeral-index { font-family: var(--font-mono, "Share Tech Mono", monospace); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; color: hsl(var(--accent)); }

    /* --- Marketing: pull quote / testimonial --- */
    .lcars-pull-quote { border-left: 0.375rem solid hsl(var(--accent)); border-radius: 0 0.5rem 0.5rem 0; padding: 1rem 1.5rem; font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-size: 1.5rem; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: hsl(var(--foreground)); }
    .lcars-quote-block { font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-size: 1.375rem; line-height: 1.4; font-weight: 700; color: hsl(var(--foreground)); }
    .lcars-quote-cite { font-family: var(--font-mono, "Share Tech Mono", monospace); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: hsl(var(--muted-foreground)); margin-top: 0.75rem; }
    .lcars-avatar { width: 2.75rem; height: 2.75rem; border-radius: 9999px; object-fit: cover; background-color: hsl(var(--muted)); }

    /* --- Marketing: pricing --- */
    .lcars-price { font-family: var(--font-mono, "Share Tech Mono", monospace); font-size: 2.5rem; font-variant-numeric: tabular-nums; color: hsl(var(--primary)); letter-spacing: 0.02em; }
    .lcars-price-period { font-family: var(--font-body, "Antonio", system-ui, sans-serif); font-size: 0.9375rem; color: hsl(var(--muted-foreground)); }
    .lcars-price-tier { display: flex; flex-direction: column; }
    .lcars-price-tier--featured { border-top: 0.5rem solid hsl(var(--accent)); }
    .lcars-badge { display: inline-block; font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.25rem 0.625rem; background-color: hsl(var(--accent)); color: hsl(var(--background)); border-radius: 0.625rem; }
    .lcars-check { color: hsl(var(--accent)); flex: none; }

    /* --- Marketing: faq --- */
    .lcars-faq-item { border-top: 1px solid hsl(var(--border)); }
    .lcars-faq-item summary { cursor: pointer; list-style: none; padding: 1.125rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: hsl(var(--foreground)); }
    .lcars-faq-item summary::-webkit-details-marker { display: none; }
    .lcars-faq-item[open] summary .lcars-faq-chevron { transform: rotate(180deg); }
    .lcars-faq-chevron { transition: transform 150ms ease; color: hsl(var(--accent)); }
    .lcars-faq-answer { padding: 0 0 1.125rem; color: hsl(var(--muted-foreground)); font-size: 1rem; line-height: 1.65; }

    /* --- Marketing: timeline --- */
    .lcars-timeline-step { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding-bottom: 2rem; }
    .lcars-timeline-rail { position: relative; display: flex; flex-direction: column; align-items: center; }
    .lcars-timeline-node { width: 2.75rem; height: 2.75rem; background-color: hsl(var(--accent)); border-radius: 0 1.375rem 1.375rem 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono, "Share Tech Mono", monospace); color: hsl(var(--background)); flex: none; font-variant-numeric: tabular-nums; }
    .lcars-timeline-line { flex: 1 1 auto; width: 0.1875rem; background-color: hsl(var(--border)); margin-top: 0.5rem; }

    /* --- Marketing: cta strip --- */
    .lcars-cta-strip { padding: 3rem 0; }
    .lcars-cta-strip--band { background-color: hsl(var(--primary)); color: hsl(var(--background)); border-radius: 1rem; }
    .lcars-cta-strip--band .lcars-cta-headline { color: hsl(var(--background)); }
    .lcars-cta-strip--band .lcars-btn-primary { background-color: hsl(var(--background)); color: hsl(var(--primary)); }
    .lcars-cta-strip--card { background-color: hsl(var(--muted)); border-radius: 1rem; }
    .lcars-cta-headline { font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; margin: 0; color: hsl(var(--primary)); }

    /* --- Marketing: countdown --- */
    .lcars-count-unit { display: flex; flex-direction: column; align-items: center; }
    .lcars-count-figure { font-family: var(--font-mono, "Share Tech Mono", monospace); font-size: clamp(2rem, 4vw, 3rem); font-variant-numeric: tabular-nums; color: hsl(var(--accent)); line-height: 1; }
    .lcars-count-box { background-color: hsl(var(--card)); border-top: 0.25rem solid hsl(var(--primary)); padding: 1rem 1.25rem; border-radius: 0 0 0.5rem 0.5rem; min-width: 4.5rem; }
    .lcars-count-label { font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: hsl(var(--muted-foreground)); margin-top: 0.375rem; }

    /* --- Primitives: divider / gallery / media --- */
    .lcars-divider-line { border: 0; border-top: 0.1875rem solid hsl(var(--border)); }
    .lcars-divider-thick { border-top-width: 0.375rem; border-top-color: hsl(var(--primary)); }
    .lcars-divider-ornament { display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: hsl(var(--primary)); }
    .lcars-gallery-grid { display: grid; gap: 0.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    @media (min-width: 768px) { .lcars-gallery-grid.lcars-gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lcars-gallery-grid.lcars-gallery-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
    .lcars-video-frame { position: relative; display: block; width: 100%; background-color: hsl(var(--muted)); border-radius: 0.5rem; overflow: hidden; }
    .lcars-video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: hsl(var(--background)); background: none; border: 0; cursor: pointer; }
    .lcars-video-play-badge { width: 4rem; height: 4rem; border-radius: 9999px; background-color: hsl(var(--primary)); color: hsl(var(--background)); display: flex; align-items: center; justify-content: center; }

    /* --- Commerce / local --- */
    .lcars-menu-item { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid hsl(var(--border)); }
    .lcars-menu-price { font-family: var(--font-mono, "Share Tech Mono", monospace); font-variant-numeric: tabular-nums; color: hsl(var(--accent)); }
    .lcars-channel { display: flex; align-items: flex-start; gap: 0.75rem; }
    .lcars-channel-mark { width: 2.75rem; height: 2.75rem; background-color: hsl(var(--primary)); border-radius: 0 1.375rem 1.375rem 0; display: flex; align-items: center; justify-content: center; color: hsl(var(--background)); flex: none; }
    .lcars-hours-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.375rem 0; border-bottom: 1px solid hsl(var(--border)); }
    .lcars-social-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
    .lcars-social-link { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.5rem 0.875rem; background-color: hsl(var(--secondary)); border-radius: 0 1rem 1rem 0; color: hsl(var(--background)); text-decoration: none; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; transition: filter 150ms ease; }
    .lcars-social-link:hover { filter: brightness(1.15); }

    /* --- Forms --- */
    .lcars-form { display: grid; gap: 1.25rem; }
    .lcars-form-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lcars-field { display: flex; flex-direction: column; gap: 0.375rem; }
    .lcars-field--full { grid-column: 1 / -1; }
    .lcars-input { width: 100%; box-sizing: border-box; padding: 0.625rem 0.875rem; background-color: hsl(var(--background)); color: hsl(var(--foreground)); border: 0.125rem solid hsl(var(--input)); border-radius: 0.5rem; font-family: var(--font-body, "Antonio", system-ui, sans-serif); font-size: 1rem; }
    .lcars-input:focus { outline: 2px solid hsl(var(--ring)); outline-offset: 1px; border-color: hsl(var(--ring)); }
    .lcars-form-note { font-size: 0.8125rem; color: hsl(var(--muted-foreground)); }
    .lcars-alert-ok { border-left: 0.375rem solid hsl(var(--primary)); background-color: hsl(var(--muted)); padding: 1rem 1.25rem; color: hsl(var(--foreground)); border-radius: 0 0.5rem 0.5rem 0; }
    .lcars-alert-err { border-left: 0.375rem solid hsl(var(--destructive)); background-color: hsl(var(--muted)); padding: 1rem 1.25rem; color: hsl(var(--foreground)); border-radius: 0 0.5rem 0.5rem 0; }

    /* --- Blog family --- */
    .lcars-post-card { display: flex; flex-direction: column; gap: 0.75rem; background-color: hsl(var(--card)); border-top: 0.375rem solid hsl(var(--secondary)); border-radius: 0 0 0.5rem 0.5rem; padding: 1rem 1.25rem 1.25rem; }
    .lcars-post-thumb { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background-color: hsl(var(--muted)); border-radius: 0.375rem; }
    .lcars-post-title { font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.1875rem; line-height: 1.2; color: hsl(var(--primary)); text-decoration: none; }
    .lcars-post-title:hover { color: hsl(var(--secondary)); }
    .lcars-post-meta { font-family: var(--font-mono, "Share Tech Mono", monospace); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: hsl(var(--muted-foreground)); display: flex; flex-wrap: wrap; gap: 0.75rem; }
    .lcars-post-excerpt { color: hsl(var(--muted-foreground)); font-size: 0.9375rem; line-height: 1.6; }
    .lcars-post-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(1, minmax(0, 1fr)); }
    @media (min-width: 640px) { .lcars-post-grid-2, .lcars-post-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (min-width: 1024px) { .lcars-post-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
    .lcars-tag { display: inline-block; font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.1875rem 0.625rem; background-color: hsl(var(--muted)); border-radius: 0.625rem; color: hsl(var(--secondary)); text-decoration: none; }
    .lcars-tag:hover { background-color: hsl(var(--secondary)); color: hsl(var(--background)); }
    .lcars-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-family: var(--font-mono, "Share Tech Mono", monospace); font-size: 0.8125rem; letter-spacing: 0.06em; color: hsl(var(--muted-foreground)); }
    .lcars-crumbs a { color: hsl(var(--secondary)); text-decoration: none; }
    .lcars-crumbs a:hover { color: hsl(var(--primary)); }
    .lcars-crumb-sep { color: hsl(var(--accent)); }
    .lcars-sidebar-link { display: block; padding: 0.5rem 0.875rem; border-radius: 0 1rem 1rem 0; color: hsl(var(--foreground)); text-decoration: none; font-size: 0.9375rem; }
    .lcars-sidebar-link:hover, .lcars-sidebar-link[aria-current="page"] { background-color: hsl(var(--secondary)); color: hsl(var(--background)); }
    .lcars-rank { font-family: var(--font-mono, "Share Tech Mono", monospace); font-size: 1.25rem; color: hsl(var(--accent)); font-variant-numeric: tabular-nums; width: 2rem; flex: none; }

    /* --- Status readouts --- */
    .lcars-status { font-family: var(--font-heading, "Antonio", system-ui, sans-serif); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; padding: 0.25rem 0.75rem; border-radius: 0.75rem; }
    .lcars-status-online { background-color: hsl(var(--primary)); color: hsl(var(--background)); animation: lcars-pulse 3s ease-in-out infinite; }
    .lcars-status-standby { background-color: hsl(var(--secondary)); color: hsl(var(--background)); }
    .lcars-status-alert { background-color: hsl(var(--destructive)); color: hsl(var(--destructive-foreground)); animation: lcars-blink 1s step-end infinite; }
    .lcars-status-offline { background-color: hsl(var(--muted)); color: hsl(var(--muted-foreground)); }

    /* --- Auth --- */
    .lcars-auth-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
    .lcars-auth-panel { display: none; }

    /* --- Motion (GO BIG: canvas sweep on hero/landing only; CSS elsewhere) --- */
    .lcars-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0; }
    .lcars-hero-canvas-host { position: relative; overflow: hidden; }
    .lcars-hero-canvas-host > *:not(.lcars-hero-canvas) { position: relative; z-index: 1; }
    .lcars-reveal { opacity: 0; transform: translateY(0.5rem); animation: lcars-reveal 500ms ease forwards; }
    @keyframes lcars-reveal { to { opacity: 1; transform: none; } }
    @keyframes lcars-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
    @keyframes lcars-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
    @keyframes lcars-sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
    @media (prefers-reduced-motion: reduce) {
      .lcars-reveal { animation: none; opacity: 1; transform: none; }
      .lcars-status-online, .lcars-status-alert { animation: none; }
      .lcars-btn-ghost, .lcars-logo, .lcars-nav-link, .lcars-faq-chevron { transition: none; }
    }

    /* --- Responsive: collapse the command rail on small screens --- */
    @media (max-width: 768px) {
      .lcars-content-row { grid-template-columns: 1fr; }
      .lcars-rail { flex-direction: row; flex-wrap: wrap; }
      .lcars-elbow-corner { width: 4rem; min-width: 4rem; }
      .lcars-rail-btn { border-radius: 0 1rem 1rem 0; justify-content: center; }
      .lcars-form-grid { grid-template-columns: 1fr; }
    }

    /* --- Compatibility layer: classes the overrides carry over from the
       shared builtin re-skin. Styled LCARS-native so every class resolves. --- */
    .lcars-content-well { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; box-sizing: border-box; }
    .lcars-swiss-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.25rem; row-gap: 1.25rem; }
    .lcars-article-measure { max-width: 72ch; }
    .lcars-hairline-top { border-top: 0.1875rem solid hsl(var(--border)); }
    .lcars-hairline-bottom { border-bottom: 0.1875rem solid hsl(var(--border)); }
    .lcars-accent-rule { border-top: 0.1875rem solid hsl(var(--primary)); }
    .lcars-heading-h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
    .lcars-heading-h2 { font-size: clamp(1.625rem, 3.5vw, 2rem); }
    .lcars-heading-h3 { font-size: 1.375rem; }
    .lcars-heading-h4 { font-size: 1.125rem; }
    .lcars-heading-h5 { font-size: 1rem; }
    .lcars-heading-h6 { font-size: 0.875rem; }
    /* LCARS marks: pills and caps replace the Bauhaus geometric marks. */
    .lcars-mark { display: inline-block; width: 1.5rem; height: 0.75rem; flex: none; background-color: hsl(var(--primary)); border-radius: 0.375rem; }
    .lcars-mark-circle { border-radius: 9999px; width: 0.75rem; background-color: hsl(var(--primary)); }
    .lcars-mark-square { border-radius: 0 0.375rem 0.375rem 0; background-color: hsl(var(--secondary)); }
    .lcars-mark-triangle { border-radius: 0.375rem 0 0 0.375rem; background-color: hsl(var(--accent)); }
    .lcars-mark-ring { border-radius: 9999px; width: 0.75rem; background: none; border: 2px solid hsl(var(--accent)); }
