:root {
  --ink: #102033;
  --ink-strong: #071423;
  --ink-soft: #516174;
  --paper: #f5f2eb;
  --paper-soft: #fbfaf7;
  --paper-cool: #edf1f3;
  --navy: #071323;
  --navy-2: #0d1d31;
  --navy-3: #132842;
  --rule: #d9d5ca;
  --rule-dark: rgba(255, 255, 255, 0.16);
  --panel: #ffffff;
  --accent: #0e6f87;
  --accent-2: #a76f2a;
  --muted-dark: rgba(232, 239, 245, 0.82);
  --shadow: 0 18px 48px rgba(10, 24, 42, 0.12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
p { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.06; color: var(--ink-strong); }
h1 {
  font-size: clamp(2.85rem, 5.1vw, 5rem);
  max-width: 13.4ch;
  line-height: 1.01;
  color: #f7f4ed;
}
h2 {
  font-size: clamp(1.85rem, 2.8vw, 3.05rem);
  max-width: 18ch;
  line-height: 1.1;
}
h3 { font-size: 1.12rem; letter-spacing: -0.015em; line-height: 1.18; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
  margin: 0;
  padding: 1rem max(1.25rem, calc((100vw - var(--max)) / 2 + 1.25rem));
  color: #f4f2ec;
  background: rgba(7, 19, 35, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.wordmark-mark {
  width: 0.95rem;
  height: 0.95rem;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  background: linear-gradient(135deg, #e0c17a, #0e6f87);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  color: rgba(244, 242, 236, 0.78);
  font-size: 0.92rem;
}

.site-nav a:hover { color: #fff; }

.section-wrap {
  max-width: none;
  margin: 0;
  padding: 5.5rem max(1.25rem, calc((100vw - var(--max)) / 2 + 1.25rem));
}

.hero {
  position: relative;
  min-height: calc(100vh - 4.4rem);
  overflow: hidden;
  border-bottom: 1px solid #d8d0c3;
  background: linear-gradient(180deg, var(--navy) 0%, #09172a 100%);
}

.hero-media,
.hero-media picture,
.hero-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.84) contrast(0.94) brightness(0.74);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 35, 0.94) 0%, rgba(7, 19, 35, 0.9) 22%, rgba(7, 19, 35, 0.72) 42%, rgba(7, 19, 35, 0.46) 62%, rgba(7, 19, 35, 0.26) 82%, rgba(7, 19, 35, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 19, 35, 0.14) 0%, rgba(7, 19, 35, 0.4) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 4.4rem);
  display: flex;
  align-items: center;
  padding: 5rem max(1.25rem, calc((100vw - var(--max)) / 2 + 1.25rem)) 5.8rem;
}

.hero-copy {
  display: grid;
  gap: 1.55rem;
  max-width: 44rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(7, 19, 35, 0.38);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 0.75rem;
}

.hero-text {
  max-width: 38rem;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  color: var(--muted-dark);
}
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 780;
}
.hero .eyebrow { color: #d6b365; }

.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.35rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #095d72;
  border-radius: 0.35rem;
  padding: 0.82rem 1.08rem;
  color: #ffffff;
  background: #0b7188;
  font-weight: 760;
  box-shadow: none;
}
.button:hover { background: #075e72; }
.button.large { padding: 0.95rem 1.22rem; }
.text-link { color: #f0d18b; font-weight: 720; }
.text-link:hover { color: #fff1c8; }

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem 4rem;
  background: var(--paper-soft);
}
.section-heading { display: grid; gap: 1rem; }
.section-intro { align-self: end; max-width: 36rem; }
.card-grid {
  grid-column: 1 / -1;
  display: grid;
  gap: 1rem;
}
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .solution-item, .tech-panel, .company-copy, .contact {
  border: 1px solid var(--rule);
  background: var(--panel);
  border-radius: 0.65rem;
}
.card {
  min-height: 0;
  padding: 1rem;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  box-shadow: none;
}
.card-icon {
  display: block;
  border: 1px solid #d8d2c6;
  border-radius: 0.35rem;
  overflow: hidden;
  background: #eef1f2;
  box-shadow: none;
  height: 8.8rem;
}
.card-icon img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  filter: saturate(0.78) contrast(0.92) brightness(0.96);
}
.card h3 { margin-top: 0.1rem; }
.card p, .solution-item p { font-size: 0.96rem; }
.card:hover { background: #f9f8f4; }

.split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 4rem;
  align-items: start;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.split > div:first-child { display: grid; gap: 1rem; position: sticky; top: 7rem; }
.solution-list { display: grid; gap: 1rem; }
.solution-item {
  padding: 1.35rem 1.45rem;
  display: grid;
  gap: 0.7rem;
  background: #fbfaf7;
}
.solution-item h3::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.65rem;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: none;
}

.technology {
  padding-top: 4.8rem;
  padding-bottom: 4.8rem;
  background: var(--navy);
}
.tech-panel {
  padding: clamp(1.4rem, 4vw, 3.2rem);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  background: #0b1a2b;
  border-color: rgba(255,255,255,0.14);
}
.tech-panel > div:first-child { display: grid; gap: 1.05rem; }
.tech-panel h2 { max-width: 15ch; color: #f7f4ed; }
.tech-panel p { color: var(--muted-dark); }
.tech-panel .eyebrow { color: #d6b365; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.check-list li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.65rem;
  color: rgba(247,244,237,0.94);
  font-size: 1.0rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #d6b365;
}

.company {
  background: var(--paper-soft);
  border-top: 1px solid var(--rule);
}
.company-copy {
  padding: clamp(1.5rem, 4vw, 3.35rem);
  max-width: 56rem;
  display: grid;
  gap: 1.1rem;
  background: transparent;
  border: 0;
  border-left: 4px solid #0b7188;
  border-radius: 0;
}
.company-copy h2 { max-width: 17ch; }
.contact {
  margin-bottom: 0;
  padding: clamp(1.5rem, 4vw, 3.35rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: #ffffff;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.contact div { display: grid; gap: 1rem; }
.contact h2 { max-width: none; }

.site-footer {
  max-width: none;
  margin: 0;
  padding: 2rem max(1.25rem, calc((100vw - var(--max)) / 2 + 1.25rem)) 3rem;
  border-top: 1px solid var(--rule);
  background: #f0ede5;
}
.site-footer p { font-size: 0.9rem; }

@media (max-width: 920px) {
  .site-nav { display: none; }
  .section-grid, .split, .tech-panel { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-inner {
    min-height: auto;
    align-items: flex-end;
    padding-top: 4.2rem;
    padding-bottom: 4.2rem;
  }
  .hero-copy { max-width: 100%; }
  .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split > div:first-child { position: static; }
  .contact { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .section-wrap { padding: 4rem 1rem; }
  .site-header { padding: 1rem; }
  .hero-inner { padding: 3.8rem 1rem 3.8rem; }
  .hero-copy { padding: 1.3rem 1.15rem; }
  .card-grid.four { grid-template-columns: 1fr; }
  .card-icon { height: 9.5rem; }
  h1 { font-size: clamp(2.4rem, 13.5vw, 3.45rem); }
}
