:root {
  color-scheme: light;
  --canvas: #f6f4ee;
  --ink: #291f20;
  --wine: #681c32;
  --berry: #922a44;
  --muted: #625955;
  --line: #cec8bc;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font: 1rem/1.55 var(--sans);
}
a { color: inherit; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
::selection { background: #efc7ce; color: #35141d; }
.wrap { width: min(81rem, 89%); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: fixed; top: 1rem; left: 1rem; z-index: 5; padding: .5rem; background: white; }

.masthead {
  min-height: 5.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font: 600 1.45rem/1.1 var(--serif);
  letter-spacing: -.055em;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  gap: 3px;
  align-content: center;
  width: 1.65rem;
  height: 1.65rem;
  color: var(--berry);
  transform: rotate(-15deg);
}
.brand-mark i { display: block; height: 4px; background: currentColor; }
.brand-mark i:first-child { width: 65%; justify-self: end; }
.brand-mark i:last-child { width: 68%; }
.masthead nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
.masthead nav a { padding-block: .55rem; font-size: .93rem; text-decoration-thickness: 1px; text-underline-offset: .3em; text-decoration-color: transparent; }
.masthead nav a:hover { text-decoration-color: currentColor; }

.hero {
  display: grid;
  grid-template-columns: .86fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.7rem, 5.3vw, 5.8rem) clamp(3.6rem, 6.5vw, 7rem);
}
.label, .status, .match-title {
  font: 600 .69rem/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: .065em;
}
.label { color: var(--berry); }
h1 {
  margin: .95rem 0 1.25rem;
  font-size: clamp(4.6rem, 7.3vw, 7.7rem);
  line-height: .93;
  letter-spacing: -.07em;
}
h1 em { color: var(--wine); }
.intro { max-width: 30rem; font-size: clamp(1rem, 1.3vw, 1.16rem); }
.button {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.7rem;
  min-height: 3.15rem;
  padding: .65rem 1.2rem;
  border-radius: 2px;
  color: white;
  background: var(--wine);
  font-size: .95rem;
  text-decoration: none;
}
.button:hover { background: var(--berry); }
.button:focus-visible { outline-color: var(--wine); }
.button span { font-size: 1.2rem; }
.desk {
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.17;
  color: #fff3e0;
  background-color: #532030;
  background-image: linear-gradient(90deg, #ffe7ce0b 1px, transparent 1px),
    linear-gradient(#ffe7ce0b 1px, transparent 1px),
    linear-gradient(142deg, #783347 0%, #511f2e 50%, #381520 100%);
  background-size: 2rem 2rem, 2rem 2rem, auto;
}
.sheet {
  position: absolute;
  top: 8%;
  left: 9%;
  width: 75%;
  padding: 5% 5.5% 7%;
  background: #faf5e8;
  color: #302322;
  box-shadow: .7rem 1rem 1.5rem #2207114d;
  transform: rotate(-6deg);
}
.sheet::after {
  content: "";
  position: absolute;
  inset: auto 0 -5px;
  height: 6px;
  background: linear-gradient(135deg, #faf5e8 25%, transparent 25%) -5px 0,
    linear-gradient(225deg, #faf5e8 25%, transparent 25%) -5px 0;
  background-size: 10px 10px;
}
.paper-head { display: flex; align-items: center; justify-content: space-between; gap: .25rem; padding-bottom: 3%; border-bottom: 1px solid #a99c88; }
.paper-head, .order, .desk table, .note p, .note span, .desk figcaption { font-family: var(--mono); }
.paper-head { font-size: clamp(.65rem, 2.3cqw, .9rem); }
.mini-mark { color: var(--wine); font-size: 2em; line-height: .9; font-weight: bold; }
.sheet-title { margin-top: 5%; font: 400 clamp(1.65rem, 7.2cqw, 3.1rem)/1.1 var(--serif); letter-spacing: -.07em; }
.order { margin: 1% 0 5%; color: #655648; font-size: clamp(.61rem, 2.1cqw, .84rem); }
.desk table { width: 100%; border-collapse: collapse; font-size: clamp(.65rem, 2.45cqw, .94rem); text-align: left; }
.desk th, .desk td { padding: .52em .38em; white-space: nowrap; }
.desk th { padding-block: .28em; color: #655648; border-block: 1px solid #b2a595; font-size: .88em; font-weight: 400; }
.desk td { border-bottom: 1px dotted #aa9a86; }
.desk tr > :last-child { text-align: right; }
.flagged { background: #f2d6d1; }
.note {
  position: absolute;
  right: 6%;
  bottom: 10%;
  width: 52%;
  padding: 3% 4.5%;
  color: #fff9ea;
  background: #9b3546;
  box-shadow: .15rem .6rem 1rem #27081038;
  transform: rotate(5deg);
}
.note p { font-size: clamp(.65rem, 2.25cqw, .87rem); }
.note strong { display: block; font: 400 clamp(2.25rem, 10cqw, 4.6rem)/1.05 var(--serif); letter-spacing: -.07em; }
.note small { font-size: .55em; }
.note span { display: block; margin-top: 4%; border-top: 1px solid #ffffff69; padding-top: 4%; font-size: clamp(.59rem, 1.95cqw, .78rem); }
.desk figcaption { position: absolute; left: 5%; bottom: 3.8%; color: #f5dacd; font-size: clamp(.61rem, 1.9cqw, .76rem); }

.services { border-top: 1px solid var(--line); padding-block: clamp(2.6rem, 4.8vw, 4.3rem) clamp(4rem, 7.5vw, 7.5rem); }
h2 { font-size: clamp(2.8rem, 5.7vw, 5.8rem); line-height: 1.06; letter-spacing: -.065em; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(2rem, 3.5vw, 3.6rem); }
.service-grid article { padding-right: clamp(2rem, 5.5vw, 6rem); }
.service-grid article + article { border-left: 1px solid var(--line); padding: 0 0 0 clamp(2rem, 5.5vw, 6rem); }
.status { display: flex; align-items: center; gap: .6rem; color: var(--wine); }
.status-dot { width: .54rem; height: .54rem; flex: none; border: 1.5px solid var(--berry); border-radius: 50%; background: var(--berry); }
.status-dot.hollow { background: transparent; }
h3 { max-width: 11em; margin: 1rem 0 1.1rem; font-size: clamp(2.1rem, 3.5vw, 3.55rem); line-height: 1.07; letter-spacing: -.055em; }
.service-grid article > p:not(.status) { max-width: 39rem; color: #514744; }
.service-grid article > p + p { margin-top: .8rem; }
.match { margin-top: 1.4rem; padding: .95rem 1.1rem; background: #eae6dc; }
.match-title { margin-bottom: .55rem; color: var(--wine); }
.match dl { font-size: .88rem; }
.match dl > div { display: grid; grid-template-columns: 6.2rem 1fr; gap: .6rem; padding-block: .35rem; border-top: 1px solid #cfc8bb; }
.match dt { color: var(--muted); }

.contact { color: #fff4e9; background: #4d1d2a; }
.contact-inner { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-block: clamp(3.5rem, 6vw, 6rem); }
.contact-inner > div { max-width: 39rem; }
.contact h2 { font-size: clamp(2.85rem, 5.3vw, 5.6rem); }
.contact h2 em { color: #efbbc3; }
.contact p { margin-top: 1.15rem; max-width: 35rem; color: #ead9d7; }
.email { display: inline-block; flex-shrink: 0; max-width: 40%; overflow-wrap: anywhere; font-size: clamp(1.15rem, 2vw, 1.75rem); line-height: 1.4; text-decoration-thickness: 1px; text-underline-offset: .23em; }
.email span { color: #efbbc3; }
footer.wrap { display: grid; grid-template-columns: .55fr 1fr; align-items: start; gap: 2rem; padding-block: clamp(2.5rem, 4vw, 4rem); }
.legal { display: grid; gap: .4rem; font-size: .84rem; overflow-wrap: anywhere; }
.legal > div { display: grid; grid-template-columns: 9.25rem 1fr; gap: 1rem; }
.legal dt { color: var(--muted); }
.legal a { text-underline-offset: .15em; }
.policy-link { max-width: 16rem; margin-top: .85rem; font-size: .86rem; }
.policy-link a, .policy a { color: var(--wine); text-underline-offset: .16em; }
.policy { padding-block: clamp(2.4rem, 5vw, 5rem); overflow-wrap: anywhere; }
.policy h1 { max-width: 14em; font-size: clamp(2.35rem, 6vw, 5rem); line-height: 1.04; }
.policy h2 { margin-block: 1.8rem .6rem; font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -.045em; }
.policy p { max-width: 47rem; margin-block: .6rem; }
.policy-owner { max-width: 47rem; margin-top: 1rem; }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr 1fr; gap: 2rem; }
  h1 { font-size: clamp(3.9rem, 9vw, 5.3rem); }
  .desk { aspect-ratio: .91; }
  .sheet { top: 14%; }
  .note { bottom: 14%; }
  .contact-inner { flex-direction: column; align-items: start; }
  .email { max-width: 100%; }
}
@media (max-width: 40rem) {
  .wrap { width: min(90%, 34rem); }
  .masthead { min-height: 4.25rem; }
  .brand, .footer-brand { gap: .4rem; font-size: 1.2rem; }
  .brand-mark { width: 1.3rem; }
  .masthead nav { gap: .8rem; }
  .masthead nav a { font-size: .83rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.8rem 3rem; }
  h1 { font-size: clamp(4.1rem, 15vw, 6.1rem); }
  .desk { aspect-ratio: 1.1; }
  .sheet { top: 10%; }
  .note { bottom: 12%; }
  .service-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-grid article { padding: 0; }
  .service-grid article + article { border: 0; border-top: 1px solid var(--line); padding: 2rem 0 0; }
  .contact-inner { gap: 1.4rem; }
  footer.wrap { grid-template-columns: 1fr; gap: 1.4rem; }
  .legal > div { grid-template-columns: minmax(7.5rem, .85fr) 1.2fr; gap: .7rem; }
}
