@charset "UTF-8";

@font-face {
    font-family: "STIX Two Text";
    src: url("fonts/stix-two-text-latin-wght-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}
@font-face {
    font-family: "STIX Two Text";
    src: url("fonts/stix-two-text-latin-wght-italic.woff2") format("woff2");
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
}
@font-face {
    font-family: "Instrument Sans";
    src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

:root {
    color-scheme: light;
    --cream: #fbf9ed;
    --ivory: #fffdf8;
    --ink: #22212a;
    --plum: #51264f;
    --red: #bd2535;
    --blue: #202a98;
    --pink: #fcdae6;
    --berry: #a81a63;
    --serif: "STIX Two Text", Georgia, serif;
    --sans: "Instrument Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
    --sheet: #dcecf2;
    margin: 0;
    background: var(--sheet);
    color: var(--ink);
    font: 1.125rem/1.55 var(--sans);
    overflow-wrap: break-word;
}
body[data-kind="home"] { --sheet: var(--cream); }
body[data-desk="River Wire"], body[data-desk="Reeves Park"] { --sheet: #d1a1cb; }
body[data-desk="Flock business"], body[data-kind="contact"] { --sheet: #ead1e1; }
body[data-desk="Gatherings"], body[data-desk="Picnic report"] { --sheet: #d6ebd4; }
body[data-desk="Young Wings"], body[data-desk="Culture"] { --sheet: #fff0cd; }

img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #104b90; outline-offset: 3px; }
.wrap { width: min(calc(100% - 2.5rem), 60rem); margin-inline: auto; }
.skip { position: fixed; top: -8rem; left: 1rem; z-index: 30; padding: .6rem 1rem; background: white; }
.skip:focus { top: .5rem; }
#bulletin { scroll-margin-top: 8rem; }

.mast { position: sticky; top: 0; z-index: 10; padding-top: 1.2rem; background: var(--ivory); }
.desk-nav .wrap { border-bottom: 4px solid #100f10; }
.desk-nav ul { list-style: none; margin-block: 0; padding: 0; }
.nav-inner { display: flex; justify-content: flex-end; align-items: stretch; }
.nav-inner > li { display: flex; align-items: stretch; position: relative; }
.nav-inner > li > a, .more > details > summary {
    display: block;
    padding: .58rem .78rem .5rem;
    color: #333131;
    font: italic 700 clamp(1.25rem, 2.15vw, 1.75rem)/1.12 var(--serif);
    text-decoration: none;
}
.nav-inner > li:has(> details):not(.more) > a { padding-right: .1rem; }
.desk-nav summary { list-style: none; }
.desk-nav summary::-webkit-details-marker { display: none; }
.nav-inner > li:not(.more) summary {
    display: grid;
    place-items: center;
    height: 100%;
    min-width: 1.5rem;
    padding-inline: .3rem .55rem;
    font-size: .84rem;
}
.nav-inner > li:hover, .nav-inner > li:focus-within, .nav-inner > li:has([aria-current="page"]) { background: var(--pink); }
.nav-inner > li:has([aria-current="page"]) > a,
.more:has([aria-current="page"]) > details > summary,
.desk-nav a:hover, .desk-nav summary:hover { color: var(--berry); }
.desk-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    width: max-content;
    max-width: min(28rem, 85vw);
    max-height: 65vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #84717e;
    border-top: 3px solid #151015;
    padding: .4rem .7rem;
    background: var(--ivory);
    box-shadow: 3px 4px 0 #2e173344;
    text-align: left;
}
.nav-inner > li:nth-last-child(-n+2) .dropdown { left: auto; right: 0; }
.dropdown a { display: block; padding: .45rem .5rem; color: var(--plum); font: 700 1rem/1.25 var(--sans); text-decoration: none; }
.dropdown a:hover, .dropdown a:focus-visible, .dropdown a[aria-current="page"] { background: var(--pink); text-decoration: underline; }
.desk-nav .subsections { padding: 0 0 .4rem .8rem; }
.subsections a { font-weight: 400; }
.more .dropdown { min-width: 15rem; }
.more .dropdown > li { position: relative; }
.more .dropdown > li:has(details) > a { padding-right: 3rem; }
.more .dropdown summary {
    position: absolute;
    top: 0;
    right: 0;
    width: 2.5rem;
    padding: .4rem 0;
    border-left: 1px solid #cabac2;
    text-align: center;
    font: 1rem/1.35 var(--sans);
}
.more .dropdown > li + li { border-top: 1px solid #bcaeb7; }
.mobile-menu { display: none; }
.mast-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    min-height: 3rem;
    padding-block: .3rem;
    font: .875rem/1.3 var(--sans);
}
.bulletin-strip {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: stretch;
    border: 3px ridge #cc9b43;
    background: #fff5ac;
    color: #552344;
}
.bulletin-label {
    display: grid;
    place-items: center;
    padding-inline: .55rem;
    background: #761947;
    color: #fff6ae;
    font-weight: 700;
    text-transform: uppercase;
}
.bulletin-copy {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    margin: 0;
    padding: .25rem .65rem;
    font: italic 700 1rem/1.25 var(--serif);
}
.flock-controls { display: flex; flex: none; align-items: center; margin-inline-start: auto; }
.flock-controls button {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: .3rem;
    background: transparent;
    color: #674d60;
}
.flock-controls button:not([hidden]) { display: grid; place-items: center; }
.flock-controls button:is(:hover, :focus-visible):enabled { background: #f0e2eb; color: var(--plum); }
.flock-controls button:disabled { opacity: .55; cursor: default; }
.flock-controls svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flock-controls [aria-pressed="true"] .when-released,
.flock-controls [aria-pressed="false"] .when-pressed,
.flock-reset:not([data-done]) .reset-check,
.flock-reset[data-done] .reset-arrow { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (pointer: coarse) {
    .flock-controls button { width: 2.75rem; height: 2.75rem; }
}

.ceremony { padding: clamp(3rem, 5vw, 3.75rem) 0 .4rem; text-align: center; }
.seal-mount { position: relative; width: fit-content; max-width: 100%; margin-inline: auto; }
.committee-seal, .colophon .seal { mix-blend-mode: multiply; margin-inline: auto; }
.committee-seal { width: clamp(8rem, 15vw, 11rem); }
body[data-desk="Flock business"] .committee-seal { width: clamp(11rem, 23vw, 19rem); }
.flock-line { margin: .2rem 0 0; color: var(--plum); font: italic 700 1.1rem/1.2 var(--serif); text-shadow: 1px 1px #ffdf81; }
.ceremony-home {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    align-items: start;
    gap: clamp(.3rem, 2.3vw, 2rem);
    width: min(calc(100% - 2rem), 57rem);
    margin-inline: auto;
    padding-block: clamp(3.75rem, 12vw, 9.5rem) 1rem;
}
.ceremony-home .committee-seal { width: min(100%, 22rem); }
.flag-perch {
    position: relative;
    display: block;
    width: min(100%, 11.25rem);
    aspect-ratio: 3 / 2;
    margin-top: clamp(.5rem, 2vw, 1.6rem);
}
.flag-perch::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("waving-flag.webp") center / contain no-repeat;
}
.flag-left::before { scale: -1 1; }
.flag-right { justify-self: end; }
.section-rail { position: relative; margin-block-start: 1.25rem; border-top: 1px solid #846b7a; }
.guest-tally:not([hidden]) {
    display: table;
    margin: .4rem auto;
    padding: .15rem .45rem;
    border: 3px ridge #c69b51;
    background: #fff5bc;
    color: var(--plum);
    font: italic 700 .95rem/1.2 var(--serif);
}
.guest-tally b {
    display: inline-block;
    padding: .08rem .35rem;
    background: var(--plum);
    color: #fff1a6;
    font: bold .95rem/1.2 ui-monospace, monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: .1em;
}

h1, h2, h3 { text-wrap: balance; line-height: 1.14; }
figure { margin: 0; }
figcaption { margin-top: .45rem; color: #574050; font: italic 1rem/1.35 var(--serif); }
.engraving img { width: 100%; }
.hero, .dispatches, .minutes, .article-intro, .colophon { text-align: center; }
.hero { padding-block: 1.5rem 3rem; }
.hero h1, .dispatch h3, .minutes h2 {
    margin: 0;
    color: var(--plum);
    font: 700 clamp(1.65rem, 2.7vw, 2.15rem)/1.15 var(--sans);
    text-decoration: underline;
    text-underline-offset: .09em;
}
.hero h1, .dispatches h2 { text-transform: uppercase; }
.hero h1::after, .article-intro h1::after, .dispatches h2::after {
    content: "";
    display: block;
    width: min(11rem, 65%);
    height: .35rem;
    margin: .5rem auto 0;
    background: linear-gradient(115deg, var(--red) 0 30%, #fff8dc 30% 50%, var(--blue) 50% 80%, #fff8dc 80%) 0 0 / 2rem 100% repeat-x;
}
.hero figure, .article-body > figure:not(.newsreel) { width: min(100%, 29rem); margin: 1.65rem auto; text-align: center; }
.lede { margin: 1.25rem auto; max-width: 53ch; color: var(--plum); font-size: clamp(1.16rem, 2vw, 1.55rem); }
.hero .lede { color: var(--blue); font-weight: 700; }
.eyebrow { margin: 0 0 .55rem; color: var(--plum); font: italic 700 1.2rem/1.2 var(--serif); }

.stamp-row { display: grid; gap: .45rem; width: fit-content; max-width: 100%; margin: 4.5rem auto 0; text-align: center; }
.stamp, .stamp-rim { grid-area: 1 / 1; }
.stamp-rim { position: relative; z-index: 1; pointer-events: none; }
.stamp {
    display: inline-flex;
    max-width: 100%;
    padding: 0;
    border: 0;
    border-radius: 3rem;
    background: transparent;
}
.stamp-face {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    max-width: 100%;
    padding: .85rem 1.55rem;
    border: 4px solid #f04753;
    border-radius: 3rem;
    background: linear-gradient(115deg, #c5a7ee, #ffe5cf 58%, #e7cadf);
    box-shadow: inset 0 2px 3px white, 4px 5px 0 #777568;
    color: #342537;
    font: 700 1.03rem/1.2 var(--sans);
    letter-spacing: .08em;
    text-transform: uppercase;
    pointer-events: none;
}
.stamp:hover .stamp-face { border-color: var(--berry); }
.stamp:active .stamp-face { box-shadow: inset 1px 2px 3px #634962, 1px 2px 0 #777568; }
.stamp-icon { color: var(--red); }
.stamp-answer { min-height: 1.4em; color: var(--plum); font: italic 1rem/1.4 var(--serif); }

.dispatches { background: var(--ivory); padding-block: 2.25rem 1.25rem; }
.dispatches h2 { margin: 0 0 1rem; color: var(--red); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.dispatch { max-width: 53rem; margin-inline: auto; padding-block: 1.7rem 2.1rem; }
.dispatch h3 { color: var(--red); }
.dispatch:nth-of-type(2) h3 { color: var(--blue); }
.dispatch:nth-of-type(3n) h3 { color: var(--plum); }
.dispatch img { width: min(100%, 24rem); margin: 1.2rem auto 0; }
.dispatch:nth-of-type(2) img { width: min(100%, 20rem); }
.dispatch p:last-child { max-width: 51ch; margin: .85rem auto 0; font-weight: 700; }
.minutes { max-width: 45rem; padding-block: 3.5rem; }
.minutes p:not(.eyebrow) { margin: 1.2rem auto 0; }

.article { padding-block: 1.4rem 3rem; }
.article-intro { max-width: 55rem; margin-inline: auto; }
.article-intro h1 { margin: 0; color: #211b29; font: 700 clamp(2.15rem, 4.6vw, 3.2rem)/1.12 var(--serif); }
.article-intro .lede { font-weight: 700; }
.article-body { max-width: 46rem; margin: 2rem auto 0; }
.article-body p { margin: 1rem 0; }
.article-body li + li { margin-top: .3rem; }
.docket { position: relative; margin: 4.5rem auto 2rem; }
.docket article { padding: 1rem 0; border-top: 1px solid #846b7a; }
.docket h3 { margin: 0; color: var(--plum); font: 700 1.5rem/1.2 var(--serif); text-decoration: underline; }
.docket p { margin: .5rem 0 0; }

.site-form, .search-box {
    display: grid;
    gap: 1rem;
    max-width: 35rem;
    margin: 2rem auto;
    padding: clamp(1rem, 3vw, 2rem);
    border: 2px solid #795970;
    background: var(--ivory);
}
.site-form label, .search-box label { display: grid; gap: .3rem; color: var(--plum); font-weight: 700; }
input, textarea { width: 100%; min-width: 0; padding: .6rem .7rem; background: white; color: var(--ink); border: 1px solid #76576f; }
textarea { resize: vertical; }
.site-form button, .search-box button {
    justify-self: start;
    padding: .45rem 1.1rem;
    background: var(--plum);
    color: white;
    border: 3px outset #bd94b1;
    font-weight: 700;
}
.trap { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.message { border-left: 3px solid var(--red); padding-left: 1rem; }
.search-results { padding-inline-start: 1.5rem; }
.search-results p { margin-top: .2rem; }
.fb-reference { overflow-wrap: anywhere; }
.newsreel { text-align: center; margin: 1.8rem auto; }
.reel-window { position: relative; height: 6.5rem; overflow: hidden; background: #d8f0f4; border-block: 5px dashed #312839; }
.reel-window img { position: absolute; width: 3.8rem; height: 3.8rem; top: .8rem; left: 3%; z-index: 1; border-radius: 50%; }
.waterline { position: absolute; inset: auto 0 .8rem; height: .3rem; background: repeating-linear-gradient(90deg, var(--blue) 0 1rem, transparent 1rem 1.4rem); }

.colophon { background: var(--ivory); color: var(--plum); padding-block: 4.5rem 2rem; }
.colophon .wrap { position: relative; border-top: 3px double #795970; padding-top: .65rem; }
.colophon .seal { width: 9rem; }
.colophon p { margin: .65rem 0; font-weight: 700; }
.colophon strong { font-family: var(--serif); font-size: 1.3rem; }
.colophon .credit { display: inline-block; border-top: 1px solid #426654; padding-top: .65rem; font-size: .95rem; font-weight: 400; }
.colophon .publication-note { max-width: 72ch; margin-inline: auto; }
.colophon .publication-note p { font-size: .95rem; font-weight: 400; }

.bird-perch {
    position: absolute;
    z-index: 1;
    width: clamp(3.5rem, 7vw, 5rem);
    aspect-ratio: 1;
    pointer-events: none;
}
.perched-bird {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    pointer-events: auto;
    touch-action: manipulation;
}
.perched-bird:disabled { cursor: default; }
.perched-bird.is-flying { pointer-events: none; }
.perched-bird.is-flying > .bird-sprite { visibility: hidden; }
[data-bird="night-heron"] { --bird-row: 50%; --groom-cycle: 12s; --flap-cycle: .5s; }
[data-bird="sandpiper"] { --bird-row: 100%; --groom-cycle: 7s; --idle-motion: tail-bob; --bob-cycle: 3.2s; --flap-cycle: .24s; }
[data-guest] { --bird-art: url("guest-delegates.webp"); }
[data-bird="pigeon"] { --idle-motion: tail-bob; --bob-cycle: 3.3s; --flap-cycle: .28s; }
[data-bird="flamingo"] { --groom-cycle: 11s; --flap-cycle: .48s; }
[data-bird="trenchcoat"] { --groom-cycle: 7s; --flap-cycle: .33s; }
.seal-mount .bird-perch { bottom: 84.5%; left: 65.5%; transform: translateX(-50%); }
.flag-perch .bird-perch { --idle-offset: -3s; bottom: 89%; right: 4%; width: clamp(2.75rem, 5vw, 3.75rem); }
.flag-left .bird-perch { right: auto; left: 4%; }
.section-rail .bird-perch, .dispatches .bird-perch { left: 4%; width: clamp(3rem, 6vw, 4rem); }
.section-rail .bird-perch { bottom: 100%; }
.dispatches .wrap { position: relative; }
.dispatches .bird-perch { bottom: calc(100% + 2.25rem); }
.stamp-rim .bird-perch { --idle-offset: -1.5s; bottom: 100%; right: 8%; width: clamp(3rem, 6vw, 4rem); }
.docket .bird-perch { --idle-offset: -6s; bottom: 100%; right: 3%; width: clamp(3.25rem, 6vw, 4.4rem); }
.colophon .bird-perch { bottom: 100%; }
.colophon .perch-left { --idle-offset: -3s; left: 6%; }
.colophon .perch-middle { left: 50%; transform: translateX(-50%); }
.colophon .perch-right { --idle-offset: -2s; right: 9%; }
.guest-wire {
    --seat-size: clamp(3.25rem, 7vw, 4.75rem);
    --seat-gap: .875rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--seat-size), 1fr));
    justify-items: center;
    gap: var(--seat-gap);
    background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--seat-size) - 1px), #846b7a calc(var(--seat-size) - 1px) var(--seat-size), transparent var(--seat-size) calc(var(--seat-size) + var(--seat-gap)));
}
.stamp-row + .guest-wire:not(:empty) { margin-top: 2rem; }
.guest-wire .guest-perch {
    position: relative;
    inset: auto;
    width: var(--seat-size);
    height: var(--seat-size);
}
.bird-sprite {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--bird-art, url("committee-birds.webp")) 0% var(--bird-row, 0%) / 600% var(--bird-sheet-height, 300%) no-repeat;
    transform-origin: center bottom;
    pointer-events: none;
}
[data-facing="left"] > .bird-sprite { scale: -1 1; }
.bird-sky { position: fixed; inset: 0; z-index: 11; overflow: hidden; pointer-events: none; }
.bird-flight { position: absolute; top: 0; left: 0; aspect-ratio: 1; transform-origin: top left; }
.bird-flight > .bird-sprite { transform-origin: center; }
.gull-car {
    position: absolute;
    left: 0;
    bottom: max(.25rem, env(safe-area-inset-bottom));
    width: clamp(7rem, 16vw, 12rem);
    padding: 0;
    border: 0;
    background: transparent;
    pointer-events: auto;
    touch-action: manipulation;
}
.gull-convertible { position: relative; display: block; pointer-events: none; animation: car-suspension .32s ease-in-out infinite alternate; }
.gull-car.westbound .gull-convertible { scale: -1 1; }
.gull-body { position: relative; width: 100%; }
.gull-wave {
    position: absolute;
    left: 30.8%;
    top: 37%;
    width: 33.8%;
    transform-origin: 17% 62%;
    animation: wave-from-car 2.9s ease-in-out infinite;
}
.gull-car.honking .gull-wave { animation: none; }
@keyframes wave-from-car {
    0%, 22%, 88%, 100% { rotate: 0deg; }
    42%, 66% { rotate: -75deg; }
    54%, 76% { rotate: -50deg; }
}
@keyframes car-suspension { to { transform: translateY(-2px) rotate(-.65deg); } }
.falling-dropping {
    position: absolute;
    inset: 0 auto auto 0;
    width: 6px;
    height: 11px;
    border-radius: 65% 42% 60% 50%;
    background: #fffef0;
    box-shadow: inset 2px -3px #69705a, 0 0 1px #373b39;
}
.splat-target { position: relative; }
.bird-splat {
    position: absolute;
    z-index: 1;
    width: 26px;
    height: 21px;
    translate: -50% -50%;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 48%, #57644e 0 12%, transparent 16%),
        radial-gradient(ellipse at 62% 54%, #aeb899 0 16%, transparent 20%),
        radial-gradient(ellipse at 50% 51%, #fffef0 0 34%, transparent 39%),
        radial-gradient(ellipse at 28% 60%, #fffef0 0 12%, transparent 16%),
        radial-gradient(ellipse at 65% 28%, #fffef0 0 10%, transparent 14%),
        radial-gradient(circle at 14% 77%, #e9eacc 0 5%, transparent 8%),
        radial-gradient(circle at 88% 19%, #fffef0 0 5%, transparent 8%);
    filter: drop-shadow(0 1px 1px #584b42);
}

/* Each row of the sprite sheet has three perched poses, then three wingbeats. */
@keyframes bird-groom {
    0%, 28%, 78%, 100% { background-position-x: 0%; }
    16% { background-position-x: 20%; }
    65% { background-position-x: 40%; }
}
@keyframes bird-nod {
    0%, 54%, 78%, 100% { transform: none; }
    62% { transform: rotate(6deg) scaleY(.96); }
    71% { transform: rotate(-3deg); }
}
@keyframes tail-bob {
    0%, 45%, 85%, 100% { transform: none; }
    52%, 70% { transform: rotate(-8deg); }
    61%, 78% { transform: rotate(4deg); }
}
@keyframes ride-seal {
    0%, 100% { bottom: 74.15%; left: 60.85%; }
    9% { bottom: 86.9%; left: 66.6%; }
    16%, 92% { bottom: 84.5%; left: 65.5%; }
}
@keyframes bird-flap {
    0%, 100% { background-position-x: 60%; }
    25%, 75% { background-position-x: 80%; }
    50% { background-position-x: 100%; }
}
@keyframes flag-wave {
    from { transform: perspective(20rem) rotateY(-9deg) skewY(-3deg); }
    to { transform: perspective(20rem) rotateY(12deg) skewY(3deg); }
}
@keyframes seal-salute {
    0%, 100% { transform: scale(.7) rotate(-95deg); }
    9% { transform: scale(1.07) rotate(8deg); }
    16%, 92% { transform: none; }
}
@keyframes headline-wipe {
    0%, 100% { clip-path: inset(-.2em 100% -.2em 0); }
    12%, 92% { clip-path: inset(-.2em 0 -.2em 0); }
}
@keyframes fly-in {
    0%, 100% { transform: translateX(-1.5rem); opacity: .4; }
    12%, 93% { transform: none; opacity: 1; }
}
@keyframes picture-tilt {
    0%, 100% { transform: scale(.86) rotate(-7deg); }
    10% { transform: scale(1.03) rotate(2deg); }
    17%, 93% { transform: none; }
}
@keyframes bulletin-bounce {
    0%, 16%, 100% { transform: none; }
    6% { transform: translateY(-.6rem); }
    11% { transform: translateY(.2rem); }
}
@keyframes full-bill-spin {
    0% { transform: rotate(0); }
    11% { transform: rotate(370deg); }
    16%, 100% { transform: rotate(360deg); }
}
@keyframes seal-wobble {
    0%, 65%, 100% { transform: rotate(0); }
    76% { transform: rotate(12deg); }
    89% { transform: rotate(-9deg); }
}
@keyframes water-landing {
    0%, 12%, 100% { left: 3%; transform: rotate(-12deg); }
    43% { top: .25rem; }
    70%, 85% { left: calc(97% - 3.8rem); top: 1.65rem; transform: rotate(365deg); }
}
@keyframes news-colors {
    from { background-color: #a9dadd; }
    to { background-color: var(--sheet); }
}
@keyframes bulletin-crawl {
    to { transform: translateX(-100%); }
}
@keyframes text-blink {
    0%, 100% { opacity: 1; }
    76% { opacity: .06; }
}
@keyframes wordart-colors {
    0%, 100% { color: #74224f; text-shadow: 2px 2px #ffda69; }
    33% { color: #193786; text-shadow: -2px 2px #f6a6d2; }
    66% { color: #155343; text-shadow: 2px -1px #a5e9ff; }
}
@keyframes marching-stripes {
    to { background-position-x: 2rem; }
}
[data-entrance="salute"] { --entrance: seal-salute; --cycle: 10s; }
[data-entrance="wipe"] { --entrance: headline-wipe; --cycle: 9s; }
[data-entrance="fly"] { --entrance: fly-in; --cycle: 11s; }
[data-entrance="tilt"] { --entrance: picture-tilt; --cycle: 8s; }
[data-entrance="bounce"] { --entrance: bulletin-bounce; --cycle: 7s; }

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
    html:not([data-motion="off"]) .perched-bird[data-arriving] { visibility: hidden; }
}
@media (prefers-reduced-motion: no-preference) {
    html[data-motion="on"] .bird-perch.in-view > .perched-bird:not(.is-flying) > .bird-sprite {
        animation: bird-groom var(--groom-cycle, 9s) step-end var(--idle-offset, 0s) infinite,
            var(--idle-motion, bird-nod) var(--bob-cycle, 4.6s) ease-in-out var(--idle-offset, 0s) infinite;
    }
    html[data-motion="on"] .seal-mount:has(.committee-seal.in-view) .bird-perch { animation: ride-seal 10s ease-in-out infinite; }
    html[data-motion="on"] .bird-flight:not(.touching-down) > .bird-sprite { animation: bird-flap var(--flap-cycle, .38s) step-end infinite; }
    .bird-flight.touching-down > .bird-sprite { background-position-x: 40%; }
    html[data-motion="on"] .bulletin-copy { display: flex; padding-inline: 0; }
    html[data-motion="on"] .bulletin-copy > span {
        display: block;
        flex: none;
        min-width: 100%;
        padding-inline: .65rem 3rem;
        white-space: nowrap;
        animation: bulletin-crawl 18s linear infinite;
    }
    html[data-motion="on"] .bulletin-label span, html[data-motion="on"] .eyebrow { animation: text-blink 1.8s step-end infinite; }
    html[data-motion="on"] .flock-line { animation: wordart-colors 5s linear infinite; }
    html[data-motion="on"] :is(.hero h1, .article-intro h1, .dispatches h2)::after { animation: marching-stripes 2.4s linear infinite; }
    html[data-motion="on"] [data-entrance].in-view { animation: var(--entrance) var(--cycle) ease-in-out infinite; }
    html[data-motion="on"] .flag-perch::before { animation: flag-wave 1.4s ease-in-out infinite alternate; }
    html[data-motion="on"] .flag-right::before { animation-delay: -.7s; }
    html[data-motion="on"] .stamp.in-view .stamp-face,
    html[data-motion="on"] .stamp-rim:has(+ .stamp.in-view) { animation: full-bill-spin 8s ease-in-out infinite; }
    html[data-motion="on"] .stamp.in-view + .stamp-answer:not(:empty) { animation: bulletin-bounce 7s ease-in-out infinite; }
    html[data-motion="on"] .stamp-icon, html[data-motion="on"] .colophon .seal { animation: seal-wobble 3s ease-in-out infinite; }
    html[data-motion="on"] .reel-window img { animation: water-landing 8s ease-in-out infinite; }
    html[data-motion="on"] body[data-desk="River Wire"] { animation: news-colors 9s ease-in-out infinite alternate; }
}

@media (max-width: 52rem) {
    .mast { padding-top: .4rem; }
    .wrap { width: min(calc(100% - 1.5rem), 60rem); }
    .mast-tools { min-height: 2.5rem; }
    html[data-motion] .mobile-menu {
        display: block;
        margin: 0 auto .3rem;
        padding: .4rem 1.5rem;
        border: 0;
        background: var(--pink);
        color: var(--berry);
        font: italic 700 1.45rem/1.15 var(--serif);
    }
    .nav-inner { display: block; max-height: 60vh; overflow-y: auto; }
    html[data-motion] .desk-nav:not(.open) .nav-inner { display: none; }
    .nav-inner > li { display: block; border-top: 1px solid #cabac2; }
    .nav-inner > li > a, .more > details > summary { padding: .65rem .8rem; }
    .nav-inner > li:has(> details):not(.more) > a { padding-right: 3.2rem; }
    .nav-inner > li:not(.more) summary { position: absolute; top: 0; right: 0; width: 3rem; height: 2.8rem; border-left: 1px solid #cabac2; }
    .desk-nav .dropdown { position: static; width: 100%; max-width: none; max-height: none; box-shadow: none; }
    .ceremony-home { padding-block-start: 3rem; }
}
@media (max-width: 35rem) {
    .section-rail { margin-block-start: 2.5rem; }
    .ceremony-home { grid-template-columns: 1fr 2.2fr 1fr; }
    .ceremony-home .flock-line { font-size: 1rem; }
    .mast-tools { font-size: .8rem; }
    html[data-motion] .mobile-menu { margin-inline: 0; }
    .flock-controls { position: absolute; top: .75rem; right: .75rem; }
    .bulletin-label { padding-inline: .35rem; }
    html:not([data-motion="on"]) .bulletin-strip { display: block; padding: .25rem .4rem; }
    html:not([data-motion="on"]) .bulletin-label { display: inline; }
    html:not([data-motion="on"]) .bulletin-copy { display: inline; padding: 0; }
    .hero { padding-block: 1.1rem 1.8rem; }
    .stamp-face { padding: .7rem 1rem; font-size: .95rem; }
}
@media (max-width: 24rem) {
    html[data-motion] .mobile-menu { padding-inline: .6rem; font-size: 1.2rem; }
}
@media (max-width: 30rem) {
    .mast-tools { flex-wrap: wrap; gap: .3rem; }
    .bulletin-strip { flex-basis: 100%; }
}
@media print {
    .mast, .skip, .stamp-row, .bird-perch, .bird-sky, .bird-splat, .guest-wire, .guest-tally:not([hidden]), form { display: none; }
    body, .dispatches, .colophon { background: white; }
    .ceremony, .ceremony-home { padding-top: 0; }
    .committee-seal, .ceremony-home .committee-seal { width: 6rem; }
    .flag-perch::before { background: none; }
    *, *::before, *::after { animation: none !important; }
}
