/* ══════════════════════════════════════════════════════════
   DTI — Development, Technology & Investment Institute (V4)
   Dark Theme by Default + Full V3 Animations & Effects
   ══════════════════════════════════════════════════════════ */

:root {
  --bg:         #06080c;
  --bg-soft:    #0c1017;
  --bg-card:    #11161f;
  --ink:        #06080c;
  --txt:        #e9e7e1;
  --txt-dim:    #8e94a2;
  --txt-muted:  #5d6472;
  --line:       rgba(255, 255, 255, 0.14);
  --line-soft:  rgba(255, 255, 255, 0.10);
  --acc:        #c8ff2e;
  --acc-2:      #2ee6ff;
  --acc-3:      #ff5a3c;
  --blue:       #4d8be6;
  --blue-hover: #679ff0;
  --amber:      #f6d018;
  --amber-hover:#ffe042;
  --contact-bg: #102a33;
  --foot-bg:    #090d14;
  --wrap:       1240px;
  --ease:       cubic-bezier(.16, .84, .34, 1);
}

[data-theme="light"] {
  --bg:         #ffffff;
  --bg-soft:    #efefef;
  --bg-card:    #ffffff;
  --ink:        #121316;
  --txt:        #121316;
  --txt-dim:    #5c6470;
  --txt-muted:  #8c939e;
  --line:       #121316;
  --line-soft:  rgba(18, 19, 22, 0.15);
  --acc:        #1f6bff;
  --acc-2:      #1f6bff;
  --acc-3:      #e8452c;
  --blue:       #4d8be6;
  --blue-hover: #3676d6;
  --amber:      #f6d018;
  --amber-hover:#ffe042;
  --contact-bg: #b5cedb;
  --foot-bg:    #121316;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

body.readiness-open { overflow: hidden; }

.mono {
  font-family: "JetBrains Mono", ui-monospace, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0 0 1em; }
button, input, textarea, select { font-family: inherit; }

/* ── AMBIENT LAYERS (GRID + CURSOR GLOW) ────────────────── */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 20%, transparent 85%);
}

[data-theme="light"] .grid-overlay {
  background-image:
    linear-gradient(to right, rgba(11, 13, 18, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 13, 18, 0.045) 1px, transparent 1px);
}

.cursor-glow {
  position: fixed;
  z-index: 2;
  pointer-events: none;
  width: 520px;
  height: 520px;
  left: 0;
  top: 0;
  margin: -260px 0 0 -260px;
  background: radial-gradient(circle, rgba(46, 230, 255, 0.15), transparent 65%);
  transform: translate3d(-999px, -999px, 0);
  transition: opacity 0.4s;
}

[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(31, 107, 255, 0.12), transparent 65%);
}

main, .site-head, .site-foot {
  position: relative;
  z-index: 1;
}

/* ── SCROLL REVEAL ANIMATION ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease) var(--d, 0s), transform 0.7s var(--ease) var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ── HEADER ─────────────────────────────────────────────── */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(6, 8, 12, 0.76);
  backdrop-filter: blur(14px) saturate(160%);
}

[data-theme="light"] .site-head {
  background: rgba(255, 255, 255, 0.84);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--txt);
  transition: transform 0.25s var(--ease);
}
.brand:hover { transform: translateY(-1px); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  margin-right: 0.75rem;
}

.site-nav a {
  position: relative;
  padding: 0.45rem 0.8rem;
  font-size: 0.88rem;
  color: var(--txt-dim);
  transition: color 0.25s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.2rem;
  height: 1.5px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--txt);
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
  transform: scaleX(1);
}

.head-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--line-soft);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.76rem;
  color: var(--txt-dim);
}

.lang-switch__btn {
  background: none;
  border: 0;
  padding: 0.1rem 0.2rem;
  font-size: 0.76rem;
  color: var(--txt-dim);
  cursor: pointer;
  transition: color 0.2s;
}

.lang-switch__btn.is-active {
  color: var(--txt);
  font-weight: 700;
}

.theme-switch {
  position: relative;
  width: 42px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.28s var(--ease);
}

.theme-switch:hover {
  border-color: var(--acc);
}

