:root {
  color-scheme: light;
  --ink: #16211f;
  --muted: #5f6a66;
  --paper: #f7f4ee;
  --white: #ffffff;
  --line: #dcd5c8;
  --green: #1d5a4a;
  --teal: #0e7c86;
  --coral: #d95b43;
  --gold: #c99732;
  --night: #101817;
  --shadow: 0 20px 60px rgba(18, 28, 25, 0.14);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef5f1;
  --muted: #aebeb8;
  --paper: #0b1210;
  --white: #151f1d;
  --line: #2c3d38;
  --green: #7ed4bc;
  --teal: #52c4cb;
  --coral: #f0715c;
  --gold: #e0b64f;
  --night: #070d0b;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
}

.brand {
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 0.92rem;
  font-weight: 650;
}

nav a {
  text-decoration: none;
  opacity: 0.9;
}

nav a:hover {
  opacity: 1;
}

.site-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 470px;
}

.segmented-control {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 34px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(8, 13, 12, 0.32);
  backdrop-filter: blur(14px);
}

.segmented-control span {
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.segmented-control button {
  min-height: 28px;
  width: auto;
  border: 0;
  border-radius: 6px;
  padding: 5px 8px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 850;
}

.segmented-control button[aria-pressed="true"] {
  color: var(--night);
  background: var(--white);
}

.segmented-control button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--night);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=2200&q=88");
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) contrast(1.04);
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 18, 16, 0.9), rgba(10, 18, 16, 0.48) 52%, rgba(10, 18, 16, 0.18)),
    linear-gradient(0deg, rgba(10, 18, 16, 0.86), rgba(10, 18, 16, 0) 42%);
}

.hero-content {
  position: relative;
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 92px;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(4.2rem, 14vw, 10.4rem);
  line-height: 0.86;
  font-weight: 900;
}

.hero-copy {
  max-width: 700px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.14rem, 2vw, 1.48rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
button {
  background: var(--coral);
  color: var(--white);
}

.button.primary,
.contact-form button {
  color: #ffffff;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.48);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.intro,
.band,
.split,
.proof,
.contact {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 7vw, 84px);
  padding: 72px 0 64px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.intro p:not(.section-kicker),
.section-heading p:not(.section-kicker),
.split-copy p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.6vw, 1.24rem);
  line-height: 1.62;
}

.band {
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  min-height: 286px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.competencies {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1160px) / 2));
  background: #f9fbf7;
}

.capability-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #cfdad4;
  background: #cfdad4;
}

.capability-board article {
  min-height: 250px;
  padding: 24px;
  background: var(--white);
}

.capability-board span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-board h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 1.2rem;
  line-height: 1.18;
}

.card-icon {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.card h3,
.timeline h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.15;
}

.card p,
.capability-board p,
.science-grid p,
.timeline p,
.talent-panel li,
.stat span {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.data-science {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1160px) / 2));
  background: #eff7f8;
  border-top: 1px solid #c7dddf;
  border-bottom: 1px solid #c7dddf;
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.science-grid article {
  min-height: 224px;
  padding: 24px;
  border: 1px solid #c7dddf;
  border-radius: 8px;
  background: var(--white);
}

.science-grid h3 {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 1.2rem;
  line-height: 1.18;
}

.security {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1160px) / 2));
  color: #ffffff;
  background: var(--night);
  border-top: 0;
}

.security .section-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.74);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.security-grid article {
  min-height: 238px;
  padding: 24px;
  background: #14211f;
}

.security-grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
}

.security-grid h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.18;
}

.security-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.experience {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1160px) / 2));
  background: #fffaf1;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.logo-card {
  min-height: 182px;
  display: grid;
  grid-template-rows: 56px auto auto;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid #e4d7c1;
  border-radius: 8px;
  background: var(--white);
}

.logo-card img {
  max-width: 132px;
  max-height: 46px;
  align-self: center;
  object-fit: contain;
  object-position: left center;
}

.logo-card strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.15;
}

.logo-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.42;
}

