:root {
  --navy: #173763;
  --navy-deep: #0d2343;
  --steel: #b9c1c9;
  --steel-dark: #6f7c89;
  --cyan: #7bc5d7;
  --ink: #122033;
  --paper: #f5f8fb;
  --white: #ffffff;
  --border: rgba(23, 55, 99, 0.12);
  --shadow: 0 24px 80px rgba(13, 35, 67, 0.16);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(123, 197, 215, 0.25), transparent 30%),
    linear-gradient(180deg, #eef4f9 0%, #f8fbfd 48%, #eef4f9 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(245, 248, 251, 0.8);
  border-bottom: 1px solid rgba(23, 55, 99, 0.08);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  max-width: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.96rem;
  color: var(--navy);
}

.site-nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 55, 99, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero,
.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4rem;
}

.hero::before,
.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 2rem auto auto -10%;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 193, 201, 0.4), transparent 58%);
  pointer-events: none;
}

.hero-grid,
.subpage-grid,
.approach-grid,
.two-column,
.portfolio-layout {
  display: grid;
  gap: 2rem;
}

.hero-grid,
.subpage-grid,
.approach-grid,
.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.eyebrow,
.mini-label {
  margin: 0 0 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--steel-dark);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.98;
  color: var(--navy-deep);
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 16ch;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.12;
}

p {
  margin: 0;
  line-height: 1.7;
  color: rgba(18, 32, 51, 0.8);
}

.hero-text {
  margin-top: 1.5rem;
  max-width: 58ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  box-shadow: 0 14px 28px rgba(13, 35, 67, 0.2);
}

.button-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(23, 55, 99, 0.12);
}

.hero-card,
.feature-panel,
.pillar-card,
.portfolio-column,
.point-card,
.portfolio-card,
.cta-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-card,
.feature-panel,
.cta-card {
  padding: 2rem;
}

.hero-card {
  min-height: 400px;
  overflow: hidden;
}

.glass-panel {
  position: relative;
  z-index: 1;
  max-width: 320px;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.48));
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.signal-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.85rem;
  color: var(--navy-deep);
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orbit-one {
  width: 240px;
  height: 240px;
  right: -20px;
  top: 34px;
  background: radial-gradient(circle, rgba(123, 197, 215, 0.9), rgba(123, 197, 215, 0.12));
}

.orbit-two {
  width: 320px;
  height: 320px;
  bottom: -80px;
  right: 90px;
  background: radial-gradient(circle, rgba(23, 55, 99, 0.24), rgba(23, 55, 99, 0.02));
}

.section {
  padding: 4.5rem 0;
}

.section-contrast {
  background: linear-gradient(180deg, rgba(23, 55, 99, 0.03), rgba(123, 197, 215, 0.08));
  border-top: 1px solid rgba(23, 55, 99, 0.06);
  border-bottom: 1px solid rgba(23, 55, 99, 0.06);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading p:last-child {
  margin-top: 1rem;
  max-width: 62ch;
}

.pillar-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar-card,
.portfolio-column,
.portfolio-card,
.point-card {
  padding: 1.5rem;
}

.pillar-card p,
.portfolio-card p,
.portfolio-column p,
.point-card p {
  margin-top: 0.85rem;
}

.pillar-card a {
  display: inline-flex;
  margin-top: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(123, 197, 215, 0.28), rgba(185, 193, 201, 0.32));
}

.portfolio-layout {
  grid-template-columns: 0.8fr 1.4fr 1fr;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(23, 55, 99, 0.06);
  border: 1px solid rgba(23, 55, 99, 0.08);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
}

.quiet-note {
  margin-top: 1rem;
}

.approach-points,
.stack-cards {
  display: grid;
  gap: 1rem;
}

.cta-section {
  padding-bottom: 5rem;
}

.cta-card {
  text-align: center;
  padding: 3rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(185, 193, 201, 0.2)),
    linear-gradient(135deg, rgba(123, 197, 215, 0.14), rgba(23, 55, 99, 0.06));
}

.cta-card h2,
.cta-card p {
  margin-left: auto;
  margin-right: auto;
}

.cta-card p {
  margin-top: 1rem;
  max-width: 58ch;
}

.cta-card .button {
  margin-top: 1.6rem;
}

.site-footer {
  padding: 1.5rem 0 2.25rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(18, 32, 51, 0.72);
}

.footer-links {
  display: flex;
  gap: 1rem;
  color: var(--navy);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .subpage-grid,
  .approach-grid,
  .two-column,
  .portfolio-layout,
  .pillar-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 78px;
  }

  .hero,
  .subpage-hero,
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-card,
  .feature-panel,
  .cta-card {
    padding: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