.theme-switch__knob {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--txt);
  color: var(--bg);
  display: grid;
  place-items: center;
  transform: translateX(19px);
  transition: transform 0.28s var(--ease), background-color 0.28s var(--ease);
}

[data-theme="light"] .theme-switch__knob {
  transform: translateX(0);
  background: #ffffff;
  color: #121316;
}

.ico { display: block; }
.ico--sun { display: none; }
.ico--moon { display: block; }
[data-theme="light"] .ico--sun { display: block; }
[data-theme="light"] .ico--moon { display: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--txt);
  transition: 0.3s var(--ease);
}
.burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.3s var(--ease);
}

.btn i {
  font-style: normal;
  transition: transform 0.3s var(--ease);
}
.btn:hover i { transform: translateX(5px); }

.btn--amber {
  background: var(--amber);
  color: #121316;
}
.btn--amber:hover {
  background: #ffffff;
  color: #121316;
  box-shadow: 0 0 0 4px rgba(246, 208, 24, 0.22);
}
[data-theme="light"] .btn--amber:hover {
  background: var(--amber-hover);
}

.head-cta {
  padding: 0.6rem 1.15rem;
  font-size: 0.82rem;
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(2.8rem, 6vw, 5.2rem) clamp(1rem, 4vw, 3rem) 2.5rem;
}

.hero__kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc-2);
  margin-bottom: 1.4rem;
}

[data-theme="light"] .hero__kicker {
  color: var(--txt);
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}

.hero__stage {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 2rem;
}

.hero__title {
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 1.4rem;
}

.hero__title .line { display: block; }
.hero__title em { font-style: normal; color: var(--txt-dim); }
[data-theme="light"] .hero__title em { color: var(--txt); }

.hero__title .line--fill {
  color: transparent;
  -webkit-text-stroke: 1.4px var(--acc);
  text-shadow: 0 0 55px rgba(200, 255, 46, 0.22);
}

[data-theme="light"] .hero__title .line--fill {
  color: var(--txt);
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.hero__lead {
  max-width: 52ch;
  color: var(--txt-dim);
  font-size: 1rem;
  line-height: 1.58;
  margin-bottom: 2rem;
}

[data-theme="light"] .hero__lead {
  color: var(--txt);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero__explore {
  font-size: 0.92rem;
  font-weight: 500;
  padding-bottom: 0.2rem;
  border-bottom: 1.5px solid var(--txt);
  transition: color 0.25s, border-color 0.25s;
}
.hero__explore:hover {
  color: var(--acc);
  border-color: var(--acc);
}

.hero__glyph {
  font-size: clamp(6rem, 15vw, 13.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.82;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.18);
  text-align: right;
  user-select: none;
  transition: -webkit-text-stroke-color 0.4s;
}

[data-theme="light"] .hero__glyph {
  color: var(--txt);
  -webkit-text-stroke: 0;
}

.pillars {
  list-style: none;
  margin: 4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.pillar {
  padding: 1.35rem 1rem 1.2rem;
  border-right: 1px solid var(--line-soft);
  text-align: center;
  position: relative;
  transition: background 0.35s var(--ease);
}
.pillar:last-child { border-right: 0; }

.pillar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--acc);
  transition: width 0.5s var(--ease);
}
.pillar:hover::before { width: 100%; }
.pillar:hover { background: rgba(255, 255, 255, 0.03); }
[data-theme="light"] .pillar:hover { background: rgba(11, 13, 18, 0.03); }

.pillar__num {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 0.55rem;
}

.pillar h3 {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* ── MARQUEE TICKER ─────────────────────────────────────── */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: var(--bg-soft);
  padding: 0.7rem 0;
}

.ticker__track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  align-items: center;
  animation: slide 38s linear infinite;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-dim);
}

.ticker__track i {
  color: var(--acc);
  font-style: normal;
  font-size: 0.55rem;
}

@keyframes slide {
  to { transform: translateX(-50%); }
}

/* ── SECTION SHELL ──────────────────────────────────────── */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1rem, 4vw, 3rem);
}

