/* ============================================================
   YANKEE — 1906 · The lines still hold.
   Design system: "Drafting-room modern"
   Warm paper, blue-black ink, brass, slate sea.
   Fraunces (display) · Source Serif 4 (text) · Archivo (labels)
   IBM Plex Mono (drawing annotations)
   Golden Gate Wooden Boat Foundation · yankee2026.org
   ============================================================ */

/* ----------------------------------------------------------
   1. TOKENS
   ---------------------------------------------------------- */
:root {
    /* paper & ink — light (drafting room) */
    --paper:        #F2ECDF;
    --paper-2:      #F8F4E9;
    --paper-3:      #E9E1CC;
    --ink:          #1E262C;
    --ink-body:     #2C363D;
    --ink-2:        #4C5860;
    --ink-3:        #6E7A82;
    --brass:        #93702B;
    --brass-2:      #B08A3C;
    --sea:          #33565E;
    --red:          #9C3E2E;
    --line:         rgba(30, 38, 44, 0.16);
    --line-strong:  rgba(30, 38, 44, 0.42);
    --line-faint:   rgba(30, 38, 44, 0.08);
    --shadow:       0 18px 50px -18px rgba(30, 38, 44, 0.35);
    --shadow-soft:  0 10px 30px -14px rgba(30, 38, 44, 0.25);
    --photo-filter: none;

    /* type */
    --f-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    --f-text:    'Source Serif 4', Georgia, serif;
    --f-ui:      'Archivo', 'Helvetica Neue', sans-serif;
    --f-mono:    'IBM Plex Mono', 'SF Mono', monospace;

    /* measure & rhythm */
    --measure: 64ch;
    --gutter: clamp(1.25rem, 4vw, 4rem);
    --site-max: 1560px;
    --header-h: 4.25rem;

    /* legacy aliases — lexicon/quiz stylesheets consume these */
    --main:              var(--ink);
    --secondary:         var(--brass);
    --secondary-visited: var(--sea);
    --divider:           var(--line);
    --text-body:         var(--ink-body);
    --text-light:        var(--ink-3);
    --bg:                var(--paper);
}

[data-theme="dark"] {
    /* deep field — pale linework */
    --paper:        #10181F;
    --paper-2:      #17222B;
    --paper-3:      #0A1117;
    --ink:          #EAE4D4;
    --ink-body:     #D6D0BF;
    --ink-2:        #AFAC9C;
    --ink-3:        #83898C;
    --brass:        #C79B4B;
    --brass-2:      #D9B265;
    --sea:          #8FB6BE;
    --red:          #C0604E;
    --line:         rgba(234, 228, 212, 0.16);
    --line-strong:  rgba(234, 228, 212, 0.45);
    --line-faint:   rgba(234, 228, 212, 0.07);
    --shadow:       0 18px 50px -12px rgba(0, 0, 0, 0.6);
    --shadow-soft:  0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --photo-filter: brightness(0.94) saturate(0.96);
}

/* ----------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--paper);
    color: var(--ink-body);
    font-family: var(--f-text);
    font-size: 1.0625rem;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background-color 0.35s ease, color 0.35s ease;
}

img { max-width: 100%; display: block; filter: var(--photo-filter); }

a { color: var(--sea); text-decoration: none; }
a:hover { color: var(--brass); }

::selection { background: var(--brass); color: var(--paper); }

em.yn, .yn { font-style: italic; }

/* type helpers */
.eyebrow {
    font-family: var(--f-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brass);
}

.anno {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-2);
}

.hl-navy { color: var(--ink); font-weight: 600; }

/* quiet dictionary links — the lexicon easter eggs */
.anno a, .dim-value a {
    color: var(--sea);
    border-bottom: 1px dotted color-mix(in srgb, var(--sea) 60%, transparent);
    padding-bottom: 1px;
}
.anno a:hover, .dim-value a:hover { color: var(--brass); border-bottom-color: var(--brass); }
.aside-note { display: block; margin-top: 2rem; letter-spacing: 0.1em; }

/* the drafting rule — hairline with end ticks */
.dim-rule {
    position: relative;
    height: 1px;
    background: var(--line-strong);
    margin: 1.4rem 0;
}
.dim-rule::before, .dim-rule::after {
    content: "";
    position: absolute;
    top: -4px;
    width: 1px;
    height: 9px;
    background: var(--line-strong);
}
.dim-rule::before { left: 0; }
.dim-rule::after { right: 0; }

/* ruler tick strip — used atop bands */
.ticks {
    height: 7px;
    background-image:
        repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 12px),
        repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 60px);
    background-size: auto 4px, auto 7px;
    background-repeat: repeat-x;
    background-position: bottom left, bottom left;
    opacity: 0.55;
}

/* ----------------------------------------------------------
   3. HEADER
   ---------------------------------------------------------- */
#site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.35s ease;
}
#site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 30px -18px rgba(0,0,0,0.25); }

.header-inner {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-brand { display: flex; align-items: baseline; gap: 0.7rem; color: var(--ink); }
.header-brand:hover { color: var(--ink); }

.header-wordmark {
    font-family: var(--f-display);
    font-weight: 480;
    font-size: 1.5rem;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1;
    white-space: nowrap;
}
/* The transom treatment: YANKEE stretched wide, as painted on the boat */
.wm-name {
    display: inline-block;
    letter-spacing: 0.32em;
    transform: scaleX(1.4);
    transform-origin: 0 62%;
}
.header-wordmark .wm-year {
    font-weight: 340;
    color: var(--ink-2);
    letter-spacing: 0.24em;
    margin-left: 2.75em;
}

.header-right { display: flex; align-items: center; gap: 1.4rem; }

.header-nav { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.header-nav a {
    font-family: var(--f-ui);
    font-size: 0.76rem;
    font-weight: 550;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-2);
    padding: 0.4rem 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.header-nav a:hover { color: var(--ink); border-bottom-color: var(--brass); }
.header-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--line-strong); }

.header-nav .nav-cta a {
    border: 1px solid var(--ink);
    color: var(--ink);
    padding: 0.55rem 1.15rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.header-nav .nav-cta a:hover { background: var(--ink); color: var(--paper); border-bottom-color: var(--ink); }

/* toggles */
.nav-toggle, .theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    background: none;
    border: 1px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    color: var(--ink-2);
}
.nav-toggle:hover, .theme-toggle:hover { color: var(--ink); border-color: var(--line); }
.nav-toggle svg, .theme-toggle svg {
    width: 1.15rem; height: 1.15rem;
    fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round;
}
.nav-toggle { display: none; }
.nav-toggle .icon-x { display: none; }
#site-header.nav-open .icon-x { display: block; }
#site-header.nav-open .icon-hamburger { display: none; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* mobile menu */
.mobile-menu {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--paper);
}
.mobile-menu ul { list-style: none; padding: 0.75rem var(--gutter) 1.4rem; }
.mobile-menu a {
    display: block;
    padding: 0.85rem 0;
    font-family: var(--f-ui);
    font-size: 0.85rem;
    font-weight: 550;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line-faint);
}
.mobile-menu a:hover { color: var(--ink); }
.mobile-menu .mobile-cta a { color: var(--brass); border-bottom: none; }
.mobile-menu.open { display: block; }

