:root {
  --bg: #f3efe4;
  --bg-soft: #fbf8ef;
  --ink: #111111;
  --muted: #6d675b;
  --line: #ddd4c2;
  --dark: #111315;
  --card-dark: #20232d;
  --green: #1f3d35;
  --green-soft: #dce8d8;
  --gold: #c99c4a;
  --blue: #4f8cff;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 56px;
  background: rgba(243, 239, 228, 0.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.nav nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  color: #2c2a26;
}

.nav-button {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 165px 9vw 100px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(31, 61, 53, 0.18), transparent 28%),
    radial-gradient(circle at 10% 80%, rgba(201, 156, 74, 0.20), transparent 30%),
    linear-gradient(135deg, #f7f1e3 0%, #e9eadb 52%, #dbe7dc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17,17,17,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, black, rgba(0,0,0,.15));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
}

h1 {
  max-width: 1100px;
  margin: 0 0 34px;
  font-size: clamp(54px, 8.3vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.lead {
  max-width: 820px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  color: #37342f;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.primary {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
}

.secondary {
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(17,17,17,0.35);
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.22;
}

.mesh-one {
  width: 420px;
  height: 420px;
  right: 10vw;
  top: 18vh;
  background: var(--green);
}

.mesh-two {
  width: 260px;
  height: 260px;
  left: 12vw;
  bottom: 12vh;
  background: var(--gold);
}

.graph {
  position: absolute;
  right: -4vw;
  top: 15vh;
  width: 58vw;
  max-width: 860px;
  stroke: var(--green);
  fill: none;
  opacity: 0.34;
  stroke-width: 1.35;
}

.graph circle {
  fill: var(--green);
  stroke: none;
}

.thesis-band {
  padding: 84px 9vw;
  background: var(--green);
  color: var(--bg-soft);
}

.thesis-band p {
  max-width: 1060px;
  margin: 0;
  font-size: clamp(30px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.section {
  padding: 115px 9vw;
}

.section-title {
  max-width: 880px;
  margin-bottom: 52px;
}

h2 {
  margin: 0;
  font-size: clamp(36px, 5.3vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.problem {
  background: var(--bg-soft);
}

.problem-grid,
.platform-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.problem-grid article,
.stack-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  padding: 30px;
  min-height: 260px;
}

.problem-grid h3,
.stack-card h3 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.problem-grid p,
.stack-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 16px;
}

.stack-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fffdf7;
}

.stack-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.outcomes {
  background: #ebe4d3;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.outcome-grid div {
  min-height: 126px;
  padding: 24px;
  border: 1px solid rgba(17,17,17,0.11);
  background: rgba(255,255,255,0.42);
  display: flex;
  align-items: flex-end;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.why {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  background: var(--dark);
  color: var(--white);
}

.why .eyebrow { color: var(--green-soft); }

.why-copy {
  display: grid;
  gap: 24px;
  align-content: start;
}

.why-copy p {
  margin: 0;
  font-size: 24px;
  line-height: 1.45;
  color: #d8d8d8;
}

.leadership {
  background: #11131a;
  color: var(--white);
}

.leadership .eyebrow {
  color: #9fb4ff;
}

.leadership h2 {
  max-width: 920px;
}

.ceo-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  align-items: start;
  max-width: 1060px;
  padding: 34px;
  background: var(--card-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}

.ceo-photo-wrap {
  padding-top: 6px;
}

.ceo-photo {
  width: 112px;
  height: 122px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #30333d;
}

.ceo-header {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 14px;
}

.ceo-title {
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.ceo-name {
  color: #c8d2e6;
  font-size: 18px;
  font-weight: 800;
}

.ceo-subtitle {
  color: #c9d5f2;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 20px;
}

.ceo-subtitle::before {
  content: "•";
  color: var(--blue);
  margin-right: 8px;
}

.ceo-divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 18px 0;
}

.ceo-credentials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ceo-credentials li {
  position: relative;
  padding-left: 14px;
  color: #8f96a6;
  line-height: 1.45;
  font-size: 14px;
}

.ceo-credentials li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #5a6474;
}

.ceo-credentials strong {
  color: #cbd7f4;
  font-weight: 900;
}

.ceo-credentials span {
  color: #8f96a6;
  margin-left: 12px;
}

.vision {
  padding: 130px 9vw;
  background:
    radial-gradient(circle at 20% 20%, rgba(201,156,74,0.18), transparent 30%),
    linear-gradient(135deg, #f7f1e3, #dce8d8);
}

.vision h2 {
  max-width: 1050px;
}

.vision p:last-child {
  max-width: 760px;
  margin-top: 32px;
  font-size: 22px;
  line-height: 1.55;
  color: #464139;
}

.contact {
  padding: 135px 9vw;
  background: var(--green);
  color: var(--white);
}

.contact .eyebrow { color: var(--green-soft); }

.contact h2 {
  max-width: 1030px;
  margin-bottom: 34px;
}

.light {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 9vw;
  background: var(--green);
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

@media (max-width: 920px) {
  .nav {
    padding: 16px 22px;
  }

  .nav nav a:not(.nav-button) {
    display: none;
  }

  .hero {
    padding: 135px 24px 88px;
  }

  .graph {
    width: 110vw;
    opacity: 0.16;
  }

  .section,
  .thesis-band,
  .vision,
  .contact {
    padding-left: 24px;
    padding-right: 24px;
  }

  .problem-grid,
  .platform-stack,
  .outcome-grid,
  .why {
    grid-template-columns: 1fr;
  }

  .why-copy p {
    font-size: 20px;
  }

  .ceo-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .ceo-photo {
    width: 110px;
    height: 120px;
  }

  .ceo-credentials span {
    display: block;
    margin-left: 0;
    margin-top: 3px;
  }

  footer {
    flex-direction: column;
    padding: 28px 24px;
  }
}


.immersive-ai {
  background:
    radial-gradient(circle at 80% 20%, rgba(79,140,255,0.15), transparent 32%),
    linear-gradient(135deg, #11131a 0%, #1f3d35 100%);
  color: var(--white);
}

.immersive-ai .eyebrow {
  color: #cbd7f4;
}

.immersive-ai h2 {
  max-width: 1080px;
}

.immersive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.immersive-grid article {
  min-height: 250px;
  padding: 30px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
}

.immersive-grid h3 {
  margin: 0 0 18px;
  font-size: 30px;
  letter-spacing: -0.045em;
}

.immersive-grid p {
  margin: 0;
  color: #d8e0e8;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .immersive-grid {
    grid-template-columns: 1fr;
  }
}


/* Final compact CEO section */
.ceo-card.compact {
  grid-template-columns: 112px 1fr;
  max-width: 1060px;
  min-height: 0;
  padding: 34px;
}

.ceo-card.compact .ceo-photo {
  width: 96px;
  height: 122px;
  object-fit: cover;
}

.ceo-card.compact .ceo-header {
  margin-bottom: 14px;
}

.ceo-card.compact .ceo-title {
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.ceo-card.compact .ceo-name {
  color: #c8d2e6;
  font-size: 18px;
  font-weight: 800;
}

.ceo-summary {
  margin: 0 0 10px;
  color: #cbd7f4;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.ceo-summary::before {
  content: "•";
  color: var(--blue);
  margin-right: 8px;
}

.ceo-affiliation {
  margin: 0;
  color: #8f96a6;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.ceo-subtitle,
.ceo-credentials {
  display: none !important;
}

@media (max-width: 920px) {
  .ceo-card.compact {
    grid-template-columns: 1fr;
  }

  .ceo-card.compact .ceo-photo {
    width: 96px;
    height: 122px;
  }

  .ceo-summary {
    font-size: 16px;
  }

  .ceo-affiliation {
    font-size: 14px;
  }
}


/* AX Foundry v4 final messaging updates */
.lead-secondary {
  max-width: 820px;
  margin-top: 18px;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.58;
  color: #464139;
}

.immersive-intro {
  max-width: 980px;
  margin: -20px 0 46px;
  color: #d8e0e8;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.55;
}

.immersive-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.vision p:not(.eyebrow) {
  max-width: 860px;
  margin-top: 26px;
  font-size: 22px;
  line-height: 1.55;
  color: #464139;
}

@media (max-width: 1040px) {
  .immersive-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .immersive-grid.four {
    grid-template-columns: 1fr;
  }

  .lead-secondary {
    font-size: 17px;
  }
}


/* AX Foundry v5 dark immersive hero background */
.hero {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.96) 0%, rgba(5, 7, 12, 0.82) 42%, rgba(5, 7, 12, 0.32) 100%),
    url("hero-immersive-bg.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero::before {
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  opacity: 0.55;
}

.hero .eyebrow {
  color: #cbd7f4;
}

.hero h1 {
  color: #ffffff;
  text-shadow: 0 8px 36px rgba(0,0,0,0.42);
}

.hero .lead {
  color: #e5ebf6;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.hero .lead-secondary {
  color: #b7c0d3;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.hero .secondary {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.36);
}

.hero .primary {
  background: #ffffff;
  color: #11131a;
  border-color: #ffffff;
}

.hero .mesh,
.hero .graph {
  display: none;
}


/* AX Foundry v6 messaging updates */
.thesis-copy {
  max-width: 1120px;
}

.thesis-copy p {
  margin: 0;
}

.thesis-copy .thesis-sub {
  margin-top: 28px;
  max-width: 980px;
  color: rgba(251, 248, 239, 0.82);
  font-size: clamp(20px, 2.35vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.outcomes .section-title .eyebrow {
  color: var(--green);
}


/* Final update: side-by-side leadership layout */
.leadership {
  background: #11131a;
  color: var(--white);
}

.leadership .section-title,
.leadership .ceo-card,
.leadership .ceo-credentials,
.leadership .ceo-subtitle {
  display: none !important;
}

.leadership .eyebrow {
  color: #9fb4ff;
}

.leadership-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 72px;
  align-items: center;
}

.leadership-copy h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(52px, 6.3vw, 94px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.founder-card {
  background: var(--card-dark);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.24);
}

.founder-top {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: center;
}

.founder-photo {
  width: 96px;
  height: 122px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #30333d;
}

.founder-card h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.founder-card p {
  margin: 0;
}

.founder-top p {
  color: #4f8cff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.founder-divider {
  height: 1px;
  background: rgba(255,255,255,0.13);
  margin: 24px 0;
}

.founder-expertise {
  color: #cbd7f4;
  font-size: 18px;
  line-height: 1.48;
  font-weight: 800;
}

.founder-expertise::before {
  content: "•";
  color: var(--blue);
  margin-right: 8px;
}

.founder-affiliation {
  margin-top: 14px !important;
  color: #8f96a6;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

@media (max-width: 920px) {
  .leadership-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .leadership-copy h2 {
    font-size: clamp(44px, 12vw, 68px);
  }

  .founder-card {
    padding: 24px;
  }

  .founder-top {
    grid-template-columns: 84px 1fr;
    gap: 18px;
  }

  .founder-photo {
    width: 84px;
    height: 108px;
  }

  .founder-card h3 {
    font-size: 25px;
  }

  .founder-expertise {
    font-size: 16px;
  }

  .founder-affiliation {
    font-size: 14px;
  }
}


/* Multi-domain Applications section */
.applications {
  background: #f7f4ea;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.application-grid article {
  min-height: 220px;
  padding: 30px;
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.application-grid h3 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.application-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .nav nav {
    gap: 18px;
    font-size: 13px;
  }

  .application-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .application-grid {
    grid-template-columns: 1fr;
  }
}