.section--tint {
  max-width: none;
  background: linear-gradient(180deg, rgba(46, 230, 255, 0.04), transparent 60%), var(--bg-soft);
  border-block: 1px solid var(--line-soft);
}
.section--tint > * {
  max-width: var(--wrap);
  margin-inline: auto;
}
[data-theme="light"] .section--tint {
  background: var(--bg);
  border-block: 0;
}

.sec-head {
  margin-bottom: 2.2rem;
}

.sec-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.sec-lead {
  margin-top: 0.85rem;
  color: var(--txt-dim);
  font-size: 1.02rem;
  max-width: 76ch;
  line-height: 1.55;
}
[data-theme="light"] .sec-lead { color: var(--txt); }

/* ── WHAT IS DTI ────────────────────────────────────────── */
.definition {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.def--pos {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 2rem 2.2rem;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
[data-theme="light"] .def--pos {
  background: transparent;
  border: 0;
  padding: 0.4rem 0;
}
.def--pos:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.def--pos .def__label {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: var(--acc);
}
[data-theme="light"] .def--pos .def__label { color: var(--txt); }

.def--pos p {
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--txt);
  margin-bottom: 0.85rem;
}

.def--do {
  background: linear-gradient(145deg, var(--blue), #2a66c0);
  color: #ffffff;
  padding: 2.2rem 2.4rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.def--do:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(77, 139, 230, 0.22);
}

.def--do .def__label {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: #ffffff;
}

.def--do p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
  color: #ffffff;
}

/* ── HOW CAN DTI HELP YOU ───────────────────────────────── */
.helper {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  align-items: start;
}

.helper__rail {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.intent {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--txt-dim);
  cursor: pointer;
  text-align: left;
  padding: 0.72rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 500;
  position: relative;
  transition: 0.25s var(--ease);
}
[data-theme="light"] .intent { color: var(--txt); }

.intent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--acc);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease);
}

.intent:hover {
  color: var(--txt);
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.04);
}
[data-theme="light"] .intent:hover { background: rgba(11, 13, 18, 0.03); }

.intent.is-active {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  font-weight: 600;
}
[data-theme="light"] .intent.is-active {
  background: #121316;
  border-color: #121316;
}
.intent.is-active::before {
  transform: scaleY(1);
  background: var(--amber);
}

.seek {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--bg-card);
  margin-bottom: 1.75rem;
  max-width: 680px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.seek:focus-within {
  border-color: var(--acc-2);
  box-shadow: 0 0 0 3px rgba(46, 230, 255, 0.14);
}

.seek input {
  flex: 1;
  background: none;
  border: 0;
  outline: 0;
  color: var(--txt);
  padding: 0.78rem 1rem;
  font-size: 0.9rem;
  font-style: italic;
}

.seek input::placeholder {
  color: var(--txt-dim);
}

.seek__go {
  background: var(--blue);
  color: #ffffff;
  border: 0;
  width: 48px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s;
}
[data-theme="light"] .seek__go { background: #121316; }
.seek__go:hover { background: var(--blue-hover); }

.routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 1.25rem;
}

.route {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 160px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.route:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}

.route h4 {
  font-size: 0.98rem;
  margin-bottom: 0.5rem;
}

.route p {
  font-size: 0.82rem;
  color: var(--txt-dim);
  margin: 0 0 1.2rem;
  flex: 1;
}

.route__btn {
  display: inline-block;
  background: var(--blue);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.42rem 0.95rem;
  transition: background 0.25s, transform 0.25s var(--ease);
}
.route:hover .route__btn {
  background: var(--blue-hover);
  transform: translateX(3px);
}

.route[hidden] { display: none; }

/* ── DIGITAL INFRASTRUCTURE ─────────────────────────────── */
.modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.module {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 1.8rem 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 235px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.module::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(46, 230, 255, 0.16), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.module:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.32);
}
[data-theme="light"] .module:hover {
  border-color: rgba(18, 19, 22, 0.4);
}
.module:hover::after {
  opacity: 1;
}

.module--live {
  background: #12151e;
  border-color: rgba(200, 255, 46, 0.35);
  color: #ffffff;
}
[data-theme="light"] .module--live {
  background: #121316;
  border-color: #121316;
}