/* ----------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--f-ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.95rem 1.7rem;
    border: 1px solid var(--ink);
    color: var(--ink);
    background: transparent;
    cursor: pointer;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn-brass { border-color: var(--brass); color: var(--brass); }
.btn-brass:hover { background: var(--brass); color: #fff; }
[data-theme="dark"] .btn:hover { color: var(--paper-3); }
[data-theme="dark"] .btn-solid { color: var(--paper-3); }
[data-theme="dark"] .btn-solid:hover { color: #10181F; }

.link-arrow {
    font-family: var(--f-ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brass);
    border-bottom: 1px solid color-mix(in srgb, var(--brass) 40%, transparent);
    padding-bottom: 2px;
}
.link-arrow:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ----------------------------------------------------------
   5. HERO (homepage)
   ---------------------------------------------------------- */
.hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(2.5rem, 7vh, 5.5rem)) 0 0;
    overflow: hidden;
}
.hero-lines {
    position: absolute;
    top: 4rem;
    left: -6%;
    width: 70%;
    min-width: min(640px, 100%);
    color: var(--ink);
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
}
[data-theme="dark"] .hero-lines { opacity: 0.14; }

/* The lines draw themselves in, then stay gently adrift — like
   fairing curves on a lofting floor. Nearly subliminal by design. */
@keyframes hl-draw { to { stroke-dashoffset: 0; } }
@keyframes hl-fade { to { opacity: 1; } }
@keyframes hl-sway {
    from { transform: translateY(-3.5px); }
    to   { transform: translateY(3.5px); }
}
@keyframes hl-march { to { stroke-dashoffset: -260; } }

.hero-lines .hl-curve {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;   /* reveal comes from the path's END — so paths are authored right→left to draw left→right */
    animation:
        hl-draw 3s cubic-bezier(0.5, 0, 0.15, 1) forwards,
        hl-sway 13s ease-in-out infinite alternate;
}
.hero-lines .hl-curve:nth-of-type(1) { animation-delay: 0.2s, -1s; }
.hero-lines .hl-curve:nth-of-type(2) { animation-delay: 0.45s, -4s; animation-duration: 3s, 15s; }
.hero-lines .hl-curve:nth-of-type(3) { animation-delay: 0.7s, -8s; animation-duration: 3s, 12s; }
.hero-lines .hl-curve:nth-of-type(4) { animation-delay: 0.95s, -11s; animation-duration: 3s, 16s; }
.hero-lines .hl-curve:nth-of-type(5) { animation-delay: 1.5s, -3s; animation-duration: 3.4s, 18s; }
.hero-lines .hl-curve:nth-of-type(6) { animation-delay: 1.75s, -9s; animation-duration: 3.4s, 14s; }

.hero-lines .hl-station {
    opacity: 0;
    animation: hl-fade 1.6s ease-out forwards;
}
.hero-lines .hl-station:nth-of-type(1) { animation-delay: 1.3s; }
.hero-lines .hl-station:nth-of-type(2) { animation-delay: 1.5s; }
.hero-lines .hl-station:nth-of-type(3) { animation-delay: 1.7s; }
.hero-lines .hl-station:nth-of-type(4) { animation-delay: 1.9s; }

.hero-lines .hl-water {
    opacity: 0;
    animation:
        hl-fade 2s ease-out 2.1s forwards,
        hl-march 60s linear 2.1s infinite;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: minmax(30rem, 44rem) 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
}

.hero-copy { padding-bottom: 1rem; }

.hero-anno { margin-bottom: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }

.hero-title {
    font-family: var(--f-display);
    font-optical-sizing: auto;
    font-weight: 380;
    font-size: clamp(3.2rem, 6.2vw, 6.4rem);
    line-height: 0.98;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0 0 2rem;
    text-wrap: balance;
}
.hero-title em { font-style: italic; font-weight: 340; }

.hero-lede {
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    line-height: 1.65;
    max-width: 36em;
    color: var(--ink-body);
    margin-bottom: 2.6rem;
}
.hero-lede em { font-style: italic; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: center; }

.hero-figure { position: relative; }
.hero-figure .figure-frame {
    border: 1px solid var(--line-strong);
    padding: 0.6rem;
    background: var(--paper-2);
    box-shadow: var(--shadow);
}
.hero-figure img { width: 100%; height: auto; }
.hero-figure figcaption {
    margin-top: 0.8rem;
    font-family: var(--f-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.hero-foot {
    position: relative;
    z-index: 1;
    margin-top: clamp(2.25rem, 5vh, 4rem);
    border-top: 1px solid var(--line);
    background: var(--paper-3);
}

/* dimension strip — vessel particulars as drawing annotations */
.dim-strip {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 1.1rem var(--gutter);
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 3rem;
    align-items: baseline;
}
.dim-strip .dim { display: flex; align-items: baseline; gap: 0.7rem; }
.dim-strip .dim-label {
    font-family: var(--f-ui);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.dim-strip .dim-value {
    font-family: var(--f-mono);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--ink);
    white-space: nowrap;
}

/* ----------------------------------------------------------
   6. SHEETS (major page sections)
   ---------------------------------------------------------- */
main { display: block; }

.sheet {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: clamp(3.25rem, 7vh, 5.5rem) var(--gutter) 0;
}

.sheet-head { margin-bottom: clamp(1.8rem, 3.2vh, 2.6rem); max-width: 56rem; }
.sheet-head .sheet-no {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass);
    display: block;
    margin-bottom: 1rem;
}
.sheet-title {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(2rem, 3.4vw, 3.3rem);
    line-height: 1.06;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-wrap: balance;
}
.sheet-title em { font-weight: 350; }
.sheet-deck {
    margin-top: 1.2rem;
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    font-style: italic;
    color: var(--ink-2);
    max-width: 40em;
}

.sheet-body { max-width: var(--measure); }
.sheet-body p + p, .prose p + p { margin-top: 1.15em; }
.prose { max-width: var(--measure); }
.prose a { border-bottom: 1px solid color-mix(in srgb, var(--sea) 35%, transparent); }
.prose a:hover { border-bottom-color: var(--brass); }

/* split layouts — text at a wide-reading measure, figure fills to the sheet edge */
.split {
    display: grid;
    grid-template-columns: minmax(0, 44rem) minmax(0, 1fr);
    gap: clamp(2rem, 3vw, 3.25rem);
    align-items: start;
}
.split.split-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 44rem); }
.split > .sticky-col { position: sticky; top: calc(var(--header-h) + 2rem); }
.split .prose, .split .sheet-body {
    max-width: none;
    font-size: 1.125rem;
    line-height: 1.75;
}

/* portrait images: tall frame, filled edge to edge — crop from the top,
   keep the bottom of the image anchored to the frame */
.figure-portrait .figure-frame img {
    width: 100%;
    height: clamp(34rem, 52vw, 56rem);
    object-fit: cover;
    object-position: center bottom;
}
@media (max-width: 1179px) {
    .figure-portrait .figure-frame img { height: auto; object-fit: unset; }
}

/* ----------------------------------------------------------
   6b. EDITORIAL FURNITURE — drop caps, pull quotes, fact chips
   ---------------------------------------------------------- */
.dropcap::first-letter {
    font-family: var(--f-display);
    font-weight: 490;
    font-style: normal; /* upright versal even in italic openers — no letterform crash */
    font-size: 4.35em;
    line-height: 0.8;
    float: left;
    padding: 0.04em 0.14em 0 0;
    color: var(--brass);
}
/* where supported, initial-letter gives exact two-line metrics:
   cap top aligned with line 1, base on the baseline of line 2 */
