/* Contact page: the notice board with its tear-off strip. Builds on site.css. */

.contact { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.contact__board { row-gap: clamp(1.5rem, 3vw, 2.5rem); }

/* NOTICE: the ticket carries its own padding in the body so the strip can run edge to edge */
.notice { padding: 0; }
.notice__body { padding: clamp(1.1rem, 2.6vw, 1.75rem); }
.notice h2 { margin-bottom: .45em; }
.notice > .tear { margin: 0; }
.notice .specs { margin-top: 1.25rem; }
.notice .specs > div { flex-direction: column; gap: .15rem; }
.notice .specs > div:last-child { border-bottom: 0; }
.notice .specs dt { flex: none; }
.notice .specs dd { text-align: left; min-width: 0; overflow-wrap: anywhere; }
.notice address { font-style: normal; }
.notice address span { display: block; }
@media (min-width: 40rem) {
  .notice .specs > div { flex-direction: row; gap: 1rem; }
  .notice .specs dt { flex: 0 0 5.5rem; }
  .notice .specs dd { flex: 1 1 0; }
}

/* PHOTO: the window, cropped as a stub with one bite on the notice side */
.contact__photo { --ratio: 4 / 3; }
@media (min-width: 56rem) { .contact__photo { --ratio: 4 / 5; } }

/* THE STRIP: three stubs hanging from the tear line; cuts are dashed with a half-circle at the top */
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.strip li { --perf: var(--ink); position: relative; min-width: 0; }
.strip li + li { border-left: var(--line) dashed var(--perf); transition: border-color var(--fast); }
.strip li:is(:hover, :focus-within) + li { --perf: var(--hot); }
.strip li:is(:hover, :focus-within) { --perf: var(--hot); }
.strip li + li::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  top: 0; left: calc(var(--notch) / -2 - var(--line) / 2);
  width: var(--notch); height: calc(var(--notch) / 2);
  background: var(--paper); border: var(--line) solid var(--perf); border-top: 0;
  border-radius: 0 0 var(--notch) var(--notch);
  transition: border-color var(--fast);
}
.strip li + li::after { display: none; }
.strip a {
  display: flex; flex-direction: column; justify-content: space-between; gap: .75rem;
  height: 100%; min-height: 7.5rem; padding: 1.1rem 1rem 1rem;
  color: var(--ink); text-decoration: none;
}
.strip a:hover { color: var(--ink); }
.strip a:focus-visible { outline-offset: -.4rem; }
.strip__top { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.strip .name { margin: 0; }
.strip .arrow { font-weight: 600; }
.strip .small { line-height: 1.3; }

@media (max-width: 47.99rem) {
  .strip { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); }
  .strip li + li { border-left: 0; border-top: var(--line) dashed var(--perf); }
  .strip li + li::before, .strip li + li::after {
    display: block; content: ""; position: absolute; z-index: 1; pointer-events: none;
    top: calc(var(--notch) / -2 - var(--line) / 2); width: calc(var(--notch) / 2); height: var(--notch);
    background: var(--paper); border: var(--line) solid var(--perf);
    transition: border-color var(--fast);
  }
  .strip li + li::before { left: 0; right: auto; border-left: 0; border-radius: 0 var(--notch) var(--notch) 0; }
  .strip li + li::after { right: 0; border-right: 0; border-radius: var(--notch) 0 0 var(--notch); }
  .strip a { min-height: 4.5rem; padding: 1rem 1.25rem; gap: .3rem; }
}

/* TILE: what to call about, what to email */
.tile h2 { margin-bottom: .6em; }
.tile h3 { margin-bottom: .2em; }
.asks { list-style: none; margin: 0 0 .5rem; padding: 0; }
.asks li { padding: .6rem 0; border-bottom: var(--line) dotted var(--ink); }
.asks li:last-child { border-bottom: 0; }
.tile .tear { margin-block: 1.1rem; }
.tile > .small { margin: .5rem 0 0; }

/* NEXT: the two onward links */
.next h2 { font-size: var(--fs-h3); line-height: 1.15; margin-bottom: .6em; }
.next .btn { margin-bottom: .75rem; }
@media (min-width: 56rem) { .next h2 { font-size: var(--fs-h2); } }