.module__top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.module__type {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt-dim);
}
.module--live .module__type { color: rgba(255, 255, 255, 0.78); }

.chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  white-space: nowrap;
}

.chip--live {
  border: 1px solid var(--acc);
  color: var(--acc);
}
.chip--live::before {
  content: "● ";
  font-size: 0.6em;
  vertical-align: middle;
}
[data-theme="light"] .chip--live {
  border-color: #ffffff;
  color: #ffffff;
}

.chip--dev {
  border: 1px dashed var(--txt-dim);
  color: var(--txt-dim);
}

.module h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.module p {
  font-size: 0.86rem;
  line-height: 1.56;
  color: var(--txt-dim);
  margin-bottom: 1.4rem;
  flex: 1;
}
[data-theme="light"] .module p { color: var(--txt); }
.module--live p,
[data-theme="light"] .module--live p {
  color: rgba(255, 255, 255, 0.88);
}

.module__cta {
  border: 0;
  padding: 0.6rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.module__cta:hover {
  transform: translateY(-1px);
}

.module__cta--light {
  background: #ffffff;
  color: #121316;
}
.module__cta--light:hover {
  background: var(--amber);
}

.module__cta--muted {
  background: #8e9094;
  color: #ffffff;
}
.module__cta--muted:hover {
  background: var(--blue);
}

/* ── ACTIVE PROGRAMS ────────────────────────────────────── */
.prog-card {
  max-width: 780px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 2.1rem 2.2rem 1.9rem;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.prog-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.prog-card__tag {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.prog-card__title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.prog-card__desc {
  font-size: 0.86rem;
  color: var(--txt-dim);
  line-height: 1.58;
  margin-bottom: 1.25rem;
}
[data-theme="light"] .prog-card__desc { color: var(--txt); }

.prog-card__meta {
  margin: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  border-left: 2px solid var(--blue);
  padding-left: 1rem;
}

.prog-card__meta > div {
  display: grid;
  grid-template-columns: 75px 1fr;
  align-items: baseline;
}

.prog-card__meta dt {
  color: var(--txt-dim);
}

.prog-card__meta dd {
  margin: 0;
  font-weight: 600;
}

.prog-card__meta dd.is-active {
  color: var(--acc);
}
.prog-card__meta dd.is-active::before {
  content: "● ";
  font-size: 0.7em;
}
[data-theme="light"] .prog-card__meta dd.is-active {
  color: var(--blue);
}

.prog-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2.2rem;
  margin-bottom: 1.8rem;
}

.prog-card__item {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-soft);
  background: var(--bg-soft);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.prog-card__item:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.prog-card__item h4 {
  font-size: 0.84rem;
  margin-bottom: 0.4rem;
}

.prog-card__item p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--txt-dim);
  line-height: 1.5;
}
[data-theme="light"] .prog-card__item p { color: var(--txt); }

.prog-card__cta {
  display: block;
  width: 100%;
  background: var(--blue);
  color: #ffffff;
  text-align: center;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.25s, transform 0.25s var(--ease);
}

.prog-card__cta:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

/* ── ECOSYSTEM CONNECTOR ────────────────────────────────── */
#ecosystem .sec-head {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-soft);
}

.eco {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2rem;
  align-items: stretch;
  border: 1px solid var(--line-soft);
  background: var(--bg-soft);
  padding: 1.25rem;
}
[data-theme="light"] .eco {
  background: transparent;
  border: 0;
  padding: 0;
}

.eco__panel {
  background: #121316;
  color: #ffffff;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
}

.eco__panel.is-swap {
  animation: swap 0.45s var(--ease);
}

