@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Lora:wght@500;600&display=swap');

:root {
  --navy: #061521;
  --white: #f6f8fb;
  --ink: #0b1723;
  --muted: #506173;
  --blue: #1aa4ff;
  --soft: #74d9ff;
  --line: rgba(148,190,224,.20);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.5;
}

a { color: inherit; }

.container {
  width: min(100% - 2rem, var(--max));
  margin: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #061521;
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo,
.footer-logo {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}

.logo span,
.footer-logo span {
  color: var(--blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.28rem;
  font-size: .82rem;
}

.nav a {
  color: #d7e0ea;
  text-decoration: none;
}

.nav-pill {
  padding: .56rem .98rem;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: white !important;
}

.menu-toggle {
  display: none;
}

/* Hero */

.hero {
  min-height: 610px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(6,21,33,.98) 0%, rgba(6,21,33,.90) 31%, rgba(6,21,33,.42) 57%, rgba(6,21,33,.14) 100%),
    url('assets/hero-mountain.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: scroll;
}

.hero-inner {
  padding: 4.8rem 0 5.4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color:var(--soft);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .8rem;
  font-weight: 800;
}
.light .eyebrow {
  color: #005eb8;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 500px;
  margin-bottom: 1.25rem;
  font-family: Lora, Georgia, serif;
  font-size: clamp(2.05rem, 2.9vw, 2.9rem);
  line-height: 1.11;
  letter-spacing: -.03em;
  font-weight: 600;
}

.hero-copy {
  max-width: 430px;
  color: #dde7f1;
  font-size: .93rem;
}

.hero-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .72rem 1.15rem;
  border-radius: 5px;
  font-size: .83rem;
  font-weight: 600;
  text-decoration: none;
}

.primary {
  background: var(--blue);
  color: white;
}

.outline {
  border: 1px solid rgba(255,255,255,.62);
  color: white;
  background: rgba(0,0,0,.08);
}

/* Services */

.light {
  background: #f5f7fb;
  color: var(--ink);
}

.center {
  text-align: center;
}

.services {
  padding: 5rem 0 5.15rem;
}

.section-title {
  margin: 0 auto 1rem;
  text-align: center;
  font-family: Lora, Georgia, serif;
  font-size: clamp(1.7rem, 2.35vw, 2.25rem);
  line-height: 1.12;
  font-weight: 600;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 2.25rem;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.6;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-grid article {
  padding: 1rem 1.45rem;
  text-align: center;
  border-right: 1px solid rgba(6,21,33,.15);
}

.service-grid article:last-child {
  border-right: 0;
}

.service-grid h3 {
  margin: .35rem 0 .65rem;
  font-size: .95rem;
  line-height: 1.18;
  font-weight: 800;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .83rem;
}

.service-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto .65rem;
  display: block;
  object-fit: contain;
}

/* Perspective */

.perspective {
  padding: 3.2rem 0 3.4rem;
  border-top: 1px solid rgba(6,21,33,.08);
}

.perspective-inner {
  max-width: 900px;
}

.perspective .section-intro {
  margin-bottom: 0;
}

/* Approach */


.approach {
  padding: 4.05rem 0;
  background: linear-gradient(180deg, #061521 0%, #071827 100%);
}

.approach-grid {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 4rem;
  align-items: center;
}

.approach h2 {
  font-family: Lora, Georgia, serif;
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  line-height: 1.18;
  font-weight: 500;
}

.approach-copy {
  max-width: 520px;
  margin: 1rem 0 0;
  color: rgba(238, 246, 255, .78);
  font-size: .95rem;
  line-height: 1.65;
}

.approach ul {
  margin: 0;
  padding-left: 2rem;
  border-left: 1px solid rgba(255,255,255,.32);
  color: #eef6ff;
  font-size: .94rem;
}

.approach li {
  margin: .8rem 0;
}

.approach li::marker {
  color: var(--blue);
}

/* Insights */

.insights {
  padding: 4rem 0 3.7rem;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.publication {
  color: var(--ink);
  text-decoration: none;
}

.publication img {
  display: block;
  width: 100%;
  aspect-ratio: 1.58/1;
  object-fit: cover;
  margin-bottom: .82rem;
}

.publication h3 {
  margin-bottom: .45rem;
  font-size: .86rem;
  line-height: 1.18;
  font-weight: 800;
}

.publication p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

.substack-link {
  text-align: center;
  margin-top: 1.8rem;
}

.substack-link a {
  color: #005eb8;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}

/* About */

.about {
  padding: 3.8rem 0 3.1rem;
  background: #061521;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.about-grid > div + div {
  border-left: 1px solid rgba(255,255,255,.24);
  padding-left: 4rem;
}

.about p {
  max-width: 520px;
  color: #d3dee9;
  font-size: .88rem;
}

.connect a {
  color: #d3dee9;
  text-decoration: none;
}

/* Footer */

.footer {
  padding: 2.75rem 0;
  background: #06111d;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  color: #aebdca;
  font-size: .78rem;
}

.footer h4 {
  margin: .2rem 0 .65rem;
  color: white;
}

.footer a {
  display: block;
  margin: .25rem 0;
  color: #aebdca;
  text-decoration: none;
}

.footer p {
  color: #aebdca;
}

/* Responsive */

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: white;
    margin: 4px auto;
  }

  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: #061521;
    padding: .8rem;
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: .7rem 1rem;
  }

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

  .approach-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-grid > div + div {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    background-position: 20%;
  }

  .hero-inner {
    padding: 3.4rem 0;
  }

  .service-grid,
  .publication-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(6,21,33,.14);
  }

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

  .btn {
    width: 100%;
  }
}


/* Fixed publication thumbnails */
.publication img {
  background: #071827;
  border-radius: 2px;
  display: block;
  width: 100%;
  aspect-ratio: 1.58 / 1;
  object-fit: cover;
  opacity: 1;
}

.publication-grid {
  align-items: start;
}
