:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d9dee7;
  --paper: #ffffff;
  --soft: #f3f6f8;
  --brand: #1e6f86;
  --brand-dark: #124c5f;
  --accent: #b6402a;
  --gold: #d59b2f;
  --max: 1160px;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

img,
iframe,
video {
  max-width: 100%;
}

img {
  height: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

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

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 2px;
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  font-size: 1.35rem;
  font-weight: 800;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  font-weight: 700;
}

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

.nav-links a:hover {
  color: var(--brand);
}

.hero {
  min-height: 76vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(18, 76, 95, 0.82)),
    url("https://dvgpro.com/wp-content/uploads/2012/05/pg-3-graphics.png") center / cover;
  color: #fff;
}

.hero-copy {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.hero h1,
.archive-header h1,
.article-header h1 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 9vw, 6.4rem);
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.2rem;
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}

.section,
.archive,
.article {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 78px 0;
}

.section.tinted {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - var(--max)) / 2));
  background: var(--soft);
}

.section-heading,
.archive-header,
.article-header {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.archive-header h1,
.article-header h1 {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
}

.section-heading h2,
.archive-header h1,
.article-header h1,
.related h2 {
  margin: 0;
}

.section-heading p:not(.eyebrow),
.archive-header p:not(.eyebrow),
.article-header p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--soft);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 160ms ease;
}

.card:hover .card-media img {
  transform: scale(1.025);
}

.card-body {
  padding: 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.card time {
  color: var(--muted);
  font-size: 0.86rem;
}

.archive {
  padding: 64px 0 86px;
}

.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  color: var(--muted);
}

.pagination a:last-child {
  justify-self: end;
}

.article {
  padding: 64px 0 86px;
}

.article-header {
  margin-inline: auto;
  text-align: center;
}

.featured-image {
  display: block;
  width: min(960px, 100%);
  max-height: 560px;
  margin: 34px auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.prose {
  width: min(820px, 100%);
  margin: 0 auto;
  font-size: 1.04rem;
  line-height: 1.78;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose h2,
.prose h3,
.prose h4 {
  line-height: 1.18;
  margin-top: 2rem;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote {
  color: #2f3947;
}

.prose blockquote {
  margin-inline: 0;
  padding-left: 1rem;
  border-left: 4px solid var(--brand);
}

.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.6rem;
}

.prose iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.related {
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.related h2 {
  margin-bottom: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer div:first-child {
  display: grid;
  gap: 4px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 68vh;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 15vw, 4.2rem);
  }

  .site-footer,
  .footer-links {
    flex-direction: column;
  }
}
