/* About and Privacy: the homepage's paper, type and header (homepage.css), with a reading layout on top. */

.site-header.on-page { position: relative; }

.page { padding: 72px 0 40px; }
/* Everything starts on the site's left edge, like the homepage's sections; text keeps a reading width and the
   right side holds what goes beside it (Roy's portrait, the policy's contents). */
.page section { margin: 0 0 88px; }
.page section.body { max-width: 760px; }
.page section.page-hero { margin-bottom: 40px; }

.eyebrow, .page .body .eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.giant {
  margin: 0 0 24px;
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--ink);
}
.giant .thin { font-weight: 300; }
.page .lede { margin: 0 0 18px; max-width: 680px; font-size: 21px; line-height: 1.55; color: var(--ink-muted); }
.meta { margin: 0 0 8px; font-size: 14px; color: var(--ink-faint); }

/* the wire under each page's opening, with one bird on it: full width like the homepage's, since its drawing
   stretches to fit (inside the text column the bird came out squashed) */
.page-wire { width: 100vw; margin: 0 0 72px calc(50% - 50vw); }

.page h2 { margin: 0 0 16px; font-size: 30px; line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); }
.page .body p, .page .body li, .who p { margin: 0 0 16px; font-size: 18px; line-height: 1.65; color: var(--ink-muted); }
.page .body ul { margin: 0 0 16px; padding-left: 22px; }
.page .body li { margin-bottom: 10px; }
.page b { color: var(--ink); }
.page section a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.page code {
  font: 15px ui-monospace, "SF Mono", Menlo, monospace;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(35, 31, 32, 0.12);
  color: var(--ink);
}

/* a pull quote: the one place the red appears in the text */
.page .body .q { margin: 0 0 22px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.22; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.page .body .q em { font-style: normal; color: var(--red); }

/* About: who (text left, portrait right, with a bird on its top edge) */
.who { display: grid; grid-template-columns: minmax(0, 760px) 320px; justify-content: space-between; gap: 64px; align-items: start; }
.portrait-wrap { position: relative; margin: 40px 0 0; order: 2; }
.portrait { display: block; width: 320px; height: 320px; border-radius: 40px; object-fit: cover; box-shadow: 0 2px 6px rgba(35, 31, 32, 0.08), 0 18px 36px -10px rgba(35, 31, 32, 0.3); }
.who h2 { margin-bottom: 6px; }
.who .role { margin: 0 0 18px; font-size: 15px; font-weight: 700; color: var(--gold); }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.links a {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(35, 31, 32, 0.18);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.links a:hover { border-color: var(--ink); transform: translateY(-1px); }

/* About: numbered rules; Privacy: yes/no cards. Both are paper cards with a hairline, across the full width. */
.page section.rules-section { max-width: none; }
.rules-section .q { max-width: 760px; }
.rules, .page .body .rules { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.rules li, .grid div {
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(35, 31, 32, 0.1);
}
.rules li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; font-size: 17px; line-height: 1.55; color: var(--ink-muted); }
.rules li b { display: block; margin-bottom: 2px; }
.rules .n { display: grid; place-items: center; width: 30px; height: 30px; margin-top: 1px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 800; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 0; }

/* Privacy: the policy beside its contents, which stay in view while you read */
.policy { display: grid; grid-template-columns: minmax(0, 760px) 300px; justify-content: space-between; gap: 64px; align-items: start; }
.toc { position: sticky; top: 96px; padding-top: 44px; }
.toc-box { position: relative; padding: 22px 24px; border-radius: 18px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(35, 31, 32, 0.1); }
.toc ol { margin: 0; padding: 0 0 0 20px; display: grid; gap: 10px; font-size: 15px; font-weight: 600; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.toc li::marker { color: var(--gold); font-weight: 800; }
.page section.body { scroll-margin-top: 32px; }
.grid b { display: block; margin-bottom: 4px; font-size: 17px; }
.grid span { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.grid .no b::before { content: "✕  "; color: var(--red); }
.grid .yes b::before { content: "✓  "; color: var(--gold); }

@media (max-width: 1099px) {
  .who, .policy { grid-template-columns: 1fr; gap: 32px; }
  .portrait-wrap { order: -1; margin: 0; }
  .toc { display: none; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .page { padding-top: 40px; }
  .portrait { width: 200px; height: 200px; border-radius: 32px; }
  .rules { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .page-wire { margin-bottom: 48px; }
}
