:root {
  --navy: #102d43;
  --navy-deep: #092235;
  --teal: #138c91;
  --teal-light: #d9f1ef;
  --ink: #15232d;
  --muted: #5e6c74;
  --line: #d9e1e3;
  --paper: #f7f8f6;
  --white: #ffffff;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shadow-card: 0 1px 2px rgba(16, 45, 67, 0.04), 0 8px 24px rgba(16, 45, 67, 0.06);
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(16, 45, 67, 0.025) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  padding: .7rem 1rem; background: var(--teal); color: white;
  border-radius: 0 0 5px 5px;
}
.skip-link:focus { top: 0; }

/* ——— Masthead ——— */
.site-header {
  background: var(--white);
  position: sticky; top: 0; z-index: 5;
  box-shadow: 0 1px 0 rgba(16, 45, 67, 0.06);
}
.masthead-rule {
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 42%, var(--teal) 42%, var(--teal) 100%);
}
.masthead-rule--thin { height: 1px; background: var(--line); }
.header-inner {
  width: min(1256px, calc(100% - 48px));
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  flex-shrink: 0;
}
.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}
.brand--footer .brand-logo { width: 32px; height: 32px; }
.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -.04em;
  line-height: 1;
}
.brand-us { color: var(--navy); }
.brand-brief { color: var(--navy); }
.primary-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 28px;
  font-size: .86rem;
  font-weight: 600;
  color: #40525e;
}
.primary-nav a {
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.primary-nav a:hover,
.footer-links a:hover { color: var(--teal); }
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform .2s ease;
  transform-origin: left;
}
.primary-nav a:hover::after { transform: scaleX(1); }
.header-note {
  margin-left: auto;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(19, 140, 145, 0.18);
}
.menu-toggle, .mobile-menu { display: none; }

/* ——— Intro ——— */
.intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: .66rem;
}
.eyebrow-rule {
  display: inline-block;
  vertical-align: middle;
  width: 28px; height: 1px;
  margin: 0 9px;
  background: var(--teal);
}
h1 {
  margin: 0;
  font: 700 clamp(2.4rem, 4.8vw, 4.2rem)/.98 var(--serif);
  letter-spacing: -.05em;
  color: var(--navy);
}
h1 em { color: var(--teal); font-style: normal; }
.intro-copy {
  max-width: 300px;
  margin: 0 0 6px 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

/* ——— Sections ——— */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 700;
  font-size: .68rem;
}
.section-label::before {
  content: "";
  width: 18px; height: 3px;
  background: var(--teal);
}

.top-stories {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(290px, .82fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 52px;
}

/* Featured with photo background */
.featured-card {
  position: relative;
  min-height: 480px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(9, 34, 53, 0.15) 0%, rgba(9, 34, 53, 0.55) 45%, rgba(9, 34, 53, 0.92) 100%),
    linear-gradient(130deg, rgba(9, 34, 53, 0.55), rgba(16, 73, 83, 0.35));
}
.featured-badge {
  position: absolute;
  top: 28px; left: 32px;
  z-index: 1;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9fd7d4;
}
.featured-card > * { position: relative; z-index: 1; }
.featured-card .kicker { color: #b9e8e5; }
.featured-card h2 {
  max-width: 640px;
  margin: 10px 0 14px;
  font: 700 clamp(1.85rem, 3.2vw, 3.1rem)/1.06 var(--serif);
  letter-spacing: -.04em;
}
.featured-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.featured-card .summary {
  max-width: 560px;
  color: #d3e4e6;
  font-size: .93rem;
  margin: 0 0 18px;
  line-height: 1.5;
}
.story-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #aec4c8;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .64rem;
  font-weight: 700;
}
.meta-separator {
  width: 3px; height: 3px;
  background: currentColor;
  border-radius: 50%;
}
.read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 700;
  font-size: .77rem;
}
.featured-card .read-link { color: #aee2de; }
.read-link::after {
  content: "→";
  font-size: 1rem;
  transition: transform .2s ease;
}
.read-link:hover::after { transform: translateX(4px); }

/* Latest list with thumbs */
.latest-panel { padding: 0 0 0 8px; }
.latest-panel .section-label { margin-top: 2px; }
.latest-list { list-style: none; padding: 0; margin: 0; }
.latest-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.latest-item:first-child { border-top: 0; padding-top: 4px; }
.latest-thumb {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  border-radius: 3px;
  background: var(--line);
}
.latest-item .kicker { display: block; margin-bottom: 4px; }
.kicker {
  color: var(--teal);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .1em;
  font-size: .62rem;
}
.latest-item h3 {
  margin: 0 0 6px;
  font: 700 1.05rem/1.2 var(--serif);
  letter-spacing: -.02em;
  color: var(--navy);
}
.latest-item h3 a:hover { color: var(--teal); }
.latest-item p {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Archive grid */
.archive {
  border-top: 1px solid var(--line);
  padding: 32px 0 80px;
}
.archive-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}
.archive-heading h2 {
  margin: 0;
  color: var(--navy);
  font: 700 1.65rem var(--serif);
  letter-spacing: -.035em;
}
.archive-heading span { color: var(--muted); font-size: .72rem; }
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  min-height: 0;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: #c8d4d7;
}
.card-thumb-wrap {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8eef0;
}
.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.article-card:hover .card-thumb { transform: scale(1.04); }
.card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card h3 {
  margin: 6px 0 8px;
  color: var(--navy);
  font: 700 1.18rem/1.2 var(--serif);
  letter-spacing: -.025em;
}
.article-card h3 a:hover { color: var(--teal); }
.article-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.48;
  flex: 1;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
