@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
  --bg: #080c16;
  --panel: #0d1422;
  --panel-soft: #101827;
  --text: #f6f8fc;
  --muted: #aebac9;
  --blue: #34c6f4;
  --faith: #8aa4ff;
  --gold: #d6b56d;
  --line: rgba(255, 255, 255, 0.12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
em { color: var(--blue); font-family: "Playfair Display", Georgia, serif; font-weight: 600; }

.skip-link {
  position: fixed;
  left: -999px;
  top: 1rem;
  z-index: 100;
  padding: .8rem 1rem;
  color: var(--bg);
  background: white;
}
.skip-link:focus { left: 1rem; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), var(--max));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  color: white;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-decoration: none;
}
nav { display: flex; align-items: center; gap: 30px; }
nav a {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
nav a:hover { color: white; }
.nav-connect {
  padding: 9px 15px;
  color: white;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 590px;
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: start;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 35%, rgba(52, 198, 244, .14), transparent 30rem),
    radial-gradient(circle at 24% 85%, rgba(92, 113, 255, .12), transparent 34rem),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 85%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 145px 2rem 55px max(7vw, calc((100vw - var(--max)) / 2));
}
.eyebrow, .section-kicker {
  margin-bottom: 20px;
  color: var(--blue);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
}
h1 {
  max-width: 700px;
  margin-bottom: 27px;
  font-size: clamp(4.1rem, 7.5vw, 7.2rem);
  line-height: .9;
  letter-spacing: -.07em;
}
h1 em { display: block; }
.intro {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
}
.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: white;
  font-size: .79rem;
  font-weight: 700;
  text-decoration: none;
}
.text-link span { color: var(--blue); font-size: 1rem; }
.portrait-wrap {
  position: absolute;
  z-index: 1;
  top: 104px;
  right: 0;
  bottom: 0;
  width: 42%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.portrait-wrap::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.portrait-wrap img {
  position: relative;
  z-index: 2;
  width: min(91%, 520px);
  max-height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 32px 50px rgba(0,0,0,.35));
}
.portrait-halo {
  position: absolute;
  bottom: 15%;
  width: min(33vw, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(52, 198, 244, .24);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(52, 198, 244, .08), 0 0 100px rgba(52, 198, 244, .06);
}
.hero-mark {
  position: absolute;
  right: -1.4vw;
  bottom: -8vw;
  color: rgba(255,255,255,.018);
  font-size: 30vw;
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.12em;
}

.mission {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 4.5rem);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 5.25rem) 24px;
  border-top: 1px solid var(--line);
}
.mission h2, .work h2, .connect h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.mission > p:last-child {
  max-width: 510px;
  margin: .35rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.work {
  padding: clamp(3.5rem, 6vw, 5.25rem) max(24px, calc((100vw - var(--max)) / 2 + 24px));
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.work-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  margin-bottom: 38px;
}
.company-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.company {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(20,32,51,.98), rgba(11,18,31,.95));
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease;
}
.company:hover { transform: translateY(-5px); }
.company-faith:hover { border-color: rgba(138,164,255,.6); }
.company-ai:hover { border-color: rgba(52,198,244,.6); }
.company-impact:hover { border-color: rgba(214,181,109,.6); }
.company-top { display: flex; justify-content: space-between; align-items: center; }
.company-index, .company-label {
  color: var(--muted);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.company-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.company h3 {
  margin-bottom: 15px;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.company p { margin: 0; color: var(--muted); }
.company-faith .company-label { color: var(--faith); }
.company-ai .company-label { color: var(--blue); }
.company-impact .company-label { color: var(--gold); }

.connect {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 5.25rem) 24px;
  text-align: center;
}
.connect h2 { margin-bottom: 34px; }
.socials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.socials a {
  display: flex;
  justify-content: space-between;
  padding: 18px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.socials a:hover { color: white; background: var(--panel-soft); }
.socials span { color: var(--blue); }

footer {
  width: min(calc(100% - 48px), var(--max));
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 28px 0;
  color: #6f7c8e;
  border-top: 1px solid var(--line);
  font-size: .7rem;
}
footer p { margin: 0; }

@media (max-width: 900px) {
  .hero { min-height: 640px; grid-template-columns: 1fr; align-items: start; }
  .hero-copy { padding: 118px 24px 0; }
  .portrait-wrap { top: auto; right: -35px; bottom: 0; width: 62%; height: 52%; }
  .portrait-halo { width: 48vw; }
  .mission { grid-template-columns: 120px 1fr; }
  .mission > p:last-child { grid-column: 2; }
  .company-list { grid-template-columns: 1fr; }
  .company { min-height: 250px; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 32px); padding-top: 21px; }
  nav { gap: 12px; }
  nav a:not(.nav-connect) { display: none; }
  h1 { font-size: 3.65rem; }
  .hero { min-height: 600px; }
  .hero-copy { padding: 108px 20px 0; }
  .eyebrow { max-width: 260px; line-height: 1.7; }
  .intro { max-width: 92%; font-size: 1rem; }
  .portrait-wrap { right: -64px; width: 84%; height: 42%; }
  .portrait-wrap img { width: 94%; max-height: 95%; }
  .portrait-halo { width: 70vw; }
  .mission { grid-template-columns: 1fr; gap: 1.1rem; padding: 52px 20px; }
  .mission > p:last-child { grid-column: auto; }
  .work { padding: 52px 20px; }
  .work-heading { display: block; margin-bottom: 28px; }
  .company { min-height: 225px; padding: 22px; }
  .connect { padding: 52px 20px; }
  .socials { grid-template-columns: repeat(2, 1fr); }
  footer { width: calc(100% - 40px); gap: 18px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
