:root {
  --ink: #111111;
  --paper: #f7f4ed;
  --white: #ffffff;
  --yellow: #d7b600;
  --blue: #075bd8;
  --green: #2d3f34;
  --muted: #5d5b56;
  --rule: #d8d2c5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem max(20px, calc((100vw - 1160px) / 2));
  background: var(--ink);
  color: var(--white);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.site-strip a {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hero {
  background: var(--ink);
  color: var(--white);
  border-bottom: 12px solid var(--yellow);
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-weight: 950;
  letter-spacing: -.045em;
}

h1 {
  max-width: 850px;
  font-size: clamp(3.1rem, 8vw, 7.5rem);
  line-height: .9;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  margin: 1.6rem 0 0;
  color: #ddd;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 3px solid currentColor;
  background: transparent;
  padding: .85rem 1.15rem;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
  box-shadow: 5px 5px 0 #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #f0cf13;
}

.button-plain {
  color: var(--white);
}

.button-plain:hover,
.button-plain:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.sender-card {
  margin: 0;
  background: var(--green);
  border: 3px solid var(--white);
  box-shadow: 12px 12px 0 var(--yellow);
}

.sender-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.sender-card figcaption {
  padding: 1rem;
  border-top: 3px solid var(--white);
  font-size: .88rem;
  line-height: 1.45;
}

.sender-card strong {
  display: block;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.numbers {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-bottom: 3px solid var(--ink);
}

.numbers h2,
.pdf-card h2 {
  max-width: 850px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: .95;
  text-transform: uppercase;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2.2rem;
  border: 3px solid var(--ink);
}

.number-grid article {
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-right: 3px solid var(--ink);
}

.number-grid article:last-child {
  border-right: 0;
}

.number-grid strong {
  display: block;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 950;
  letter-spacing: -.05em;
  line-height: 1;
}

.number-grid span {
  display: block;
  margin-top: .7rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
}

.numbers-note {
  max-width: 850px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.letter-section {
  padding: clamp(3rem, 7vw, 7rem) 20px;
  background:
    linear-gradient(90deg, rgba(17,17,17,.04) 1px, transparent 1px) 0 0 / 24px 24px,
    #e7e2d7;
}

.language-choice {
  display: flex;
  width: min(820px, 100%);
  margin: 0 auto 1.25rem;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--yellow);
}

.language-choice > div:first-child {
  flex: 1;
  padding: 1rem 1.2rem;
}

.language-choice strong,
.language-choice span {
  display: block;
}

.language-choice strong {
  font-size: 1rem;
  text-transform: uppercase;
}

.language-choice span {
  margin-top: .25rem;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.4;
}

.language-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 330px;
  border-left: 3px solid var(--ink);
}

.language-button {
  appearance: none;
  border: 0;
  border-right: 3px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: .88rem;
  font-weight: 950;
  letter-spacing: .04em;
  line-height: 1.1;
  padding: .9rem 1rem;
  text-transform: uppercase;
}

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

.language-button small {
  display: block;
  margin-top: .35rem;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .05em;
}

.language-button.is-active {
  background: var(--blue);
  color: var(--white);
}

.language-button:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: -4px;
}

.language-panel[hidden] {
  display: none;
}

.letter {
  width: min(820px, 100%);
  margin: 0 auto;
  background: var(--white);
  border-top: 10px solid var(--green);
  box-shadow: 0 22px 60px rgba(17, 17, 17, .18);
  padding: clamp(1.5rem, 6vw, 5.5rem);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.72;
}

.letter-heading {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--rule);
  font-family: Arial, Helvetica, sans-serif;
}

.letter-heading img {
  display: block;
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: var(--green);
}

.letter-heading time {
  display: block;
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.letter-heading p {
  margin: .3rem 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.4;
}

.letter > p {
  margin: 0 0 1.35em;
}

.letter ul {
  margin: 0 0 1.5em;
  padding-left: 1.3em;
}

.letter li {
  margin-bottom: .65em;
  padding-left: .3em;
}

.activity-list {
  columns: 2;
  column-gap: 2.5rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .92em;
  font-weight: 700;
  line-height: 1.45;
}

.activity-list li {
  break-inside: avoid;
}

blockquote {
  margin: 2rem 0;
  border-left: 8px solid var(--yellow);
  background: #faf2bf;
  padding: 1.3rem 1.4rem;
  font-size: 1.08em;
  line-height: 1.58;
}

.signature {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.signature p {
  margin: 0 0 .8rem;
}

.signature strong,
.signature span {
  display: block;
}

.signature strong {
  margin-top: 1.4rem;
  font-size: 1.25em;
}

.signature span {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .82em;
  font-weight: 800;
  text-transform: uppercase;
}

.pdf-section {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: var(--white);
}

.pdf-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  border: 3px solid var(--ink);
  border-left: 12px solid var(--blue);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.pdf-card .eyebrow {
  color: var(--blue);
}

.pdf-card p:last-child {
  max-width: 700px;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.pdf-card .button-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 5px 5px 0 var(--ink);
}

.pdf-actions {
  display: grid;
  gap: .9rem;
}

.button-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 5px 5px 0 var(--yellow);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 2rem 0;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .7rem 1.5rem;
  align-items: center;
  font-size: .85rem;
}

.site-footer strong {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--yellow);
  font-weight: 900;
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .sender-card {
    width: min(280px, 85%);
  }

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

  .number-grid article:nth-child(2) {
    border-right: 0;
  }

  .number-grid article:nth-child(-n+2) {
    border-bottom: 3px solid var(--ink);
  }

  .pdf-card {
    grid-template-columns: 1fr;
  }

  .pdf-card .button {
    justify-self: start;
  }

  .language-choice {
    display: grid;
  }

  .language-buttons {
    min-width: 0;
    border-top: 3px solid var(--ink);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 28px, 1160px);
  }

  .site-strip {
    padding: .75rem 14px;
  }

  .site-strip span {
    display: none;
  }

  .hero {
    padding: 3rem 0;
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 4.7rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .number-grid article {
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .number-grid article:last-child {
    border-bottom: 0;
  }

  .letter-section {
    padding: 1.2rem 10px 3rem;
  }

  .language-choice {
    margin-bottom: 1.1rem;
    box-shadow: 5px 5px 0 var(--yellow);
  }

  .language-choice > div:first-child {
    padding: .9rem;
  }

  .language-button {
    min-height: 58px;
    padding: .75rem .6rem;
  }

  .letter {
    padding: 1.4rem;
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .letter-heading {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: .9rem;
    margin-bottom: 2rem;
  }

  .letter-heading img {
    width: 64px;
    height: 64px;
  }

  .activity-list {
    columns: 1;
  }

  blockquote {
    margin-left: 0;
    margin-right: 0;
    padding: 1rem;
  }

  .pdf-card .button {
    justify-self: stretch;
  }

  .site-footer .wrap {
    display: grid;
  }
}
