@font-face {
  font-family: Muli;
  src: url("fonts/muli-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: optional;
}

:root {
  --gold: #d1bc94;
  background: #191919;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, p, figure { margin: 0; }
img { display: block; max-inline-size: 100%; height: auto; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 150ms ease;
}
a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}
.brand-symbol { width: 33px; flex: none; }
.brand-wordmark { width: 152px; filter: brightness(0.13); }
.letter {
  --letter-gutter: clamp(20px, 4.17vw, 70px);
  min-height: 100svh;
  font-family: Muli, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #f1f1f1;
  background: #191919;
}
.letter-header, .letter-main {
  width: min(calc(100% - 2 * var(--letter-gutter)), 1510px);
  margin-inline: auto;
}
.letter-header {
  padding-top: clamp(25px, 2.78vw, 48px);
}
.letter-header .brand { gap: 20px; }
.letter-header .brand-symbol { width: 50px; }
.letter-header .brand-wordmark { width: 166px; filter: none; }

.letter-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-areas: "photo note";
  align-items: end;
  gap: clamp(30px, 3.47vw, 60px);
  padding-block: clamp(48px, 5.28vw, 92px) 90px;
}
.letter-photo {
  grid-area: photo;
  margin-bottom: 48px;
}
.letter-photo img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  object-position: 72% 50%;
}
.letter-note { grid-area: note; }
.letter h1 {
  margin-bottom: 30px;
  font-size: clamp(34px, 4.03vw, 60px);
  font-weight: 800;
  line-height: 1.23;
}
.letter h1 span {
  display: block;
  font-weight: 300;
}
.letter .message, .letter-contact {
  max-width: 34rem;
  color: #a8a8a8;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.3px;
  text-wrap: pretty;
}
.letter .signature {
  margin-top: 18px;
  color: #d9d9d9;
  font-weight: 400;
  line-height: 1.65;
}
.letter-contact { margin-top: 18px; }
.letter-contact a {
  color: #f1f1f1;
  text-decoration-color: var(--gold);
  white-space: nowrap;
}
.letter-contact a:hover { color: var(--gold); }
.letter-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  margin-top: 17px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.185em;
  text-transform: uppercase;
}
.letter-link::before {
  content: "";
  width: 60px;
  height: 2px;
  background: var(--gold);
}
.letter-link:hover { color: var(--gold); }

@media (max-width: 820px) {
  .letter { --letter-gutter: clamp(16px, 3.5vw, 28px); }
  .letter-header { padding-block: 16px; }
  .letter-header .brand { gap: 12px; }
  .letter-header .brand-wordmark { width: 124px; }
  .letter-header .brand-symbol { width: 32px; }
  .letter-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "note";
    gap: 22px;
    padding-block: 0 36px;
  }
  .letter-photo { margin: 0 calc(-1 * var(--letter-gutter)); }
  .letter-photo img { aspect-ratio: 1.83; }
  .letter h1 { margin-bottom: 20px; font-size: clamp(28px, 5.2vw, 42px); }
  .letter .message, .letter .signature, .letter-contact { font-size: 15px; }
  .letter-link { gap: 15px; margin-top: 13px; font-size: 12px; }
  .letter-link::before { width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  a { transition: none; }
}
