:root {
  --ak-shell: min(1180px, calc(100vw - 72px));
  --ak-wide: min(1540px, calc(100vw - 72px));
  --ak-gold: #b88a10;
  --ak-gold-deep: #8b6a16;
  --ak-ink: #222c2f;
  --ak-line: rgba(139, 106, 22, 0.24);
}

body {
  color: var(--ak-ink);
}

.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(139, 106, 22, 0.16);
  box-shadow: 0 10px 34px rgba(34, 44, 47, 0.04);
}

.site-header .nav-row {
  width: var(--ak-wide);
  max-width: calc(100vw - 48px);
  min-height: 96px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr) minmax(148px, 210px);
  align-items: center;
  column-gap: clamp(18px, 3vw, 48px);
}

.site-header .brand {
  justify-self: start;
  display: flex;
  align-items: center;
}

.site-header .brand img {
  width: auto;
  max-width: 230px;
  max-height: 78px;
  object-fit: contain;
}

.main-nav {
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.15vw, 38px);
  white-space: nowrap;
}

.main-nav a {
  font-size: clamp(15px, 1vw, 18px);
}

.language-menu {
  justify-self: end;
}

#home {
  margin-top: 0;
}

.gold-strip {
  background: #efe3c7;
  padding: 0;
}

.gold-strip .gold-ticker,
#home .gold-ticker {
  width: var(--ak-shell);
  max-width: calc(100vw - 48px);
  margin: 0 auto;
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 5vw, 84px);
}

.gold-ticker strong,
.gold-ticker .gold-link {
  color: var(--ak-gold-deep);
}

.section,
#about,
#news,
#project,
#operations {
  scroll-margin-top: 108px;
}

#about > .section-heading,
#about > #timeline,
#about > .timeline,
#about > .metrics-grid,
#news > .section-heading,
#news > .news-list,
#news > .section-more-link,
#project > .project-map-switch,
#operations > .section-heading,
#operations > .operation-switch {
  width: var(--ak-shell);
  max-width: calc(100vw - 48px);
  margin-left: auto;
  margin-right: auto;
}

#about > .section-heading,
#news > .section-heading,
#operations > .section-heading {
  text-align: left;
}

#about > .section-heading h2,
#news > .section-heading h2,
#operations > .section-heading h2 {
  font-size: clamp(42px, 3.6vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

#about > .section-heading p {
  width: 100%;
  max-width: none;
  color: #111;
  line-height: 1.85;
}

#about > .metrics-grid.about-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#about > .metrics-grid.about-metrics article {
  min-height: 190px;
  padding: clamp(28px, 3vw, 44px);
}

#about > .metrics-grid.about-metrics article strong {
  color: var(--ak-gold);
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.05;
  text-shadow: 0 10px 24px rgba(184, 138, 16, 0.16);
}

#about > .metrics-grid.about-metrics .count-number,
#about > .metrics-grid.about-metrics .metric-plus {
  color: var(--ak-gold);
}

#about > .metrics-grid.about-metrics .metric-unit {
  color: var(--ak-gold-deep);
  font-size: 0.72em;
}

#news {
  background: #fff;
}

#news > .section-heading.row {
  display: block;
}

#news .news-list {
  border-top: 1px solid var(--ak-line);
  border-bottom: 1px solid var(--ak-line);
}

#news .news-row {
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(62px, 88px) minmax(76px, 116px) minmax(0, 1fr) minmax(44px, 64px);
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
}

#news .news-row h3 {
  font-size: clamp(17px, 1.1vw, 21px);
  font-weight: 400;
  line-height: 1.45;
  color: #111;
}

#news .news-row a {
  font-size: 0.92em;
}

#news .section-more-link {
  display: block;
  width: fit-content;
  margin-top: 28px;
  margin-right: max(24px, calc((100vw - var(--ak-shell)) / 2));
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 12px;
}

#project .project-map-switch,
#project .map-display,
#project .map-panels {
  margin-left: auto;
  margin-right: auto;
}

#project .map-panel figcaption {
  display: none;
}

#operations .section-heading.row {
  display: block;
}

#operations .operation-copy h3,
#operations .operation-copy p,
#operations .operation-copy ol {
  display: none !important;
}

#operations .operation-copy {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-top: 0 !important;
}

#operations .operation-gallery-wrap {
  width: min(820px, calc(100vw - 150px));
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
}

#operations .operation-gallery {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#operations .operation-image.operation-slide {
  width: 100%;
  max-width: 820px;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
}

#operations .operation-image.operation-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#operations .gallery-arrow.prev {
  left: -72px;
}

#operations .gallery-arrow.next {
  right: -72px;
}

.operation-media-block > .button.inline-action,
.section-more-link,
.back-link,
.back-home-link {
  text-decoration: underline;
  text-underline-offset: 8px;
}

.article-body {
  color: #111 !important;
}

#footer-contact .footer-contact p {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 980px) {
  :root {
    --ak-shell: min(100% - 32px, 760px);
    --ak-wide: min(100% - 32px, 760px);
  }

  .site-header .nav-row {
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding: 14px 0 18px;
  }

  .site-header .brand,
  .main-nav,
  .language-menu {
    justify-self: center;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .gold-strip .gold-ticker,
  #home .gold-ticker {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }

  #about > .metrics-grid.about-metrics {
    grid-template-columns: 1fr;
  }

  #news .news-row {
    grid-template-columns: 104px 64px minmax(0, 1fr) 44px;
  }

  #news .news-row .news-category,
  #news .news-row [class*="category"] {
    display: none;
  }

  #operations .operation-gallery-wrap {
    width: min(560px, calc(100vw - 96px));
  }

  #operations .gallery-arrow.prev {
    left: -54px;
  }

  #operations .gallery-arrow.next {
    right: -54px;
  }
}

@media (max-width: 620px) {
  #operations .operation-gallery-wrap {
    width: calc(100vw - 80px);
  }

  #operations .gallery-arrow.prev {
    left: -40px;
  }

  #operations .gallery-arrow.next {
    right: -40px;
  }

  #news .news-row {
    grid-template-columns: 1fr;
  }
}