@supports (initial-letter: 2) or (-webkit-initial-letter: 2) {
    .dropcap::first-letter {
        float: none;
        font-size: unset;
        line-height: unset;
        padding: 0 0.16em 0 0;
        -webkit-initial-letter: 2;
        initial-letter: 2;
    }
}
/* the phrase after a versal is set in spaced caps (Bringhurst) */
.dc-lead {
    text-transform: uppercase;
    font-size: 0.82em;
    letter-spacing: 0.09em;
    font-weight: 520;
    color: var(--ink);
}

.pullquote {
    position: relative;
    margin: 2.1rem 0;
    padding: 1.3rem 0 1.15rem;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}
.pullquote::before, .pullquote::after {
    content: "";
    position: absolute;
    left: 0;
    width: 1px;
    height: 8px;
    background: var(--line-strong);
}
.pullquote::before { top: -4px; }
.pullquote::after { bottom: -4px; }
.pullquote p {
    font-family: var(--f-display);
    font-size: clamp(1.45rem, 1.9vw, 1.85rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.28;
    color: var(--ink);
    margin: 0;
    text-wrap: balance;
}
.pullquote .attrib {
    display: block;
    font-family: var(--f-mono);
    font-style: normal;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-top: 0.7rem;
}

/* drafting-style timeline — ticked rule with dated events, two tidy rows */
.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 1.25rem;
    row-gap: 1.75rem;
    margin-top: 0.5rem;
}
@media (max-width: 1179px) { .timeline { grid-template-columns: repeat(3, 1fr); } }  /* remapped 1100 -> 1179 (2026-07-30) */
@media (max-width: 640px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
.tl-item { position: relative; padding: 1rem 0.5rem 0 0; border-top: 1px solid var(--line-strong); }
.tl-item::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 1px;
    height: 10px;
    background: var(--line-strong);
}
.tl-year {
    display: block;
    font-family: var(--f-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--brass);
}
.tl-label {
    display: block;
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--ink-2);
    margin-top: 0.3rem;
}

/* the hub's sail-plan sidebar: generous drawings, thin frames */
.history-overview .split > .sticky-col figure { max-width: 32rem; }
.history-overview .split > .sticky-col .plate { padding: 0.55rem; }

/* three text leads sitting above the context figures */
.context-leads {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.6rem;
}
.context-leads .lead-kicker {
    display: block;
    font-family: var(--f-mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 0.5rem;
}
.context-leads p { font-size: 0.98rem; line-height: 1.62; }
@media (max-width: 900px) { .context-leads { grid-template-columns: 1fr; } }

/* three-up context figure strip */
.context-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}
.context-grid figure { margin: 0; }
.context-grid .figure-frame img { width: 100%; height: 300px; object-fit: cover; }
@media (max-width: 900px) {
    .context-grid { grid-template-columns: 1fr; }
    .context-grid .figure-frame img { height: 240px; }
}

.fact-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.fact-chip {
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-2);
    border: 1px solid var(--line);
    background: var(--paper-2);
    padding: 0.38rem 0.65rem;
    white-space: nowrap;
}

/* ----------------------------------------------------------
   7. FIGURES
   ---------------------------------------------------------- */
figure.figure-historic, .figure { margin: 2.4rem 0; }
.figure-frame {
    border: 1px solid var(--line-strong);
    padding: 0.55rem;
    background: var(--paper-2);
    box-shadow: var(--shadow-soft);
}
.figure-frame img { width: 100%; height: auto; }
figcaption {
    margin-top: 0.8rem;
    font-family: var(--f-text);
    font-size: 0.86rem;
    font-style: italic;
    line-height: 1.55;
    color: var(--ink-2);
}
figcaption .fig-no,
.lightbox-caption .fig-no {
    font-family: var(--f-mono);
    font-style: normal;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brass);
    margin-right: 0.6rem;
}

/* line-art plate — drawing mounted on paper */
.plate {
    border: 1px solid var(--line-strong);
    background: var(--paper-2);
    padding: clamp(1.2rem, 2.5vw, 2.4rem);
    position: relative;
}
.plate img { mix-blend-mode: multiply; width: 100%; }
/* flush frames — drawings that carry their own printed border need no mat
   (repeated selector outranks page-specific padding overrides, e.g. the
   history overview's .sticky-col .plate rule) */
.figure-frame.frame-flush, .plate.frame-flush,
.history-overview .split > .sticky-col .plate.frame-flush { padding: 0; }
.figure-frame.frame-flush img, .plate.frame-flush img { display: block; }
[data-theme="dark"] .plate { background: #EAE4D4; border-color: rgba(234,228,212,0.5); }
.plate .plate-stamp {
    position: absolute;
    right: 1rem;
    bottom: 0.8rem;
    font-family: var(--f-mono);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6E7A82;
}

/* ----------------------------------------------------------
   8. LOGBOOK
   ---------------------------------------------------------- */
.log-tease {
    border-top: 1px solid var(--line);
    background: var(--paper-2);
}
.log-tease-inner {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 1.4rem var(--gutter);
    display: flex;
    align-items: center;
    gap: 2rem;
}
.log-tease .anno { color: var(--brass); white-space: nowrap; }
.log-tease-text {
    font-size: 1rem;
    color: var(--ink-body);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}
.log-tease-text em { font-style: italic; }
.log-tease .link-arrow { white-space: nowrap; }

/* full page */
.page-top {
    padding: calc(var(--header-h) + clamp(3rem, 8vh, 5.5rem)) 0 0;
}
/* where the closing divider was dropped (crew, logbook), the lede
   ends the block — keep the gap the divider used to provide */
.page-top-inner > .page-lede:last-child { margin-bottom: 2.9rem; }
.page-top-inner {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.page-eyebrow-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    align-items: baseline;
    margin-bottom: 1.6rem;
}
.page-title {
    font-family: var(--f-display);
    font-weight: 380;
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 1.4rem;
    text-wrap: balance;
}
.page-title em { font-weight: 340; }
.page-lede {
    font-size: clamp(1.08rem, 1.35vw, 1.25rem);
    line-height: 1.65;
    color: var(--ink-body);
    max-width: 44em;
}

.log-entries {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: clamp(3rem, 6vh, 5rem) var(--gutter) 0;
}
.log-entry {
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4.5rem);
    padding: clamp(2.5rem, 5vh, 4rem) 0;
    border-top: 1px solid var(--line);
}
.log-date-col { text-align: left; }
.log-no {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--brass);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}
.log-date {
    font-family: var(--f-mono);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    display: block;
}
.log-place {
    font-family: var(--f-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-top: 0.5rem;
    display: block;
    line-height: 1.7;
}
.log-body h2 {
    font-family: var(--f-display);
    font-weight: 430;
    font-size: clamp(1.6rem, 2.4vw, 2.3rem);
    line-height: 1.12;
    color: var(--ink);
    margin-bottom: 1.1rem;
}
.log-body { max-width: 72ch; }
.log-body p + p { margin-top: 1.1em; }
.log-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.8rem 0;
}
.log-photos figure { margin: 0; }
.log-photos img { width: 100%; height: 300px; object-fit: cover; }
.log-next {
    border-top: 1px solid var(--line);
    padding: 2rem 0 0;
    display: flex;
    gap: 1.5rem;
    align-items: baseline;
    flex-wrap: wrap;
}

