:root {
  --paper: #ffffff;
  --ink: #2f5439;
  --body: #162922;
  --muted: #52655e;
  --green: #185328;
  --line: #c9d8cf;
  --line-strong: #01411c;
  --serif: "Iowan Old Style", Georgia, "Palatino Linotype", Palatino, serif;
  --urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--serif);
}

[hidden] {
  display: none !important;
}

main {
  min-height: 100vh;
}

.hero {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0 0 34px;
  background: var(--paper);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}

.hero-panel {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 40px));
  margin: 40px auto 0;
  padding: 0 0 34px;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  text-align: left;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(52px, 7.4vw, 92px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

.subtitle {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(14px, 1.25vw, 16px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.6;
  text-transform: uppercase;
}

.statement {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 112px;
}

.statement section {
  max-width: 700px;
  margin-top: 54px;
}

.statement section:first-child {
  margin-top: 18px;
}

.statement p {
  margin: 0 0 24px;
  color: var(--body);
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.7;
}

.statement .lede {
  margin: 0 0 22px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(25px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.24;
}

h2 {
  margin: 0 0 20px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(26px, 1.35vw, 26px);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.beliefs {
  padding-left: 24px;
  border-left: 1px solid rgba(1, 65, 28, 0.28);
}

.beliefs p {
  margin-bottom: 18px;
}

.closing-lines {
  margin-top: 34px;
  padding: 28px 0 2px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.closing-lines p {
  margin-bottom: 16px;
  color: var(--ink);
}

.signature {
  display: grid;
  gap: 24px;
  margin-top: 72px;
  padding-top: 0;
}

.signature p {
  margin: 0;
  color: var(--body);
}

.signed-by {
  display: grid;
  gap: 14px;
  justify-items: start;
  width: min(300px, 100%);
}

.signature-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line-strong);
}

.signature-image {
  display: block;
  width: min(240px, 100%);
  height: auto;
}

[dir="rtl"] .signed-by {
  justify-items: end;
  margin-right: auto;
}

@media (max-width: 760px) {
  .hero {
    padding-bottom: 28px;
  }

  .hero-image {
    height: auto;
  }

  .hero-panel {
    width: min(100% - 30px, 620px);
    margin-top: 30px;
    padding-bottom: 26px;
  }

  .eyebrow {
    font-size: 18px;
    letter-spacing: 0.08em;
  }

  h1 {
    font-size: clamp(42px, 12vw, 58px);
    letter-spacing: 0.02em;
    line-height: 1;
  }

  .subtitle {
    max-width: 340px;
    margin-top: 22px;
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .statement {
    width: min(100% - 30px, 640px);
    padding: 0 0 72px;
  }

  .statement section {
    margin-top: 46px;
  }

  .statement p {
    font-size: 17px;
    line-height: 1.66;
  }

  .statement .lede {
    font-size: 24px;
    line-height: 1.25;
  }

  h2 {
    font-size: 26px;
    letter-spacing: 0.1em;
  }

  .beliefs {
    padding-left: 17px;
  }
}

.language-switcher {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(2, 64px);
  direction: ltr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 83, 40, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(1, 65, 28, 0.08);
}

.language-switcher button {
  width: 64px;
  padding: 8px 12px;
  border: 0;
  border-right: 1px solid rgba(24, 83, 40, 0.16);
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font: 700 12px/1 var(--serif);
}

.language-switcher button:last-child {
  border-right: 0;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--green);
  color: #ffffff;
}

[dir="rtl"] .hero-panel,
[dir="rtl"] .statement {
  text-align: right;
}

[dir="rtl"] .beliefs {
  padding-right: 24px;
  padding-left: 0;
  border-right: 1px solid rgba(1, 65, 28, 0.28);
  border-left: 0;
}

[lang="ur"] {
  font-family: var(--urdu);
}

[lang="ur"] .eyebrow,
[lang="ur"] .subtitle,
[lang="ur"].statement,
[lang="ur"].statement p,
[lang="ur"].statement h2,
[lang="ur"].statement .lede,
[lang="ur"].statement .signature,
.language-switcher button[data-language-option="ur"] {
  font-family: var(--urdu);
}

[lang="ur"].statement p {
  line-height: 2.08;
}

[lang="ur"].statement .lede {
  line-height: 1.85;
}

[lang="ur"].statement h2 {
  line-height: 1.9;
}

@media (max-width: 760px) {
  .language-switcher {
    top: 10px;
    right: 10px;
    grid-template-columns: repeat(2, 54px);
  }

  .language-switcher button {
    width: 54px;
    padding: 7px 10px;
    font-size: 11px;
  }

  [dir="rtl"] .beliefs {
    padding-right: 17px;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .hero-panel,
  .statement {
    width: min(760px, calc(100% - 56px));
  }

  .statement section {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .hero-panel,
  .statement {
    width: calc(100% - 28px);
  }

  .hero-panel {
    margin-top: 24px;
  }

  .subtitle {
    max-width: 100%;
  }

  .statement section:first-child {
    margin-top: 10px;
  }
}
