| /* | |
| * Copyright 2026 The Fuchsia Authors | |
| * | |
| * Licensed under a BSD-style license <LICENSE-BSD>, Apache License, Version 2.0 | |
| * <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>, or the MIT | |
| * license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option. | |
| * This file may not be copied, modified, or distributed except according to | |
| * those terms. | |
| */ | |
| @font-face { | |
| font-family: "Baskervville"; | |
| src: url("fonts/baskervville/Baskervville.ttf") format("truetype"); | |
| font-weight: 400 700; | |
| font-style: normal; | |
| font-display: swap; | |
| } | |
| @font-face { | |
| font-family: "Baskervville"; | |
| src: url("fonts/baskervville/Baskervville-Italic.ttf") format("truetype"); | |
| font-weight: 400 700; | |
| font-style: italic; | |
| font-display: swap; | |
| } | |
| :root { | |
| --header-height: max(20rem, 50vh); | |
| --background: #fff; | |
| --ink: #111; | |
| } | |
| html { | |
| overflow-x: clip; | |
| } | |
| body { | |
| display: flex; | |
| flex-direction: column; | |
| min-height: 100vh; | |
| margin: 0; | |
| overflow-x: clip; | |
| background: var(--background); | |
| color: var(--ink); | |
| font-family: "Baskervville", Georgia, "Times New Roman", serif; | |
| } | |
| .svg-defs { | |
| position: absolute; | |
| width: 0; | |
| height: 0; | |
| overflow: hidden; | |
| } | |
| .sr-only { | |
| position: absolute; | |
| width: 1px; | |
| height: 1px; | |
| overflow: hidden; | |
| clip-path: inset(50%); | |
| white-space: nowrap; | |
| } | |
| header { | |
| display: flow-root; | |
| flex: none; | |
| min-height: var(--header-height); | |
| } | |
| .owl { | |
| float: right; | |
| display: block; | |
| width: min(100%, calc(var(--header-height) * 630 / 652)); | |
| height: auto; | |
| shape-outside: url("owl.svg"); | |
| shape-image-threshold: 0.1; | |
| shape-margin: clamp(0.6rem, 1.5vw, 1.25rem); | |
| } | |
| .masthead { | |
| padding: | |
| clamp(5rem, min(18vw - 8rem, (var(--header-height) - 19rem) / 2), 8rem) | |
| clamp(1rem, 2vw, 1.5rem) 1.5rem; | |
| text-align: center; | |
| } | |
| .wordmark { | |
| margin: 0; | |
| /* Offset trailing negative letter-spacing so the word stays centered. */ | |
| padding-right: 0.08em; | |
| font-size: clamp(3rem, 9.5vw, 8rem); | |
| font-weight: 400; | |
| line-height: 1; | |
| letter-spacing: -0.08em; | |
| text-transform: uppercase; | |
| } | |
| .subtitle { | |
| margin: 0.65em 0 0; | |
| font-size: clamp(0.95rem, 1.5vw, 1.25rem); | |
| font-style: italic; | |
| line-height: 1.55; | |
| text-wrap: balance; | |
| } | |
| .subtitle span { | |
| font-size: 1.5em; | |
| font-style: normal; | |
| /* Keep italic overhangs (like `f` in `of`) clear of the upright text. */ | |
| padding-inline: 0.08em; | |
| } | |
| .intro { | |
| box-sizing: border-box; | |
| min-height: calc(128 * var(--bookplate-unit)); | |
| /* Leave room for the 20-unit corner overhangs around the frame. */ | |
| margin: calc(24 * var(--bookplate-unit)); | |
| display: grid; | |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| align-items: center; | |
| gap: clamp(2rem, 5vw, 4.5rem); | |
| } | |
| .motto { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| text-align: center; | |
| font-size: clamp(1.4rem, 2.8vw, 2.35rem); | |
| line-height: 1.35; | |
| } | |
| .set { | |
| display: inline-flex; | |
| align-items: stretch; | |
| gap: 0.35em; | |
| } | |
| .set-items { | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| padding: 0.12em 0; | |
| } | |
| .set-line { | |
| display: block; | |
| } | |
| .brace { | |
| display: flex; | |
| flex-direction: column; | |
| width: 0.55em; | |
| flex: none; | |
| align-self: stretch; | |
| } | |
| .brace-close { | |
| transform: scaleX(-1); | |
| } | |
| .brace svg { | |
| display: block; | |
| width: 100%; | |
| fill: currentColor; | |
| } | |
| .brace-cap { | |
| height: 0.42em; | |
| flex: none; | |
| } | |
| .brace-mid { | |
| height: 0.65em; | |
| flex: none; | |
| } | |
| /* Overlap pieces by 0.5px to prevent hairline seams at fractional DPR. */ | |
| .brace-stem { | |
| flex: 1 1 0; | |
| min-height: 0; | |
| margin: -0.5px 0; | |
| } | |
| .motto-caption { | |
| margin: 0.55em 0 0; | |
| font-style: italic; | |
| } | |
| .toc { | |
| width: 100%; | |
| max-width: 24rem; | |
| justify-self: center; | |
| } | |
| .toc h2 { | |
| margin: 0 0 0.85em; | |
| padding-bottom: 0.35em; | |
| border-bottom: 1px solid currentColor; | |
| font-weight: 400; | |
| font-size: clamp(1.25rem, 2.2vw, 1.65rem); | |
| letter-spacing: 0.06em; | |
| text-align: center; | |
| } | |
| .toc ol { | |
| list-style: none; | |
| margin: 0; | |
| padding: 0; | |
| font-size: clamp(1.05rem, 1.7vw, 1.35rem); | |
| line-height: 1.9; | |
| } | |
| .toc-entry { | |
| display: flex; | |
| align-items: baseline; | |
| gap: 0.45em; | |
| color: inherit; | |
| text-decoration: none; | |
| } | |
| a.toc-entry:hover .toc-title, | |
| a.toc-entry:focus-visible .toc-title { | |
| text-decoration: underline; | |
| text-underline-offset: 0.15em; | |
| } | |
| .toc-title { | |
| flex: none; | |
| } | |
| .toc-leader { | |
| flex: 1 1 1rem; | |
| min-width: 1rem; | |
| height: 3px; | |
| background: radial-gradient(circle, currentColor 0.85px, transparent 1px) | |
| left center / 0.45em 3px repeat-x; | |
| } | |
| .toc-page { | |
| flex: none; | |
| font-variant-numeric: tabular-nums; | |
| text-align: right; | |
| } | |
| .chapter { | |
| display: grid; | |
| grid-template-columns: minmax(14rem, 24rem) minmax(0, 38rem); | |
| justify-content: center; | |
| column-gap: clamp(4rem, 11vw, 16rem); | |
| margin: clamp(5rem, 10vw, 9rem) auto; | |
| padding-inline: clamp(2rem, 5vw, 5rem); | |
| font-size: clamp(1.1rem, 1.5vw, 1.3rem); | |
| line-height: 1.8; | |
| } | |
| .chapter + .chapter, | |
| .field-reports + .chapter { | |
| margin-top: 0; | |
| } | |
| .chapter h2 { | |
| grid-column: 2; | |
| grid-row: 1; | |
| margin: 0 0 1.4em; | |
| font-weight: 400; | |
| font-size: clamp(1.4rem, 2.4vw, 1.85rem); | |
| letter-spacing: 0.08em; | |
| text-align: center; | |
| } | |
| .chapter-art { | |
| grid-column: 1; | |
| grid-row: 2; | |
| align-self: center; | |
| display: block; | |
| width: 100%; | |
| height: auto; | |
| } | |
| .chapter-body { | |
| grid-column: 2; | |
| grid-row: 2; | |
| } | |
| .chapter-art-right { | |
| grid-template-columns: minmax(0, 38rem) minmax(14rem, 24rem); | |
| } | |
| .chapter-art-right h2, | |
| .chapter-art-right .chapter-body { | |
| grid-column: 1; | |
| } | |
| .chapter-art-right .chapter-art { | |
| grid-column: 2; | |
| } | |
| .chapter p { | |
| margin: 0; | |
| } | |
| .chapter p + p { | |
| margin-top: 1.4em; | |
| } | |
| .chapter ul, | |
| .chapter ol { | |
| margin: 0; | |
| padding-left: 1.5em; | |
| } | |
| .chapter li + li, | |
| .chapter li > ul, | |
| .chapter li > ol { | |
| margin-top: 0.6em; | |
| } | |
| .field-reports { | |
| box-sizing: border-box; | |
| /* Scale down so the 9.7-unit meander stroke (~3.9px) matches `.bookplate`. */ | |
| --meander-unit: clamp(0.25px, 0.0667vw, 0.4px); | |
| --meander-padding: clamp(2rem, 4vw, 3.5rem); | |
| min-height: calc(202 * var(--meander-unit)); | |
| margin: 0 clamp(12px, 4vw, 24px) clamp(4rem, 8vw, 7rem); | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| text-align: center; | |
| } | |
| .field-reports h2 { | |
| margin: 0 0 0.75em; | |
| font-weight: 400; | |
| font-size: clamp(1.4rem, 2.4vw, 1.85rem); | |
| letter-spacing: 0.08em; | |
| } | |
| .field-reports p { | |
| margin: 0; | |
| font-size: clamp(1.1rem, 1.5vw, 1.3rem); | |
| font-style: italic; | |
| } | |
| .guidebook { | |
| box-sizing: border-box; | |
| --library-lettering-bottom: none; | |
| --library-padding: clamp(0.75rem, 2.2vw, 2rem); | |
| min-height: calc(520 * var(--library-unit)); | |
| /* | |
| * Bleed the outer cornice and column edges slightly off narrow viewports so | |
| * the inner reading column stays comfortable instead of getting squeezed. | |
| */ | |
| margin: | |
| 0 clamp(calc(-56 * var(--library-unit)), 20vw - 6.75rem, 24px) | |
| clamp(4rem, 8vw, 7rem); | |
| font-size: clamp(1.05rem, 1.4vw, 1.25rem); | |
| line-height: 1.75; | |
| } | |
| .guidebook > * { | |
| max-width: 46rem; | |
| margin-inline: auto; | |
| } | |
| .guidebook h2 { | |
| margin-block: 0 0.85em; | |
| font-weight: 400; | |
| font-size: clamp(1.4rem, 2.4vw, 1.85rem); | |
| letter-spacing: 0.08em; | |
| text-align: center; | |
| } | |
| .guidebook h3 { | |
| margin-block: 1.4em 0.45em; | |
| font-weight: 400; | |
| font-size: clamp(1.15rem, 1.75vw, 1.4rem); | |
| font-style: italic; | |
| letter-spacing: 0.04em; | |
| } | |
| .guidebook h2 + h3 { | |
| margin-top: 0; | |
| } | |
| .guidebook p { | |
| margin-block: 0; | |
| } | |
| .guidebook p + p, | |
| .guidebook pre + p, | |
| .guidebook p + pre { | |
| margin-top: 1em; | |
| } | |
| .guidebook a { | |
| color: inherit; | |
| text-decoration: underline; | |
| text-decoration-thickness: 1px; | |
| text-underline-offset: 0.18em; | |
| } | |
| .guidebook a:hover, | |
| .guidebook a:focus-visible { | |
| text-decoration-thickness: 2px; | |
| } | |
| .guidebook code { | |
| font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; | |
| font-size: 0.84em; | |
| } | |
| .guidebook pre { | |
| box-sizing: border-box; | |
| margin-block: 1em; | |
| padding: 0.7em 1em; | |
| border-left: 2px solid currentColor; | |
| background: rgba(17, 17, 17, 0.035); | |
| font-size: 0.82em; | |
| line-height: 1.6; | |
| overflow-x: auto; | |
| } | |
| .guidebook pre code { | |
| font-size: inherit; | |
| } | |
| .colophon { | |
| box-sizing: border-box; | |
| max-width: 46rem; | |
| width: calc(100% - 2 * clamp(12px, 4vw, 24px)); | |
| margin: auto auto 0; | |
| padding: 1.5rem 0 clamp(2.5rem, 5vw, 4rem); | |
| border-top: 1px solid rgba(17, 17, 17, 0.25); | |
| text-align: center; | |
| font-size: clamp(0.95rem, 1.25vw, 1.05rem); | |
| line-height: 1.6; | |
| } | |
| .colophon-note { | |
| margin: 0 0 0.65rem; | |
| font-style: italic; | |
| } | |
| .colophon-links { | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| gap: 0.45rem 0.7rem; | |
| } | |
| .colophon a { | |
| color: inherit; | |
| text-decoration: underline; | |
| text-decoration-thickness: 1px; | |
| text-underline-offset: 0.18em; | |
| } | |
| .colophon a:hover, | |
| .colophon a:focus-visible { | |
| text-decoration-thickness: 2px; | |
| } | |
| .subpage-header { | |
| box-sizing: border-box; | |
| min-height: 0; | |
| max-width: 46rem; | |
| width: calc(100% - 2 * clamp(16px, 4vw, 24px)); | |
| margin: clamp(2rem, 5vw, 4rem) auto clamp(1.5rem, 3vw, 2.5rem); | |
| padding-bottom: 1rem; | |
| border-bottom: 1px solid rgba(17, 17, 17, 0.25); | |
| } | |
| .subpage-header .back-link { | |
| display: inline-block; | |
| margin-bottom: 0.9rem; | |
| color: inherit; | |
| font-style: italic; | |
| text-decoration: none; | |
| } | |
| .subpage-header .back-link:hover, | |
| .subpage-header .back-link:focus-visible { | |
| text-decoration: underline; | |
| text-underline-offset: 0.18em; | |
| } | |
| .subpage-header h1 { | |
| margin: 0; | |
| font-weight: 400; | |
| font-size: clamp(1.85rem, 3.6vw, 2.6rem); | |
| letter-spacing: 0.06em; | |
| } | |
| .prose-page { | |
| box-sizing: border-box; | |
| max-width: 46rem; | |
| width: 100%; | |
| margin: 0 auto clamp(3rem, 6vw, 5rem); | |
| padding: 0 clamp(16px, 4vw, 24px); | |
| font-size: clamp(1.05rem, 1.35vw, 1.2rem); | |
| line-height: 1.75; | |
| } | |
| .prose-page h2 { | |
| margin: 2rem 0 0.75rem; | |
| font-weight: 400; | |
| font-size: clamp(1.25rem, 2vw, 1.55rem); | |
| letter-spacing: 0.04em; | |
| } | |
| .prose-page p { | |
| margin: 0 0 1em; | |
| } | |
| .prose-page ul { | |
| margin: 0 0 1.25em; | |
| padding-left: 1.35rem; | |
| } | |
| .prose-page li + li { | |
| margin-top: 0.65em; | |
| } | |
| .prose-page a { | |
| color: inherit; | |
| text-decoration: underline; | |
| text-decoration-thickness: 1px; | |
| text-underline-offset: 0.18em; | |
| } | |
| .prose-page a:hover, | |
| .prose-page a:focus-visible { | |
| text-decoration-thickness: 2px; | |
| } | |
| .prose-page code { | |
| font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; | |
| font-size: 0.84em; | |
| } | |
| @media (max-width: 60rem) { | |
| .chapter { | |
| grid-template-columns: minmax(0, 38rem); | |
| } | |
| .chapter h2, | |
| .chapter-body { | |
| grid-column: 1; | |
| } | |
| .chapter-art { | |
| display: none; | |
| } | |
| } | |
| @media (max-width: 48rem) { | |
| .intro { | |
| grid-template-columns: minmax(0, 1fr); | |
| align-content: center; | |
| } | |
| } | |
| /* | |
| * Drop the entire masthead cleanly beneath the owl before the narrowing gap | |
| * beside the leftmost pine branch can split the subtitle below the wordmark. | |
| */ | |
| @media (max-width: 32rem), (max-aspect-ratio: 72/100) { | |
| .masthead { | |
| clear: right; | |
| padding-top: 1.25rem; | |
| } | |
| } |