@font-face {
  font-family: Jost; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/brand/fonts/jost-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1EFF;
}
@font-face {
  font-family: Jost; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/brand/fonts/jost-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF;
}
@font-face {
  font-family: Newsreader; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/brand/fonts/newsreader-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1EFF;
}
@font-face {
  font-family: Newsreader; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/brand/fonts/newsreader-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: Bodoni; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("/assets/brand/fonts/bodoni-moda-italic-latin.woff2") format("woff2");
}
:root {
  --paper: #fbf8f1;
  --ink: #24221f;
  --quiet: #59554e;
  --rule: #d7d0c1;
  --brass: #826137;
  --display: Newsreader, Georgia, serif;
  --italic: Bodoni, Georgia, serif;
  --gutter: clamp(20px, 6vw, 94px);
  color: var(--ink);
  background: var(--paper);
  font: 100%/1.55 Jost, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body, h1, h2, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1100px); margin-inline: auto; }
:focus-visible { outline: 3px solid #a04721; outline-offset: 4px; }
.mast { background: var(--paper); }
.mast nav {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  min-height: 76px; border-bottom: 1px solid var(--ink);
}
.mast a { display: inline-flex; align-items: center; min-height: 44px; }
.back, .contact { gap: .6em; font-size: .98rem; font-weight: 540; }
.back { justify-self: start; }
.contact { justify-self: end; }
.back span, .contact span { color: var(--brass); }
.wordmark {
  width: 247px; justify-content: center; white-space: nowrap;
  gap: .55em; text-transform: uppercase; letter-spacing: .12em; font-weight: 750; font-size: .91rem;
}
.wordmark img { display: block; flex: none; width: 44px; height: auto; filter: brightness(0); }
.wordmark sup { margin-inline-start: .14em; color: #000; font-size: .68em; line-height: 0; vertical-align: .72em; letter-spacing: .04em; }
.mast a:hover, .email:hover { color: #885321; }
.hero { overflow: hidden; }
.hero-inner {
  position: relative; isolation: isolate; padding-block: clamp(60px, 7vw, 100px);
  border-bottom: 3px double #aa9e87;
}
.eyebrow, .foot-label {
  font-size: .74rem; line-height: 1.3; font-weight: 650; letter-spacing: .17em; text-transform: uppercase;
}
.year { display: flex; align-items: center; gap: .7em; color: var(--quiet); }
.year::before { content: ""; width: 32px; border-top: 2px solid var(--brass); margin-right: .28em; }
.year strong { color: var(--ink); font-weight: 720; }
h1, h2, legend { font-family: var(--display); font-optical-sizing: auto; }
h1 { font-weight: 480; }
.title-word {
  display: block; width: fit-content; margin: .28em 0 .11em -.035em;
  font-size: clamp(4.1rem, 8vw, 7.25rem); letter-spacing: -.058em; line-height: .98;
}
.edition {
  position: absolute; top: 50%; right: 0; transform: translateY(-50%);
  display: grid; place-items: center; width: 40%; height: 88%;
}
.numerals {
  position: relative; padding-right: .09em;
  font: italic 550 clamp(7rem, 13vw, 12rem)/1 var(--italic);
  letter-spacing: -.055em; color: #29271f;
}
.engraving {
  position: absolute; width: min(85%, 24vw, 326px); aspect-ratio: 1;
  transform: scaleX(1.22); pointer-events: none;
}
.engraving i {
  position: absolute; inset: 24% 1%; border: 1px solid #d0c5ac;
  border-radius: 50%; transform: rotate(var(--angle, 0deg));
}
.engraving i:nth-child(2) { --angle: 15deg; } .engraving i:nth-child(3) { --angle: 30deg; }
.engraving i:nth-child(4) { --angle: 45deg; } .engraving i:nth-child(5) { --angle: 60deg; }
.engraving i:nth-child(6) { --angle: 75deg; } .engraving i:nth-child(7) { --angle: 90deg; }
.engraving i:nth-child(8) { --angle: 105deg; } .engraving i:nth-child(9) { --angle: 120deg; }
.engraving i:nth-child(10) { --angle: 135deg; } .engraving i:nth-child(11) { --angle: 150deg; }
.engraving i:nth-child(12) { --angle: 165deg; }
.lead { max-width: min(48%, 40ch); color: var(--quiet); font-size: clamp(1.08rem, 1.65vw, 1.32rem); line-height: 1.48; }
.lead strong { color: var(--ink); font-weight: 680; white-space: nowrap; }
.sheet { padding-bottom: clamp(44px, 6vw, 88px); }
.beneficiary {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.22fr);
  gap: clamp(24px, 5vw, 72px); padding-block: clamp(30px, 4.7vw, 64px);
  border-bottom: 1px solid var(--rule);
}
.beneficiary .eyebrow { color: var(--brass); margin-bottom: 16px; }
h2 { max-width: 15ch; font-size: clamp(2.05rem, 3.8vw, 3.5rem); line-height: 1.04; letter-spacing: -.042em; font-weight: 640; text-wrap: balance; }
.beneficiary dl { display: grid; grid-template-columns: 1.18fr 1fr; align-content: start; gap: 22px 28px; }
dt, .foot-label { color: var(--quiet); }
dt { font-size: .84rem; }
dd { margin-top: 4px; font-size: 1.02rem; line-height: 1.44; font-weight: 520; overflow-wrap: anywhere; }
.bank-account { font-variant-numeric: tabular-nums; }
.bank-account small { display: block; margin-top: 3px; color: var(--quiet); font-weight: 400; }
.email { text-decoration: underline; text-decoration-color: #b8aa91; text-underline-offset: 4px; }
.pending, [role=alert]:not([hidden]) {
  margin-top: 26px; padding: 10px 0 10px 17px; border-left: 2px solid var(--brass); color: var(--quiet);
}
.pending strong { color: var(--ink); }
[role=alert]:not([hidden]) { border-color: #a43220; color: #912d1f; }
fieldset, details { min-width: 0; margin: clamp(32px, 4.8vw, 60px) 0 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 20px; font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 520; letter-spacing: -.035em; line-height: 1.1; }
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 26px; }
.grid label { grid-column: span 2; min-width: 0; font-weight: 570; }
.grid .field-last { grid-column: span 3; }
.grid .field-initial, .grid .field-number, .grid .field-block, .grid .field-stair, .grid .field-floor, .grid .field-apt { grid-column: span 1; }
.grid .field-street { grid-column: span 5; }
.grid small { font-size: .83em; color: var(--quiet); font-weight: 400; }
.grid input, canvas {
  width: 100%; background: #fffdfa; color: var(--ink); border: 1px solid #91866f; border-radius: 3px;
}
.grid input { display: block; min-height: 46px; padding: 8px 12px; margin-top: 6px; }
.grid input:disabled, .preview canvas { background: #f3f0e8; border-color: #c8beac; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding-block: 10px; max-width: 75ch; min-height: 44px; }
.choice input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
details { padding-block: 5px; border-block: 1px solid var(--rule); }
summary { cursor: pointer; padding-block: 14px; font-weight: 620; }
summary::marker { color: var(--brass); }
details p { max-width: 75ch; margin: 0 0 16px; }
details a { text-decoration: underline; text-underline-offset: 4px; }
.signature-help { margin: 19px 0 8px; }
canvas { display: block; height: clamp(105px, 17vw, 155px); touch-action: none; }
.preview canvas { touch-action: auto; }
.action, button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; cursor: pointer;
  border-radius: 2px; padding: .65em 1.35em; font-weight: 600;
}
.action { margin-top: 16px; color: white; background: var(--ink); border: 1px solid var(--ink); }
.action:hover { background: #463e32; }
#clear { margin-top: 10px; background: transparent; border: 1px solid #81755f; color: var(--ink); }
button:disabled { cursor: default; }
#taxform > p { margin-top: 22px; max-width: 68ch; }
main:not(:has(.sheet)) { width: min(calc(100% - 2 * var(--gutter)), 890px); margin: 70px auto; }
main:not(:has(.sheet)) h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; }
main:not(:has(.sheet)) .action { margin-bottom: 14px; }
.site-foot { background: #211f1c; color: #fffaf0; }
.standard {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(12px, 4vw, 60px); padding-block: clamp(48px, 6.8vw, 94px);
  border-bottom: 3px double #796f5f;
}
.standard img { width: min(100%, clamp(90px, 13vw, 180px)); height: auto; }
.standard img:last-child { justify-self: end; }
.motto { text-align: center; }
.motto span { display: block; font: italic 450 clamp(1.6rem, 3.5vw, 3.3rem)/1.2 var(--italic); color: #d7c5a6; }
.motto strong { display: block; margin-top: .15em; font: 560 clamp(3.8rem, 8.3vw, 7.4rem)/.9 var(--display); letter-spacing: -.052em; text-transform: uppercase; }
.colophon { display: grid; grid-template-columns: 1.12fr 1.32fr auto; gap: 28px; padding: 28px 0 40px; align-items: start; }
.identity a { display: block; font-family: var(--display); font-size: 1.45rem; line-height: 1.2; font-weight: 600; }
.identity span { display: block; margin-top: 6px; font-size: .87rem; color: #d7cdbd; }
.colophon address, .foot-contact { font-size: .96rem; font-style: normal; line-height: 1.55; }
.foot-label { display: block; font-size: .69rem; color: #cbb99c; margin-bottom: 7px; }
.foot-contact { display: block; width: fit-content; min-height: 44px; }
.foot-contact span[aria-hidden] { color: #d7c5a6; }
.colophon a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 800px) {
  .beneficiary { grid-template-columns: minmax(0,.9fr) minmax(0,1.3fr); gap: 22px; }
  .beneficiary dl { gap: 15px; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .grid :where(label)[class] { grid-column: span 1; }
  .grid .field-street { grid-column: 1 / -1; }
  .colophon { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .identity { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .mast nav { min-height: 62px; }
  .wordmark { width: auto; gap: .42em; font-size: .70rem; letter-spacing: .08em; }
  .wordmark img { width: clamp(26px, 8vw, 37px); }
  .back, .contact { gap: .25em; font-size: .89rem; }
  .hero-inner { padding-block: 34px 28px; text-align: center; }
  .year { justify-content: center; font-size: .7rem; }
  .year::before, .year::after { content: ""; width: 23px; border-top: 1px solid var(--brass); margin: 0; }
  .title-word { margin: 20px auto 0; font-size: clamp(3.35rem, 12vw, 4.75rem); }
  .edition { position: relative; inset: auto; transform: none; width: min(74%, 278px); height: clamp(120px, 34vw, 165px); margin: 4px auto 16px; }
  .engraving { width: clamp(112px, 32vw, 150px); transform: scaleX(1.38); }
  .numerals { font-size: clamp(5.2rem, 19vw, 7.7rem); }
  .lead { max-width: min(100%, 36ch); margin-inline: auto; font-size: 1.06rem; }
  .beneficiary { grid-template-columns: 1fr; padding-block: 27px; gap: 20px; }
  .beneficiary .eyebrow { margin-bottom: 10px; }
  h2 { max-width: 100%; font-size: clamp(2rem, 6.8vw, 2.55rem); }
  .beneficiary dl { gap: 16px 18px; }
  .grid .field-street, .grid .field-taxid { grid-column: 1 / -1; }
  .standard { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 9px; padding-block: 40px; }
  .standard img { width: min(100%, 88px); }
  .motto span { font-size: clamp(1.2rem, 4.8vw, 1.8rem); }
  .motto strong { font-size: clamp(2rem, 8vw, 3rem); }
  .colophon { grid-template-columns: 1fr; gap: 20px; padding-bottom: 34px; }
  .pending strong { display: block; }
}
@media (max-width: 420px) {
  .mast nav { width: calc(100% - 28px); }
  .beneficiary dl { grid-template-columns: 1fr; gap: 0; }
  .beneficiary dl div { display: grid; grid-template-columns: minmax(85px,.85fr) minmax(0,1.4fr); gap: 12px; align-items: baseline; border-top: 1px solid var(--rule); padding-block: 9px; }
  dd { margin: 0; }
  .grid .field-last, .grid .field-first, .grid .field-city, .grid .field-county { grid-column: 1 / -1; }
}
