/* 2LLC foundation: local assets, system fonts, and a restrained brand palette. */
:root {
  color-scheme: dark;
  --navy: #080f20;
  --surface: #0d172c;
  --text: #f2f5fc;
  --muted: #b2bfd5;
  --blue: #509dff;
  --purple: #aa83ff;
  --lime: #76d300;
  --line: #28354b;
  --radius: 5px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 6px; }
::selection { background: #514398; color: white; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.14; }
h1 { font-size: clamp(2.6rem, 5.1vw, 4.9rem); font-weight: 550; letter-spacing: -.055em; margin-bottom: 27px; }
h2 { font-size: clamp(2.1rem, 3.7vw, 3.65rem); font-weight: 500; letter-spacing: -.045em; margin-bottom: 24px; }
h3 { font-size: 1.4rem; font-weight: 550; letter-spacing: -.02em; }
p { margin-bottom: 20px; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 100px; scroll-margin-top: 25px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .7rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 28px; }
.accent-text { color: var(--blue); }
.section-copy, .section-heading > p { color: var(--muted); max-width: 520px; font-size: 1.05rem; }
.small-copy { color: var(--muted); font-size: .85rem; }
.skip-link { position: absolute; top: 12px; left: 20px; z-index: 10; padding: 12px 20px; background: var(--lime); color: var(--navy); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 25px; }
.brand { display: inline-flex; align-items: center; gap: 17px; flex-shrink: 0; }
.brand-mark { font-size: 2rem; line-height: 1; font-weight: 800; letter-spacing: -.09em; }
.brand-mark > span { color: var(--lime); }
.brand-name { padding-left: 16px; border-left: 1px solid var(--line); font-size: .65rem; line-height: 1.5; letter-spacing: .055em; text-transform: uppercase; }
.nav-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 21px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; font-size: .78rem; color: var(--muted); }
.nav-list a:hover, .text-link:hover { color: var(--lime); }
.nav-list li:last-child a { color: var(--text); gap: 8px; }
.hero { padding-top: 85px; padding-bottom: 0; background: radial-gradient(ellipse at 85% 35%, #19224780, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 35px; }
.signal { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 520px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; padding-top: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 13px 22px; font-size: .85rem; font-weight: 650; border-radius: var(--radius); transition: background-color .2s ease; }
.button-primary { color: #061225; background: var(--blue); }
.button-primary:hover { background: #89bbff; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: .85rem; }
.hero-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 75px; padding-block: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; letter-spacing: .025em; }
.hero-foot a { min-height: 24px; }
/* A static connection study: decorative only, with no canvas or animation loop. */
.connection-art { position: relative; width: 100%; aspect-ratio: 1; max-width: 460px; justify-self: end; overflow: hidden; }
.art-grid { position: absolute; inset: 7%; background-image: linear-gradient(#53679018 1px, transparent 1px), linear-gradient(90deg, #53679018 1px, transparent 1px); background-size: 36px 36px; border-radius: 50%; }
.orbit { position: absolute; border: 1px solid #509dff66; border-radius: 50%; inset: 13%; }
.orbit-one { transform: rotate(-32deg) scaleX(.65); border-color: var(--blue); }
.orbit-two { transform: rotate(32deg) scaleX(.65); border-color: var(--purple); }
.orbit-three { inset: 25%; border-color: #aa83ff66; box-shadow: 0 0 70px #509dff12, inset 0 0 60px #aa83ff12; }
.art-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(3rem, 6vw, 5rem); font-weight: 300; letter-spacing: -.08em; }
.art-center span { font-size: .48em; color: var(--muted); margin-top: 18px; }
.art-node { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 18px #509dff66; }
.node-one { top: 20%; left: 31%; }
.node-two { bottom: 20%; right: 30%; background: var(--purple); }
.node-three { top: 49%; right: 24%; width: 6px; height: 6px; background: var(--lime); }
.art-caption { position: absolute; bottom: 2%; width: 100%; text-align: center; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.services, .about { background: #0b1426; border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 38px; }
.section-heading > p { max-width: 340px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-card { padding: 30px 25px 24px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: linear-gradient(150deg, #15244166, transparent); }
.service-card:last-child { border-right: 0; }
.item-number { display: block; color: var(--purple); font-size: .75rem; letter-spacing: .08em; margin-bottom: 38px; }
.service-card h3 { min-height: 3.6em; font-size: 1.25rem; }
.service-card p { font-size: .9rem; color: var(--muted); }
.service-card .service-detail { margin-top: auto; margin-bottom: 0; padding-top: 25px; font-size: .7rem; color: var(--blue); }
.philosophy { font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1.23; }
.approach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px; margin-top: 60px; }
.approach-grid article { border-top: 1px solid var(--line); padding-top: 24px; }
.approach-grid .item-number { margin-bottom: 24px; }
.approach-grid h3 { font-size: 1.2rem; }
.approach-grid p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
/* Phase 1 content: extend established components without changing Discovery. */
.odec-introduction { margin-top: 45px; padding-top: 32px; border-top: 1px solid var(--line); }
.odec-introduction .large-copy { margin-bottom: 16px; }
.odec-introduction .section-copy { max-width: 800px; }
/* Stage 2: tailored ODEC engagements use the existing brand and focus styles. */
.odec-options { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-block: 24px; }
.odec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 30px; }
.odec-card { min-width: 0; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, #15244166, transparent); scroll-margin-top: 25px; }
.odec-card h4 { color: var(--blue); margin: 0 0 20px; font-size: 1.25rem; line-height: 1.3; font-weight: 550; letter-spacing: -.02em; }
/* ODEC option labels and matching headings only; body/controls retain their colors. */
#odec { --odec-white: #ffffff; }
#odec > .eyebrow { color: var(--blue); }
#executive-on-call > h4,
#odec .odec-options > a[href="#executive-on-call"] { color: var(--lime); }
#executive-diagnostic > h4,
#odec .odec-options > a[href="#executive-diagnostic"] { color: var(--blue); }
#executive-engagement > h4,
#odec .odec-options > a[href="#executive-engagement"] { color: var(--odec-white); }
#executive-intervention > h4,
#odec .odec-options > a[href="#executive-intervention"] { color: var(--purple); }
.odec-card p { color: var(--muted); font-size: .9rem; }
.odec-card .text-link { flex-wrap: wrap; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .odec-grid { grid-template-columns: 1fr; }
  .odec-card { padding: 25px; }
}
.methodology-title { margin-top: 45px; }
.approach-grid.deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 35px; }
@media (max-width: 760px) {
  .approach-grid.deal-grid { grid-template-columns: 1fr; }
}
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.placeholder-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); }
.status-label { display: inline-block; font-size: .68rem; line-height: 1.6; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.placeholder-panel h3 { margin-top: 28px; }
.placeholder-panel p, .contact-status p { color: var(--muted); }
.placeholder-panel p:last-child { margin-bottom: 0; }
.large-copy { font-size: 1.4rem; line-height: 1.6; }
.approval-note { margin-top: 30px; padding-top: 23px; border-top: 1px solid var(--line); }
.approval-note p { font-size: .85rem; color: var(--muted); margin-top: 12px; margin-bottom: 0; }
.discovery-panel { padding: 55px; display: grid; grid-template-columns: 1fr 1fr; gap: 65px; border: 1px solid #62549a; border-radius: var(--radius); background: linear-gradient(120deg, #171d37, #17152c); }
.discovery-preview { border-left: 1px solid #62549a; padding-left: 35px; }
.preview-label { color: var(--muted); font-size: .72rem; }
.discovery-preview ol { list-style: none; padding: 0; margin-block: 28px; }
.discovery-preview li { display: flex; gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.discovery-preview li span { color: var(--purple); font-size: .8rem; padding-top: 3px; }
.discovery-preview .small-copy { margin-bottom: 0; }
.contact { padding-top: 0; }
.contact-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; border-top: 1px solid var(--line); padding-top: 80px; }
.contact-status { border-left: 2px solid var(--blue); padding-left: 30px; }
.contact-status h3 { margin-top: 24px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 30px; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; }
.footer-inner p { margin: 0; font-size: .72rem; color: var(--muted); }
.footer-inner .brand-mark { font-size: 1.5rem; }
.footer-note { margin-left: auto !important; }
@media (max-width: 1100px) {
  .header-inner { align-items: flex-start; }
  .nav-list { gap: 0 17px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(2) { border-right: 0; }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-card h3 { min-height: auto; }
  .split-section, .contact-panel { gap: 40px; }
  .discovery-panel { padding: 38px; gap: 35px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 65px; }
  .header-inner { flex-direction: column; gap: 18px; padding-block: 20px 10px; }
  .nav-list { justify-content: flex-start; gap: 0 22px; }
  .hero { padding-bottom: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .connection-art { max-width: 310px; justify-self: center; }
  .art-center { font-size: 4rem; }
  .hero-foot { margin-top: 35px; flex-direction: column; gap: 8px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 20px; }
  .section-heading > p { max-width: 520px; }
  .approach-grid, .split-section, .discovery-panel, .contact-panel { grid-template-columns: 1fr; gap: 30px; }
  .approach-grid { margin-top: 40px; }
  .discovery-panel { padding: 28px; }
  .discovery-preview { padding-left: 0; padding-top: 25px; border-left: 0; border-top: 1px solid #62549a; }
  .contact { padding-top: 0; }
  .contact-panel { padding-top: 60px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 17px; }
  .footer-note { margin-left: 0 !important; }
}
@media (max-width: 440px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .service-card .item-number { margin-bottom: 20px; }
  .placeholder-panel { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Discovery Dimension — isolated from the existing page components. */
.discovery-launch { cursor: pointer; }
.discovery-launch:disabled { cursor: default; }
button.connection-art { isolation: isolate; display: block; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; border-radius: 50%; overflow: visible; }
.orb-visual { pointer-events: none; z-index: 0; display: block; position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(ellipse at 52% 47%, #7152bd20, transparent 65%); transition: filter .5s ease, transform .5s ease; }
.orb-visual::before, .star-layer::before, .star-layer::after { content: ''; position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #e1d4a9; box-shadow: 28px 67px #c9d6ef, 75px 146px #509dff, 140px 32px #dfc990, 188px 222px #ac91e2, 249px 80px #a9bcdf, 309px 288px #e1d4a9, 370px 175px #a9bcdf, 90px 320px #aa83ff, 202px 360px #c9d6ef, 340px 40px #a9bcdf, 20px 240px #a9bcdf, 400px 340px #c9d6ef; }
.orb-visual::before { inset: 0 auto auto 0; opacity: .6; }
.orb-invitation { position: absolute; z-index: 1; top: calc(100% + 10px); bottom: auto; left: 0; right: 0; text-align: center; font-size: .75rem; color: #e1cf9c; opacity: 1; transform: none; transition: opacity .3s ease, transform .3s ease; }
.orb-script-note { position: absolute; top: 100%; left: 0; right: 0; margin-top: 8px; color: #e1cf9c; font-size: .75rem; line-height: 1.5; text-align: center; }
.connection-art:is(:hover, :focus-visible):not(:disabled) .orb-visual { filter: brightness(1.25); transform: scale(1.025); }
.connection-art:is(:hover, :focus-visible):not(:disabled) .orb-invitation { opacity: 1; transform: none; }
.connection-art:is(:hover, :focus-visible):not(:disabled) .orbit-three { animation: orb-breathe 3s ease-in-out 2; }
@keyframes orb-breathe { 50% { transform: scale(1.045); box-shadow: 0 0 60px #509dff35, inset 0 0 50px #aa83ff30; } }
html.dimension-open { overflow: hidden; }
.dimension { --gold: #e1cf9c; position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: var(--text); background: #070d1d; overflow: auto; overscroll-behavior: contain; }
.dimension:not([open]) { display: none; }
.dimension::backdrop { background: #050915eb; }
.dimension[open] { animation: dimension-arrive 700ms cubic-bezier(.16, 1, .3, 1) both; }
.dimension-space { position: absolute; inset: 0; min-height: 100%; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 78% 23%, #50348c40, transparent 50%), radial-gradient(ellipse at 20% 65%, #1655a03b, transparent 60%); }
.star-layer { position: absolute; inset: -15%; opacity: .6; }
.star-layer::before { left: 9%; top: 2%; }
.star-layer::after { left: 53%; top: 39%; transform: rotate(145deg); }
.stars-near { animation: star-arrival 1.3s ease-out both, star-drift 16s 1.3s ease-in-out 2 alternate; }
.stars-far { transform: scale(.72); opacity: .4; animation: star-arrival 1.7s ease-out both; }
.portal-ring { position: absolute; left: 50%; top: 45%; width: min(65vw, 650px); aspect-ratio: 1; border-radius: 50%; border: 1px solid #9b7cdb66; box-shadow: 0 0 65px #509dff22, inset 0 0 65px #aa83ff22; animation: portal-passage 1.1s ease-out both; }
.dimension-shell { position: relative; width: min(1150px, calc(100% - 64px)); margin-inline: auto; padding-block: 35px 55px; }
.dimension-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.dimension-header .eyebrow { color: var(--lime); margin-bottom: 12px; }
.dimension-header h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.dimension-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 45px; margin-top: 35px; }
.journey { min-width: 0; }
.journey .eyebrow { margin-bottom: 10px; }
#discovery-meter { appearance: none; display: block; width: 100%; height: 3px; border: 0; background: #28354b; margin-bottom: 30px; accent-color: var(--purple); }
#discovery-meter::-webkit-progress-bar { background: #28354b; }
#discovery-meter::-webkit-progress-value { background: var(--purple); }
#discovery-meter::-moz-progress-bar { background: var(--purple); }
#discovery-question { border: 0; margin: 0; padding: 0; min-width: 0; }
#discovery-question-title { width: 100%; padding: 0; font-size: clamp(1.35rem, 2.7vw, 2rem); line-height: 1.3; letter-spacing: -.025em; margin-bottom: 24px; }
.discovery-options { display: grid; gap: 10px; }
.discovery-choice { display: flex; align-items: center; gap: 13px; min-height: 54px; padding: 13px 16px; border: 1px solid #44506a; background: #0c172bdd; border-radius: var(--radius); cursor: pointer; }
.discovery-choice:hover { border-color: var(--purple); }
.discovery-choice:has(input:checked) { border-color: var(--purple); background: #282044dd; }
.discovery-choice:focus-within { outline: 2px solid var(--lime); outline-offset: 3px; }
.discovery-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--purple); flex-shrink: 0; }
.discovery-choice span { font-size: .92rem; }
.dimension button { font: inherit; cursor: pointer; }
.dimension-control { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 44px; padding: 9px 16px; border: 1px solid #69718c; border-radius: var(--radius); color: var(--text); background: #111a30; }
.dimension-control:hover { background: #29213e; border-color: var(--purple); }
.dimension-control:disabled { opacity: .45; cursor: default; }
.journey-actions { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; }
.dimension .button-primary { border: 1px solid transparent; }
.discovery-error { min-height: 1.6em; font-size: .85rem; color: #f1cc9f; margin: 12px 0 0; }
.restart-control { margin-top: 24px; background: transparent; }
.intelligence-panel { align-self: start; padding: 27px; border: 1px solid #66567c; border-radius: var(--radius); background: #141b30e8; }
.intelligence-panel .eyebrow { font-size: .65rem; margin-bottom: 16px; }
.insight-badge { display: inline-block; padding: 5px 9px; background: #e1cf9c12; border: 1px solid #e1cf9c55; color: var(--gold); font-size: .67rem; margin-bottom: 25px; }
.intelligence-panel h3 { font-size: 1.3rem; }
.intelligence-panel p { color: var(--muted); }
.insight-evidence { padding-top: 14px; border-top: 1px solid var(--line); font-size: .75rem; }
.insight-evidence div { margin-bottom: 12px; }
.insight-evidence dt { color: var(--gold); }
.insight-evidence dd { margin: 2px 0 0; color: var(--muted); overflow-wrap: anywhere; }
.insight-evidence a { text-decoration: underline; }
#discovery-result h3 { margin-top: 18px; font-size: 1.8rem; }
#discovery-result p, #result-summary { color: var(--muted); }
#result-summary { padding-left: 22px; }
#result-summary li { margin-bottom: 10px; }
.recommendation-rules { margin-block: 28px; border-block: 1px solid var(--line); padding-block: 16px; }
.recommendation-rules summary { cursor: pointer; color: var(--blue); padding-block: 5px; }
.recommendation-rules p { margin-block: 16px 0; font-size: .9rem; }
@keyframes dimension-arrive { from { opacity: 1; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes star-arrival { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: .55; } }
@keyframes portal-passage { from { opacity: .8; transform: translate(-50%, -50%) scale(.2); } to { opacity: 0; transform: translate(-50%, -50%) scale(3); } }
@keyframes star-drift { from { translate: 0 0; } to { translate: 10px -8px; } }
@media (hover: none), (pointer: coarse) { .orb-invitation { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .dimension-shell { width: calc(100% - 36px); padding-block: 24px 40px; }
  .dimension-grid { grid-template-columns: 1fr; gap: 35px; margin-top: 25px; }
  .dimension-header h2 { font-size: 1.8rem; }
  .dimension-header .eyebrow { font-size: .6rem; }
  .intelligence-panel { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .dimension, .dimension *, .connection-art *, .connection-art *::before { animation: none !important; transition: none !important; }
  .portal-ring { display: none; }
  .connection-art:is(:hover, :focus-visible):not(:disabled) .orb-visual { transform: none; }
}

/* Phase 3: the approved wormhole lives inside the existing Discovery dialog. */
.dimension[data-stage] { animation: none; background: #03050d; }
.dimension [hidden] { display: none !important; }
.dimension[data-stage] .dimension-space { display: none; }
.discovery-galaxy, .discovery-wormhole-scene, .discovery-wormhole-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.discovery-galaxy { position: fixed; pointer-events: none; overflow: hidden; background: #03050d; }
.discovery-wormhole-scene canvas { display: block; }
.discovery-galaxy::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 25%, #02040b55 70%, #02040ba8 100%); }
.discovery-static-galaxy { position: absolute; top: 15%; left: 5%; width: 90%; height: 68%; border-radius: 50%; transform: rotate(-25deg) scaleY(.65); background: radial-gradient(ellipse at center, #f4dfbcaa 0, #b69bdf75 3%, #5e6cc344 15%, transparent 60%), repeating-conic-gradient(from 20deg, transparent 0deg 40deg, #6c65ce35 45deg 65deg, transparent 75deg 120deg); filter: blur(8px); opacity: 0; }
.discovery-static-stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 17% 23%, #b4d0ff 90%, transparent), radial-gradient(1px 1px at 72% 66%, #e3d1a9 90%, transparent), radial-gradient(1px 1px at 45% 86%, white 90%, transparent); background-size: 183px 167px, 251px 279px, 149px 211px; opacity: 0; }
.dimension[data-stage="questions"]:not(.has-wormhole) .discovery-static-galaxy { opacity: 1; }
.dimension[data-stage="questions"]:not(.has-wormhole) .discovery-static-stars { opacity: .6; }
.dimension-exit { position: fixed; top: 35px; right: max(32px, calc((100% - 1150px) / 2)); z-index: 4; }
.dimension[data-stage] .dimension-header { padding-right: 100px; }
.dimension[data-stage] .dimension-shell { position: relative; z-index: 2; }
.dimension[data-stage="questions"] .dimension-shell { animation: discovery-reveal 280ms ease-out both; }
.discovery-transit { position: absolute; inset: 0; min-height: 100%; z-index: 2; }
.discovery-loading-orb { position: absolute; width: 340px; height: 340px; pointer-events: none; }
.discovery-transit-controls { position: absolute; bottom: max(32px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(370px, calc(100% - 40px)); text-align: center; }
.discovery-transit-controls .eyebrow { justify-content: center; margin-bottom: 12px; color: var(--lime); }
#discovery-transit-status { font-size: .85rem; color: var(--muted); margin-bottom: 15px; }
#discovery-travel-progress { display: block; appearance: none; width: 100%; height: 2px; border: 0; background: #28354b; accent-color: var(--purple); margin-bottom: 22px; }
#discovery-travel-progress::-webkit-progress-bar { background: #28354b; }
#discovery-travel-progress::-webkit-progress-value { background: var(--purple); }
#discovery-travel-progress::-moz-progress-bar { background: var(--purple); }
@keyframes discovery-reveal { from { opacity: .65; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .dimension-exit { top: 24px; right: 18px; }
  .dimension[data-stage] .dimension-header { padding-right: 90px; }
  .discovery-transit-controls { bottom: max(24px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .dimension[data-stage] *, .dimension[data-stage] *::before, .dimension[data-stage] *::after { animation: none !important; transition: none !important; }
}

/* Stage 3A: scoped anonymous Discovery flow; no changes to scene or homepage styles. */
.dimension-exit { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: calc(100% - 36px); }
.dimension[data-stage] .dimension-header { padding-top: 55px; }
.dimension .journey-actions { flex-wrap: wrap; }
.discovery-contact-panel { position: relative; z-index: 5; width: min(760px, calc(100% - 40px)); margin: 110px auto 30px; padding: 30px; border: 1px solid var(--purple); border-radius: var(--radius); background: var(--navy); box-shadow: 0 15px 60px #000b; }
.discovery-contact-panel h2 { color: var(--blue); }
.discovery-share { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--purple); line-height: 1.6; }
.discovery-share input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 4px; accent-color: var(--purple); }
#discovery-result h4 { margin: 26px 0 12px; color: var(--blue); font-size: 1.1rem; }
#discovery-result ul { padding-left: 22px; color: var(--muted); }
#discovery-result li { margin-bottom: 12px; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .dimension[data-stage] .dimension-header { padding-right: 0; padding-top: 70px; }
  .discovery-contact-panel { padding: 20px; margin-top: 100px; }
  .dimension .journey-actions { gap: 10px; }
}

/* Stage 3B: local presentation layer; no scene changes or blocking transitions. */
.dimension[data-stage="questions"] .dimension-shell { animation: none; }
.discovery-navigation-context { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
#discovery-stage-label { color: var(--lime); margin-bottom: 14px; }
.discovery-stage-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; }
.discovery-stage-track li { min-width: 0; display: grid; align-content: start; gap: 5px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #0d172ce8; font-size: .8rem; }
.discovery-stage-track .stage-index { color: var(--purple); font-size: .7rem; letter-spacing: .1em; }
.discovery-stage-track .stage-state { color: var(--muted); font-size: .68rem; }
.discovery-stage-track li[data-state="current"] { border-color: var(--blue); background: #122743; box-shadow: inset 0 2px var(--blue); }
.discovery-stage-track li[data-state="current"] .stage-state { color: var(--lime); }
.discovery-stage-track li[data-state="reviewed"] { border-top-color: var(--purple); }
.discovery-motion-choice { display: flex; align-items: center; flex-wrap: wrap; gap: 0 20px; }
.discovery-motion-choice label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .8rem; cursor: pointer; }
.discovery-motion-choice input { width: 18px; height: 18px; accent-color: var(--purple); }
.discovery-motion-choice .small-copy { margin: 0; }
.executive-briefing-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 26px; }
.briefing-card, .briefing-rationale { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, #17263c, #0d172c); }
.briefing-card.briefing-potential { border-top: 2px dashed var(--purple); }
.briefing-card.briefing-unknown { border-top: 2px dotted var(--muted); }
.briefing-rationale { margin-block: 20px; border-left: 2px solid var(--lime); }
.dimension .briefing-category { color: var(--muted); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
#discovery-result .briefing-card h4, #discovery-result .briefing-rationale h4 { margin-top: 0; }
#discovery-result .briefing-card ul, .briefing-rationale p:last-child { margin-bottom: 0; }
.systems-map { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--purple); }
.systems-map h4 { margin: 0 0 12px; font-size: 1.1rem; color: var(--blue); }
.systems-map-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; list-style: none; padding: 0; font-size: .7rem; }
.systems-map-legend li { padding-bottom: 3px; border-bottom: 2px solid var(--blue); }
.systems-map-legend li[data-kind="potential"] { border-bottom-style: dashed; border-color: var(--purple); }
.systems-map-legend li[data-kind="unknown"] { border-bottom-style: dotted; border-color: var(--muted); }
.systems-map-root { padding: 14px; border: 1px solid var(--purple); border-radius: var(--radius); background: var(--navy); font-size: .8rem; }
.systems-node-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 10px; margin-block: 22px; }
.systems-node-grid::before { content: ''; position: absolute; top: -20px; left: 50%; height: 18px; border-left: 1px dashed var(--purple); pointer-events: none; }
.systems-node-grid button { min-width: 0; min-height: 88px; padding: 14px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; color: var(--text); background: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); text-align: left; font-size: .85rem; line-height: 1.45; overflow-wrap: anywhere; }
.systems-node-grid button[data-kind="reported"] { border-color: var(--blue); }
.systems-node-grid button[data-kind="potential"] { border-style: dashed; border-color: var(--purple); }
.systems-node-grid button[data-kind="unknown"] { border-style: dotted; border-color: var(--muted); }
.systems-node-grid button[aria-pressed="true"] { background: #16283f; box-shadow: inset 0 3px var(--blue); }
.systems-node-grid button:hover { background: #182641; }
.systems-node-kind { font-size: .7rem; color: var(--muted); }
.systems-node-grid button[data-kind="reported"] .systems-node-kind { color: var(--blue); }
.systems-node-grid button[data-kind="potential"] .systems-node-kind { color: var(--purple); }
.systems-map-detail { padding-top: 18px; border-top: 1px solid var(--line); }
.systems-map-detail h5 { margin: 0 0 12px; font-size: 1rem; line-height: 1.45; }
.systems-map-detail h6 { margin: 20px 0 10px; font-size: .85rem; line-height: 1.5; font-weight: 600; }
.dimension .systems-detail-kind { font-size: .75rem; color: var(--muted); }
.dimension .systems-detail-kind[data-kind="reported"] { color: var(--blue); }
.dimension .systems-detail-kind[data-kind="potential"] { color: var(--purple); }
.systems-map-detail p, .systems-map-detail ul { font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.systems-map-detail ul { padding-left: 20px; }
.systems-map-detail li { margin-bottom: 10px; }
.dimension .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Mobile-first Discovery: add columns only when space supports them. */
.dimension .dimension-grid { grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 481px) {
  .discovery-stage-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .systems-node-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .systems-node-grid button { min-height: 112px; }
  .briefing-card, .briefing-rationale { padding: 20px; }
}
@media (min-width: 761px) { .discovery-stage-track { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1001px) {
  .executive-briefing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dimension .dimension-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  .discovery-stage-track *, .systems-map *, .executive-briefing-grid * { animation: none !important; transition: none !important; }
}
.systems-overview { margin-block: 14px; font-size: .8rem; line-height: 1.65; }
.systems-overview summary { min-height: 44px; padding-block: 10px; cursor: pointer; color: var(--blue); }
.systems-overview ul { padding-left: 20px; color: var(--muted); }

/* Deferred Discovery feedback is an overlay: it never shifts homepage content. */
.discovery-load-status { position: fixed; z-index: 10; bottom: 16px; left: 20px; right: 20px; width: fit-content; max-width: calc(100% - 40px); margin: 0 auto; padding: 14px 18px; color: var(--text); background: var(--navy); border: 1px solid var(--purple); border-radius: var(--radius); box-shadow: 0 8px 32px #0008; font-size: .85rem; }
.discovery-load-status[hidden] { display: none; }
.discovery-load-status .dimension-control { margin-left: 12px; }
html.is-inactive *, html.is-inactive *::before, html.is-inactive *::after { animation-play-state: paused !important; }

/* Stage 3D: native, script-independent progressive disclosure within Services. */
.service-specializations { display: grid; gap: 4px; margin-bottom: 18px; }
.service-specializations .text-link { justify-content: space-between; align-items: center; font-size: .8rem; line-height: 1.5; overflow-wrap: anywhere; }
.specializations-experience { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--purple); scroll-margin-top: 25px; }
.specializations-experience > .eyebrow { color: var(--lime); }
#specializations-title { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.25; }
.specialization-list { display: grid; gap: 12px; margin-block: 28px; }
.specialization-panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy); scroll-margin-top: 25px; }
.specialization-panel > summary { min-height: 64px; padding: 18px; cursor: pointer; list-style-position: inside; }
.specialization-panel > summary::marker { color: var(--purple); }
.specialization-panel > summary::-webkit-details-marker { color: var(--purple); }
.specialization-panel > summary h4 { display: inline; margin: 0; font-size: clamp(1rem, 2.3vw, 1.2rem); font-weight: 550; line-height: 1.55; color: var(--blue); overflow-wrap: anywhere; }
.specialization-number { display: inline-block; margin-right: 12px; color: var(--blue); font-size: .75rem; letter-spacing: .06em; }
.specialization-panel[open] { border-color: var(--blue); }
.specialization-content { padding: 0 18px 20px; max-width: 900px; color: var(--muted); }
.specialization-content > p { font-size: .95rem; }
.specialization-content .specialization-division { padding-top: 16px; border-top: 1px solid var(--line); color: var(--lime); font-size: .8rem; }
.specialization-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px 28px; }
.specialization-actions .text-link { color: var(--blue); }
.specialization-actions .text-link:hover { color: var(--lime); }
.specialization-boundary { max-width: 900px; }
@media (min-width: 761px) {
  .specialization-panel > summary { padding: 22px 24px; }
  .specialization-content { padding: 0 24px 24px; }
  .specialization-actions { flex-direction: row; flex-wrap: wrap; }
}

/* Stage 4A: one shared, in-memory consultation experience; no new overlay or motion. */
.consultation { margin-block: 36px; padding: 22px; background: var(--navy); border: 1px solid var(--purple); border-top: 3px solid var(--blue); border-radius: var(--radius); overflow-wrap: anywhere; }
.consultation > .eyebrow { color: var(--lime); }
#consultation-title { color: var(--blue); font-size: clamp(1.5rem, 4vw, 2rem); }
.consultation-stages { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-left: 22px; color: var(--muted); font-size: .85rem; }
.consultation-stages [aria-current="step"] { color: var(--lime); font-weight: 650; }
.consultation fieldset { min-width: 0; margin: 26px 0 0; padding: 0; border: 0; }
.consultation legend { font-size: 1.3rem; color: var(--purple); margin-bottom: 20px; }
.consultation label { display: block; font-size: .92rem; margin-bottom: 16px; }
.consultation input:not([type="checkbox"]), .consultation select, .consultation textarea { display: block; width: 100%; min-width: 0; min-height: 48px; margin-top: 7px; padding: 11px; border: 1px solid #69718c; border-radius: var(--radius); color: var(--text); background: #111a30; font: inherit; font-size: 1rem; }
.consultation textarea { resize: vertical; white-space: pre-wrap; overflow-wrap: anywhere; }
.consultation [aria-invalid="true"] { border-color: var(--lime); }
.consultation-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; }
.consultation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block: 20px; }
.consultation .consultation-check { display: flex; align-items: flex-start; gap: 12px; padding-block: 12px; }
.consultation-check input { flex: 0 0 20px; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--purple); }
.consultation-error { color: var(--lime); }
.consultation-summary { white-space: pre-wrap; font: inherit; font-size: .9rem; border-left: 2px solid var(--purple); padding-left: 16px; }
#consultation-discard-panel { border-top: 1px solid var(--purple); padding-top: 20px; }
#consultation-email[aria-disabled="true"] { opacity: .65; }
#consultation-discovery-host { position: relative; z-index: 5; padding: 20px; max-width: 1000px; margin: auto; }
#consultation-discovery-host .consultation { margin: 0; }
@media (min-width: 761px) { .consultation { padding: 36px; } .consultation-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 430px) { #consultation-discovery-host { padding: 10px; } .consultation { padding: 18px; } }

/* Scoped DEAL colors; terminology, typography and unrelated gold retained. */
#approach { --deal-white: #ffffff; }
#deal-title .deal-word { white-space: nowrap; }
#deal-title .deal-d { color: var(--lime); }
#deal-title .deal-e { color: var(--purple); }
#deal-title .deal-a { color: var(--blue); }
#deal-title .deal-l { color: var(--deal-white); }
#approach .deal-grid article:nth-child(1) { --deal-accent: var(--lime); }
#approach .deal-grid article:nth-child(2) { --deal-accent: var(--purple); }
#approach .deal-grid article:nth-child(3) { --deal-accent: var(--blue); }
#approach .deal-grid article:nth-child(4) { --deal-accent: var(--deal-white); }
#approach .deal-grid article { border-top-color: var(--deal-accent); }
#approach .deal-grid .item-number,
#approach .deal-grid h3 { color: var(--deal-accent); }

/* Stage 5B: restrained preparation principle and optional finite cinematic glints. */
.sop-principle { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.sop-principle h3 { margin-bottom: 12px; color: var(--muted); font-size: 1rem; }
#sop-text { margin-bottom: 0; color: var(--muted); font-size: .95rem; }
.sop-punctuation { position: relative; display: inline-block; color: #e1cf9c; }
.sop-glint { position: absolute; left: 50%; bottom: .1em; width: .45em; height: .45em; opacity: 0; background: #e1cf9c; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); pointer-events: none; }
.journey-twinkles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.journey-twinkles > span { position: absolute; border-radius: 50%; background: #e1cf9c; opacity: 0; pointer-events: none; }
.journey-twinkles > span:nth-child(even) { background: #d6e4ff; }
@media (prefers-reduced-motion: reduce) { .sop-glint, .journey-twinkles { display: none !important; } }

/* Optional Stage 6B submission panel; hidden by default, no new motion. */
.consultation-web { margin-block: 1rem; border: 1px solid var(--purple); border-radius: 12px; padding: 1rem; background: var(--navy); }
.consultation-web summary { color: var(--blue); cursor: pointer; }
.consultation-web-widget { min-height: 150px; margin-block: 1rem; max-width: 100%; }
.consultation-web button { max-width: 100%; white-space: normal; }
.consultation-web [role="status"] { color: var(--lime); overflow-wrap: anywhere; }

/* 2LLC signature — reserved phrase widths; no behavior outside this component. */
.brand-signature { display:grid; grid-template-columns:minmax(0,1fr); gap:12px 24px; padding-block:20px 8px; font-size:.85rem; font-weight:550; letter-spacing:.015em; }
.brand-signature .signature-item { display:grid; grid-template-areas:"phrase"; justify-self:start; max-width:100%; border-radius:3px; color:var(--text); cursor:default; }
.brand-signature .signature-item:focus { outline:3px solid var(--lime); outline-offset:6px; }
.brand-signature .signature-short,.brand-signature .signature-full { grid-area:phrase; align-self:center; transition:opacity 220ms ease,transform 220ms ease; }
.brand-signature .signature-short { visibility:hidden; opacity:0; }
.brand-signature .signature-full { opacity:1; }
.brand-signature .signature-done-text { color:var(--blue); }
.brand-signature .signature-pinch { display:inline-block; transform-origin:50% 60%; }
@media(min-width:600px) { .brand-signature { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(min-width:1000px) { .brand-signature { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(hover:hover) and (pointer:fine) {
  .brand-signature .signature-short { visibility:visible; opacity:1; }
  .brand-signature .signature-full { opacity:0; transform:translateY(3px); }
  .brand-signature .signature-item:is(:hover,:focus) .signature-short { opacity:0; }
  .brand-signature .signature-item:is(:hover,:focus) .signature-full { opacity:1; transform:none; }
  .brand-signature .signature-done:is(:hover,:focus) .signature-pinch { animation:signature-pinch 620ms ease-in-out 1; }
}
@keyframes signature-pinch { 0%,100% { transform:none; } 45% { transform:scale(.9) rotate(-4deg); } 70% { transform:scale(.97) rotate(1deg); } }
@media(prefers-reduced-motion:reduce) {
  .brand-signature .signature-short,.brand-signature .signature-full { transition:none; transform:none; }
  .brand-signature .signature-pinch { animation:none!important; }
}
.brand-signature .signature-item:focus .signature-full { opacity:1; transform:none; transition:none; }
.brand-signature .signature-item:focus .signature-short { opacity:0; transition:none; }
/* /2LLC signature */

/* 2LLC official binary — restrained brand signature; ASCII DONE, never authentication. */
.binary-signature { display:inline-block; max-width:100%; padding-inline-start:12px; border-inline-start:1px solid var(--blue); color:var(--blue); font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:.65rem; font-weight:500; line-height:1.8; letter-spacing:.055em; white-space:normal; word-break:normal; text-shadow:0 0 12px #509dff26; vertical-align:middle; }
@keyframes binary-brand-cycle {
  0%,100% { color:var(--lime); }
  25% { color:#fff; }
  50% { color:var(--blue); }
  75% { color:var(--purple); }
}
@media(prefers-reduced-motion:no-preference) {
  .binary-signature { animation:binary-brand-cycle 10s ease-in-out infinite; }
}
@media(prefers-reduced-motion:reduce) {
  .binary-signature { animation:none; color:var(--blue); }
}
/* /2LLC official binary */
