:root {
  color-scheme: light;
  --ink: #391b24;
  --paper: #f9eee7;
  --rule: #bd9c94;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", Palatino, Georgia, serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body, p, h1, h2, h3 { margin: 0; }
.frame { width: min(1184px, 89%); margin-inline: auto; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
[id] { scroll-margin-top: 20px; }
.skip { position: absolute; top: -70px; left: 12px; background: white; padding: .7em; z-index: 1; }
.skip:focus { top: 8px; }
.mast, footer, .imprint, nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mast { min-height: 70px; border-bottom: 1px solid var(--rule); }
.mast a, footer a { text-decoration: none; }
.mast a:hover, footer a:hover { text-decoration: underline; }
.wordmark { font: italic 20px/1.1 Georgia, serif; }
nav, footer { font: 12px/1.4 var(--mono); }
nav a { padding-block: 10px; }
.poster {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  margin: 36px auto 0;
  padding: clamp(20px, 3vw, 46px);
  color: #391622;
  background: #f5b4a5;
  border: 1px solid #db9488;
  box-shadow: 4px 5px 0 #cf9c91;
}
.imprint, .announcement { grid-column: 1 / -1; }
.imprint { padding-bottom: 10px; border-bottom: 4px double; font: 600 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
h1 { margin-block: 35px; font: bold clamp(43px, 6.4vw, 96px)/.91 var(--sans); letter-spacing: -.085em; }
h1 span, h1 em { display: block; }
h1 em { font-family: var(--serif); font-weight: 500; }
.handoff { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.announcement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 17px;
  border-top: 3px solid;
}
.announcement p { max-width: 49ch; font-size: clamp(18px, 1.65vw, 23px); line-height: 1.35; }
.read-letter { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; font: 12px/1.4 var(--mono); white-space: nowrap; }
.letter { margin-block: clamp(52px, 7vw, 88px) 60px; }
.letter-head, .entry, .close { display: grid; grid-template-columns: minmax(140px, .65fr) minmax(0, 1.7fr); gap: 6%; }
.byline p { margin-bottom: 7px; font: 11px/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: #795149; }
.byline span { font: italic 22px/1.2 var(--serif); }
.prose { max-width: 680px; font: 21px/1.54 var(--serif); }
.prose p + p { margin-top: .9em; }
h2 { margin-bottom: 22px; font: italic 400 clamp(37px, 4.8vw, 72px)/1.04 var(--serif); letter-spacing: -.06em; }
#companies { margin-top: 40px; }
.entry { border-top: 1px solid var(--rule); padding-block: 30px; }
.margin h3 { font: 400 clamp(26px, 2.9vw, 43px)/1.1 var(--serif); letter-spacing: -.047em; }
.margin a { text-decoration-thickness: 1px; }
.margin a span { font: 16px var(--sans); }
.close {
  align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}
.close .prose { grid-column: 2; grid-row: 1; }
.close p { font-style: italic; }
.signature { display: block; margin-top: 16px; font: italic 38px/1.2 var(--serif); letter-spacing: -.07em; }
.stamp-scene { grid-column: 1; grid-row: 1; justify-self: center; position: relative; width: min(82%, 240px); margin: 12px 0 20px; }
.stamp-shadow { transform: rotate(-8deg); filter: drop-shadow(1px 5px 2px #342d2523); }
.stamp { padding: 10px; background: #fffcf2; color: #30396c; --cut: radial-gradient(circle at 8px 0, transparent 3.4px, #000 3.9px) 0 0/16px 52% repeat-x, radial-gradient(circle at 8px 100%, transparent 3.4px, #000 3.9px) 0 100%/16px 52% repeat-x; mask: var(--cut); }
.stamp::before, .stamp::after { content: ""; position: absolute; top: 0; bottom: 0; width: 6px; background: radial-gradient(circle at 0 8px,var(--paper) 3.4px,transparent 3.9px) 0 0/7px 16px repeat-y; }
.stamp::before { left: 0; }
.stamp::after { right: 0; transform: rotate(180deg); }
.stamp-print { position: relative; isolation: isolate; overflow: hidden; border: 3px double #49517b; background: #d6d9ea; padding: 6px 8px 4px; }
.stamp-print::after { pointer-events: none; content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 2px, #202d460d 2px 3px); }
.stamp-print img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; margin-top: -2px; }
.stamp-top { display: flex; justify-content: space-between; align-items: center; }
.stamp-top b { font: italic 20px/1 var(--serif); letter-spacing: -.12em; }
.stamp-top span { font: 8px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.cancel { color: #a04d37; position: absolute; bottom: -16px; right: -19px; width: 43%; transform: rotate(11deg); opacity: .88; }
footer { border-top: 1px solid var(--rule); padding-block: 24px 35px; }
@media (max-width: 680px) {
  .frame { width: calc(100% - 36px); }
  .mast { flex-wrap: wrap; min-height: 58px; gap: 3px 14px; padding-block: 10px; }
  .wordmark { font-size: 17px; }
  nav, footer { font-size: 10px; }
  nav { gap: 12px; }
  .poster { grid-template-columns: 1fr; margin-top: 22px; padding: 18px; }
  .imprint { font-size: 9px; }
  h1 { font-size: clamp(47px, 12.8vw, 80px); margin-block: 21px 4px; }
  .handoff { justify-self: end; width: min(85%, 365px); }
  .announcement { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .letter-head, .entry, .close { grid-template-columns: 1fr; gap: 17px; }
  .byline { display: flex; align-items: baseline; gap: 9px; }
  .byline span { font-size: 16px; }
  .prose { font-size: 19px; }
  .close .prose { grid-column: 1; grid-row: auto; }
  .stamp-scene { grid-row: auto; width: min(62%, 210px); justify-self: end; margin: 5px 24px 12px 0; }
  h2 { margin-bottom: 17px; }
}