/* ----------------------------------------------------------
   9. GALLERY + LIGHTBOX
   ---------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-grid .gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: zoom-in;
    border: 1px solid var(--line);
    background: var(--paper-2);
    padding: 0.35rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-grid .gallery-img:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }

.gallery-item { margin: 0; }
.gallery-item figcaption {
    margin-top: 0.55rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

.lightbox-caption {
    position: absolute;
    left: 50%;
    bottom: 2.9rem;
    transform: translateX(-50%);
    max-width: min(72ch, 86vw);
    text-align: center;
    font-family: var(--f-text);
    font-style: italic;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(242, 236, 223, 0.85);
}
.lightbox-caption .fig-no { color: var(--brass); }

.lightbox-overlay {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(12, 16, 20, 0.93);
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img { max-width: 88vw; max-height: 78vh; margin-bottom: 4.5rem; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,0.6); }
.lightbox-close, .lightbox-arrow {
    position: absolute;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 2.8rem; height: 2.8rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #EAE4D4;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.lightbox-close:hover, .lightbox-arrow:hover { border-color: #EAE4D4; background: rgba(255,255,255,0.08); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-arrow svg, .lightbox-close svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
    position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
    font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.2em; color: #B9B39F;
}

/* ----------------------------------------------------------
   10. CARDS & BANDS
   ---------------------------------------------------------- */
.card {
    border: 1px solid var(--line);
    background: var(--paper-2);
    padding: clamp(1.6rem, 3vw, 2.4rem);
}
.card-heading {
    font-family: var(--f-display);
    font-weight: 460;
    font-size: 1.35rem;
    color: var(--ink);
    margin-bottom: 0.9rem;
}
.card p { font-size: 0.98rem; }
.card p + p { margin-top: 0.9em; }

.status-card { border-left: 3px solid var(--brass); }
.status-flag {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brass);
    border: 1px solid color-mix(in srgb, var(--brass) 50%, transparent);
    padding: 0.35rem 0.7rem;
    margin-bottom: 1.1rem;
}

/* archive story cards */
.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.story-card {
    border: 1px solid var(--line);
    background: var(--paper-2);
    display: flex;
    flex-direction: column;
    color: var(--ink-body);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); color: var(--ink-body); }
.story-card img { width: 100%; height: 220px; object-fit: cover; }
.story-card .story-text { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.story-card .anno { color: var(--brass); }
.story-card h3 { font-family: var(--f-display); font-weight: 460; font-size: 1.28rem; line-height: 1.2; color: var(--ink); }
.story-card p { font-size: 0.94rem; line-height: 1.6; }
.story-card .story-more { margin-top: auto; padding-top: 0.9rem; }

/* follow / give bands */
.band {
    border-top: 1px solid var(--line);
    background: var(--paper-3);
    margin-top: clamp(3.25rem, 7vh, 5.5rem);
}
.band-inner {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: clamp(3.5rem, 7vh, 5.5rem) var(--gutter);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 6rem);
    align-items: start;
}
.band-block h2 {
    font-family: var(--f-display);
    font-weight: 420;
    font-size: clamp(1.7rem, 2.6vw, 2.5rem);
    line-height: 1.1;
    color: var(--ink);
    margin: 1rem 0 1.1rem;
    text-wrap: balance;
}
.band-block p { max-width: 34em; }
.band-block p + p { margin-top: 0.9em; }
.band-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.band-note {
    margin-top: 1.1rem;
    font-size: 0.86rem;
    font-style: italic;
    color: var(--ink-2);
}
.legal-line {
    font-family: var(--f-ui);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--ink-3);
    margin-top: 1.4rem;
}

/* ----------------------------------------------------------
   11. SUPPORT — PHASES
   ---------------------------------------------------------- */
.phase-list { border-top: 1px solid var(--line); margin-top: 2.5rem; }
.phase-item {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr) 11rem;
    gap: 1.5rem 2rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}
.phase-num {
    font-family: var(--f-mono);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--ink-3);
    line-height: 1;
}
.phase-funded-item .phase-num { color: var(--brass); }
.phase-title {
    font-family: var(--f-display);
    font-weight: 460;
    font-size: 1.3rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}
.phase-desc { font-size: 0.97rem; line-height: 1.65; max-width: 58ch; }
.phase-milestone {
    margin-top: 0.6rem;
    font-size: 0.88rem;
    font-style: italic;
    color: var(--sea);
}
.phase-milestone::before { content: "→ "; color: var(--brass); font-style: normal; }
.phase-cost {
    font-family: var(--f-mono);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    color: var(--ink);
    white-space: nowrap;
    justify-self: end;
    text-align: right;
}
.phase-funded {
    display: block;
    font-family: var(--f-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brass);
    margin-top: 0.45rem;
}
.phase-estimate-note {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
    font-style: italic;
    color: var(--ink-2);
}

.campaign-callout {
    margin: 2.5rem 0;
    border: 1px solid var(--line-strong);
    background: var(--paper-2);
    padding: 1.8rem 2rem;
}
.campaign-callout .callout-figure {
    font-family: var(--f-mono);
    font-size: 1.15rem;
    color: var(--ink);
}
.campaign-callout p + p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-2); }

.give-method { border-top: 1px solid var(--line); padding: 1.8rem 0; }
.give-method:first-of-type { border-top: none; }
.give-method-label {
    font-family: var(--f-ui);
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 0.7rem;
}
.mailing-address {
    font-family: var(--f-mono);
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--ink);
    border-left: 2px solid var(--line-strong);
    padding-left: 1.2rem;
    margin-top: 0.9rem;
}
.tax-box {
    margin-top: 2.2rem;
    border: 1px dashed var(--line-strong);
    padding: 1.4rem 1.6rem;
    font-size: 0.92rem;
}
.tax-box p + p { margin-top: 0.4rem; }

/* ----------------------------------------------------------
   12. BOARD / PEOPLE
   ---------------------------------------------------------- */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.board-member {
    border: 1px solid var(--line);
    background: var(--paper-2);
    padding: 1.5rem 1.6rem;
}
.board-name { font-family: var(--f-display); font-weight: 480; font-size: 1.18rem; color: var(--ink); }
.board-role {
    font-family: var(--f-ui);
    font-size: 0.66rem;
    font-weight: 650;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass);
    margin: 0.35rem 0 0.8rem;
}
.board-bio { font-size: 0.92rem; line-height: 1.62; }
.board-email { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.04em; margin-top: 0.8rem; }
.advisor-list { list-style: none; margin-top: 1.4rem; border-top: 1px solid var(--line); max-width: 44rem; }
.advisor-list li {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line-faint);
    font-size: 0.95rem;
}
.advisor-list .advisor-role { color: var(--ink-2); font-style: italic; text-align: right; }

/* ----------------------------------------------------------
   13. FAQ / LONG-FORM DOC
   ---------------------------------------------------------- */
.doc-layout {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: clamp(2.5rem, 5vh, 4rem) var(--gutter) 0;
    display: grid;
    grid-template-columns: 17rem minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 6rem);
    align-items: start;
}
.doc-toc {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    border-left: 1px solid var(--line);
    padding-left: 1.4rem;
    max-height: calc(100vh - var(--header-h) - 4rem);
    overflow-y: auto;
}
.doc-toc .anno { display: block; margin-bottom: 1rem; color: var(--brass); }
.doc-toc a {
    display: block;
    font-family: var(--f-ui);
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--ink-2);
    padding: 0.32rem 0;
}
.doc-toc a:hover { color: var(--ink); }
.doc-article { max-width: var(--measure); }
.doc-article h2 {
    font-family: var(--f-display);
    font-weight: 440;
    font-size: clamp(1.5rem, 2.1vw, 1.9rem);
    line-height: 1.2;
    color: var(--ink);
    margin: 3rem 0 1.1rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.doc-article h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.doc-article ul, .doc-article ol { padding-left: 1.4rem; margin: 1em 0; }
.doc-article li + li { margin-top: 0.5em; }
.doc-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}
.doc-article th {
    font-family: var(--f-ui);
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: left;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line-strong);
    padding: 0.6rem 0.8rem 0.6rem 0;
}
.doc-article td { border-bottom: 1px solid var(--line-faint); padding: 0.65rem 0.8rem 0.65rem 0; }
.doc-article td:last-child, .doc-article th:last-child { text-align: right; white-space: nowrap; }
.doc-meta { font-size: 0.9rem; font-style: italic; color: var(--ink-2); margin-bottom: 2rem; }