@keyframes swap {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.eco__title {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  color: #ffffff;
}

.eco__text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.eco__rows {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.eco__rows li {
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  padding-top: 0.55rem;
}

.eco__rows b {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.15rem;
}

.eco__rows span {
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.84);
}

.eco__hint {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--acc-2);
  margin-top: 1.5rem;
}
[data-theme="light"] .eco__hint { color: #ffffff; }

.eco__canvas {
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.core-ring {
  fill: none;
  stroke: var(--acc);
  stroke-width: 1.2;
  stroke-dasharray: 5 7;
  transform-origin: 410px 280px;
  animation: spin 34s linear infinite;
}
[data-theme="light"] .core-ring {
  stroke: var(--blue);
}

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

.core-fill { fill: var(--blue); }
.core-text {
  fill: #ffffff;
  font-size: 28px;
  font-weight: 700;
  text-anchor: middle;
}
.core-sub {
  fill: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-anchor: middle;
}
.core-div {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1;
}

.eco-link {
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 1;
  transition: stroke 0.3s, stroke-width 0.3s;
}
[data-theme="light"] .eco-link {
  stroke: rgba(18, 19, 22, 0.4);
}
.eco-link.is-hot {
  stroke: var(--acc);
  stroke-width: 2.2;
}
[data-theme="light"] .eco-link.is-hot {
  stroke: var(--blue);
}

.eco-node { cursor: pointer; }
.eco-node rect {
  fill: var(--bg-card);
  stroke: var(--line);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.14));
  transition: stroke 0.25s var(--ease), fill 0.25s var(--ease), transform 0.25s var(--ease);
}
.eco-node text {
  fill: var(--txt);
  font-size: 16px;
  font-weight: 500;
  text-anchor: middle;
  transition: fill 0.25s;
}
.eco-node:hover rect {
  stroke: var(--acc-2);
  stroke-width: 1.6;
}
.eco-node.is-on rect {
  stroke: var(--acc);
  stroke-width: 2;
}
[data-theme="light"] .eco-node:hover rect,
[data-theme="light"] .eco-node.is-on rect {
  stroke: var(--blue);
}

/* ── FILTERS (INSIGHTS & PARTNERS) ──────────────────────── */
.filters {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.filters--partners {
  grid-template-columns: repeat(7, 1fr);
}

.filter {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--txt-dim);
  cursor: pointer;
  padding: 0.65rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 500;
  text-align: left;
  transition: 0.25s var(--ease);
}
[data-theme="light"] .filter { color: var(--txt); }

.filter--muted {
  border-color: var(--line-soft);
  color: var(--txt-muted);
}

.filter:hover {
  color: var(--txt);
  border-color: var(--blue);
  transform: translateY(-1px);
}

.filter.is-active {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  font-weight: 600;
}
[data-theme="light"] .filter.is-active {
  background: #121316;
  color: #ffffff;
  border-color: #121316;
}

/* ── INSIGHTS ───────────────────────────────────────────── */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.post {
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 1.6rem 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  min-height: 225px;
  transition: 0.35s var(--ease);
}

.post::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  background: var(--acc-2);
  transition: width 0.45s var(--ease);
}

.post:hover::before { width: 100%; }
.post:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
}
[data-theme="light"] .post:hover {
  border-color: var(--blue);
}

.post__cat {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.post h3 {
  font-size: 1.04rem;
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.post__summary {
  font-size: 0.82rem;
  color: var(--txt-dim);
  line-height: 1.56;
  flex: 1;
}
[data-theme="light"] .post__summary { color: var(--txt); }

.post__full {
  font-size: 0.8rem;
  color: var(--txt);
  line-height: 1.58;
  margin-bottom: 1rem;
  animation: swap 0.35s var(--ease);
}

.post__full p { margin-bottom: 0.65rem; }
.post__full ul,
.post__full ol {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.25rem;
}
.post__full li { margin-bottom: 0.2rem; }

.post__more {
  align-self: flex-end;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--txt);
  padding: 0 0 2px;
  font-size: 0.76rem;
  color: var(--txt);
  cursor: pointer;
  margin-top: auto;
  transition: color 0.2s, border-color 0.2s;
}

.post__more:hover {
  color: var(--acc);
  border-color: var(--acc);
}

.post[hidden] { display: none; }

.posts-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
}

.posts-dot {
  width: 7px;
  height: 7px;
  border: 1px solid var(--line);
}
.posts-dot.is-active {
  background: var(--txt);
}