.logo-fallback {
  align-self: center;
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.industry-grid span {
  padding: 10px 12px;
  border: 1px solid #e4d7c1;
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(280px, 1.14fr);
  gap: clamp(26px, 6vw, 72px);
  align-items: center;
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.split-copy p {
  margin-top: 22px;
}

.talent-panel {
  border-radius: 8px;
  background: var(--night);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.talent-panel ul {
  margin: 0;
  padding: 30px 32px;
  list-style: none;
}

.talent-panel li {
  position: relative;
  padding: 18px 0 18px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

.talent-panel li:last-child {
  border-bottom: 0;
}

.talent-panel li::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.work {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1160px) / 2));
  background: #eef3ef;
  border-top: 1px solid #ced9d2;
  border-bottom: 1px solid #ced9d2;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #cfdad4;
  border: 1px solid #cfdad4;
}

.timeline article {
  min-height: 220px;
  padding: 26px;
  background: #f8faf8;
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin-top: 72px;
  margin-bottom: 72px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: var(--white);
}

.stat strong {
  color: var(--green);
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1;
}

.faq {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1160px) / 2));
  background: #f9fbf7;
  border-top: 1px solid #ced9d2;
  border-bottom: 1px solid #ced9d2;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #cfdad4;
  border: 1px solid #cfdad4;
}

.faq-list article {
  min-height: 188px;
  padding: 24px;
  background: var(--white);
}

.faq-list h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 1.18rem;
  line-height: 1.18;
}

.faq-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  padding: 76px 0 92px;
  border-top: 1px solid var(--line);
}

.contact p {
  margin-top: 22px;
}

.contact-form {
  display: grid;
  gap: 16px;
  align-content: start;
}

.form-status {
  min-height: 24px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-hidden {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0 !important;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

html[data-theme="dark"] .site-header {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0));
}

html[data-theme="dark"] .segmented-control button[aria-pressed="true"] {
  color: #070d0b;
  background: #eef5f1;
}

html[data-theme="dark"] .card {
  background: rgba(21, 31, 29, 0.78);
  box-shadow: none;
}

html[data-theme="dark"] .competencies,
html[data-theme="dark"] .faq {
  background: #0f1916;
}

html[data-theme="dark"] .capability-board,
html[data-theme="dark"] .timeline,
html[data-theme="dark"] .faq-list {
  border-color: #2c3d38;
  background: #2c3d38;
}

html[data-theme="dark"] .data-science {
  background: #0d1d1f;
  border-color: #254246;
}

html[data-theme="dark"] .science-grid article {
  border-color: #254246;
}

html[data-theme="dark"] .experience {
  background: #171712;
}

html[data-theme="dark"] .logo-card,
html[data-theme="dark"] .industry-grid span,
html[data-theme="dark"] .timeline article,
html[data-theme="dark"] .faq-list article,
html[data-theme="dark"] .stat {
  background: var(--white);
}

html[data-theme="dark"] .logo-card {
  border-color: #3e3729;
}

html[data-theme="dark"] .industry-grid span {
  border-color: #3e3729;
}

html[data-theme="dark"] .work {
  background: #0f1815;
  border-color: #2c3d38;
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea {
  background: #0f1715;
}

html[data-theme="dark"] .thanks-page {
  background:
    linear-gradient(135deg, rgba(14, 124, 134, 0.16), rgba(217, 91, 67, 0.12)),
    var(--paper);
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--night);
}

.thanks-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(22px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(14, 124, 134, 0.12), rgba(217, 91, 67, 0.08)),
    var(--paper);
}

.thanks-shell {
  width: min(720px, 100%);
}

.dark-brand {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--green);
}

.thanks-card {
  padding: clamp(28px, 6vw, 56px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  line-height: 0.95;
}

.thanks-card p:not(.section-kicker) {
  max-width: 54ch;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    gap: 14px;
  }

  nav {
    display: none;
  }

  .site-controls {
    max-width: min(100%, 420px);
    margin-left: auto;
  }

  .segmented-control span {
    padding: 0 6px;
    font-size: 0.64rem;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    padding: 104px 0 58px;
  }

  .intro,
  .split,
  .contact,
  .grid.three,
  .capability-board,
  .security-grid,
  .science-grid,
  .timeline,
  .faq-list,
  .proof {
    grid-template-columns: 1fr;
  }

  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .band,
  .split,
  .contact {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .card,
  .timeline article {
    min-height: auto;
  }

  .capability-board article,
  .security-grid article,
  .science-grid article,
  .faq-list article,
  .logo-card {
    min-height: auto;
  }

  .proof {
    margin-top: 52px;
    margin-bottom: 52px;
  }

  .button,
  button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .hero .eyebrow {
    max-width: 25ch;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.2rem);
    line-height: 0.9;
  }

  .hero-copy {
    max-width: 30ch;
  }

  .logo-wall {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-controls {
    width: 100%;
    justify-content: flex-start;
  }
}
