:root {
  --bg: #09111a;
  --bg-soft: rgba(13, 22, 33, 0.88);
  --panel: rgba(12, 20, 30, 0.92);
  --panel-strong: rgba(15, 26, 39, 0.98);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eff4fa;
  --muted: #9eadbf;
  --accent: #9cd8d0;
  --accent-strong: #69bcb0;
  --highlight: #f1cb84;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 16%, rgba(156, 216, 208, 0.15), transparent 0 24%),
    radial-gradient(circle at 84% 18%, rgba(241, 203, 132, 0.14), transparent 0 20%),
    linear-gradient(180deg, #0b131c 0%, #081018 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #bcece6;
}

.orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.28;
}

.orb-left {
  top: -140px;
  left: -120px;
  background: rgba(105, 188, 176, 0.42);
}

.orb-right {
  top: 80px;
  right: -120px;
  background: rgba(241, 203, 132, 0.22);
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 52px;
  position: relative;
  z-index: 1;
}

.shell {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero,
.section {
  padding: 28px;
  margin-bottom: 20px;
}

.topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.brand,
.status,
.eyebrow,
.section-tag,
.panel-label,
.card-kicker {
  margin: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.brand,
.section-tag,
.card-kicker,
.panel-label {
  color: var(--highlight);
}

.status,
.eyebrow {
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
  gap: 20px;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 14px;
  font-size: 30px;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead,
.about-grid p,
.work-card p,
.capability-card p,
.contact-copy p,
.panel-note p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  border-color: transparent;
  color: #07211d;
}

.button-primary:hover {
  color: #07211d;
  background: #bae7e0;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button-secondary:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.signal-row span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 14px;
}

.hero-panel,
.metric-card,
.work-card,
.capability-card,
.contact-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.hero-panel {
  padding: 22px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.metric-card {
  padding: 16px;
  background: var(--panel-strong);
}

.metric-value {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
}

.metric-label {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.panel-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 22px;
}

.about-grid,
.work-grid,
.capability-grid {
  display: grid;
  gap: 16px;
}

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

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

.work-card,
.capability-card {
  padding: 22px;
}

.featured {
  background:
    linear-gradient(180deg, rgba(156, 216, 208, 0.07), rgba(255, 255, 255, 0)),
    var(--panel);
}

.work-card a {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 20px;
  padding: 22px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

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

.contact-list span {
  color: var(--highlight);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer {
  padding: 8px 6px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 940px) {
  .hero-grid,
  .about-grid,
  .work-grid,
  .capability-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }
}

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

  .hero,
  .section {
    padding: 22px;
  }

  .topline {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .button {
    width: 100%;
  }
}
