:root {
  color-scheme: light;
  --header: #0f1b2d;
  --header-strong: #13243a;
  --header-line: rgba(255, 255, 255, 0.12);
  --page: #f4f1ea;
  --surface: #fbfaf7;
  --surface-muted: #f1ece1;
  --text: #16212f;
  --text-soft: #556171;
  --line: #d8d3c8;
  --green: #025123;
  --gold: #e9ad02;
  --link: #183b67;
  --shadow: 0 18px 48px rgba(15, 27, 45, 0.08);
  --container: 1220px;
  --gutter: clamp(1rem, 2.6vw, 1.5rem);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
  background: var(--header);
}

body {
  min-height: 100%;
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  font-family: "Archivo", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, var(--header) 0 14rem, var(--page) 14rem 100%);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: top 180ms var(--ease);
}

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

.header-strip,
.masthead,
.site-nav,
.page-main,
.site-footer__inner {
  padding-inline: var(--gutter);
}

.header-strip {
  padding-top: var(--safe-top);
  background: var(--header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-strip__inner,
.masthead__inner,
.site-nav__inner,
.newsroom,
.about-section,
.site-footer__inner {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.header-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.9rem;
}

.header-strip__inner p,
.header-strip__links a,
.brand__text span,
.newsroom__intro,
.story-card p,
.lead-story__excerpt,
.site-footer__meta p,
.about-section p,
.about-section__media figcaption {
  line-height: 1.7;
}

.header-strip__inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.header-strip__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-strip__links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.83rem;
  font-weight: 600;
}

.masthead {
  background: var(--header);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8.4rem;
  position: relative;
}

.menu-toggle {
  position: absolute;
  left: 0;
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  flex-direction: column;
  border: 1px solid var(--header-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.menu-toggle span {
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
}

.brand__logo {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand__text {
  display: grid;
  gap: 0.15rem;
}

.brand__text strong {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand__text span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.site-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 27, 45, 0.04);
}

.site-nav__inner {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  min-height: 3.75rem;
}

.site-nav a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.page-main {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.section-kicker {
  margin: 0 0 0.7rem;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.newsroom {
  display: grid;
  gap: 1.5rem;
}

.newsroom__header {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: end;
}

.newsroom__header h1,
.headline-rail__header h2,
.about-section h2,
.story-card h3,
.lead-story h2 {
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.newsroom__header h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.96;
  max-width: 11ch;
}

.newsroom__intro {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  max-width: 34rem;
}

.newsroom__top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr);
  gap: 1.35rem;
  align-items: start;
}

.lead-story,
.headline-rail,
.story-card,
.about-section {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lead-story {
  overflow: hidden;
  border-radius: 28px;
}

.lead-story__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lead-story__body {
  padding: 1.5rem 1.5rem 1.7rem;
}

.lead-story__meta,
.story-card__meta,
.rail-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-story h2 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.lead-story__excerpt {
  margin: 0.95rem 0 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.lead-story__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.lead-story__tag {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-story__link,
.story-card__link,
.rail-item__link {
  color: var(--link);
  font-size: 0.9rem;
  font-weight: 700;
}

.headline-rail {
  border-radius: var(--radius);
  overflow: hidden;
}

.headline-rail__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.3rem 1rem;
  border-bottom: 1px solid var(--line);
}

.headline-rail__header h2 {
  font-size: 1.45rem;
  line-height: 1;
}

.headline-rail__header span {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.headline-rail__list {
  display: grid;
}

.rail-item {
  padding: 1.1rem 1.3rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.rail-item:last-child {
  border-bottom: 0;
}

.rail-item h3 {
  margin: 0.55rem 0 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.rail-item__link {
  display: inline-flex;
  margin-top: 0.7rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.story-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.story-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.story-card__body {
  padding: 1.2rem 1.2rem 1.3rem;
}

.story-card h3 {
  margin-top: 0.7rem;
  font-size: 1.6rem;
  line-height: 1.05;
}

.story-card p {
  margin: 0.8rem 0 0;
  color: var(--text-soft);
  font-size: 0.97rem;
}

.story-card__caption {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--surface-muted);
  color: var(--text-soft);
  font-size: 0.8rem;
}

.story-card__link {
  display: inline-flex;
  margin-top: 1rem;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 1.4rem;
  margin: 2rem auto 0;
  width: min(100%, var(--container));
  padding: 1.4rem;
  border-radius: 28px;
}

.about-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  max-width: 14ch;
}

.about-section p {
  margin: 0.9rem 0 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  max-width: 68ch;
}

.about-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.about-section__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-muted);
  font-weight: 700;
}

.about-section__media {
  margin: 0;
  align-self: center;
}

.about-section__media img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-section__media figcaption {
  margin-top: 0.7rem;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.site-footer {
  margin-top: 2rem;
  padding-block: 1.6rem calc(1.6rem + var(--safe-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--header);
  color: #fff;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer__brand img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.site-footer__brand strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
}

.site-footer__brand p,
.site-footer__meta p {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.site-footer__meta {
  max-width: 34rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.8rem;
}

.site-footer__links a {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer__copy {
  margin-top: 0.8rem;
}

.menu-toggle:focus-visible,
.site-nav a:focus-visible,
.header-strip__links a:focus-visible,
.about-section__actions a:focus-visible,
.site-footer__links a:focus-visible,
.lead-story__link:focus-visible,
.story-card__link:focus-visible,
.rail-item__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .newsroom__header,
  .newsroom__top,
  .about-section,
  .site-footer__inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsroom__header h1,
  .about-section h2 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .header-strip__inner {
    display: block;
    padding-block: 0.7rem;
  }

  .header-strip__links {
    margin-top: 0.5rem;
    gap: 0.8rem;
  }

  .masthead__inner {
    min-height: 7.5rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .brand {
    flex-direction: column;
    gap: 0.55rem;
    text-align: center;
  }

  .brand__logo {
    width: 4.8rem;
    height: 4.8rem;
  }

  .brand__text strong {
    font-size: 1.6rem;
  }

  .brand__text span {
    font-size: 0.84rem;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__inner {
    display: grid;
    gap: 0;
    min-height: 0;
    padding-block: 0.4rem;
  }

  .site-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .page-main {
    padding-top: 1.25rem;
  }

  .newsroom__header h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    background: linear-gradient(180deg, var(--header) 0 12.5rem, var(--page) 12.5rem 100%);
  }

  .lead-story__body,
  .story-card__body,
  .headline-rail__header,
  .rail-item,
  .about-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .lead-story__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__brand {
    align-items: flex-start;
  }
}
