:root {
  color-scheme: light;
  --ink: #132a35;
  --muted: #425967;
  --teal: #165b56;
  --deep: #102e37;
  --paper: #f8f7f2;
  --white: #fff;
  --kraft: #ead5ae;
  --line: #cbd4d3;
  --shell: 73rem;
  font: 100%/1.6 system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: var(--teal); text-underline-offset: .19em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: .18rem solid #237f76; outline-offset: .22rem; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--kraft); }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0 0 .75rem; line-height: 1.13; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.045em; }
h1 { font-size: clamp(2.55rem, 6vw, 4.85rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.18rem; }
.shell { width: min(calc(100% - 3rem), var(--shell)); margin-inline: auto; }
.readable { max-width: 72ch; }
.content { padding-block: clamp(2.6rem, 7vw, 5rem); }
.section { margin-block: clamp(2.8rem, 7vw, 5rem); }
.section:first-child { margin-top: 0; }
.section:last-child { margin-bottom: 0; }
.eyebrow { margin-bottom: .7rem; color: var(--teal); font-size: .875rem; font-weight: 750; text-transform: uppercase; letter-spacing: .11em; }
.lede { max-width: 56ch; font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--muted); margin-block: 1.2rem 0; }
.subtle-link { display: inline-block; margin-top: 1.2rem; font-weight: 650; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-150%); padding: .5rem .8rem; background: var(--white); z-index: 2; }
.skip:focus { transform: none; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem 2rem; padding-block: 1.15rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: inherit; font-size: 1.15rem; font-weight: 750; text-decoration: none; letter-spacing: -.035em; }
.brand-mark { position: relative; display: inline-block; overflow: hidden; width: 1.65rem; height: 1.14rem; border: 1.5px solid currentColor; border-radius: .13rem; }
.brand-mark::after { content: ''; position: absolute; width: 1.12rem; height: 1.12rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; top: -.68rem; left: .17rem; transform: rotate(45deg); }
.header-inner nav, .footer-inner nav { display: flex; flex-wrap: wrap; gap: .2rem clamp(1rem, 3vw, 2rem); }
.header-inner nav a, .footer-inner nav a { color: inherit; text-decoration: none; font-size: .93rem; font-weight: 650; padding-block: .35rem; }
.header-inner nav a:hover, .header-inner nav a[aria-current], .footer-inner nav a:hover { text-decoration: underline; }
.site-footer { background: var(--deep); color: #f8f7f2; }
.footer-inner { padding-block: 2rem; }
.footer-inner p { margin: .25rem 0 0; color: #d0dedf; }

.hero { overflow: hidden; color: var(--white); background: var(--deep); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(1.5rem, 6vw, 5rem); padding-block: clamp(3rem, 8vw, 6.5rem); }
.hero h1 { max-width: 12ch; }
.hero .eyebrow { color: var(--kraft); }
.hero .lede { color: #d9e5e6; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
button, .button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; padding: .65rem 1.05rem;
  border: 1px solid transparent; border-radius: .28rem; background: var(--teal); color: var(--white);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
button:hover, .button:hover { background: #124844; }
.secondary { border-color: var(--teal); color: var(--teal); background: transparent; }
.secondary:hover { background: #e6eeeb; }
.hero .button { background: var(--kraft); color: var(--deep); }
.hero .button:hover { background: #f7e5c4; }
.hero .secondary { border-color: #a6b9ba; background: transparent; color: var(--white); }
.hero .secondary:hover { background: #254651; }
button:disabled { background: #526967; cursor: default; }

.postal-art {
  position: relative; aspect-ratio: 5 / 4; isolation: isolate; max-width: 30rem; width: 100%; margin-inline: auto;
  border: 1px solid #41606a; background-color: #153640;
  background-image: linear-gradient(90deg, #35535b 1px, transparent 1px), linear-gradient(#35535b 1px, transparent 1px);
  background-size: 1.4rem 1.4rem;
}
.art-sheet, .art-envelope { position: absolute; width: 64%; height: 51%; left: 16%; top: 25%; border-radius: .16rem; box-shadow: 0 .7rem 1.5rem #0b232a66; }
.art-sheet.back { background: #73a39f; transform: translate(-8%, 20%) rotate(-12deg); }
.art-sheet.middle { background: #cead7a; transform: translate(11%, -13%) rotate(11deg); }
.art-envelope { background: #f7e8c8; border: 1px solid #dbbf8e; }
.stamp { display: grid; place-items: center; position: absolute; top: 12%; right: 7%; width: 20%; aspect-ratio: 1; border: 1px dashed #375b55; color: var(--deep); background: #d4ded1; font: 700 clamp(.8rem, 2vw, 1.25rem) Georgia, serif; }
.address-lines { position: absolute; width: 29%; height: 20%; left: 13%; bottom: 21%; opacity: .7; background: repeating-linear-gradient(to bottom, #765c37 0 1px, transparent 1px 33%); }
.art-length, .art-width { position: absolute; color: #f6e9d2; font-size: .875rem; font-family: ui-monospace, monospace; }
.art-length { bottom: 6%; left: 31%; width: 36%; border-top: 1px solid #a1b5b3; text-align: center; }
.art-width { right: 1.5%; top: 29%; height: 38%; border-right: 1px solid #a1b5b3; writing-mode: vertical-rl; text-align: center; }

.page-hero { border-bottom: 1px solid var(--line); background: #eaf0ed; padding-block: 1.4rem clamp(2.4rem, 6vw, 4.25rem); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.35rem, 5.2vw, 4.35rem); }
.crumbs { margin-bottom: 1.75rem; }
.crumbs ol { display: flex; gap: .55rem; padding: 0; margin: 0; flex-wrap: wrap; list-style: none; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: .55rem; }
.category-group { margin-top: 2rem; }
.group-title { font-size: 1rem; font-weight: 750; border-bottom: 1px solid var(--line); padding-bottom: .65rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.card { position: relative; border: 1px solid var(--line); border-radius: .36rem; padding: 1.15rem; background: var(--white); }
.card:hover, .card:focus-within { border-color: var(--teal); background: #fcfdfb; }
.card p { margin: 0; color: var(--muted); }
.card .card-title { margin: .75rem 0 .35rem; font-size: 1.12rem; font-weight: 750; }
.card a { color: var(--ink); }
.card a::after { content: ''; position: absolute; inset: 0; }
.category-icon { position: relative; width: 2.5rem; height: 1.66rem; color: var(--teal); background: #e6eeeb; border: 1px solid currentColor; border-radius: .15rem; overflow: hidden; }
.category-icon.envelope::before { content: ''; position: absolute; width: 1.6rem; height: 1.6rem; left: .4rem; top: -.95rem; transform: rotate(45deg); border: solid; border-width: 0 1px 1px 0; }
.category-icon.box { background: var(--kraft); color: #63471e; }
.category-icon.box::before { content: ''; display: block; border-bottom: 1px solid; height: 45%; }
.category-icon.box::after { content: ''; display: block; margin: auto; width: .5rem; height: .4rem; border: 1px solid; border-top: 0; }
.category-icon.shred { background: repeating-linear-gradient(135deg, #d3ddd5 0 3px, #f5f7f4 3px 7px); }

.table-scroll { overflow-x: auto; margin-block: 1rem; border: 1px solid var(--line); border-radius: .35rem; background: var(--white); }
table { border-collapse: collapse; width: 100%; text-align: left; }
caption { text-align: left; padding: .7rem .85rem; font-weight: 700; }
th, td { padding: .75rem .85rem; border-top: 1px solid var(--line); vertical-align: top; }
thead th { background: #e7eeeb; }
tbody th { min-width: 8rem; }
tbody td { min-width: 7rem; }
tbody tr:nth-child(even) { background: #f3f6f4; }
.source { color: var(--muted); font-size: .92rem; }
ul.source { padding-left: 1.2rem; }
.guide-section { margin-top: 1.65rem; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { padding: .8rem .05rem; font-weight: 700; cursor: pointer; }
details p { margin-left: 1rem; }
.notice { border-left: .25rem solid #997443; padding: .7rem .9rem; background: #f0e3c9; margin-block: 1.1rem; }

.waitlist, .finder { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: .36rem; }
.waitlist { background: #f0e3c9; border-color: #d0b98e; }
.waitlist h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); }
.waitlist p { margin-bottom: 0; }
label { display: block; font-size: .94rem; font-weight: 700; margin-bottom: .25rem; }
input, select { width: 100%; min-height: 2.85rem; border: 1px solid #7f9595; border-radius: .25rem; background: var(--white); color: var(--ink); font: inherit; padding: .55rem .65rem; }
input:disabled { background: #f9f4e9; }
.form-line { display: flex; gap: .5rem; align-items: start; }
.form-line button { flex: 0 0 auto; }
select { appearance: none; padding-right: 2.15rem; background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 1.04rem center / .38rem .38rem no-repeat, linear-gradient(135deg, var(--ink) 50%, transparent 50%) right .68rem center / .38rem .38rem no-repeat, var(--white); }
.finder { grid-template-columns: 1.15fr .85fr; align-items: stretch; background: var(--white); }
.finder-result { background: #e9efeb; border-radius: .3rem; padding: 1.25rem; overflow-wrap: anywhere; }
.finder-result h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.measurements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-block: 1rem; align-items: end; }
.result-format { display: inline-block; padding: .25rem .6rem; border-radius: .2rem; background: var(--teal); color: var(--white); font-weight: 700; }

@media (max-width: 53rem) {
  .shell { width: calc(100% - 2rem); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .waitlist, .finder { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .hero-inner, .card-grid { grid-template-columns: 1fr; }
  .postal-art { max-width: 26rem; }
}
@media (max-width: 30rem) {
  .form-line { flex-direction: column; }
  .measurements { grid-template-columns: 1fr; }
}
