/* Contact. The sheet turns into a till receipt. Completely static: no motion, no scripts. */

/* ---- Two huge list lines ---------------------------------------------------- */
.reach { border-top: var(--hair) solid var(--rule); }
.reach-line { padding-block: .14em .14em; }
.reach-line a {
  display: inline-flex; align-items: center; min-height: 2.75rem; max-width: 100%;
  color: var(--pen); overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-thickness: .05em; text-underline-offset: .12em;
}
.reach-line a:hover { text-decoration-thickness: .1em; }
.reach-call { font-size: clamp(1.75rem, 11vw, 10rem); }
.reach-mail { font-size: clamp(1.5rem, 7vw, 7rem); }

/* ---- What to ask: three ruled, ticked lines ---------------------------------- */
.ask-lead { max-width: 30em; margin-bottom: calc(var(--line) * .5); font-size: .9375rem; }
.asks { max-width: 40rem; border-top: var(--hair) solid var(--rule); }
.asks li {
  display: flex; align-items: center; gap: 1rem; min-height: var(--line);
  border-bottom: var(--hair) solid var(--rule);
  font-size: clamp(1rem, .9rem + .6vw, 1.25rem); line-height: 1.35;
}
.asks .tick { width: 1.5em; height: 1.5em; }
.ask-n { margin-left: auto; padding-left: .5rem; font-size: .75rem; letter-spacing: .06em; color: var(--ink-soft); }

/* ---- The receipt -------------------------------------------------------------- */
.receipt-sheet { padding-bottom: calc(var(--line) * 1.5); }
.rc-stage { min-width: 0; }
.receipt {
  max-width: 26rem; margin-inline: auto;
  /* the light falls from the upper left, as in every photograph: a hard shadow to the lower right */
  filter: drop-shadow(.25rem .25rem 0 rgba(20, 21, 26, .14));
}
/* The torn edges: a zigzag of paper-white teeth, pointing up on top and down below. */
.receipt::before, .receipt::after { content: ""; display: block; height: .5rem; background: var(--paper-white); }
.receipt::before {
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 1rem 100%;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 1rem 100%;
}
.receipt::after {
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 1rem 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 1rem 100%;
}
.rc-body {
  padding: .75rem 1.25rem 1rem; background: var(--paper-white);
  font-family: var(--mono); font-size: .875rem; line-height: 1.55;
}
.rc-body > * + * { margin-top: 1rem; }
.rc-title {
  font-family: var(--mono); font-size: .8125rem; line-height: 1.5; letter-spacing: .12em;
  text-transform: uppercase; text-align: center;
}
.rc-sub { margin-top: .25rem !important; text-align: center; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }

/* Line items joined to "yes" by dotted leaders */
.rc-items { margin-top: 1.25rem !important; }
.rc-items li { display: flex; align-items: baseline; gap: .5rem; padding-block: .4rem; }
.rc-dots {
  flex: 1 1 .75rem; min-width: .75rem; align-self: flex-end; margin-bottom: .5em;
  border-bottom: .125rem dotted var(--ink-soft);
}
.rc-yes { text-transform: uppercase; letter-spacing: .09em; }
.rc-body .rule--dotted { margin-top: .5rem; }

.rc-total {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem;
  font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
}

/* Address, phone, email, hours */
.rc-body .tally > div:last-child { border-bottom: 0; }
.rc-body .link { display: inline-flex; align-items: center; min-height: 2.75rem; }
.rc-body address { text-align: right; }

/* Page links */
.rc-nav .t-note { margin-bottom: .25rem; }
.rc-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.rc-links a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .3em;
}
.rc-links a:hover, .rc-links a:focus-visible { color: var(--pen); text-decoration-color: currentColor; }
.rc-links a[aria-current="page"] { color: var(--pen); text-decoration-color: currentColor; }

/* The last line item: the wordmark, crossed off with the pen, already drawn */
.rc-mark {
  padding: .75rem 0 .5rem; text-align: center; white-space: nowrap;
  font-family: var(--display); font-size: clamp(2.25rem, 8.5vw, 3.75rem);
  line-height: .95; letter-spacing: -.05em; text-transform: uppercase;
}

@media (min-width: 60rem) {
  .rc-body { padding-inline: 1.75rem; }
}