/* ----------------------------------------------------------
   14. HISTORY — HUB & CHAPTERS
   ---------------------------------------------------------- */
.history-subnav {
    border-top: 1px solid var(--line-faint);
    background: color-mix(in srgb, var(--paper) 92%, transparent);
}
.history-subnav-inner {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.subnav-prev, .subnav-next {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-2);
    white-space: nowrap;
}
.subnav-prev:hover, .subnav-next:hover { color: var(--brass); }
.subnav-disabled { opacity: 0.35; pointer-events: none; }
.subnav-center { position: relative; }
.subnav-current {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: none;
    border: 1px solid transparent;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    font-family: var(--f-ui);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
}
.subnav-current:hover, .subnav-current.open { border-color: var(--line); }
/* long chapter titles truncate rather than overflow on narrow screens */
.subnav-center { min-width: 0; }
.subnav-current { min-width: 0; max-width: 100%; }
.subnav-current .subnav-current-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.subnav-chevron { width: 0.7rem; height: 0.7rem; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 0.2s ease; }
.subnav-current.open .subnav-chevron { transform: rotate(180deg); }
.history-toc-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 24rem;
    max-height: 65vh;
    overflow-y: auto;
    background: var(--paper-2);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
    padding: 0.6rem 0;
    z-index: 90;
}
.history-toc-dropdown.open { display: block; }
.toc-item {
    display: block;
    padding: 0.55rem 1.3rem;
    font-family: var(--f-text);
    font-size: 0.92rem;
    color: var(--ink-body);
}
.toc-item:hover { background: var(--paper-3); color: var(--ink); }
.toc-item.toc-active { color: var(--brass); }
.toc-chapter-num { font-family: var(--f-mono); font-size: 0.72rem; color: var(--ink-3); display: inline-block; width: 2.4rem; }
.toc-divider { height: 1px; background: var(--line); margin: 0.5rem 0; }

.history-hero-wrap {
    padding: calc(var(--header-h) + 1.5rem) 0 0;
    max-width: none;
    margin: 0;
}
.history-hero-wrap.with-subnav { padding-top: calc(var(--header-h) + 1.5rem + 1rem); }
.history-hero-frame {
    border: 0;
    padding: 0;
    position: relative;
    background: var(--paper);
    box-shadow: none;
}
/* tilt-shift at the foot, matching the homepage hero */
.history-hero-frame::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 16%;
    pointer-events: none;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 100%);
    mask-image: linear-gradient(to top, #000 10%, transparent 100%);
}
.history-hero-img {
    display: block;
    width: 100%;
    /* Boat-safe crop: rig + Alcatraz sit in a centered 1155×1026 zone of the
       2200×1406 photo. Safe while box AR is between 1155/1406 (≈0.82) and
       2200/1026 (≈2.14). Preferred height leaves room below the fold for the
       overview heading; the 100vw/2.14 floor is the exact limit of the safe
       crop, so on short viewports the hero compresses to it instead of
       pushing the first section off screen. */
    height: clamp(calc(100vw / 2.14), calc(100vh - var(--header-h) - 20rem), calc(100vw * 1406 / 1155));
    object-fit: cover;
    object-position: 50% 50%;
}
.hero-caption {
    position: absolute;
    right: clamp(0.8rem, 2vw, 1.6rem);
    bottom: 0.7rem;
    z-index: 2;
    margin: 0;
    font-family: var(--f-mono);
    font-size: 0.62rem;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.history-overview {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: clamp(3rem, 6vh, 4.5rem) var(--gutter) 0;
}
.history-overview-intro { max-width: var(--measure); margin-bottom: 3.5rem; }

.history-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.history-chapter-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid var(--line);
    background: var(--paper-2);
    padding: 1.6rem 1.7rem 1.8rem;
    color: var(--ink-body);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.history-chapter-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); color: var(--ink-body); }
.chapter-card-num {
    font-family: var(--f-mono);
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brass);
}
.chapter-card-title {
    font-family: var(--f-display);
    font-weight: 470;
    font-size: 1.3rem;
    line-height: 1.18;
    color: var(--ink);
}
.chapter-card-years {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 550;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.chapter-card-desc { font-size: 0.92rem; line-height: 1.6; margin-top: 0.3rem; }
.card-appendix { background: var(--paper-3); }

/* chapter pages */
.chapter-body {
    max-width: 47rem;
    margin: 0 auto;
    padding: calc(var(--header-h) + 3rem + clamp(2.5rem, 6vh, 4.5rem)) var(--gutter) 0;
}
.chapter-title-block { margin-bottom: 3rem; }
.chapter-eyebrow {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 1.1rem;
}
.eyebrow-divider { color: var(--ink-3); padding: 0 0.3rem; }
.chapter-heading {
    font-family: var(--f-display);
    font-weight: 390;
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
    line-height: 1.02;
    color: var(--ink);
    margin-bottom: 1.2rem;
    text-wrap: balance;
}
.chapter-deck {
    font-size: clamp(1.08rem, 1.4vw, 1.25rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--ink-2);
}
.content-text { margin-bottom: 1.15em; }
.content-heading {
    font-family: var(--f-display);
    font-weight: 390;
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 0.9rem;
}
.content-eyebrow {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 0.8rem;
}
.content-deck {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--ink-2);
    margin-bottom: 1.6rem;
}
.content-subheading {
    font-family: var(--f-display);
    font-weight: 450;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    color: var(--ink);
    margin: 2.6rem 0 1.1rem;
}
.chapter-xref { border-bottom: 1px solid color-mix(in srgb, var(--sea) 35%, transparent); }