/* ── PARTNERS ───────────────────────────────────────────── */
.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem 1.25rem;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  transition: transform 0.3s var(--ease);
}
.logo:hover {
  transform: translateY(-3px);
}

.logo__box {
  width: 100%;
  height: 120px;
  background: var(--bg-card);
  border: 1px dashed var(--line);
  color: var(--txt-dim);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  transition: 0.3s var(--ease);
}
[data-theme="light"] .logo__box {
  background: #7f8080;
  border-style: solid;
  color: #ffffff;
}
.logo:hover .logo__box {
  border-color: var(--acc);
  color: var(--acc);
}
[data-theme="light"] .logo:hover .logo__box {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

.logo p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--txt-dim);
  line-height: 1.4;
  max-width: 24ch;
}
[data-theme="light"] .logo p { color: var(--txt); }

.logo[hidden] { display: none; }

/* ── START WITH DTI (CONTACT) ───────────────────────────── */
.section--contact {
  max-width: none;
  background: linear-gradient(160deg, #123a44, #0a1116 65%);
  border-top: 1px solid var(--line-soft);
  padding: clamp(3.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
}
[data-theme="light"] .section--contact {
  background: var(--contact-bg);
}

.contact-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
}

.contact-head {
  padding-bottom: 1.2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.contact {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact__note {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2.2rem;
  color: var(--txt-dim);
}
[data-theme="light"] .contact__note { color: var(--txt); }

.contact__addr {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--acc-2);
}
[data-theme="light"] .contact__addr { color: var(--txt); }

.form {
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wants {
  border: 0;
  padding: 0;
  margin: 0 0 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wants legend {
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 0.55rem;
  width: 100%;
}

.want input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.want span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  color: var(--txt);
  border: 1px solid var(--line);
  padding: 0.48rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.22s var(--ease);
}
[data-theme="light"] .want span {
  background: #ffffff;
  color: #121316;
  border-color: #121316;
}
.want span:hover {
  border-color: var(--acc);
}

.want input:checked + span {
  background: var(--amber);
  border-color: var(--amber);
  color: #121316;
  font-weight: 600;
}
[data-theme="light"] .want input:checked + span {
  background: #121316;
  border-color: #121316;
  color: #ffffff;
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.32);
  color: var(--txt);
  border: 1px solid var(--line);
  padding: 0.82rem 0.95rem;
  font-size: 0.84rem;
  outline: 0;
  transition: border-color 0.25s, background 0.25s;
}
[data-theme="light"] .field input,
[data-theme="light"] .field textarea {
  background: #ffffff;
  color: #121316;
  border-color: rgba(18, 19, 22, 0.45);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--acc-2);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--txt-dim);
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--acc-3);
}