.placeholder-note {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 2px;
  background: #eef3f3;
  color: #7a8c90;
  font-size: .55rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  opacity: 0.85;
}

/* Detail view */
.detail-view { max-width: 820px; padding: 48px 0 96px; }
.back-link {
  color: var(--teal);
  font-weight: 700;
  font-size: .78rem;
  display: inline-flex;
  gap: 7px;
  margin-bottom: 28px;
}
.back-link::before { content: "←"; }
.detail-hero {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 0 28px;
  background: #e8eef0;
}
.detail-view h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  max-width: 820px;
  line-height: 1.05;
}
.detail-dek {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 640px;
  margin: 20px 0;
  line-height: 1.5;
}
.detail-body {
  max-width: 640px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 24px;
}
.detail-body p {
  font: 1.1rem/1.75 var(--serif);
  color: #344650;
}
.detail-callout {
  background: var(--teal-light);
  border-left: 3px solid var(--teal);
  padding: 14px 18px;
  color: var(--navy);
  font-size: .86rem;
  margin: 22px 0;
  border-radius: 0 3px 3px 0;
}
.detail-sample {
  color: var(--muted);
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #b7cbd0;
  padding: 48px 0 40px;
  border-top: 3px solid var(--teal);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr auto auto;
  gap: 40px;
  align-items: start;
}
.brand--footer { color: white; }
.brand--footer .brand-text { font-size: 1.15rem; color: white; }
.brand--footer .brand-us,
.brand--footer .brand-brief { color: white; }
.footer-tagline {
  margin: 12px 0 0;
  max-width: 340px;
  font-size: .78rem;
  line-height: 1.5;
  color: #8ca6ad;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .78rem;
  font-weight: 600;
}
.footer-meta { text-align: right; }
.footer-copy {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  color: #c5d8dd;
}
.footer-disclaimer {
  margin: 8px 0 0;
  font-size: .68rem;
  color: #6f8890;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 760px) {
  .container, .header-inner { width: min(100% - 34px, 600px); }
  .header-inner { min-height: 62px; gap: 0; }
  .primary-nav, .header-note { display: none; }
  .menu-toggle {
    display: block;
    margin-left: auto;
    border: 1px solid var(--line);
    padding: 8px 12px;
    border-radius: 3px;
    color: var(--navy);
    background: white;
    font: 600 .75rem var(--sans);
  }
  .mobile-menu {
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 8px 17px 16px;
  }
  .mobile-menu a {
    display: block;
    padding: 10px 0;
    font-size: .86rem;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu a:last-child { border-bottom: 0; }
  .intro { display: block; padding: 40px 0 32px; margin-bottom: 28px; }
  .intro-copy { margin-top: 22px; max-width: 420px; }
  .top-stories { display: block; margin-bottom: 40px; }
  .featured-card { min-height: 380px; }
  .latest-panel { padding: 28px 0 0; }
  .latest-item { grid-template-columns: 80px 1fr; gap: 12px; }
  .article-grid { grid-template-columns: 1fr; gap: 18px; }
  .archive { padding-bottom: 56px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 16px 20px; }
  .footer-meta { text-align: left; }
  .detail-view { padding: 36px 0 64px; }
}

/* ——— Breadcrumbs ——— */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
}
.breadcrumbs a { color: var(--teal); }
.breadcrumbs a:hover { text-decoration: underline; }

/* ——— Legal / static pages ——— */
.legal-page {
  max-width: 720px;
  padding: 48px 0 96px;
}
.legal-page h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 12px;
}
.legal-page h2 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 28px 0 10px;
}
.legal-page p,
.legal-page li {
  color: #344650;
  font-size: 1rem;
  line-height: 1.65;
}
.legal-page ul { padding-left: 1.2rem; }
.legal-page a { color: var(--teal); font-weight: 600; }
.legal-page a:hover { text-decoration: underline; }
.legal-lead {
  color: var(--muted) !important;
  font-size: 1.08rem !important;
  margin: 0 0 20px;
}

/* ——— Ad slots ——— */
.ad-footer-wrap {
  padding: 8px 0 28px;
}
.ad-slot {
  margin: 20px 0;
  padding: 10px 12px 12px;
  border: 1px dashed #c5d0d4;
  border-radius: var(--radius);
  background: #f0f3f2;
  text-align: center;
  overflow: hidden;
}
.ad-slot--home-sidebar {
  margin-top: 24px;
  min-height: 120px;
}
.ad-slot--in-article {
  margin: 24px 0 8px;
  min-height: 100px;
  max-width: 640px;
}
.ad-slot--article-footer,
.ad-slot--site-footer {
  min-height: 100px;
  max-width: 820px;
  margin-inline: auto;
}
.ad-label {
  display: block;
  margin-bottom: 8px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7a8c90;
}
.ad-placeholder-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px;
  background: repeating-linear-gradient(
    -45deg,
    #e8eeef,
    #e8eeef 8px,
    #eef2f2 8px,
    #eef2f2 16px
  );
  border-radius: 2px;
  color: #6f7f84;
  font-size: .78rem;
  font-weight: 600;
}
.ad-slot ins.adsbygoogle {
  min-height: 90px;
  background: transparent;
}

@media (max-width: 760px) {
  .legal-page { padding: 36px 0 64px; }
  .ad-slot--home-sidebar { min-height: 100px; }
}
