
@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 0 0% 4%;
    --border: 0 0% 90%;
    --radius: 0.625rem;
  }

  * {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    background: #050505;
  }

  body {
    margin: 0;
    min-width: 320px;
    background: #050505;
    color: #ffffff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  button,
  a {
    font: inherit;
  }

  button {
    cursor: pointer;
  }

  ::selection {
    background: #090909;
    color: #ffffff;
  }
}

#root {
  min-height: 100vh;
}

.site {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: #050505;
  isolation: isolate;
}

/* Loading experience */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 62%, rgba(255,255,255,0.08), transparent 28rem),
    #050505;
  color: #ffffff;
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.loader--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(620px, 82vw);
}

.loader-lockup {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 3vw, 1.8rem);
}

.loader-shield-flip {
  width: min(130px, 22vw);
  animation: logo-flip 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(255,255,255,0.14));
  will-change: transform;
  backface-visibility: hidden;
}

.loader-wordmark {
  width: min(320px, 52vw);
  filter: drop-shadow(0 0 22px rgba(255,255,255,0.1));
}

@keyframes logo-flip {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

/* Persistent brand and emblem */
.floating-logo {
  position: fixed;
  z-index: 60;
  top: 22%;
  left: 50%;
  width: min(560px, 72vw);
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 1;
  transition:
    top 900ms cubic-bezier(0.76, 0, 0.24, 1),
    left 900ms cubic-bezier(0.76, 0, 0.24, 1),
    width 900ms cubic-bezier(0.76, 0, 0.24, 1),
    transform 900ms cubic-bezier(0.76, 0, 0.24, 1),
    opacity 500ms ease 250ms;
}

.is-loading .floating-logo {
  opacity: 0;
  transition-delay: 0ms;
}

.is-scrolled .floating-logo {
  top: 39px;
  left: 28px;
  width: 172px;
  transform: translate(0, -50%);
}

.shield-emblem {
  position: fixed;
  z-index: 0;
  top: 4vh;
  right: -14vw;
  width: min(68vw, 860px);
  height: 108vh;
  background: url('../assets/lambda-shield-white.png') center / contain no-repeat;
  mix-blend-mode: difference;
  opacity: 0.3;
  pointer-events: none;
  will-change: transform;
}

.top-bar {
  position: fixed;
  z-index: 55;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  background: rgba(5,5,5,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 450ms ease, visibility 450ms ease;
}

.is-scrolled .top-bar {
  opacity: 1;
  visibility: visible;
}

.theme-toggle {
  position: fixed;
  z-index: 80;
  top: 1.25rem;
  right: 1.15rem;
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(9,9,9,0.6);
  color: #ffffff;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
}

body.theme-light .theme-toggle {
  border-color: rgba(9,9,9,0.18);
  background: rgba(255,255,255,0.78);
  color: #090909;
}

.top-nav {
  position: fixed;
  z-index: 70;
  top: 0;
  right: 2.7rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 1.35rem 1.6rem;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 450ms ease, transform 450ms ease;
}

.is-scrolled .top-nav {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.top-nav__toggle {
  display: none;
}

.top-nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-nav button {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0.58rem 0.9rem;
  background: rgba(9,9,9,0.6);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.top-nav button:hover {
  background: #ffffff;
  color: #090909;
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.05), transparent 30rem),
    #050505;
}

.hero-globe {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(150vmin, 1150px);
  transform: translate(-50%, -50%);
  opacity: 0.78;
  mix-blend-mode: screen;
  pointer-events: none;
  mask-image: radial-gradient(circle, black 46%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 46%, transparent 70%);
}

.theme-light .hero-globe {
  mix-blend-mode: multiply;
  opacity: 0.35;
  filter: invert(1);
}

.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4.8rem;
  width: min(760px, 76vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.hero-content {
  position: absolute;
  inset: 0;
  width: min(980px, 92vw);
  margin: 0 auto;
  text-align: center;
  pointer-events: none;
}

.hero-headline {
  position: absolute;
  top: 52vh;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
}

.hero-content .hero-actions {
  position: absolute;
  top: 66vh;
  left: 50%;
  flex-wrap: nowrap;
  justify-content: center;
  transform: translateX(-50%);
  margin-top: 0;
  pointer-events: auto;
}

.hero-content .hero-actions .btn {
  white-space: nowrap;
}

.hero-content .hero-actions .btn:hover {
  transform: translateY(-2px);
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: currentColor;
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.58;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero h1 {
  font-size: clamp(2rem, 5.4vw, 4.6rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.1rem;
}

.btn {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  border: 1px solid #ffffff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: #ffffff;
  color: #090909;
  box-shadow: 0 16px 34px rgba(255,255,255,0.12);
}

.btn--primary:hover {
  background: #d9d9d9;
}

.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  border-color: rgba(255,255,255,0.32);
}

.btn--ghost:hover {
  background: #ffffff;
  color: #090909;
  border-color: #ffffff;
}

.btn--light {
  background: #ffffff;
  color: #090909;
  border-color: #ffffff;
}

.btn--outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.32);
}

.btn--outline-light:hover {
  background: #ffffff;
  color: #090909;
  border-color: #ffffff;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transform: translateX(-50%);
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.54);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.scroll-cue span {
  width: 1px;
  height: 2.5rem;
  overflow: hidden;
  background: rgba(255,255,255,0.18);
  position: relative;
}

.scroll-cue span::after {
  content: '';
  position: absolute;
  left: 0;
  top: -45%;
  width: 100%;
  height: 45%;
  background: #ffffff;
  animation: scroll-drip 1.8s ease-in-out infinite;
}

@keyframes scroll-drip {
  to { top: 110%; }
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(5.5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem);
  scroll-margin-top: 5.5rem;
}

.section--light {
  background: rgba(5,5,5,0.82);
  color: #ffffff;
}

.section--dark {
  background: rgba(5,5,5,0.88);
  color: #ffffff;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-heading--split {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 5rem);
}

.section-heading h2 {
  font-size: clamp(2.35rem, 6vw, 5.6rem);
}

#practice .section-heading h2 {
  white-space: nowrap;
  font-size: clamp(2rem, 4.6vw, 4.4rem);
}

.section-heading p:not(.eyebrow) {
  margin: 1.35rem 0 0;
  color: currentColor;
  opacity: 0.66;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.75;
}

.section-heading p:not(.eyebrow):has(.lead-in) {
  opacity: 1;
  color: rgba(255,255,255,0.66);
}

.section-heading .lead-in {
  color: #ffffff;
  font-weight: 800;
}

.stats-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.4rem) 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.stat-item {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.stat-divider {
  position: absolute;
  top: 0.2rem;
  right: calc(clamp(1rem, 3vw, 2.5rem) / -2);
  width: 1px;
  height: calc(100% - 0.4rem);
  background: rgba(255,255,255,0.16);
}

.stat-item strong {
  display: block;
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.stat-item span {
  max-width: 12rem;
  color: rgba(255,255,255,0.58);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.55;
  text-transform: uppercase;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.hub-card,
.region-card,
.pillar-card,
.frontier-card,
.contact-card {
  position: relative;
  overflow: hidden;
}

.hub-card {
  min-height: 260px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  padding-top: calc(clamp(1.4rem, 3vw, 2.2rem) + 3.2rem);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.055);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hub-card::before {
  content: '';
  position: absolute;
  inset: auto -12% -36% auto;
  width: 18rem;
  height: 18rem;
  background: url('../assets/lambda-shield-white.png') center / contain no-repeat;
  opacity: 0.08;
}

.hub-card--dark {
  background: #ffffff;
  color: #090909;
  border-color: #ffffff;
}

.hub-card--dark::before {
  background-image: url('../assets/lambda-shield-black.png');
  opacity: 0.1;
}

.hub-card span,
.contact-card span {
  color: currentColor;
  opacity: 0.52;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hub-card span {
  min-height: 1.1em;
}

.hub-card h3 {
  margin: 0.7rem 0 0;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.hub-card p {
  min-height: 1.7em;
  margin: 0.8rem 0 0;
}

.hub-card p,
.region-card p,
.pillar-card p,
.frontier-card p,
.contact-card p {
  color: currentColor;
  opacity: 0.62;
  line-height: 1.7;
}

.region-marquee {
  overflow: hidden;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding: 1.1rem 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.region-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2.4rem;
  animation: region-scroll 26s linear infinite;
}

.region-marquee__item {
  display: inline-flex;
  align-items: baseline;
  gap: 2.4rem;
  white-space: nowrap;
  color: rgba(255,255,255,0.85);
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.region-marquee__sep {
  color: rgba(255,255,255,0.28);
  font-style: normal;
  font-weight: 400;
}

@keyframes region-scroll {
  to { transform: translateX(-50%); }
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.region-card {
  position: relative;
  min-height: 130px;
  padding: 1.3rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.045);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 240ms ease, transform 240ms ease;
}

.region-card:hover {
  background: #ffffff;
  transform: translateY(-3px);
}

.region-card:hover h3 {
  color: #090909;
}

.region-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.05;
  transition: color 240ms ease;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pillar-card {
  min-height: 520px;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  display: flex;
  flex-direction: column;
}

.pillar-card__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: clamp(2rem, 6vw, 4.5rem);
}

.pillar-card__meta small {
  color: rgba(255,255,255,0.48);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pillar-card h3 {
  margin: 0;
  font-size: clamp(1.9rem, 2.9vw, 2.7rem);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.pillar-card p {
  margin: 1rem 0 1.6rem;
}

.pillar-card__intro {
  color: #ffffff;
  opacity: 0.85;
  font-weight: 650;
}

.pillar-card__body {
  margin: 0 !important;
  padding: 1.2rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.72);
  font-size: 0.94rem;
  line-height: 1.7;
}

.pillar-card__intro {
  min-height: 3.4em;
}

@media (min-width: 1021px) {
  .pillar-card h3 {
    min-height: 2.1em;
  }
}

.pillar-card__chips {
  margin-top: 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pillar-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  background: #ffffff;
  color: #090909;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.3;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.pillar-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255,255,255,0.12);
}

.contact-section {
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-card {
  min-height: 200px;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.055);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.contact-card h3 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1;
}

@media (min-width: 1021px) {
  .contact-card h3 {
    white-space: nowrap;
    font-size: clamp(1.4rem, 2.1vw, 2rem);
  }
}

.contact-card p {
  margin: 1rem 0 0;
  max-width: 34rem;
}

.contact-card__entity {
  margin: 0.9rem 0 0 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contact-actions {
  justify-content: flex-start;
  margin-top: 0.6rem;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.045);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-form label small {
  color: rgba(255,255,255,0.4);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: none;
}

.contact-form input,
.contact-form select {
    width: 100%;
    height: 50px;
    padding: 0 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}

.contact-form textarea {
    width: 100%;
    min-height: 130px;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    appearance: none;
    -webkit-appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.32);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
}

.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.7) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.7) 50%, transparent 50%);
  background-position: calc(100% - 1.2rem) 50%, calc(100% - 0.85rem) 50%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
}

.contact-form select option {
  background: #111111;
  color: #ffffff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__submit {
  justify-self: start;
  margin-top: 0.3rem;
}

.form-note {
  margin: 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 1.4rem clamp(1.25rem, 6vw, 6rem);
  background: #050505;
  color: rgba(255,255,255,0.56);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.56);
  text-decoration: none;
  transition: color 220ms ease, transform 220ms ease;
}

.footer-linkedin svg {
  width: 1.15rem;
  height: 1.15rem;
}

.footer-linkedin:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.theme-light .footer-linkedin {
  color: rgba(9,9,9,0.56);
}

.theme-light .footer-linkedin:hover {
  color: #090909;
}

/* Light theme */
body.theme-light {
  background: #ffffff;
  color: #090909;
}

.site.theme-light {
  background: #ffffff;
  color: #090909;
}

.theme-light .hero {
  background:
    radial-gradient(circle at 50% 38%, rgba(9,9,9,0.05), transparent 30rem),
    #ffffff;
}

.theme-light .hero::after {
  background: linear-gradient(90deg, transparent, rgba(9,9,9,0.2), transparent);
}

.theme-light .top-bar {
  background: rgba(255,255,255,0.82);
  border-bottom-color: rgba(9,9,9,0.1);
}

.theme-light .top-nav button {
  border-color: rgba(9,9,9,0.16);
  background: rgba(255,255,255,0.78);
  color: #090909;
}

.theme-light .top-nav button:hover {
  background: #090909;
  color: #ffffff;
  border-color: #090909;
}

.theme-light .btn {
  border-color: #090909;
}

.theme-light .btn--primary {
  background: #090909;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(9,9,9,0.16);
}

.theme-light .btn--primary:hover {
  background: #2a2a2a;
}

.theme-light .btn--ghost {
  background: rgba(9,9,9,0.04);
  color: #090909;
  border-color: rgba(9,9,9,0.3);
}

.theme-light .btn--ghost:hover {
  background: #090909;
  color: #ffffff;
  border-color: #090909;
}

.theme-light .btn--light {
  background: #090909;
  color: #ffffff;
  border-color: #090909;
}

.theme-light .scroll-cue {
  color: rgba(9,9,9,0.54);
}

.theme-light .scroll-cue span {
  background: rgba(9,9,9,0.18);
}

.theme-light .scroll-cue span::after {
  background: #090909;
}

.theme-light .section--light,
.theme-light .section--dark {
  background: rgba(255,255,255,0.86);
  color: #090909;
}

.theme-light .stats-row {
  border-top-color: rgba(9,9,9,0.16);
  border-bottom-color: rgba(9,9,9,0.16);
}

.theme-light .stat-divider {
  background: rgba(9,9,9,0.16);
}

.theme-light .stat-item span {
  color: rgba(9,9,9,0.58);
}

.theme-light .hub-card {
  border-color: rgba(9,9,9,0.14);
  background: rgba(9,9,9,0.04);
}

.theme-light .hub-card::before {
  background-image: url('../assets/lambda-shield-black.png');
  opacity: 0.08;
}

.theme-light .hub-card--dark {
  background: #090909;
  color: #ffffff;
  border-color: #090909;
}

.theme-light .hub-card--dark::before {
  background-image: url('../assets/lambda-shield-white.png');
  opacity: 0.1;
}

.theme-light .region-marquee {
  border-top-color: rgba(9,9,9,0.14);
  border-bottom-color: rgba(9,9,9,0.14);
}

.theme-light .region-marquee__item {
  color: rgba(9,9,9,0.85);
}

.theme-light .region-marquee__sep {
  color: rgba(9,9,9,0.28);
}

.theme-light .pillar-card {
  border-color: rgba(9,9,9,0.14);
  background: linear-gradient(180deg, rgba(9,9,9,0.06), rgba(9,9,9,0.02));
}

.theme-light .pillar-card__meta small {
  color: rgba(9,9,9,0.48);
}

.theme-light .pillar-card__intro {
  color: #090909;
}

.theme-light .pillar-card__body {
  border-top-color: rgba(9,9,9,0.14);
  color: rgba(9,9,9,0.72);
}

.theme-light .pillar-card__chips {
  border-top-color: rgba(9,9,9,0.14);
}

.theme-light .pillar-chip {
  background: #090909;
  color: #ffffff;
}

.theme-light .pillar-chip:hover {
  box-shadow: 0 10px 22px rgba(9,9,9,0.16);
}

.theme-light .contact-card {
  border-color: rgba(9,9,9,0.14);
  background: rgba(9,9,9,0.045);
}

.theme-light .contact-card__entity {
  color: #090909 !important;
}

.theme-light .contact-form {
  border-color: rgba(9,9,9,0.14);
  background: rgba(9,9,9,0.03);
}

.theme-light .contact-form label {
  color: rgba(9,9,9,0.72);
}

.theme-light .contact-form label small {
  color: rgba(9,9,9,0.42);
}

.theme-light .contact-form input,
.theme-light .contact-form select,
.theme-light .contact-form textarea {
  border-color: rgba(9,9,9,0.2);
  background-color: rgba(9,9,9,0.04);
  color: #090909;
}

.theme-light .contact-form input::placeholder,
.theme-light .contact-form textarea::placeholder {
  color: rgba(9,9,9,0.35);
}

.theme-light .contact-form input:focus,
.theme-light .contact-form select:focus,
.theme-light .contact-form textarea:focus {
  border-color: rgba(9,9,9,0.6);
  background-color: rgba(9,9,9,0.06);
}

.theme-light .contact-form select {
  background-image: linear-gradient(45deg, transparent 50%, rgba(9,9,9,0.7) 50%),
    linear-gradient(135deg, rgba(9,9,9,0.7) 50%, transparent 50%);
}

.theme-light .contact-form select option {
  background: #ffffff;
  color: #090909;
}

.theme-light .form-note {
  color: rgba(9,9,9,0.55);
}

.theme-light .footer {
  background: #ffffff;
  color: rgba(9,9,9,0.56);
}

@media (max-width: 700px) {
  .theme-light .top-nav__toggle {
    border-color: rgba(9,9,9,0.18);
    background: rgba(255,255,255,0.78);
  }

  .theme-light .top-nav__toggle:hover {
    background: rgba(255,255,255,0.9);
    border-color: rgba(9,9,9,0.4);
  }

  .theme-light .top-nav__toggle span {
    background: #090909;
  }

  .theme-light .top-nav.is-open .top-nav__toggle,
  .theme-light .top-nav.is-open .top-nav__toggle:hover {
    background: #090909;
    border-color: #090909;
  }

  .theme-light .top-nav.is-open .top-nav__toggle span {
    background: #ffffff;
  }

  .theme-light .top-nav__links {
    border-color: rgba(9,9,9,0.14);
    background: rgba(255,255,255,0.96);
  }

  .theme-light .top-nav__links button {
    color: #090909;
  }

  .theme-light .top-nav__links button:hover {
    background: #090909;
    color: #ffffff;
  }
}

/* Short viewports: keep hero content and scroll cue from colliding */
@media (max-height: 760px) {
  .hero h1 {
    font-size: clamp(1.8rem, 4.6vw, 3.6rem);
  }
}

/* Motion and responsiveness */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1020px) {
  .section-heading--split {
    align-items: start;
  }

  .section-heading--split,
  .pillar-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillar-card {
    min-height: auto;
  }

  .stats-row {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 1 1 40%;
  }

  .stat-divider {
    display: none;
  }
}

