/* Contact page: the appointment door and the first-conversation sheet. Adds to site.css only. */

.page > * + * { margin-top: clamp(.75rem, 3vh, 2rem); }
.page > .entry { margin-top: clamp(.25rem, 1.5vh, 1rem); }

/* OPENING: intro and call sheets stacked beside the wide print; on a phone the print sits between them. */
.visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "intro" "print" "call";
  gap: 1rem;
  align-items: start;
}
.visit__intro { grid-area: intro; }
.visit__print { grid-area: print; }
.visit__call { grid-area: call; }
.visit__print .mount__print img { aspect-ratio: 16 / 9; }
.visit__lead { font-size: var(--fs-small); color: var(--keep); }
.visit__phone {
  display: inline-block;
  padding-block: .3rem;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
@media (min-width: 60rem) {
  .visit {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "intro print" "call print";
    gap: 1rem 2rem;
    align-items: stretch;
  }
  .visit__print, .visit__print .mount__print { height: 100%; }
  .visit__print .mount__print img { height: 100%; min-height: 16rem; aspect-ratio: auto; }
}

/* WHERE: address printed once, small, beside the instruction. */
.where { display: grid; gap: 1rem 2rem; align-items: start; }
.where > * > * + * { margin-top: .75rem; }
.where__addr {
  font-style: normal;
  font-size: var(--fs-small);
  line-height: 1.5;
}
@media (min-width: 48rem) {
  .where { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* FIRST TALK: note sheet with the tick rows, beside the write-to-us sheet. */
.talk { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 60rem) {
  .talk { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem 2rem; }
}
.ticks { list-style: none; margin: .5rem 0 0; padding: 0; }
.tickrow {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: .5rem;
  align-items: start;
  width: 100%;
  min-height: 3.5rem;
  padding: .75rem 0;
  border: 0;
  border-bottom: var(--rule-w) solid var(--back);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.tickrow:hover .tickrow__name { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .2em; }
.tickrow__box {
  position: relative;
  display: block;
  width: 2rem;
  height: 2rem;
  margin: .1rem .375rem;
  border: var(--rule-w) solid var(--ink);
  background: var(--paper);
}
.tickrow[aria-pressed="true"] { border-bottom-color: var(--build); }
.tickrow[aria-pressed="true"] .tickrow__box { border-color: var(--build); }
.tickrow[aria-pressed="true"] .tickrow__box::after {
  content: "";
  position: absolute;
  inset: .1875rem;
  background: var(--build);
  transform: rotate(-4deg);
}
.tickrow__name {
  display: block;
  font-family: var(--hand);
  font-size: var(--fs-h3);
  line-height: 1.25;
  text-transform: lowercase;
}
.tickrow__hint { display: block; font-size: var(--fs-small); line-height: 1.4; color: var(--keep); }

.write__preview {
  padding-left: .75rem;
  border-left: var(--rule-w) solid var(--build);
  overflow-wrap: anywhere;
}
.write__count { font-size: var(--fs-small); color: var(--keep); }
.write .options { column-gap: .75rem; }

/* HAND-OFF: three plain links, each with its one line, ruled like ledger entries. */
.exits { list-style: none; margin: .5rem 0 0; padding: 0; }
.exits li {
  display: grid;
  gap: .1rem 2rem;
  padding-block: .5rem;
  border-bottom: var(--rule-w) solid var(--back);
}
.exits li:last-child { border-bottom: 0; }
.exits .handoff__link { justify-self: start; }
@media (min-width: 48rem) {
  .exits li { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); align-items: center; }
}
