:root {
  --navy: #123047;
  --blue: #1e6d91;
  --cyan: #3ca2bd;
  --green: #4f7f65;
  --ink: #18242d;
  --muted: #5d6b75;
  --line: #d9e2e7;
  --wash: #f3f7f8;
  --paper: #ffffff;
  --accent: #c47f43;
  --shadow: 0 18px 45px rgba(18, 48, 71, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--navy);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 16ch;
  font-size: 3.35rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-150%);
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner,
.section,
.page-hero,
.home-hero,
.contact-cta,
.detail-layout,
.insights-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand img {
  width: 190px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.desktop-nav a,
.mobile-nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav-cta,
.button,
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  padding: 0.68rem 1rem;
  background: var(--navy);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
}

.nav-menu {
  position: relative;
  padding-block: 1.2rem;
}

.nav-panel {
  position: absolute;
  right: -1rem;
  top: 100%;
  width: 340px;
  display: none;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.nav-panel a {
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
}

.nav-panel a:hover {
  background: var(--wash);
}

.nav-menu:hover .nav-panel,
.nav-menu:focus-within .nav-panel {
  display: grid;
}

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.mobile-nav nav {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 76px;
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mobile-nav a {
  padding: 0.55rem;
  border-radius: 6px;
}

.mobile-nav a:hover {
  background: var(--wash);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 3rem;
  align-items: center;
  padding: 3.25rem 0 3rem;
}

.home-hero .hero-media {
  position: relative;
}

.home-hero img,
.page-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy {
  display: grid;
  gap: 1.2rem;
}

.hero-copy p:not(.eyebrow) {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.15rem;
}

.eyebrow {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.text-link {
  font-weight: 800;
  color: var(--blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.section {
  padding: 4.5rem 0;
}

.section.alt {
  width: 100%;
  max-width: none;
  background: var(--wash);
}

.section.alt > .section-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section-header {
  max-width: 760px;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.section-header p {
  color: var(--muted);
}

.card-grid-heading {
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.anchor-nav ul {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.anchor-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.anchor-nav a:hover {
  color: var(--ink);
}

.three-grid,
.stats-grid,
.card-grid,
.focus-grid,
.outcome-grid {
  display: grid;
  gap: 1rem;
}

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

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

.stat,
.link-card,
.focus-card,
.work-card,
.note-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
}

.work-card {
  display: grid;
  gap: 0.7rem;
}

.stat strong {
  display: block;
  color: var(--accent);
  font-size: 1.8rem;
  line-height: 1.1;
}

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

.link-card,
.focus-card {
  display: grid;
  gap: 0.8rem;
}

.link-card h3 a,
.focus-card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.link-card .card-action {
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.media-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.media-band img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-body img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0.5rem 0 1.5rem;
}

.page-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  padding: 0 0 4.5rem;
}

.article-body {
  display: grid;
  gap: 2rem;
}

.article-body section {
  display: grid;
  gap: 0.75rem;
}

.article-body p,
.article-body li {
  color: var(--muted);
}

.sidebar {
  align-self: start;
  position: sticky;
  top: 104px;
  display: grid;
  gap: 1rem;
}

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

.outcome-grid li {
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 3px solid var(--cyan);
  background: var(--wash);
}

.contact-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-block: 2rem 4.5rem;
  padding: 2rem;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
}

.contact-cta h2,
.contact-cta .eyebrow {
  color: #fff;
}

.contact-cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-cta .button {
  background: #fff;
  color: var(--navy) !important;
}

.contact-cta .text-link {
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.contact-panel,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  background: #fff;
}

.contact-panel {
  display: grid;
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--navy);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(60, 162, 189, 0.25);
  border-color: var(--cyan);
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  background: #10293d;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1fr 0.85fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-inner h2 {
  margin-bottom: 0.7rem;
  color: #fff;
  font-size: 1rem;
}

.footer-inner a {
  display: block;
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-brand {
  display: grid;
  gap: 1rem;
}

.footer-brand img {
  width: 175px;
  background: #fff;
  border-radius: 6px;
  padding: 0.4rem;
}

.footer-cta {
  width: fit-content;
  margin-top: 1rem !important;
  background: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1rem 20px;
  text-align: center;
  font-size: 0.92rem;
}

.insights-shell {
  padding: 4rem 0;
  display: grid;
  gap: 2rem;
}

@media (max-width: 960px) {
  h1 {
    max-width: 16ch;
    font-size: 3rem;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .home-hero,
  .page-hero,
  .media-band,
  .detail-layout,
  .contact-layout,
  .contact-cta {
    grid-template-columns: 1fr;
  }

  .contact-cta .cta-actions {
    justify-self: start;
  }

  .three-grid,
  .stats-grid,
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  h1 {
    max-width: none;
    font-size: 2rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .header-inner,
  .footer-inner,
  .section,
  .page-hero,
  .home-hero,
  .contact-cta,
  .detail-layout,
  .insights-shell {
    width: min(100% - 28px, 1180px);
  }

  .home-hero,
  .page-hero {
    padding: 1.8rem 0;
    gap: 1.6rem;
  }

  .hero-copy {
    gap: 0.9rem;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1.05rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section.alt > .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .three-grid,
  .stats-grid,
  .card-grid,
  .focus-grid,
  .field-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: 160px;
  }

  .contact-cta {
    padding: 1.25rem;
  }
}
