/* Supervisual — the pages around the landing: /about, /privacy and /terms, on top of site.css.
   One grid with three zones, the landing's section head carried down a whole document:
   columns 1–3 hold the index (the page's ref, its date, the clause numbers), 4–6 the titles,
   7–12 the text. The landing's own scenes (styles.css) are not loaded here. */

/* ───────────────────────── a document: /privacy, /terms ───────────────────────── */
.doc { padding: calc(var(--nav-h) + clamp(40px, 7vw, 120px)) 0 clamp(96px, 12vw, 190px); }
.doc-head { margin-bottom: clamp(48px, 7vw, 112px); }
.doc-meta {
  grid-column: 1 / 7; align-self: baseline;
  margin-top: clamp(24px, 3vw, 44px);
  font: 400 11px/1.6 var(--mono); letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--graphite);
}
.doc-meta span { white-space: nowrap; } /* a narrow screen breaks after the name, never inside the date */
.doc-head .sec-lede { align-self: baseline; }

/* links in running text: a quiet hairline that darkens under the pointer */
.doc a, .about a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: var(--edge);
  transition: text-decoration-color var(--dur) var(--ease);
}
.doc a:hover, .about a:hover { text-decoration-color: currentColor; }
.sec-lede a { color: var(--ink); }

/* a clause: its number in the index, its title beside it (held in view while the clause is
   read), its text in the right half */
.clause {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding: clamp(22px, 2.2vw, 30px) 0 clamp(44px, 4.8vw, 72px);
}
.clause h2 {
  grid-column: 1 / 7;
  display: grid; grid-template-columns: subgrid; align-items: baseline;
  position: sticky; top: calc(var(--nav-h) + 22px);
  font-weight: 500; font-size: clamp(20px, 1.75vw, 28px); line-height: 1.08; letter-spacing: -0.04em;
}
.clause-n { grid-column: 1 / 4; font: 400 11px/1 var(--mono); letter-spacing: 0.09em; color: var(--graphite); }
.clause-t { grid-column: 4 / -1; padding-right: 0.5em; }
.clause-body {
  grid-column: 7 / -1;
  font-size: clamp(15.5px, 1.12vw, 17px); line-height: 1.62; max-width: 40em;
}
.clause-body > * + * { margin-top: 1em; }
.clause-body strong { font-weight: 500; }
/* lists read as a register: hairlines between entries, none around them */
.clause-body li { padding: 13px 0; }
.clause-body li + li { border-top: 1px solid var(--line); }
.clause-body li:first-child { padding-top: 0; }
.clause-body li:last-child { padding-bottom: 0; }
.clause-body ul + p { margin-top: 1.5em; }
.clause-body p + ul { margin-top: 1.25em; }
.note {
  background: var(--silver); border-radius: var(--radius-card);
  padding: 18px 20px 19px; font-size: 0.94em; line-height: 1.58;
}

/* ───────────────────────── a person: /about ───────────────────────── */
.about {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 120px)) 0 clamp(40px, 6vw, 88px);
}
.about > .wrap { flex: 1; display: flex; flex-direction: column; }
.about-head { margin-bottom: clamp(56px, 9vw, 140px); }
.about-name {
  /* a hair tighter than the hero's -0.078em: there the Z and h only touch, and touching edges
     leave a light seam between them; overlapping by a hair fuses them */
  font-size: clamp(64px, 13vw, 236px); line-height: 0.86; letter-spacing: -0.085em;
  margin-left: -0.06em;
}
.about-row {
  margin-top: auto;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 14px;
  align-items: baseline;
  border-top: 1px solid var(--line); padding-top: 22px;
}
.about-role { grid-column: 1 / 4; font-size: 14.5px; line-height: 1.45; color: var(--graphite); }
.about-bio {
  grid-column: 4 / -1;
  font-weight: 500; font-size: clamp(28px, 3.4vw, 60px); line-height: 1; letter-spacing: -0.055em;
}

/* ───────────────────────── responsive ───────────────────────── */
@media (max-width: 1180px) {
  /* site.css takes the head full width here; the clauses keep two zones, titles over 1–5 with
     the number above, text over 6–12 */
  .doc-meta { grid-column: 1 / -1; }
  .clause h2 { grid-column: 1 / 6; display: block; }
  .clause-n { display: block; margin-bottom: 14px; }
  .clause-body { grid-column: 6 / -1; }
  /* the name has gone full width with the head; the role and the line under it follow it to the edge */
  .about-role, .about-bio { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .clause { display: block; padding: 20px 0 44px; }
  .clause h2 { position: static; }
  .clause-n { margin-bottom: 12px; }
  .clause-body { margin-top: 18px; max-width: 40em; }
}
@media (max-width: 600px) {
  .clause-body li { padding: 12px 0; }
  .note { padding: 16px 16px 17px; }
}

/* ───────────────────────── print ───────────────────────── */
/* a policy gets printed: the text alone, all of it, with nothing waiting on a scroll to appear */
@media print {
  .nav, .menu, .skip, .foot { display: none !important; }
  .js [data-reveal], .js [data-split] .swi { opacity: 1 !important; transform: none !important; }
  .js .sec-head::before { --rule: 1; }
  .doc, .about { padding: 0; min-height: 0; }
  .clause h2 { position: static; break-inside: avoid; break-after: avoid; }
  .clause-body li, .note { break-inside: avoid; }
  .note { border: 1px solid var(--line); }
}