.chapter-nav {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    border-top: 1px solid var(--line);
    margin-top: 3.5rem;
    padding: 2rem 0 0;
}
.chapter-nav-link { display: flex; flex-direction: column; gap: 0.4rem; max-width: 46%; }
.chapter-nav-next { text-align: right; margin-left: auto; }
.chapter-nav-label {
    font-family: var(--f-mono);
    font-size: 0.64rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.chapter-nav-title { font-family: var(--f-display); font-weight: 460; font-size: 1.06rem; color: var(--ink); line-height: 1.3; }
.chapter-nav-link:hover .chapter-nav-title { color: var(--brass); }

.appendix-section { margin: 2.8rem 0; }
.table-scroll { overflow-x: auto; }
.appendix-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 1.2rem 0; }
.appendix-table th {
    font-family: var(--f-ui);
    font-size: 0.66rem;
    font-weight: 650;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: left;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line-strong);
    padding: 0.55rem 1rem 0.55rem 0;
}
.appendix-table td { border-bottom: 1px solid var(--line-faint); padding: 0.6rem 1rem 0.6rem 0; vertical-align: top; }
.factcheck-item { margin: 1.2em 0; }
.source-category { margin-top: 1.6em; }
.source-list { padding-left: 1.3rem; }
.source-list li + li { margin-top: 0.45em; }
.colophon { font-size: 0.88rem; font-style: italic; color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.5rem; }
.back-link {
    display: inline-block;
    margin: 3rem 0 0;
    font-family: var(--f-mono);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.back-link:hover { color: var(--brass); }

/* ----------------------------------------------------------
   15. PAGE HEADER (interior pages)
   Legacy .page-header / .page-heading / .page-deck removed
   2026-07-30 (no usage on either site or in the Atlas build).
   .page-deck-rule and .page-lede remain in service.
   ---------------------------------------------------------- */
.page-deck-rule { margin-top: 2rem; }
.page-lede { font-size: 1.1rem; }

/* ----------------------------------------------------------
   16. FOOTER — the title block
   ---------------------------------------------------------- */
footer {
    margin-top: clamp(3.5rem, 8vh, 6rem);
    border-top: 1px solid var(--line-strong);
    background: var(--paper-3);
}
.footer-inner {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 0 var(--gutter) 2.5rem;
}
.title-block {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-left: 1px solid var(--line-strong);
    border-right: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}
.title-block .tb-cell {
    padding: 0.9rem 1.1rem 1rem;
    border-right: 1px solid var(--line);
    min-width: 0;
}
.title-block .tb-cell:last-child { border-right: none; }
.tb-label {
    display: block;
    font-family: var(--f-ui);
    font-size: 0.56rem;
    font-weight: 650;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 0.35rem;
}
.tb-value {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* long org names abbreviate on small screens (tb-full/tb-short pairs) */
.tb-short { display: none; }
.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    padding: 3rem 0 2.5rem;
}
.footer-wordmark {
    font-family: var(--f-display);
    font-weight: 480;
    font-size: 1.7rem;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--ink);
    display: block;
    margin-bottom: 0.4rem;
}
.footer-tag {
    font-family: var(--f-mono);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
    display: block;
    margin-bottom: 1.4rem;
}
.footer-closer { font-size: 0.92rem; line-height: 1.65; max-width: 34em; }
.footer-col-head {
    font-family: var(--f-ui);
    font-size: 0.66rem;
    font-weight: 650;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 1rem;
}
.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 0.55rem; }
.footer-nav-list a { font-family: var(--f-text); font-size: 0.95rem; color: var(--ink-body); }
.footer-nav-list a:hover { color: var(--brass); }
.footer-contact p { font-size: 0.92rem; margin-bottom: 0.5rem; }
.footer-contact a { font-family: var(--f-mono); font-size: 0.82rem; }
.footer-lexi {
    font-size: 0.92rem;
    font-style: italic;
    color: var(--ink-2);
    margin: 0 0 1.5rem;
    max-width: 72ch;
}
.footer-lexi em { color: var(--ink); }
.footer-lexi .anno-tag {
    font-family: var(--f-mono);
    font-style: normal;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brass);
    margin-right: 0.7rem;
}
.footer-lexi a {
    color: var(--sea);
    border-bottom: 1px dotted color-mix(in srgb, var(--sea) 60%, transparent);
}
.footer-lexi a:hover { color: var(--brass); border-bottom-color: var(--brass); }

.footer-legal {
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.8rem 2rem;
}
.footer-org, .footer-text {
    font-family: var(--f-ui);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--ink-3);
}
.footer-tagline { font-size: 0.92rem; font-style: italic; color: var(--ink-2); }

/* ----------------------------------------------------------
   17. FORMS (follow the work)
   ---------------------------------------------------------- */
.follow-form { display: flex; gap: 0; max-width: 30rem; margin-top: 1.6rem; }
.follow-form input {
    flex: 1;
    min-width: 0;
    font-family: var(--f-mono);
    font-size: 0.9rem;
    padding: 0.9rem 1.1rem;
    background: var(--paper-2);
    border: 1px solid var(--ink);
    border-right: none;
    color: var(--ink);
    outline: none;
}
.follow-form input::placeholder { color: var(--ink-3); }
.follow-form input:focus { border-color: var(--brass); }
.follow-form .btn { border-left: none; }

/* ----------------------------------------------------------
   17b. TWO-COLUMN CONTENT AREA (lexicon landing)
   ---------------------------------------------------------- */
