:root {
  --bg: #eff3f6;
  --panel: rgba(255, 255, 255, 0.76);
  --panel-strong: #ffffff;
  --text: #14212b;
  --muted: #55626f;
  --line: rgba(20, 33, 43, 0.12);
  --accent: #0f8a7b;
  --accent-deep: #0b5c53;
  --shadow: rgba(28, 52, 71, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 138, 123, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(15, 92, 83, 0.14), transparent 24%),
    linear-gradient(180deg, #f7fafb 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.site-header,
.hero-card,
.section-block {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 24px;
  align-items: end;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: 0 24px 80px var(--shadow);
}

.eyebrow,
.kicker,
.year,
.card-index,
.header-meta p {
  margin: 0 0 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.header-meta {
  display: grid;
  gap: 10px;
  justify-items: end;
  color: var(--muted);
}

.header-meta a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 18px;
}

.hero-card,
.section-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: 0 24px 80px var(--shadow);
}

.hero-card {
  padding: 28px;
}

.lead {
  max-width: 34ch;
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.stat-list {
  display: grid;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stat-list li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.stat-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.stat-list span {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat-list p,
.timeline p,
.product-card p,
.capability-grid p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.section-block {
  margin-top: 18px;
  padding: 28px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.section-heading h2 {
  max-width: 16ch;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.timeline,
.product-grid,
.capability-grid {
  display: grid;
  gap: 16px;
}

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

.timeline article,
.product-card,
.capability-grid article {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.timeline h3,
.product-card h3,
.capability-grid h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

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

.capability-grid {
  grid-template-columns: repeat(2, 1fr);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-list span {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent-deep);
}

.contact-panel {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 138, 123, 0.12), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(15, 138, 123, 0.18);
}

@media (max-width: 980px) {
  .site-header,
  .hero-grid,
  .timeline,
  .product-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .header-meta {
    justify-items: start;
  }

  h1,
  .section-heading h2,
  .lead {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .site-header,
  .hero-card,
  .section-block {
    padding: 20px;
    border-radius: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
