/* Collab (master 7): plain, centered, lots of room around it. Carried over from V3. Monochrome. */

body.collab { position: relative; min-height: 100svh; }
.world { position: relative; z-index: 1; }

.wrap {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 6rem var(--space) 4rem;            /* top room keeps the Return control clear of the headline */
}

.headline { margin: 0; font-weight: normal; font-size: clamp(2.8rem, 11vw, 6.5rem); line-height: 1.05; }
.sub { margin: .9rem 0 0; font-size: clamp(1.5rem, 5vw, 2.4rem); line-height: 1.2; }
.line { margin: 1.4rem 0 0; max-width: 28rem; color: var(--ink-dim); font-size: .95rem; }

.contacts { list-style: none; margin: 2.6rem 0 0; padding: 0; width: min(100%, 26rem); display: grid; gap: .8rem; }
.contacts a {
  display: grid; grid-template-columns: 6.2rem 1fr 2.2rem; align-items: center; gap: .75rem; text-align: left;
  min-height: 56px; padding: .55rem 1rem;
  border: 2px solid var(--line); border-radius: 2px 7px 3px 6px; background: var(--void);
}
.contacts a:hover, .contacts a:focus-visible { background: var(--depth); }
.contacts .lbl { color: var(--ink-dim); font-size: 1.15rem; }
.contacts .val { font-size: 1.05rem; overflow-wrap: anywhere; }
/* "this leaves the site": Sam's drawn arrow (the site's arrow), turned up and out, never a typed arrow */
.contacts .out { display: block; width: 2.2rem; transform: rotate(-40deg); }
.contacts .out picture, .contacts .out img { display: block; width: 100%; height: auto; max-width: none; }

/* narrow screens: the label sits above the value so a long email address never breaks in two */
@media (max-width: 30rem) {
  .contacts a { grid-template-columns: 1fr 2.2rem; grid-template-areas: "lbl out" "val val"; row-gap: .1rem; padding: .6rem 1rem .7rem; }
  .contacts .lbl { grid-area: lbl; font-size: 1.05rem; }
  .contacts .out { grid-area: out; }
  .contacts .val { grid-area: val; font-size: 1.1rem; overflow-wrap: normal; }
}

html[data-contrast="high"] .contacts a { border-width: 3px; }