@media (max-width: 700px) {
  .floating-logo {
    width: min(430px, 82vw);
    top: 22%;
  }

  .is-scrolled .floating-logo {
    top: 35px;
    left: 12px;
    width: 92px;
  }

  .top-bar {
    height: 68px;
  }

  .theme-toggle {
    top: 0.85rem;
    right: 0.85rem;
  }

  .top-nav {
    right: 3.4rem;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.55rem;
    padding: 0.85rem 0.85rem 0;
  }

  .top-nav__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.85rem;
    height: 2.85rem;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(9,9,9,0.6);
    backdrop-filter: blur(18px);
    transition: background 220ms ease, border-color 220ms ease;
  }

  .top-nav__toggle:hover {
    background: rgba(9,9,9,0.6);
    border-color: rgba(255,255,255,0.45);
    transform: none;
  }

  .top-nav.is-open .top-nav__toggle,
  .top-nav.is-open .top-nav__toggle:hover {
    background: #ffffff;
    border-color: #ffffff;
  }

  .top-nav__toggle span {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: #ffffff;
    transition: transform 260ms ease, opacity 260ms ease, background 260ms ease;
  }

  .top-nav.is-open .top-nav__toggle span {
    background: #090909;
  }

  .top-nav.is-open .top-nav__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .top-nav.is-open .top-nav__toggle span:nth-child(2) {
    opacity: 0;
  }

  .top-nav.is-open .top-nav__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .top-nav__links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    width: min(240px, 68vw);
    padding: 0.5rem;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(9,9,9,0.94);
    backdrop-filter: blur(18px);
  }

  .top-nav.is-open .top-nav__links {
    display: flex;
  }

  .top-nav__links button {
    width: 100%;
    padding: 0.72rem 0.95rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-align: left;
  }

  .top-nav__links button:hover {
    background: #ffffff;
    color: #090909;
    transform: none;
  }

  .hero-headline {
    top: 52vh;
  }

  .hero h1 {
    font-size: clamp(1.15rem, 6.4vw, 2rem);
    white-space: nowrap;
  }

  .hero-content .hero-actions {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }

  .hero-content .hero-actions .btn {
    width: min(420px, 86vw);
    white-space: normal;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .section {
    padding: 4.8rem 1.1rem;
  }

  .section-heading--split,
  .hub-grid,
  .region-grid,
  .pillar-grid,
  .contact-layout,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hub-card,
  .region-card,
  .contact-card {
    min-height: auto;
  }

  .shield-emblem {
    right: -42vw;
    width: 118vw;
    opacity: 0.18;
  }

  .footer {
    flex-direction: column;
  }
}

@media (min-width: 1025px) {
    .contact-form input[type="email"] {
        margin-top: 7%;
    }
}