:root {
  --ink: #18212b;
  --muted: #5b6572;
  --line: #d9dee4;
  --paper: #fbfaf7;
  --white: #ffffff;
  --navy: #12324a;
  --gold: #b8892f;
  --green: #5f7660;
  --shadow: 0 18px 55px rgba(18, 50, 74, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
}

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

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

.site-header {
  min-height: 88px;
  padding: 14px clamp(18px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.wordmark {
  color: var(--navy);
  text-decoration: none;
}

.wordmark span {
  display: block;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

nav a[aria-current="page"], nav a:hover { border-color: var(--gold); }

.hero {
  min-height: clamp(430px, 58vh, 620px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 50, 74, 0.92), rgba(18, 50, 74, 0.52), rgba(18, 50, 74, 0.14));
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-copy {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto clamp(42px, 10vw, 88px);
  color: var(--white);
  position: relative;
  z-index: 1;
}

.hero-copy p {
  margin: 0 0 10px;
  color: #f2d79c;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 700;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy span {
  display: block;
  max-width: 740px;
  margin-top: 20px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.88);
}

.cards {
  width: min(1120px, calc(100% - 36px));
  margin: -38px auto 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  z-index: 2;
}

.cards article,
.aside,
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cards article { padding: 24px; }

h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: 0;
}

p { margin: 0 0 18px; }

.page-grid {
  width: min(1120px, calc(100% - 36px));
  margin: 56px auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 46px;
}

.content-section {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.content-section:last-child { border-bottom: 0; }

.article-meta,
.article-intro {
  font-family: Arial, sans-serif;
  color: var(--muted);
}

.article-meta {
  margin-bottom: 22px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.article-intro {
  padding: 22px 0 26px;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}

.article-hero {
  min-height: clamp(440px, 62vh, 660px);
}

.blog-list {
  width: min(1180px, calc(100% - 36px));
  margin: 56px auto 76px;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-card-grid article {
  min-height: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.blog-card-grid.compact article { min-height: 145px; }

.blog-card-grid a {
  display: block;
  height: 100%;
  padding: 24px;
  color: var(--ink);
  text-decoration: none;
}

.blog-card-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-card-grid h2,
.blog-card-grid strong {
  display: block;
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.18;
}

.blog-card-grid p {
  margin: 0;
  color: var(--muted);
}

.references ul {
  padding-left: 22px;
}

.references li + li { margin-top: 8px; }

.internal-link {
  background: rgba(184, 137, 47, 0.09);
  border: 1px solid rgba(184, 137, 47, 0.25);
  border-radius: 8px;
  padding: 24px;
}

.aside {
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 118px;
}

.aside ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.aside li + li { border-top: 1px solid var(--line); }

.aside a {
  display: block;
  padding: 11px 0;
  text-decoration: none;
}

.award {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.award img {
  max-height: 190px;
  width: auto;
  margin-bottom: 14px;
}

.contact-panel {
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 44px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button-secondary { background: var(--green); }

.site-footer {
  padding: 38px clamp(18px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 0.8fr;
  gap: 24px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.site-footer strong { color: var(--white); }

.site-footer a {
  display: block;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 8px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav { justify-content: flex-start; }

  .hero::after { background: rgba(18, 50, 74, 0.76); }

  .cards,
  .blog-card-grid,
  .page-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .cards { margin-top: 18px; }

  .aside { position: static; }
}
