:root {
  --bg: #f2f6f8;
  --ink: #0e2431;
  --muted: #546a77;
  --surface: #ffffff;
  --line: #d2dce2;
  --brand: #006a80;
  --brand-soft: #e2f1f5;
  --accent: #f0a11a;
  --accent-soft: #fff3da;
  --radius: 22px;
  --shadow-soft: 0 10px 26px rgba(14, 36, 49, 0.08);
  --shadow-strong: 0 18px 45px rgba(0, 61, 79, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(14, 36, 49, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 36, 49, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 43%, transparent 84%);
}

.blob {
  position: absolute;
  filter: blur(24px);
  opacity: 0.65;
}

.blob-a {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -120px;
  background: radial-gradient(circle at 35% 35%, #64c9da 0%, rgba(100, 201, 218, 0.1) 70%);
}

.blob-b {
  width: 340px;
  height: 340px;
  bottom: -120px;
  left: -100px;
  background: radial-gradient(circle at 40% 40%, #ffd891 0%, rgba(255, 216, 145, 0.12) 72%);
}

.topbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(242, 246, 248, 0.8);
  border-bottom: 1px solid rgba(14, 36, 49, 0.08);
  z-index: 20;
}

.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: var(--shadow-soft);
}

.nav {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--brand);
}

.hero {
  padding: 4.8rem 0 2.2rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: "JetBrains Mono", monospace;
  color: var(--brand);
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  line-height: 1.14;
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2rem, 4.7vw, 4.4rem);
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #00738a, #005668);
  box-shadow: var(--shadow-strong);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.85);
}

.metrics {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metrics li {
  background: var(--surface);
  border: 1px solid rgba(14, 36, 49, 0.08);
  border-radius: 16px;
  padding: 0.95rem;
  box-shadow: var(--shadow-soft);
}

.metrics strong {
  display: block;
  font-size: 1.1rem;
}

.metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.panel {
  background: var(--surface);
  border: 1px solid rgba(14, 36, 49, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem;
  margin-bottom: 1rem;
}

.panel-accent {
  background: linear-gradient(180deg, var(--accent-soft), #fff);
  border-color: rgba(240, 161, 26, 0.4);
}

.section-head {
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  color: #0f3344;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 0.9rem;
}

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

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

.service,
.project {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(180deg, #fff, #fbfcfd);
}

.insight-card {
  background: linear-gradient(180deg, #ffffff, #f4fafc);
  border-color: rgba(0, 106, 128, 0.22);
}

.service h3,
.project h3 {
  font-size: 1.05rem;
}

.service p,
.project p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.tag {
  margin: 0;
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
}

.path {
  margin-top: 0.7rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: #3f5562;
  word-break: break-all;
}

.split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1rem;
}

.timeline {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #0e3e52;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
}

.timeline h3 {
  font-size: 1rem;
}

.timeline p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

ul {
  margin: 0.8rem 0 1rem;
  padding-left: 1.1rem;
}

li + li {
  margin-top: 0.45rem;
}

.footer {
  padding: 0.6rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.footer a {
  color: var(--brand);
}

.subtle {
  color: #6d828d;
}

.card-lift {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topbar-inner {
    min-height: 66px;
  }

  .nav {
    display: none;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero {
    padding-top: 3.2rem;
  }

  .panel {
    padding: 1rem;
    border-radius: 16px;
  }

  .cards-4 {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
}
