:root {
  color-scheme: light;
  --ink: #162026;
  --muted: #5e6b70;
  --paper: #f7f9f8;
  --white: #ffffff;
  --line: #d9e0df;
  --teal: #0f9a9d;
  --teal-dark: #0b646c;
  --amber: #d28a1f;
  --brick: #8e3f34;
  --shadow: 0 22px 70px rgba(22, 32, 38, 0.14);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(247, 249, 248, 0.74);
  border-bottom: 1px solid rgba(217, 224, 223, 0.68);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding: 7px 0;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--teal);
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 82svh;
  overflow: hidden;
  padding: 118px clamp(18px, 5vw, 72px) 64px;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 249, 248, 0.97) 0%, rgba(247, 249, 248, 0.83) 33%, rgba(247, 249, 248, 0.12) 70%),
    linear-gradient(0deg, rgba(247, 249, 248, 0.92), rgba(247, 249, 248, 0.08) 48%);
}

.hero-content {
  width: min(900px, 100%);
  padding-top: 20px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 100%;
  font-size: 8.4rem;
  font-weight: 850;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

h2 {
  font-size: 4.75rem;
  font-weight: 810;
}

h3 {
  font-size: 1.72rem;
  font-weight: 780;
}

.hero-copy {
  max-width: 61ch;
  margin: 24px 0 0;
  color: #334247;
  font-size: 1.18rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 148px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(22, 32, 38, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(22, 32, 38, 0.16);
  color: var(--ink);
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.projects {
  padding: clamp(58px, 9vw, 104px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(28px, 5vw, 56px);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card,
.capability {
  border: 1px solid rgba(217, 224, 223, 0.95);
  border-radius: var(--radius);
  background: var(--white);
}

.project-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.project-card-accent {
  border-color: rgba(15, 154, 157, 0.32);
  background:
    linear-gradient(180deg, rgba(15, 154, 157, 0.1), rgba(15, 154, 157, 0) 46%),
    var(--white);
}

.project-card p {
  margin: 18px 0 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 28px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  min-height: 28px;
  padding-left: 28px;
  color: #334247;
  font-size: 0.96rem;
}

.feature-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 12px;
  height: 2px;
  content: "";
  background: var(--brick);
}

.platform {
  padding: clamp(58px, 9vw, 104px) 0;
}

.platform .section-heading h2 {
  font-size: 3.2rem;
  line-height: 1.1;
}

.platform-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 80px);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.capability {
  min-height: 210px;
  padding: 24px;
}

.capability-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 7px;
  background: #edf5f4;
  color: var(--teal-dark);
}

.capability-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.capability p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact {
  padding: clamp(58px, 9vw, 104px) 0;
  color: var(--white);
  background: #172026;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.contact .eyebrow {
  color: #7bd1cd;
}

.contact p:not(.eyebrow) {
  max-width: 64ch;
  color: #bdcacd;
}

.contact .button-primary {
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: #657276;
  background: #10171b;
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 6.6rem;
  }

  h2 {
    font-size: 3.7rem;
  }

  h3 {
    font-size: 1.52rem;
  }

  .platform .section-heading h2 {
    font-size: 2.85rem;
  }
}

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

  .brand {
    font-size: 0.98rem;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 78svh;
    padding: 104px 18px 48px;
  }

  .hero-image {
    object-position: 59% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(247, 249, 248, 0.98), rgba(247, 249, 248, 0.82) 58%, rgba(247, 249, 248, 0.34)),
      linear-gradient(0deg, rgba(247, 249, 248, 0.96), rgba(247, 249, 248, 0.1) 55%);
  }

  h1 {
    font-size: 4.95rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  h3 {
    font-size: 1.42rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .platform .section-heading h2 {
    font-size: 2.35rem;
  }

  .project-grid,
  .platform-grid,
  .capability-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
  }

  .contact-inner .button {
    width: min(100%, 320px);
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 10px;
  }

  .nav-links {
    flex-wrap: nowrap;
    justify-content: flex-end;
    max-width: none;
    gap: 8px;
    font-size: 0.72rem;
  }

  .brand span:last-child {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 76svh;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.28rem;
  }

  .platform .section-heading h2 {
    font-size: 2rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 320px);
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .brand span:last-child {
    max-width: 66px;
  }

  h1 {
    font-size: 2.72rem;
  }
}

@media (max-width: 340px) {
  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: 2.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
