@font-face {
  font-family: "Pyidaungsu";
  src: url("assets/fonts/Pyidaungsu-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Pyidaungsu";
  src: url("assets/fonts/Pyidaungsu-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #17231f;
  --muted: #60716b;
  --line: #d7dfda;
  --brand: #0b766d;
  --brand-deep: #064c48;
  --red: #b93b2d;
  --gold: #bd7a18;
  --paper: #ffffff;
  --mist: #f2f6f2;
  --cool: #eaf2f4;
  font-family: "Pyidaungsu", "Myanmar Text", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body.landing-en {
  font-family: "Segoe UI", Arial, sans-serif;
}

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

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

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

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  min-height: 72px;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.site-brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--brand-deep);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 850;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #33443e;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a,
.site-footer nav a {
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  border-color: var(--brand);
  outline: none;
}

.header-access {
  padding: 9px 12px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  color: #fff;
  background: var(--brand);
  font-size: 14px;
  font-weight: 750;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.language-link {
  padding-bottom: 3px;
  border-bottom: 2px solid var(--brand);
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 750;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(72vh, 720px);
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-image: url("assets/landing/map-overview.png");
  background-position: center 38%;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 31, 28, 0.62);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
}

.eyebrow.light {
  color: #8fe0d4;
}

.hero h1 {
  margin-bottom: 18px;
  font-family: Arial, sans-serif;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: 23px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
}

.primary-action {
  border: 1px solid #fff;
  color: var(--brand-deep);
  background: #fff;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  background: rgba(5, 31, 28, 0.24);
}

.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible {
  outline: 3px solid rgba(143, 224, 212, 0.5);
  outline-offset: 2px;
}

.scope-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.scope-strip div {
  min-height: 94px;
  padding: 20px clamp(16px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.scope-strip div:last-child {
  border-right: 0;
}

.scope-strip strong,
.scope-strip span {
  display: block;
}

.scope-strip strong {
  margin-bottom: 5px;
  color: var(--brand-deep);
  font-size: 17px;
}

.scope-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section {
  padding: clamp(70px, 9vw, 118px) max(18px, calc((100vw - 1180px) / 2));
}

.mission-section,
.maintenance-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.section-heading h2,
.entrance-heading h2,
.method-intro h2,
.trust-main h2,
.maintenance-section h2,
.contribution-section h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 45px);
  line-height: 1.4;
}

.mission-copy {
  padding-top: 4px;
  border-top: 3px solid var(--red);
}

.mission-copy p,
.entrance-heading > p:last-child,
.feature-copy > p,
.method-intro > p:last-child,
.trust-main > p:last-child,
.access-note p,
.maintenance-copy p,
.contribution-section > div > p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.archive-entrances {
  padding: clamp(70px, 9vw, 118px) 0 0;
  background: var(--mist);
}

.entrance-heading {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(46px, 6vw, 76px);
}

.entrance-heading > p:last-child {
  max-width: 680px;
  margin: 14px 0 0;
}

.archive-feature {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  border-top: 1px solid var(--line);
  background: #fff;
}

.archive-feature.hierarchy-feature {
  grid-template-columns: minmax(340px, 0.65fr) minmax(0, 1.35fr);
  background: var(--cool);
}

.hierarchy-feature .feature-media {
  order: 2;
}

.feature-media {
  min-height: 460px;
  overflow: hidden;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #eef3ef;
}

.feature-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 84px);
}

.feature-number {
  margin-bottom: 20px;
  color: var(--red) !important;
  font-family: Arial, sans-serif;
  font-size: 12px !important;
  font-weight: 850;
}

.feature-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.35;
}

.feature-copy ul {
  display: grid;
  gap: 9px;
  margin: 6px 0 24px;
  padding-left: 21px;
  color: #344640;
  font-size: 15px;
  line-height: 1.6;
}

.feature-copy li::marker {
  color: var(--brand);
}

.text-link {
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--brand);
  color: var(--brand-deep);
  font-size: 15px;
  font-weight: 850;
}

.records-section {
  background: #fff;
}