.content-area {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: clamp(2rem, 4vh, 3rem) var(--gutter) 0;
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: start;
}
.main-col { min-width: 0; }
.sidebar { position: sticky; top: calc(var(--header-h) + 2rem); }
.sidebar-inner {
    border: 1px solid var(--line);
    background: var(--paper-2);
    padding: 1.7rem 1.8rem;
    margin-bottom: 1.25rem;
}
.sidebar-heading {
    font-family: var(--f-display);
    font-weight: 470;
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 0.8rem;
}
.sidebar-text { font-size: 0.94rem; margin-bottom: 0.8em; }
/* .sidebar-contact / .sidebar-cta removed 2026-07-30 (unused) */
@media (max-width: 1179px) {
    .content-area { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}

/* ----------------------------------------------------------
   18. REVEAL ANIMATION
   ---------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { animation: none !important; }
    .hero-lines .hl-curve { stroke-dasharray: none; stroke-dashoffset: 0; }
    .hero-lines .hl-station, .hero-lines .hl-water { opacity: 1; }
}

/* ----------------------------------------------------------
   19. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 1179px) {
    .split, .split.split-flip { grid-template-columns: 1fr; }
    .split > .sticky-col { position: static; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-figure { order: -1; margin-bottom: 2.25rem; }
    /* the homepage masthead reads copy-first: keep the plan figure after the text when narrow */
    .hero-masthead-figure { order: 0; margin-bottom: 0; }
    .doc-layout { grid-template-columns: 1fr; }
    .doc-toc { position: static; border-left: none; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; max-height: none; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .title-block { grid-template-columns: repeat(3, 1fr); }
    .title-block .tb-cell { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
    .header-nav { display: none; }
    .nav-toggle { display: inline-flex; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid .gallery-img { height: 240px; }
    .story-grid { grid-template-columns: 1fr; }
    .band-inner { grid-template-columns: 1fr; }
    .log-entry { grid-template-columns: 1fr; gap: 1.2rem; }
    .log-date-col { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; align-items: baseline; }
    .log-place { margin-top: 0; }
    .phase-item { grid-template-columns: 3rem minmax(0, 1fr); }
    .phase-cost { grid-column: 2; justify-self: start; text-align: left; }
    .board-grid { grid-template-columns: 1fr; }
    .subnav-prev, .subnav-next { font-size: 0.62rem; }
    .history-toc-dropdown { min-width: 88vw; }
}

@media (max-width: 640px) {
    /* footer title block: long org names swap to their abbreviations */
    .tb-full { display: none; }
    .tb-short { display: inline; }
}

@media (max-width: 560px) {
    :root { --header-h: 3.75rem; }
    body { font-size: 1rem; }
    .header-wordmark { font-size: 1.2rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid .gallery-img { height: 260px; }
    .dim-strip { gap: 0.7rem 1.6rem; }
    .log-photos img { height: 220px; }
    .footer-main { grid-template-columns: 1fr; }
    .title-block { grid-template-columns: repeat(2, 1fr); }
    .follow-form { flex-direction: column; }
    .follow-form input { border-right: 1px solid var(--ink); }
    .follow-form .btn { border-left: 1px solid var(--ink); justify-content: center; }
    .advisor-list li { flex-direction: column; gap: 0.1rem; }
    .advisor-list .advisor-role { text-align: left; }
    .chapter-nav { flex-direction: column; gap: 1.6rem; }
    .chapter-nav-link { max-width: 100%; }
    .chapter-nav-next { text-align: left; margin-left: 0; }
}

@media (min-width: 1800px) {
    :root { --site-max: 1720px; }
    body { font-size: 1.125rem; }
}

/* ----------------------------------------------------------
   20. PRINT
   ---------------------------------------------------------- */
@media print {
    #site-header, .theme-toggle, .nav-toggle, .band, .lightbox-overlay, .hero-ctas, .log-tease { display: none !important; }
    body { background: #fff; color: #111; font-size: 11pt; }
    .hero, .page-top, .chapter-body { padding-top: 1rem; }
    footer { background: none; }
    a { color: inherit; }
}


/* ----------------------------------------------------------
   21. SUPPORT — GIVING-FIRST HERO, WAYS TO GIVE, MUSTER ROLL
   (renumbered from a duplicate "14" 2026-07-30)
   ---------------------------------------------------------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: end; }
.hero-grid .figure { margin: 0; }

.give-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.4rem; }
.btn-lg { font-size: 1rem; padding: 1.05rem 2.3rem; letter-spacing: 0.14em; }

.bona-fides {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 2rem;
    margin-top: 2.2rem; padding: 1.05rem 1.4rem;
    border: 1px solid var(--brass); background: var(--paper-2);
}
.bona-fides .bf-main {
    font-family: var(--f-mono); font-size: 0.95rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--brass); font-weight: 500;
}
.bona-fides .bf-etc {
    font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--ink-2);
}

.hero-milestone-strip {
    display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.4rem;
    margin-top: 1.2rem; padding: 0.7rem 1.1rem;
    border: 1px solid var(--line); background: var(--paper-3);
    font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--ink-2);
}
.hero-milestone-strip .ok { color: var(--brass); }

.give-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.give-grid-2 { grid-template-columns: repeat(2, 1fr); }  /* crew.html — four cards, 2×2 */
.give-card {
    border: 1px solid var(--line); background: var(--paper-2);
    padding: 1.8rem 1.9rem 1.9rem; display: flex; flex-direction: column;
}
.give-card .card-heading { font-size: 1.3rem; margin-bottom: 0.7rem; }
.give-card p { font-size: 1.02rem; line-height: 1.7; }
.give-card .btn { align-self: flex-start; }
.give-card-foot { margin-top: auto; padding-top: 1.2rem; }

/* Muster Roll ledger */
.muster-intro { max-width: 44rem; }
.muster { border-top: 1px solid var(--line-strong); }
.muster-tier { border-bottom: 1px solid var(--line); padding: 1.6rem 0.1rem 1.7rem; }
.muster-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.muster-name { font-family: var(--f-display); font-weight: 470; font-size: 1.5rem; color: var(--ink); }
.muster-name .muster-level {
    font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--brass); display: block; margin-bottom: 0.35rem;
}
.muster-amount { font-family: var(--f-mono); font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.muster-gifts { list-style: none; margin: 0.9rem 0 0; padding: 0; }
.muster-gifts li {
    position: relative; padding-left: 1.6rem; margin-top: 0.5rem;
    font-size: 0.99rem; line-height: 1.6; color: var(--ink-body);
}
.muster-gifts li::before {
    content: "\2713"; position: absolute; left: 0.1rem; top: 0;
    color: var(--brass); font-size: 0.85rem;
}
.muster-gifts li.plus { color: var(--ink-3); font-style: italic; }
.muster-gifts li.plus::before { content: "+"; font-style: normal; }
.tier-note { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 1.4rem; line-height: 1.9; }

/* narrow tables beside plates */
.support-split { display: grid; grid-template-columns: minmax(0, 48rem) minmax(0, 1fr); gap: clamp(2.5rem, 4vw, 5rem); align-items: start; }
.support-split > .side { position: sticky; top: 6.5rem; }
.support-split .phase-list { margin-top: 1.5rem; }
.support-split .phase-item { grid-template-columns: 3.6rem minmax(0, 1fr) 8.5rem; gap: 1.2rem 1.4rem; padding: 1.4rem 0; }
.support-split .campaign-callout { margin: 1.75rem 0 0; }

@media (max-width: 1179px) {
    .hero-grid { grid-template-columns: 1fr; align-items: start; }
    .support-split { grid-template-columns: 1fr; }
    .support-split > .side { position: static; }
    .give-grid { grid-template-columns: repeat(2, 1fr); }  /* remapped 1100 -> 1179, merged (2026-07-30) */
}
@media (max-width: 640px) {
    .give-grid, .give-grid-2 { grid-template-columns: 1fr; }
    .give-actions .btn { width: 100%; justify-content: center; }
    .muster-head { flex-direction: column; gap: 0.2rem; }
    .support-split .phase-item { grid-template-columns: 3rem minmax(0,1fr); }
    .support-split .phase-cost { grid-column: 2; justify-self: start; text-align: left; }
}


/* ----------------------------------------------------------
   22. SUBSCRIBE — WEEKLY LOGBOOK EMAIL
   (renumbered from a duplicate "15" 2026-07-30)
   ---------------------------------------------------------- */
.subscribe-band {
    border-top: 1px solid var(--brass);
    border-bottom: 1px solid var(--brass);
    background: var(--paper-2);
    padding: clamp(2.2rem, 4.5vh, 3.2rem) clamp(1.5rem, 6vw, 6rem);
}
.subscribe-inner {
    max-width: var(--max-w, 96rem); margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 1fr);
    gap: 2rem 4rem; align-items: center;
}
.subscribe-inner h2 {
    font-family: var(--f-display); font-weight: 470; font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    color: var(--ink); margin: 0.5rem 0 0.6rem;
}
.subscribe-inner p { color: var(--ink-body); font-size: 1.02rem; line-height: 1.65; }
.subscribe-inner p + p { margin-top: 1em; }
.subscribe-form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.subscribe-form input[type="email"] {
    flex: 1 1 16rem;
    font-family: var(--f-mono); font-size: 0.95rem; color: var(--ink);
    background: var(--paper); border: 1px solid var(--line-strong);
    padding: 1rem 1.2rem; outline: none; border-radius: 0;
}
.subscribe-form input[type="email"]:focus { border-color: var(--brass); }
.subscribe-form .btn { flex: none; }

/* crew sign-on — interest checkboxes, posted as list tags */
.crew-signon-form .signon-tags {
    flex-basis: 100%;
    border: 0;
    padding: 0;
    margin: 0 0 0.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.6rem;
    align-items: center;
}
.crew-signon-form .signon-tags legend {
    float: left;   /* keeps the legend inline with the chips */
    padding: 0;
    margin-right: 0.6rem;
    font-family: var(--f-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.crew-signon-form .tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--line-strong);
    background: var(--paper-2);
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    cursor: pointer;
    user-select: none;
}
.crew-signon-form .tag-chip input { accent-color: var(--brass); margin: 0; }
.crew-signon-form .tag-chip:has(input:checked) {
    border-color: var(--brass);
    background: var(--paper);
}
/* four watches head — text left, company photo right (crew) */
.watches-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(240px, 24vw, 380px);
    column-gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
    margin-bottom: clamp(2.5rem, 5vh, 4rem);
}
.watches-fig { margin: 0; }
@media (max-width: 900px) {  /* remapped 820 -> 900 (2026-07-30) */
    .watches-head { grid-template-columns: 1fr; }
    .watches-fig { max-width: 24rem; margin-top: 2rem; }
}

/* the one rule of the yard — set off like a notice tacked to the shed */
.yard-rule {
    margin-top: 2rem;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--line-strong);
    border-left: 3px solid var(--brass);
    background: var(--paper-2);
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ink-body);
}
.yard-rule strong {
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--f-mono);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
}
@media (max-width: 1179px) { .subscribe-inner { grid-template-columns: 1fr; } }  /* remapped 1100 -> 1179 (2026-07-30) */

