 :root {
  --navy: #0d2b5b;
  --blue: #1463c8;
  --teal: #0d8a8a;
  --green: #5b9227;
  --orange: #f47b18;
  --ink: #17314f;
  --muted: #62748a;
  --line: #dbe5ee;
  --soft: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 43, 84, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219,229,238,.85);
}

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

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
}
.brand-text { font-size: 1.08rem; color: var(--navy); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-weight: 600; color: var(--muted); }
.site-nav a:hover { color: var(--blue); }
.site-nav .nav-cta {
  color: var(--white);
  background: var(--navy);
  padding: 10px 18px;
  border-radius: 999px;
}
.site-nav .nav-cta:hover { color: var(--white); background: var(--blue); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

.hero {
  padding: 76px 0 88px;
  background:
    radial-gradient(circle at 85% 15%, rgba(13,138,138,.13), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(20,99,200,.11), transparent 32%),
    linear-gradient(180deg, #fff, #f7fbff);
}
.hero-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: 48px;
}
.eyebrow {
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
}
h1, h2, h3 { margin-top: 0; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(3rem, 6vw, 5.8rem); letter-spacing: -.055em; margin-bottom: 24px; }
h1 span { color: var(--orange); }
h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); letter-spacing: -.035em; margin-bottom: 18px; }
h3 { font-size: 1.25rem; }

.hero-lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 650px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(13,43,91,.23);
}
.button.secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
}
.cred-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cred-row span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}
.hero-visual {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(219,229,238,.9);
  background: var(--white);
}
.hero-visual img { width: 100%; height: auto; }

.section { padding: 96px 0; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading > p:last-child,
.section-copy { color: var(--muted); font-size: 1.08rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.work-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: #b9cee1;
  box-shadow: 0 14px 38px rgba(17,55,96,.10);
}
.card-number {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.work-card p { color: var(--muted); }
.work-card a {
  position: absolute;
  left: 28px;
  bottom: 26px;
  font-weight: 700;
  color: var(--blue);
}

.writing-section { background: var(--soft); }
.writing-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.article-list article {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.article-list article:first-child { border-top: 0; padding-top: 0; }
.article-list span {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--teal);
  font-weight: 800;
}
.article-list h3 { margin: 8px 0 10px; font-size: 1.45rem; }
.article-list p { margin: 0; color: var(--muted); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}
.about-image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.about-copy > p { color: var(--muted); }
.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.about-highlights div {
  border-top: 3px solid var(--teal);
  padding-top: 13px;
}
.about-highlights strong,
.about-highlights span { display: block; }
.about-highlights strong { color: var(--navy); }
.about-highlights span { font-size: .82rem; color: var(--muted); margin-top: 4px; }

.contact-section { padding: 38px 0 96px; }
.contact-card {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 36px;
  padding: 54px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy), #124d87 68%, var(--teal));
  color: var(--white);
  box-shadow: var(--shadow);
}
.contact-card h2, .contact-card .eyebrow { color: var(--white); }
.contact-card p { color: rgba(255,255,255,.8); }
.contact-actions { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 12px; }
.contact-actions .primary { background: var(--white); color: var(--navy); box-shadow: none; }
.contact-actions .light { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.contact-note { font-size: .78rem; margin: 2px 0 0; text-align: center; }

footer { border-top: 1px solid var(--line); }
.footer-wrap {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 980px) {
  .hero-grid, .writing-grid, .about-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-image { max-height: 520px; }
  .about-image img { width: 100%; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 24px, 1180px); }
  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 12px;
    right: 12px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 12px; }
  .menu-toggle { display: block; }
  .hero { padding-top: 52px; }
  .hero-grid { gap: 30px; }
  .section { padding: 72px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 240px; }
  .about-highlights { grid-template-columns: 1fr; }
  .contact-card { padding: 34px 24px; }
  .footer-wrap { flex-direction: column; justify-content: center; gap: 4px; text-align: center; }
}

.article-list h3 a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
.article-list h3 a:hover,
.article-list h3 a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
