/* A flat page: /about, and whatever else is written rather than exhibited.
   It borrows the reader's typography wholesale - `.detail` and its blocks are
   defined in world.css - and undoes only the parts that exist because a piece
   lives inside the camera world. */

.page-body {
  /* No #scroller here: the document itself scrolls, and nothing is clipped. */
  min-height: 100dvh;
}

/* .detail is absolutely positioned at zero opacity out in world space. On a
   page of its own it is simply the column. */
.detail.info {
  position: static;
  opacity: 1;
  pointer-events: auto;
  will-change: auto;
}

/* Ranged left, starting on the line the mark starts on - --chrome-top is the
   top bar's own left inset, so the heading sits directly under SPIRITFORM
   rather than floating in the middle of the window. The measure is unchanged:
   the column is still 820, it is just no longer centred. */
.page {
  max-width: calc(820px + var(--chrome-top));
  margin: 0;
  padding: calc(var(--chrome-top) + 92px) var(--edge) 140px var(--chrome-top);
}

/* INFO, and it should land like a title rather than a label. */
.detail.info h1 {
  font-size: 56px;
  letter-spacing: 0.02em;
  margin: 0 0 28px;
}

@media (max-width: 560px) {
  .page {
    padding-top: calc(var(--chrome-top) + 72px);
    padding-bottom: 90px;
    /* On a phone the bar's inset is most of the gutter; keep the usual edge. */
    padding-right: var(--edge);
  }
  .detail.info h1 { font-size: 40px; }
}

/* --- the links under the writing --- */

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

/* A destination, so it is given an edge to click rather than an underline in
   a sentence. Still square, still unfilled: the site has no buttons anywhere
   else and this should not look like the first one. */
.page-link {
  display: inline-block;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: border-color 180ms ease, background-color 180ms ease;
}
.page-link:hover,
.page-link:focus-visible {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
}

/* --- contact --- */

/* Inside .page already, so it takes the column's measure and gutters from it
   rather than setting its own - a second max-width here indented the form
   relative to the writing above it. */
.contact {
  /* Sits under the writing, past a rule, so the page reads as a page and the
     form is what you come to at the end of it. */
  border-top: 1px solid var(--line);
  padding-top: 44px;
  margin-top: 64px;
}

.contact h2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}

.contact .field {
  display: block;
  margin-bottom: 18px;
}

.contact .field > span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact input[type="email"],
.contact textarea {
  display: block;
  width: 100%;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.6;
  padding: 12px 14px;
  transition: border-color 160ms ease;
}
.contact input[type="email"]:focus,
.contact textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.45);
}
.contact textarea { resize: vertical; min-height: 120px; }

.contact .row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 26px;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}
.contact button:hover:not(:disabled) {
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.05);
}
.contact button:disabled { opacity: 0.45; cursor: default; }

.contact .note {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.contact .note.bad { color: #e8705f; }

/* The honeypot: out of the layout and off the tab order, but not
   display:none - some bots skip what is hidden that way. */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- follow ---
   Under the links: the buttons say where to go, these say where to follow.
   Marks rather than names, so the row stays quiet next to a button that is
   already set in capitals. */
.socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.follow-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 2px;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--muted);
  transition: color 180ms ease;
}
.social:hover,
.social:focus-visible { color: var(--ink); }
.social svg { display: block; }