.band-form .subscribe-form { margin-top: 1.4rem; }


/* ----------------------------------------------------------
   23. TYPOGRAPHY — orphan/widow control, hyphenation, balance
   (renumbered from a duplicate "16" 2026-07-30)
   ---------------------------------------------------------- */
/* Pretty wrapping avoids single-word last lines and improves
   rag balance on the final lines of paragraphs (Bringhurst-ish). */
p, li, dd, figcaption, blockquote {
    text-wrap: pretty;
}
/* Headings, decks, and pulls balance across their lines. */
h1, h2, h3, h4,
.page-title, .sheet-title, .chapter-heading, .card-heading,
.page-lede, .sheet-deck, .chapter-deck,
.pullquote p, .tier-name, .muster-name {
    text-wrap: balance;
}
/* Discreet auto-hyphenation in running prose only — never in
   UI labels, mono annotations, addresses, or headings. */
.prose p, .content-text, .log-body p, .give-card p,
.card p, .board-bio, .page-lede, .sheet-deck, .chapter-deck,
figcaption, .phase-desc, .tier-benefits, .muster-gifts li {
    hyphens: auto;
    -webkit-hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
}
.anno, .fact-chip, .mailing-address, .btn, .eyebrow,
.log-date-col span, .dim-strip, .title-block, code, pre {
    hyphens: manual;
    -webkit-hyphens: manual;
    text-wrap: initial;
}

/* ============================================================
   HERO — image banner + editorial masthead (staging redesign)
   Wide photo up top, anchored low so the boat holds on very wide
   screens; identity + lead statement on paper below, with faint
   lofting lines drifting behind.
   ============================================================ */
.hero-banner { padding: 0; overflow: visible; }
.hero-banner .hero-media {
    position: relative;
    width: 100%;
    padding-top: var(--header-h);
    background: var(--paper);
}
.hero-banner .hero-photo {
    display: block;
    width: 100%;
    /* Boat-safe crop: the schooner sits in a centered 1260×1000 zone of the
       2400×1371 image. With object-fit: cover + centered object-position the
       crop stays safe while the box aspect ratio is between 1260/1371 (≈0.919)
       and 2400/1000 (2.4). We clamp to 100vw/2.0 to keep ~100px of image
       breathing room above and below the boat (lower divisor = more margin,
       taller hero; 2.4 = boat exactly grazes the crop). */
    height: clamp(calc(100vw / 2.0), clamp(46vh, 60vh, 40rem), calc(100vw * 1371 / 1260));
    object-fit: cover;
    object-position: 50% 50%;   /* boat zone centered; margins trim evenly */
}
/* tilt-shift — soft graduated blur band at the foot of the photo */
.hero-banner .hero-media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 16%;
    pointer-events: none;
    z-index: 1;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 100%);
    mask-image: linear-gradient(to top, #000 10%, transparent 100%);
}
.hero-banner .hero-credit {
    position: absolute;
    right: clamp(0.8rem, 2vw, 1.6rem);
    bottom: 0.7rem;
    font-family: var(--f-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
    z-index: 2;   /* above the tilt-shift bands */
}

/* masthead — editorial text block on paper */
.hero-masthead {
    position: relative;
    background: var(--paper);
    overflow: hidden;
}
.hero-masthead-inner {
    position: relative;
    z-index: 1;
    max-width: var(--site-max);
    margin: 0 auto;
    padding: clamp(2.2rem, 5vh, 3.6rem) var(--gutter) clamp(1.8rem, 4vh, 2.8rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(200px, 34vw, 32rem);
    column-gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}
/* the brass tick spans both columns */
.hero-masthead-inner::before { grid-column: 1 / -1; }
.hero-masthead-figure { margin: 0; }
/* brass title-block tick above the identity row */
.hero-masthead-inner::before {
    content: "";
    display: block;
    width: 3.25rem;
    height: 2px;
    background: var(--brass);
    margin-bottom: 1.5rem;
}
.hero-banner .hero-anno {
    margin-bottom: 1.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.6rem;
}
.hero-lead {
    max-width: 46rem;
    margin: 0 0 2.1rem;
    font-family: var(--f-prose);
    font-size: clamp(1.08rem, 1.4vw, 1.28rem);
    line-height: 1.62;
    color: var(--ink-body);
    text-wrap: pretty;
}
.hero-lead .lead-in {
    display: block;
    font-family: var(--f-display);
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 380;
    font-size: clamp(2.2rem, 4.2vw, 3.3rem);
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 0.9rem;
}
.hero-lead .lead-in em,
.hero-lead .lead-in .yn { font-style: italic; }
/* keep the headline on a single line on standard desktop widths */
@media (min-width: 960px) {
    .hero-lead .lead-in { white-space: nowrap; }
}
.hero-banner .hero-foot {
    position: relative;
    z-index: 1;
    margin-top: 0;
    border-top: 1px solid var(--line);
}
/* accessibility helper */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 900px) {  /* remapped 820 -> 900 (2026-07-30) */
    .hero-banner .hero-photo { height: clamp(calc(100vw / 2.0), clamp(38vh, 46vh, 24rem), calc(100vw * 1371 / 1260)); }
    .hero-masthead-inner { grid-template-columns: 1fr; }
    .hero-masthead-figure { max-width: 22rem; margin-top: 2rem; }
    .hero-lead { font-size: clamp(1.02rem, 3.6vw, 1.18rem); }
    .hero-lead .lead-in { font-size: clamp(2rem, 8.5vw, 2.9rem); }
}


/* ============================================================
   §W. WIDE-VIEWPORT DRAFTING-MARGIN LAYOUT (July 29, 2026)
   At desk widths every sheet becomes a two-column drawing: the
   sheet head moves into a sticky left margin rail and the content
   takes the remaining width. Long prose can flow two-up with
   .prose-cols. Matches the treatment on ggwbf.org.
   ============================================================ */
@media (min-width: 1240px) {
    .sheet {
        display: grid;
        grid-template-columns: minmax(14rem, 19rem) minmax(0, 1fr);
        column-gap: clamp(3rem, 5vw, 6rem);
    }
    .sheet > * { grid-column: 2; min-width: 0; }
    .sheet > .sheet-head {
        grid-column: 1;
        grid-row: 1 / 99;
        position: sticky;
        top: calc(var(--header-h) + 2.5rem);
        align-self: start;
        margin-bottom: 0;
        border-top: 2px solid var(--ink);
        padding-top: 1.15rem;
        max-width: none;
    }
    .sheet .sheet-title { font-size: clamp(1.55rem, 1.9vw, 2.15rem); line-height: 1.14; }
    .sheet .sheet-deck { font-size: 0.98rem; margin-top: 0.9rem; }
    .sheet .prose { max-width: 66ch; }
    .sheet .prose-cols {
        columns: 2;
        column-gap: clamp(2.6rem, 3.5vw, 4.5rem);
        max-width: none;
        orphans: 2;
        widows: 2;
    }
    .prose-cols figure, .prose-cols blockquote { break-inside: avoid; }
    /* splits keep their text measure; the figure takes what remains */
    .sheet .split { grid-template-columns: minmax(0, 42rem) minmax(16rem, 1fr); }
}