.records-section .section-heading {
  max-width: 700px;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.record-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.record-grid article:nth-child(2),
.record-grid article:nth-child(5) {
  border-top: 3px solid var(--gold);
}

.record-grid article:nth-child(1),
.record-grid article:nth-child(4) {
  border-top: 3px solid var(--brand);
}

.record-grid article:nth-child(3),
.record-grid article:nth-child(6) {
  border-top: 3px solid var(--red);
}

.record-grid span {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.record-grid h3 {
  margin: 17px 0 8px;
  font-size: 20px;
}

.record-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.method-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 8vw, 130px);
  padding: clamp(70px, 9vw, 118px) max(18px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: #153b37;
}

.method-intro {
  position: sticky;
  top: 30px;
  align-self: start;
}

.method-intro > p:last-child {
  margin-top: 20px;
  color: #bad0ca;
}

.method-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.method-steps li:first-child {
  padding-top: 0;
}

.method-steps li > span {
  color: #8fe0d4;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 850;
}

.method-steps h3 {
  margin-bottom: 7px;
  font-size: 20px;
}

.method-steps p {
  margin-bottom: 0;
  color: #bad0ca;
  font-size: 15px;
  line-height: 1.8;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(44px, 8vw, 110px);
  background: var(--cool);
}

.trust-main > p:last-child {
  margin-top: 18px;
}

.access-note {
  padding-left: 24px;
  border-left: 3px solid var(--gold);
}

.access-note h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.access-note p {
  margin-bottom: 0;
  font-size: 16px;
}

.maintenance-section {
  padding: clamp(70px, 9vw, 118px) max(18px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
}

.maintenance-copy {
  padding-top: 4px;
  border-top: 3px solid var(--brand);
}

.contribution-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(55px, 7vw, 86px) max(18px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--red);
}

.contribution-section > div {
  max-width: 820px;
}

.contribution-section .eyebrow.light {
  color: #ffd9d2;
}

.contribution-section > div > p:last-child {
  margin: 17px 0 0;
  color: #ffe2dd;
}

.contribution-section > a {
  display: inline-flex;
  min-width: 128px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 6px;
  color: var(--red);
  background: #fff;
  font-size: 15px;
  font-weight: 850;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 30px max(18px, calc((100vw - 1180px) / 2));
  color: #dbe7e3;
  background: #102622;
}

.footer-brand strong {
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.footer-brand p {
  margin: 4px 0 0;
  color: #91a8a1;
  font-family: "Pyidaungsu", "Myanmar Text", sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.landing-en .footer-brand p {
  font-family: "Segoe UI", Arial, sans-serif;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.copyright {
  justify-self: end;
  margin: 0;
  color: #91a8a1;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .scope-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .scope-strip div:nth-child(2) {
    border-right: 0;
  }

  .scope-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .mission-section,
  .method-section,
  .trust-section,
  .maintenance-section {
    grid-template-columns: 1fr;
  }

  .archive-feature,
  .archive-feature.hierarchy-feature {
    grid-template-columns: 1fr;
  }

  .hierarchy-feature .feature-media {
    order: 0;
  }

  .feature-media {
    min-height: 380px;
    aspect-ratio: 16 / 10;
  }

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

  .method-intro {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .copyright {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
    padding: 9px 12px;
  }

  .site-brand > span:last-child {
    font-size: 12px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .header-access {
    padding: 8px 9px;
    font-size: 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .language-link {
    font-size: 12px;
  }

  .hero {
    min-height: 72svh;
    background-position: 44% center;
  }

  .hero-content {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .scope-strip div {
    min-height: 88px;
    padding: 16px 12px;
  }

  .section,
  .method-section,
  .maintenance-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .section-heading h2,
  .entrance-heading h2,
  .method-intro h2,
  .trust-main h2,
  .maintenance-section h2,
  .contribution-section h2 {
    font-size: 28px;
  }

  .archive-feature {
    min-height: 0;
  }

  .feature-media {
    min-height: 0;
  }

  .feature-copy {
    padding: 34px 18px 44px;
  }

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

  .record-grid article {
    min-height: 0;
  }

  .method-steps li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .contribution-section {
    align-items: stretch;
    flex-direction: column;
    padding-right: 18px;
    padding-left: 18px;
  }

  .contribution-section > a {
    align-self: flex-start;
  }
}
