/* The site's own pages beside the landing page (legal/, 404), on css/family.css and css/site.css: the family's nav on
   top (js/site.js drives it), the landing page's type and colours, a narrow reading column; the 404 is one poster (the lake at dusk, a Mac's
   screen in front of it as the blurry screen, empty: the sheet has gone). */

.page{ position: relative; padding: max(var(--nav-clear) + 24px, 112px) 0 110px; }
.page .wrap{ max-width: 760px; }
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px;
  border-radius: 999px;
  background: var(--soft); color: var(--soft-ink);
  font: 600 14px/1 var(--font); letter-spacing: -.005em;
}
.eyebrow b{ font-weight: 650; }
.eyebrow b + span::before{ content: "·"; margin-right: 8px; opacity: .45; }
.page .eyebrow{ margin-bottom: 26px; }
.page h1{ font: 700 clamp(40px, 5.4vw, 68px)/1.03 var(--font-d); letter-spacing: -.028em; color: var(--ink); text-wrap: balance; }
.page .lead{ margin-top: 18px; }

.prose{ margin-top: 52px; font-size: 16.5px; line-height: 1.65; color: var(--text-2); }
.prose h2{ margin: 44px 0 10px; padding-top: 24px; border-top: 1px solid var(--line); font: 700 22px/1.25 var(--font-d); letter-spacing: -.016em; color: var(--ink); }
.prose h2:first-child{ margin-top: 0; }
.prose p + p, .prose ul + p, .prose p + ul{ margin-top: 12px; }
.prose ul{ padding-left: 20px; display: grid; gap: 8px; margin-top: 12px; }
.prose li{ list-style: disc; }
.prose a{ color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover{ text-decoration-thickness: 2px; }
.prose strong{ color: var(--ink); font-weight: 650; }
.prose code{ font: 500 .9em var(--mono); }
.prose .updated{ margin-top: 52px; font-size: 14px; color: var(--text-2); }

.page-foot{ padding: 34px 0 60px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.page-foot .wrap{ max-width: 760px; display: grid; gap: 14px; }
.page-foot .row{ display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.page-foot nav{ display: flex; flex-wrap: wrap; gap: 8px 18px; }
.page-foot a:hover, .page-foot a[aria-current]{ color: var(--ink); }
.page-foot a[aria-current]{ text-decoration: underline; text-underline-offset: 3px; }
.page-foot .fine{ font-size: 12.5px; }

/* 404: an empty Mac screen (the blurry screen, family.css) in front of the lake at dusk */
.lost{ padding: max(var(--nav-clear) + 8px, 96px) 0 100px; }
.lost .wrap{ max-width: 1060px; }
.lost__card{
  --frost: url("../assets/scene/lake-dark-frost.webp");
  position: relative; overflow: clip; isolation: isolate;
  display: grid; justify-items: center; gap: 18px;
  padding: clamp(170px, 20vw, 230px) clamp(24px, 4vw, 56px) clamp(52px, 6vw, 76px);
  border-radius: var(--r-big);
  background: #1C2228; color: #fff; text-align: center;
}
.lost__card > .bg{ position: absolute; inset: 0; z-index: -2; }
.lost__card > .bg img{ width: 100%; height: 100%; object-fit: cover; object-position: var(--bgpos, 50% 60%); }
.lost__card::after{ content: ""; position: absolute; inset: 40% 0 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(0 0 0 / 0), rgb(0 0 0 / .58)); }
.lost__card{ --dl: clamp(22px, 5vw, 56px); --dt: clamp(22px, 4.4vw, 48px); --disp-r: clamp(16px, 2vw, 24px); }
.lost__notch{ position: absolute; z-index: 0; left: 50%; top: var(--dt); width: clamp(150px, 16vw, 210px); aspect-ratio: 185 / 32; transform: translateX(-50%); background: #000; border-radius: 0 0 14px 14px; }
.lost__bar{ position: absolute; z-index: 0; left: calc(var(--dl) + 18px); right: calc(var(--dl) + 18px); top: calc(var(--dt) + 9px); display: flex; justify-content: space-between; font: 600 13px/1 var(--font); color: rgb(255 255 255 / .82); pointer-events: none; }
.lost__bar span + span{ font-weight: 500; }
.lost .eyebrow{ background: rgb(255 255 255 / .16); color: #fff; }
.lost h1{ font: 700 clamp(36px, 4.6vw, 60px)/1.04 var(--font-d); letter-spacing: -.026em; color: #fff; text-wrap: balance; }
.lost .lead{ color: rgb(236 241 244 / .86); margin: 0; max-width: 30em; }
.lost .row{ justify-content: center; margin-top: 14px; }
.lost .btn--ink{ background: #fff; color: #04090F; }
.lost .btn--ink:hover{ background: #FF7A45; color: #240800; }
.lost .btn--line{ color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .4); }
.lost .btn--line:hover{ box-shadow: inset 0 0 0 1.5px #fff; }
.lost :focus-visible{ outline-color: #FF7A45; }

@media (max-width: 640px){
  .page{ padding: max(var(--nav-clear) + 16px, 92px) 0 80px; }
  .lost{ padding: var(--nav-clear) 0 72px; }
  .lost__bar{ display: none; }
}