.form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.btn--send {
  min-width: 190px;
  padding: 0.85rem 1.5rem;
  font-size: 0.92rem;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-foot {
  background: var(--foot-bg);
  border-top: 1px solid var(--line-soft);
  color: #ffffff;
  padding: 3rem clamp(1rem, 4vw, 3rem) 2rem;
}

.foot__main {
  max-width: var(--wrap);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(2rem, 6vw, 6rem);
}

.foot__brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.foot__brand .brand__word {
  font-size: 1.5rem;
  font-weight: 700;
}

.foot__email {
  font-size: 1.05rem;
  color: #ffffff;
}

.foot__cols h4 {
  color: var(--amber);
  font-size: 0.78rem;
  margin-bottom: 0.9rem;
}

.foot__cols a {
  display: block;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.22rem 0;
  transition: color 0.2s;
}

.foot__cols a:hover { color: var(--amber); }

.foot__inline-links {
  display: flex;
  gap: 0.65rem;
}

.foot__copy {
  max-width: var(--wrap);
  margin: 0 auto;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ══════════════════════════════════════════════════════════
   AI READINESS ASSESSMENT MODAL (Pages 3–9)
   ══════════════════════════════════════════════════════════ */
.readiness-launch {
  cursor: pointer;
}

.readiness {
  width: min(980px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 36px 48px 44px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--txt);
  overflow: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.readiness[open],
.modal-box[open] {
  animation: modalIn 0.32s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.readiness::backdrop,
.modal-box::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.readiness [hidden],
.modal-box [hidden] {
  display: none !important;
}

.readiness__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.readiness__head h2 {
  font-size: 1.25rem;
  font-weight: 500;
}

.readiness__head h2 strong {
  font-size: 1.45rem;
  font-weight: 700;
  margin-left: 0.35rem;
}

.readiness__close,
.modal-box__close {
  background: none;
  border: 0;
  color: var(--txt);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s, transform 0.2s;
}
.readiness__close:hover,
.modal-box__close:hover {
  color: var(--acc);
  transform: scale(1.1);
}

/* View 1: Intro */
.readiness__hero-title {
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  margin-bottom: 1rem;
}

.readiness__hero-lead {
  font-size: 1.02rem;
  max-width: 60ch;
  line-height: 1.6;
  color: var(--txt-dim);
  margin-bottom: 2.8rem;
}
[data-theme="light"] .readiness__hero-lead { color: var(--txt); }

.readiness__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 4.5rem;
  margin-bottom: 3rem;
}

.readiness__stat-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.readiness__stat-val {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--acc);
}
[data-theme="light"] .readiness__stat-val { color: var(--txt); }

.readiness__btn {
  border: 0;
  padding: 0.95rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background 0.22s;
}
.readiness__btn:hover {
  transform: translateY(-1px);
}

.readiness__btn--blue {
  background: var(--blue);
  color: #ffffff;
  min-width: 320px;
}
.readiness__btn--blue:hover { background: var(--blue-hover); }

.readiness__btn--dark {
  background: var(--blue);
  color: #ffffff;
  min-width: 160px;
}
[data-theme="light"] .readiness__btn--dark {
  background: #121316;
}

/* View 2: Questions */
.readiness__progress {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.readiness__bar {
  flex: 1;
  height: 4px;
  background: var(--line);
  position: relative;
}

.readiness__bar-fill {
  height: 100%;
  background: var(--blue);
  transition: width 0.3s var(--ease);
}

.readiness__pct {
  font-size: 1.05rem;
  font-weight: 500;
  min-width: 48px;
}

.readiness__block-head {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  margin-bottom: 1.6rem;
}

.readiness__block-head span {
  font-size: 0.85rem;
  color: var(--txt-dim);
}

.readiness__block-head h3 {
  font-size: 1.35rem;
}

.readiness__question {
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  padding: 0 0 1.15rem;
  margin: 0 0 1.25rem;
}

.readiness__qnum {
  display: block;
  font-size: 0.78rem;
  color: var(--txt-dim);
  margin-bottom: 0.35rem;
}

.readiness__question legend {
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  padding: 0;
}

.readiness__ratings {
  display: flex;
  gap: 0.5rem;
}

.readiness__ratings label {
  position: relative;
  cursor: pointer;
}

.readiness__ratings input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.readiness__ratings span {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--bg-card);
  color: var(--txt);
  transition: 0.2s var(--ease);
}
.readiness__ratings label:hover span {
  border-color: var(--blue);
}

.readiness__ratings input:checked + span {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}
[data-theme="light"] .readiness__ratings input:checked + span {
  background: #121316;
  border-color: #121316;
}

.readiness__answer {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.76rem;
  color: var(--txt-dim);
}

.readiness__nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.75rem;
  margin-top: 1.8rem;
}

.readiness__back {
  background: none;
  border: 0;
  color: var(--txt);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem;
}

/* View 3: Results */
.readiness__sub {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.readiness__summary-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.readiness__box {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 1.2rem 1.5rem;
  min-width: 210px;
}

.readiness__box span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.readiness__box strong {
  font-size: 1.85rem;
  font-weight: 700;
}

.readiness__bars {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.readiness__bar-row {
  display: grid;
  grid-template-columns: 210px 1fr 40px;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.readiness__bar-track {
  height: 4px;
  background: var(--line);
}

.readiness__bar-val {
  height: 100%;
  background: var(--blue);
  transition: width 0.5s var(--ease);
}

.readiness__bar-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.readiness__rec {
  max-width: 620px;
  background: var(--contact-bg);
  padding: 1.5rem 1.6rem;
  margin-bottom: 2.4rem;
}

.readiness__rec h4 {
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.readiness__rec p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.readiness__results-foot {
  max-width: 620px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.readiness__link {
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid var(--txt);
  padding-bottom: 2px;
}

/* View 4: Consultation Form (Pages 8 & 9) */
.readiness__consult-title {
  font-size: 1.45rem;
  margin-bottom: 1.8rem;
}

.readiness__fgroup {
  max-width: 560px;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.readiness__fgroup h4 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.readiness__input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--txt);
  padding: 0 0.95rem;
  font-size: 0.84rem;
  outline: 0;
  transition: border-color 0.2s;
}
.readiness__input:focus {
  border-color: var(--blue);
}

.readiness__input.has-error {
  border-color: var(--acc-3);
}

.readiness__row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.custom-select {
  position: relative;
}

.custom-select__trigger {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--txt-dim);
  padding: 0 0.95rem;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.custom-select.has-value .custom-select__trigger {
  color: var(--txt);
}

.custom-select__menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.custom-select__menu li {
  padding: 0.55rem 0.95rem;
  font-size: 0.84rem;
  cursor: pointer;
}

.custom-select__menu li:hover,
.custom-select__menu li.is-selected {
  background: var(--blue);
  color: #ffffff;
}

/* ══════════════════════════════════════════════════════════
   COMING SOON & STATUS MODALS (Pages 10–13)
   ══════════════════════════════════════════════════════════ */
.modal-box {
  width: min(820px, calc(100% - 32px));
  padding: 48px 56px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--txt);
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.modal-box__close {
  position: absolute;
  top: 22px;
  right: 26px;
}

.modal-box__body h2 {
  font-size: 1.85rem;
  margin-bottom: 1.2rem;
}

.modal-box__body p {
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 58ch;
  color: var(--txt-dim);
  margin-bottom: 1.1rem;
}
[data-theme="light"] .modal-box__body p { color: var(--txt); }

.modal-box__body .readiness__input {
  max-width: 640px;
  height: 54px;
  margin-top: 0.8rem;
}

.modal-box__actions {
  max-width: 640px;
  margin-top: 2.4rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.8rem;
}

.modal-box__btn-blue {
  background: var(--blue);
  color: #ffffff;
  border: 0;
  padding: 0.78rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.modal-box__btn-blue:hover { background: var(--blue-hover); }

.modal-box__link {
  background: none;
  border: 0;
  border-bottom: 1.5px solid var(--txt);
  color: var(--txt);
  padding: 0 0.4rem 0.25rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.modal-box--status {
  min-height: 440px;
}

.modal-box__center {
  text-align: center;
  padding: 1.5rem 0 2rem;
}

.modal-box__center h2 {
  font-size: 1.85rem;
  margin-bottom: 0.85rem;
}

.modal-box__center p {
  font-size: 1.05rem;
  color: var(--txt-dim);
  margin-bottom: 2.2rem;
}

.status-robot {
  display: flex;
  justify-content: center;
}

.modal-box__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .ticker__track, .core-ring { animation: none; }
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__stage,
  .definition,
  .eco,
  .contact,
  .foot__main {
    grid-template-columns: 1fr;
  }
  .hero__glyph { display: none; }
  .eco__panel { min-height: auto; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .filters,
  .filters--partners {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .site-nav {
    position: fixed;
    inset: 60px 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    padding: 1rem 1.5rem;
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease);
  }
  .site-nav.is-open { transform: none; }
  .site-nav a {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .burger { display: flex; margin-left: auto; }
  .head-cta { display: none; }
  .pillars { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
  .pillar:nth-child(2n) { border-right: 0; }
  .helper { grid-template-columns: 1fr; gap: 2rem; }
  .modules,
  .routes,
  .prog-card__grid,
  .posts,
  .readiness__row2 {
    grid-template-columns: 1fr;
  }
  .readiness { padding: 24px 20px; }
  .readiness__bar-row { grid-template-columns: 140px 1fr 36px; }
  .modal-box { padding: 32px 24px; }
}
