:root {
  --navy: #08224a;
  --navy-2: #0c315f;
  --ink: #102033;
  --muted: #607086;
  --line: #dfe5ed;
  --soft: #f6f8fb;
  --white: #ffffff;
  --gold: #c7a563;
  --aqua: #8fd9d1;
  --shadow: 0 20px 60px rgba(8, 34, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.article-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(8, 34, 74, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 24px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, serif;
  font-size: 21px;
  text-transform: uppercase;
}

.brand small {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.article-nav {
  display: flex;
  gap: 26px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.header-cta,
.article-cta,
.final-cta a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 13px 20px;
  color: var(--white);
  background: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.article-hero {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: 1fr 0.82fr;
  gap: 46px;
  align-items: center;
  margin: 58px auto 46px;
}

.breadcrumb {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--navy-2);
}

.article-category {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 12px 0 18px;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.dek {
  color: var(--muted);
  font-size: 21px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.hero-image {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.hero-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-layout {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 52px;
  margin: 0 auto 76px;
}

.article-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 18px;
}

.toc,
.side-cta,
.summary-box,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(8, 34, 74, 0.06);
}

.toc {
  padding: 20px;
}

.toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
}

.toc a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid rgba(8, 34, 74, 0.08);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.side-cta {
  padding: 22px;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(8, 34, 74, 0.9), rgba(8, 34, 74, 0.54)),
    url("../assets/hero-aerial.jpg") center / cover;
}

.side-cta h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 24px;
  line-height: 1.1;
}

.side-cta p {
  color: rgba(255, 255, 255, 0.84);
}

.article-body {
  max-width: 760px;
}

.article-body h2 {
  margin: 46px 0 14px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.article-body h3 {
  margin: 28px 0 10px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
}

.article-body p,
.article-body li {
  color: #435368;
  font-size: 18px;
}

.article-body a {
  color: var(--navy-2);
  font-weight: 900;
}

.summary-box {
  margin: 30px 0;
  padding: 24px;
  background: var(--soft);
}

.summary-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.callout {
  margin: 34px 0;
  padding: 24px;
  border-left: 5px solid var(--gold);
  background: #fbf7ef;
}

.faq {
  margin-top: 46px;
}

.faq-item {
  margin: 14px 0;
  padding: 22px;
}

.faq-item h3 {
  margin-top: 0;
}

.final-cta {
  display: grid;
  gap: 18px;
  margin-top: 48px;
  padding: 32px;
  border-radius: 10px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 34, 74, 0.95), rgba(12, 49, 95, 0.8)),
    url("../assets/ocean-view.jpg") center / cover;
}

.final-cta h2 {
  margin: 0;
  color: var(--white);
}

.final-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.final-cta a {
  width: max-content;
  color: var(--navy);
  background: var(--gold);
}

.article-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

@media (max-width: 980px) {
  .article-nav {
    display: none;
  }

  .article-hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    grid-row: 2;
  }

  .article-body {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .article-header {
    padding: 14px 16px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .brand strong {
    font-size: 17px;
  }

  .article-hero,
  .article-layout {
    width: calc(100vw - 40px);
    margin-top: 34px;
    gap: 28px;
  }

  .article-layout {
    margin-top: 0;
    max-width: 330px;
  }

  h1 {
    max-width: 340px;
    font-size: 38px;
    overflow-wrap: anywhere;
  }

  .dek,
  .article-body p,
  .article-body li {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .dek {
    max-width: 340px;
    overflow-wrap: anywhere;
  }

  .article-hero > div,
  .article-body,
  .summary-box,
  .toc,
  .side-cta,
  .faq-item,
  .final-cta {
    width: 100%;
    min-width: 0;
  }

  .summary-box,
  .faq-item,
  .final-cta {
    padding: 18px;
  }

  .meta,
  .article-footer {
    display: grid;
  }

  .final-cta a {
    width: 100%;
  }
}
