/* Colecroft site styles: public. Loaded after colecroft.css (tokens, base,
   layout and shared components live there). Holds the page content (stored
   Quill HTML), the section menu, the home page, events, the FAQ and the
   error page. */

/* ── Page intro (title and actions) ───────────────────────── */
.page-intro {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
}
.page-intro h1 { font-size: var(--fs-2xl); line-height: 1.1; }

/* ── Page content (stored Quill HTML) ─────────────────────── */
/* Where board-written, sanitized HTML renders: content pages, home blocks,
   FAQ answers and the revision preview. Two list shapes exist: Quill 1
   (legacy content) writes flat lists with ql-indent-N classes on each <li>;
   Quill 2's getSemanticHTML nests <ol>/<ul> instead. Both are numbered with
   counters, as Quill's own CSS does, without loading Quill. */

.page-content {
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--ink);
    text-align: left;
    overflow-wrap: break-word;
}
.page-content > :first-child { margin-top: 0; }

.page-content p,
.page-content ol,
.page-content ul,
.page-content pre,
.page-content blockquote { margin: 0; padding: 0; }
.page-content p + p { margin-top: 0.9em; }
.page-content :is(h1, h2, h3, h4, h5, h6) {
    margin: 1.6em 0 0.4em;
    padding: 0;
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    clear: both;
}
.page-content > :is(h1, h2, h3, h4, h5, h6):first-child { margin-top: 0; }
.page-content h1 { font-size: var(--fs-2xl); }
.page-content h2 { font-size: var(--fs-xl); }
.page-content h3 { font-size: var(--fs-lg); }
.page-content h4 { font-size: var(--fs-base); }
.page-content h5 { font-size: var(--fs-sm); }
.page-content h6 { font-size: var(--fs-xs); }
.page-content :is(p, ol, ul, pre, blockquote) + :is(p, ol, ul, pre, blockquote) { margin-top: 0.9em; }

.page-content blockquote {
    margin: 1em 0;
    padding: 0.2em 0 0.2em 1.1em;
    border-left: 3px solid var(--blossom);
    color: var(--ink-2);
}
.page-content pre {
    margin: 1em 0;
    padding: 0.7em 1em;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.9em;
    white-space: pre-wrap;
}
.page-content code {
    padding: 0.1em 0.3em;
    font-family: var(--font-mono);
    font-size: 85%;
    color: inherit;
    background: var(--surface-2);
    border-radius: 4px;
}
.page-content pre code { padding: 0; background: none; font-size: inherit; }
.page-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
/* A paragraph holding an image floats it left, with the text wrapping
   round it (as the old site's did). */
.page-content p img { width: 21em; margin: 0 1em 0.4em 0; }
.page-content p:has(> img) { float: left; max-width: 100%; }
/* An image paragraph aligned in the editor (Quill puts the alignment on
   the paragraph) stands as the editor shows it: centred or right, not
   floated left. */
.page-content p.ql-align-center:has(> img),
.page-content p.ql-align-right:has(> img),
.page-content p.ql-align-justify:has(> img) { float: none; }
.page-content p.ql-align-center:has(> img) img { margin: 0 auto 0.4em; }
.page-content p.ql-align-right:has(> img) img { margin: 0 0 0.4em 1em; }
.page-content a { color: var(--sign-deep); font-weight: 500; }
.page-content .page-empty { color: var(--ink-2); font-style: italic; }
.page-content::after { content: ""; display: block; clear: both; }

/* Lists. A bullet or number is drawn by li::before in the margin, as the
   editor draws it; the top-level bullet is the blossom mark. */
.page-content ol,
.page-content ul {
    padding-left: 1.5em;
    counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8;
}
.page-content ul { margin: 0.6em 0; }
.page-content li { padding-left: 1.5em; }
.page-content :is(ul, ol) > li + li { margin-top: 0.35em; }
.page-content ul > li { list-style-type: none; }
.page-content ol > li { list-style-type: none; }
.page-content li::before {
    display: inline-block;
    width: 1.2em;
    margin-left: -1.5em;
    margin-right: 0.3em;
    text-align: right;
    white-space: nowrap;
}
.page-content li[data-list="checked"],
.page-content li[data-list="unchecked"] { list-style-type: none; }
.page-content li[data-list="checked"]::before { content: "\2611"; }
/* A bullet at every level, as the editor shows them: the blossom at the
   top level, a plain bullet below it. */
.page-content ul > li::before { content: "\2022"; color: var(--blossom-deep); }
.page-content ul:not(li *) > li::before {
    content: "";
    width: 0.8em; height: 0.8em;
    margin-right: 0.4em; margin-left: -1.5em;
    vertical-align: -0.05em;
    background: var(--blossom);
    -webkit-mask: var(--blossom-svg) center / contain no-repeat;
            mask: var(--blossom-svg) center / contain no-repeat;
}
.page-content ol > li::before { color: var(--blossom-deep); font-weight: 700; }
/* Quill 2's own markup puts every list in an <ol>, a bullet item marked
   data-list="bullet" (the editor saves <ul>, but older saves may not). */
.page-content ol > li[data-list="bullet"] { counter-increment: none; }
.page-content ol > li[data-list="bullet"]::before { content: "\2022"; font-weight: 400; }
.page-content li[data-list="unchecked"]::before { content: "\2610"; }

/* Quill 2's editor numbers an item by its indent level (decimal, alpha,
   roman, and again), whatever the type of the items around it: each
   level has its own counter, which an item one level up sets back to
   zero, and only a paragraph or a heading starts them all again (not a
   new list: its saved markup splits one where the type changes, <ol>,
   <ul>, <ol>, and the numbering runs on). Here, likewise, q-L counts the
   ordered items L lists deep, of either type. Quill 1's flat lists
   (legacy content) keep their own counters, below. */
.page-content { counter-reset: q-0 q-1 q-2 q-3 q-4 q-5 q-6 q-7 q-8; }
.page-content :is(p, h1, h2, h3, h4, h5, h6):not(li *) { counter-set: q-0 q-1 q-2 q-3 q-4 q-5 q-6 q-7 q-8; }
.page-content :is(ol, ul) > li { counter-set: q-1 q-2 q-3 q-4 q-5 q-6 q-7 q-8 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8; }
.page-content ol > li { counter-increment: q-0; }
.page-content ol > li::before { content: counter(q-0, decimal) ". "; }
.page-content :is(ol, ul) :is(ol, ul) > li { counter-set: q-2 q-3 q-4 q-5 q-6 q-7 q-8; }
.page-content :is(ol, ul) ol > li { counter-increment: q-1; }
.page-content :is(ol, ul) ol > li::before { content: counter(q-1, lower-alpha) ". "; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) > li { counter-set: q-3 q-4 q-5 q-6 q-7 q-8; }
.page-content :is(ol, ul) :is(ol, ul) ol > li { counter-increment: q-2; }
.page-content :is(ol, ul) :is(ol, ul) ol > li::before { content: counter(q-2, lower-roman) ". "; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) > li { counter-set: q-4 q-5 q-6 q-7 q-8; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) ol > li { counter-increment: q-3; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) ol > li::before { content: counter(q-3, decimal) ". "; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) > li { counter-set: q-5 q-6 q-7 q-8; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) ol > li { counter-increment: q-4; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) ol > li::before { content: counter(q-4, lower-alpha) ". "; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) > li { counter-set: q-6 q-7 q-8; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) ol > li { counter-increment: q-5; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) ol > li::before { content: counter(q-5, lower-roman) ". "; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) > li { counter-set: q-7 q-8; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) ol > li { counter-increment: q-6; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) ol > li::before { content: counter(q-6, decimal) ". "; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) > li { counter-set: q-8; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) ol > li { counter-increment: q-7; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) ol > li::before { content: counter(q-7, lower-alpha) ". "; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) > li { counter-set: none; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) ol > li { counter-increment: q-8; }
.page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) ol > li::before { content: counter(q-8, lower-roman) ". "; }
/* Quill 2 wraps a list that starts indented (or skips a level) in an item
   holding only that list, which the sanitizer marks (data-list-wrapper):
   it draws no marker of its own and takes no number, as in the editor. */
.page-content li[data-list-wrapper] { list-style: none; counter-increment: none; }
.page-content li[data-list-wrapper]::before { content: none; }
.page-content li[data-list-wrapper] { margin-top: 0; }

/* Quill 1 flat lists (legacy content): each list numbers afresh, and each
   indent level has its own counter, which an item at a lower level sets
   back to zero (counter-set: a counter-reset on an item would start a
   counter of its own, which later items at the deeper level don't see). */
.page-content ol > li.ql-indent-1 { counter-increment: list-1; counter-set: list-2 list-3 list-4 list-5 list-6 list-7 list-8; }
.page-content ol > li.ql-indent-1::before { content: counter(list-1, lower-alpha) ". "; }
.page-content ol > li.ql-indent-2 { counter-increment: list-2; counter-set: list-3 list-4 list-5 list-6 list-7 list-8; }
.page-content ol > li.ql-indent-2::before { content: counter(list-2, lower-roman) ". "; }
.page-content ol > li.ql-indent-3 { counter-increment: list-3; counter-set: list-4 list-5 list-6 list-7 list-8; }
.page-content ol > li.ql-indent-3::before { content: counter(list-3, decimal) ". "; }
.page-content ol > li.ql-indent-4 { counter-increment: list-4; counter-set: list-5 list-6 list-7 list-8; }
.page-content ol > li.ql-indent-4::before { content: counter(list-4, lower-alpha) ". "; }
.page-content ol > li.ql-indent-5 { counter-increment: list-5; counter-set: list-6 list-7 list-8; }
.page-content ol > li.ql-indent-5::before { content: counter(list-5, lower-roman) ". "; }
.page-content ol > li.ql-indent-6 { counter-increment: list-6; counter-set: list-7 list-8; }
.page-content ol > li.ql-indent-6::before { content: counter(list-6, decimal) ". "; }
.page-content ol > li.ql-indent-7 { counter-increment: list-7; counter-set: list-8; }
.page-content ol > li.ql-indent-7::before { content: counter(list-7, lower-alpha) ". "; }
.page-content ol > li.ql-indent-8 { counter-increment: list-8; counter-set: none; }
.page-content ol > li.ql-indent-8::before { content: counter(list-8, lower-roman) ". "; }

/* A browser without counter-set (Safari before 17.2) resets instead, as
   Quill's own CSS does there, so the page numbers as its editor does. */
@supports not (counter-set: none) {
    .page-content :is(p, h1, h2, h3, h4, h5, h6):not(li *) { counter-reset: q-0 q-1 q-2 q-3 q-4 q-5 q-6 q-7 q-8; }
    .page-content :is(ol, ul) > li { counter-reset: q-1 q-2 q-3 q-4 q-5 q-6 q-7 q-8 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8; }
    .page-content :is(ol, ul) :is(ol, ul) > li { counter-reset: q-2 q-3 q-4 q-5 q-6 q-7 q-8; }
    .page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) > li { counter-reset: q-3 q-4 q-5 q-6 q-7 q-8; }
    .page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) > li { counter-reset: q-4 q-5 q-6 q-7 q-8; }
    .page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) > li { counter-reset: q-5 q-6 q-7 q-8; }
    .page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) > li { counter-reset: q-6 q-7 q-8; }
    .page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) > li { counter-reset: q-7 q-8; }
    .page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) > li { counter-reset: q-8; }
    .page-content :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) :is(ol, ul) > li { counter-reset: none; }
    .page-content ol > li.ql-indent-1 { counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8; }
    .page-content ol > li.ql-indent-2 { counter-reset: list-3 list-4 list-5 list-6 list-7 list-8; }
    .page-content ol > li.ql-indent-3 { counter-reset: list-4 list-5 list-6 list-7 list-8; }
    .page-content ol > li.ql-indent-4 { counter-reset: list-5 list-6 list-7 list-8; }
    .page-content ol > li.ql-indent-5 { counter-reset: list-6 list-7 list-8; }
    .page-content ol > li.ql-indent-6 { counter-reset: list-7 list-8; }
    .page-content ol > li.ql-indent-7 { counter-reset: list-8; }
    .page-content ol > li.ql-indent-8 { counter-reset: none; }
}

/* Indent: 3em per level, plus the list padding on list items. */
.page-content .ql-indent-1 { padding-left: 3em; }
.page-content .ql-indent-2 { padding-left: 6em; }
.page-content .ql-indent-3 { padding-left: 9em; }
.page-content .ql-indent-4 { padding-left: 12em; }
.page-content .ql-indent-5 { padding-left: 15em; }
.page-content .ql-indent-6 { padding-left: 18em; }
.page-content .ql-indent-7 { padding-left: 21em; }
.page-content .ql-indent-8 { padding-left: 24em; }
.page-content li.ql-indent-1 { padding-left: 4.5em; }
.page-content li.ql-indent-2 { padding-left: 7.5em; }
.page-content li.ql-indent-3 { padding-left: 10.5em; }
.page-content li.ql-indent-4 { padding-left: 13.5em; }
.page-content li.ql-indent-5 { padding-left: 16.5em; }
.page-content li.ql-indent-6 { padding-left: 19.5em; }
.page-content li.ql-indent-7 { padding-left: 22.5em; }
.page-content li.ql-indent-8 { padding-left: 25.5em; }
/* Right to left: the indent is on the right. (Quill's own CSS indents a
   right-to-left line only when it is right-aligned too; the page indents
   it either way. The toolbar has no direction button: only pasted or
   legacy content has one.) */
.page-content .ql-direction-rtl[class*="ql-indent-"] { padding-left: 0; }
.page-content .ql-direction-rtl.ql-indent-1 { padding-right: 3em; }
.page-content .ql-direction-rtl.ql-indent-2 { padding-right: 6em; }
.page-content .ql-direction-rtl.ql-indent-3 { padding-right: 9em; }
.page-content .ql-direction-rtl.ql-indent-4 { padding-right: 12em; }
.page-content .ql-direction-rtl.ql-indent-5 { padding-right: 15em; }
.page-content .ql-direction-rtl.ql-indent-6 { padding-right: 18em; }
.page-content .ql-direction-rtl.ql-indent-7 { padding-right: 21em; }
.page-content .ql-direction-rtl.ql-indent-8 { padding-right: 24em; }

/* Direction first, as in Quill's own CSS: an alignment given with it wins. */
.page-content .ql-direction-rtl { direction: rtl; text-align: inherit; }
/* Inline code keeps its smaller size under a size class, as in the editor
   (where Quill's code rule wins). */
.page-content code[class*="ql-size-"] { font-size: 85%; }
.page-content .ql-align-center { text-align: center; }
.page-content .ql-align-right { text-align: right; }
.page-content .ql-align-justify { text-align: justify; }
.page-content .ql-size-small { font-size: 0.75em; }
.page-content .ql-size-large { font-size: 1.5em; }
.page-content .ql-size-huge { font-size: 2.5em; }
.page-content .ql-font-serif { font-family: Georgia, "Times New Roman", serif; }
.page-content .ql-font-monospace { font-family: Monaco, "Courier New", monospace; }

@media (max-width: 575.98px) {
    /* Deep indents would leave no room for text on a phone. */
    .page-content .ql-indent-3, .page-content .ql-indent-4, .page-content .ql-indent-5,
    .page-content .ql-indent-6, .page-content .ql-indent-7, .page-content .ql-indent-8 { padding-left: 7.5em; }
    /* (A list item's own rule above is the more specific.) */
    .page-content li.ql-indent-3, .page-content li.ql-indent-4, .page-content li.ql-indent-5,
    .page-content li.ql-indent-6, .page-content li.ql-indent-7, .page-content li.ql-indent-8 { padding-left: 9em; }
    .page-content .ql-direction-rtl:is(.ql-indent-3, .ql-indent-4, .ql-indent-5, .ql-indent-6, .ql-indent-7, .ql-indent-8) { padding-right: 7.5em; }
    .page-content .ql-size-huge { font-size: 2em; }
    /* A floated image would squeeze the text beside it into a sliver. */
    .page-content p:has(> img) { float: none; }
    .page-content p img { width: auto; margin-right: 0; }
}

/* The editor can colour text (inline color / background-color, the only
   styles the sanitizer keeps). Those colours were picked on a light page:
   in a dark theme they would leave dark text on a dark ground, so the
   theme's own colours win. */
@media (prefers-color-scheme: dark) {
    .page-content [style] { color: inherit !important; background-color: transparent !important; }
}

/* ── Content pages and sections ───────────────────────────── */
/* A page on its own (no section menu beside it): one reading column in
   the middle of the page, its edit bar with it. */
.page-body > .editable { max-width: 46rem; margin-inline: auto; }
.page-notice { margin-bottom: 1.25rem; }
.page-notice:has(~ .page-body) { max-width: 46rem; margin-inline: auto; }
.page-empty-section { color: var(--ink-2); }

/* The section menu: a sticky column on a desktop, a strip that scrolls
   sideways on a phone. */
.section-page {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 2rem 3.5rem;
    align-items: start;
}
.section-page > * { min-width: 0; }
.sub-nav { position: sticky; top: calc(var(--cc-nav-h) + 1rem); }
.sub-nav-title {
    margin: 0 0 0.6rem 0.75rem;
    font-family: var(--font-caps);
    font-size: var(--fs-xs);
    letter-spacing: 0.16em;
    color: var(--ink-3);
}
.sub-nav ul {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 0.1rem;
    border-left: 1px solid var(--rule);
}
.sub-nav a {
    display: flex; align-items: center; gap: 0.55rem;
    margin-left: -1px;
    padding: 0.5rem 0.75rem;
    color: var(--ink-2);
    text-decoration: none;
    font-size: var(--fs-sm);
    font-weight: 500;
    border-left: 2px solid transparent;
}
.sub-nav a:hover { color: var(--ink); border-left-color: var(--rule-strong); }
.sub-nav a.active { color: var(--ink); font-weight: 700; border-left-color: var(--blossom-deep); }
.sub-nav a.active::after {
    content: ""; width: 0.75rem; height: 0.75rem; margin-left: auto;
    background: var(--blossom);
    -webkit-mask: var(--blossom-svg) center / contain no-repeat;
            mask: var(--blossom-svg) center / contain no-repeat;
}
.sub-nav .chip { margin-left: auto; }
.section-body { min-width: 0; }
.section-body > .editable > .page-content { max-width: 42rem; }

@media (max-width: 820px) {
    .section-page { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
    .sub-nav { position: static; }
    .sub-nav-title { display: none; }
    .sub-nav ul {
        display: flex; gap: 0; overflow-x: auto;
        border-left: 0; border-bottom: 1px solid var(--rule);
        scrollbar-width: none;
    }
    .sub-nav a {
        white-space: nowrap; margin: 0 0 -1px;
        border-left: 0; border-bottom: 2px solid transparent;
    }
    .sub-nav a:hover { border-bottom-color: var(--rule-strong); }
    .sub-nav a.active { border-bottom-color: var(--blossom-deep); }
    .sub-nav a.active::after { display: none; }
}

/* ── Home ─────────────────────────────────────────────────── */
/* The home page runs edge to edge: the hero and the panorama are full
   width, and each part keeps its own .wrap. */
.site-content:has(> .home) { max-width: none; padding: 0; }
.site-content:has(> .home) > .site-flash { max-width: var(--wrap); margin: 1rem auto 0; }
.site-content:has(> .home) + .site-footer,
body:has(.home) .site-footer { margin-top: 0; }

/* A blossom-tinted wash that fades into the page, so the hero flows into
   the next section. */
.hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 2.5rem;
    background:
        radial-gradient(55rem 26rem at 88% -8%, color-mix(in srgb, var(--blossom-soft) 90%, transparent), transparent 72%),
        linear-gradient(180deg, color-mix(in srgb, var(--blossom-soft) 50%, var(--paper)) 0%, var(--paper) 100%);
}
/* Blossoms drifting down over the hero (site.js draws them), fading out
   with it. Behind the text and the photo, and never in the way of a click. */
.hero-petals {
    position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent);
            mask-image: linear-gradient(180deg, #000 65%, transparent);
}
.hero-grid { position: relative; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.5rem 4rem;
    align-items: end;
    padding-block: 3.5rem 0;
}
.hero-copy { display: grid; gap: 1.25rem; padding-bottom: 3.5rem; }
.hero h1 { font-size: var(--fs-3xl); line-height: 1.02; }
.hero h1 .script { display: block; font-size: 1.15em; margin-top: 0.05em; margin-left: 0.1em; }
.hero .lede { max-width: 31em; }
.hero-facts {
    display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem;
    list-style: none; margin: 0.5rem 0 0; padding: 0;
    font-size: var(--fs-sm); color: var(--ink-2);
}
.hero-facts li { display: flex; align-items: center; gap: 0.45rem; }
.hero-facts strong {
    color: var(--ink);
    font-family: var(--font-display); font-weight: 400; font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
}
.hero-arch { margin: 0; max-width: 25rem; justify-self: end; width: 100%; }

.community { padding-block: 1.5rem 0; display: grid; gap: 2rem; }
.community-title { font-size: var(--fs-2xl); }
.blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 1.25rem;
    align-items: start;
}
.block { display: grid; gap: 0.9rem; min-width: 0; }
.block-title { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.block-title h3 { font-size: var(--fs-lg); display: flex; align-items: center; gap: 0.5rem; }
.block-title h3 .blossom-mark { font-size: 0.85em; }
.block .edit-bar { margin-bottom: 0.6rem; }
.block .page-content { font-size: var(--fs-sm); line-height: 1.6; }
.block .page-content :is(h3, h4) {
    margin: 1em 0 0.15em;
    font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700;
}
.block .page-content > :is(h3, h4):first-child { margin-top: 0; }
.block .page-content p:has(> img) { float: none; }
.block .page-content p img { width: auto; margin-right: 0; }
.home-events-more { margin-top: 0.25rem; }
.home-events-more a { font-weight: 600; }

/* "Good to know": the block's headings and paragraphs, grouped four to a
   row. The groups are laid out by CSS on plain HTML: each heading opens a
   column, and the paragraphs after it stay under it. */
.good-to-know {
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.good-to-know .editable { padding: 0; }
.good-to-know .edit-bar { padding: 0.75rem 1.25rem 0; margin: 0; }
.good-to-know .page-content {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: column;
    grid-template-rows: auto auto 1fr;
    font-size: var(--fs-sm);
    line-height: 1.5;
}
/* Each item is a heading, a sentence and a link paragraph, with no
   wrapper in the stored HTML: the three go down a column, then the next
   item starts the next column (grid-auto-flow: column over three rows).
   An editor adding a fifth item gets a fifth column on a second grid. */
.good-to-know .page-content > * { padding-inline: 1.25rem; margin: 0; border-left: 1px solid var(--rule); }
.good-to-know .page-content > h3 {
    padding-top: 1.4rem;
    font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700;
}
.good-to-know .page-content > :nth-child(-n+3) { border-left: 0; }
.good-to-know .page-content > p { color: var(--ink-2); }
.good-to-know .page-content > p:last-child,
.good-to-know .page-content > p:has(> a:only-child) { padding-bottom: 1.5rem; }
.good-to-know .page-content a { font-size: var(--fs-sm); font-weight: 600; }

/* "About Colecroft": a photo of the street under a dark scrim. */
.panorama {
    position: relative;
    margin-top: 4rem;
    min-height: 28rem;
    display: grid;
    align-items: end;
    background: var(--plaque) url("../img/iStock-841058194-mini.jpg") 70% 30% / cover no-repeat;
}
.panorama::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgb(25 16 15 / 0.2) 0%, rgb(25 16 15 / 0.7) 40%, rgb(25 16 15 / 0.88) 100%);
}
.panorama .wrap { position: relative; padding-block: 2.5rem; color: var(--on-photo); }
.panorama .eyebrow { color: var(--on-photo-eyebrow); margin-bottom: 0.5rem; text-shadow: 0 1px 6px rgb(25 16 15 / 0.8); }
.panorama .page-content { color: var(--on-photo-2); max-width: 40rem; }
.panorama .page-content :is(h3, h2) { color: var(--on-photo); font-size: var(--fs-2xl); margin: 0 0 0.75rem; max-width: 18em; }
.panorama .page-content a { color: var(--on-photo-link); }
.panorama .page-content [style] { color: inherit !important; background-color: transparent !important; }
.panorama .editable .edit-bar .btn { background: var(--surface); }
.panorama .chip { background: var(--surface); }

@media (max-width: 760px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 2rem; }
    .hero-copy { padding-bottom: 0; }
    .hero-arch { justify-self: center; max-width: 19rem; }
}
@media (max-width: 760px) {
    .good-to-know .page-content { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-rows: none; }
    .good-to-know .page-content > * { border-left: 0; }
    .good-to-know .page-content > h3:not(:first-child) { border-top: 1px solid var(--rule); }
}

/* ── Events ───────────────────────────────────────────────── */
/* The compact list (home, dashboard): a date tile, then time, title and
   place (.event-list, the list itself, is in colecroft.css). The class
   names are the tests' hooks. */
.event-item {
    display: flex; gap: 1rem; align-items: center;
    padding: 0.6rem 0.5rem;
    border-radius: var(--radius);
}
.event-item:hover { background: var(--surface-2); }
.event-date {
    display: grid; grid-template-rows: auto 1fr;
    width: 3.6rem; flex: none;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-1);
}
.event-month {
    background: var(--sign); color: var(--sign-ink);
    font-family: var(--font-caps); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
    padding: 0.15rem 0 0.1rem;
}
.event-day { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.event-year { font-size: 0.65rem; color: var(--ink-3); margin-top: -0.3rem; padding-bottom: 0.2rem; }
.event-body { display: grid; min-width: 0; flex: 1; }
.event-title { font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.event-title:hover { text-decoration: underline; }
.event-time, .event-location { font-size: var(--fs-xs); color: var(--ink-2); }
/* A location can be a long address with no space (a meeting link): it
   wraps rather than widen the page or its column. */
.event-location, .event-time, .event-meta > span { overflow-wrap: anywhere; min-width: 0; }
.event-location .bi { color: var(--ink-3); margin-right: 0.15rem; }
.event-edit { flex: none; }
.event-empty { padding: 0.6rem 0.5rem; color: var(--ink-2); font-size: var(--fs-sm); }

.events-page { max-width: 54rem; }
.events-section { margin-bottom: 2.5rem; }
.events-section > h2 { font-size: var(--fs-xl); margin-bottom: 1rem; }
.event-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.event-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: start;
    padding: 1.2rem 1.3rem;
}
.event-card:target { border-color: var(--blossom-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blossom) 30%, transparent); }
.event-card .event-date { width: 4.2rem; }
.event-card .event-day { font-size: 1.85rem; }
.event-card-title { font-size: var(--fs-lg); overflow-wrap: anywhere; }
.event-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; margin-top: 0.35rem; font-size: var(--fs-sm); color: var(--ink-2); }
.event-meta .bi { color: var(--ink-3); margin-right: 0.3rem; }
.event-details { white-space: pre-line; margin-top: 0.6rem; font-size: var(--fs-sm); max-width: 44em; overflow-wrap: anywhere; }
.event-cards.is-past .event-card { background: transparent; box-shadow: none; }
.event-cards.is-past .event-month { background: var(--ink-3); color: var(--paper); }
.event-cards.is-past .event-card-title { color: var(--ink-2); }
.events-zone { margin-top: 1rem; }
@media (max-width: 520px) {
    .event-card { grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; padding: 1rem; }
    .event-card .event-date { width: 3.6rem; }
    .event-card > .event-edit { grid-column: 2; justify-self: start; }
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 0.65rem; max-width: 50rem; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.faq-item[open] { border-color: var(--rule-strong); box-shadow: var(--shadow-1); }
.faq-item:target { border-color: var(--blossom-deep); }
.faq-question {
    display: flex; align-items: center; gap: 0.85rem;
    padding: 1.05rem 1.25rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    line-height: 1.3;
    border-radius: var(--radius-lg);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question .blossom-mark { font-size: 0.85rem; transition: transform 0.3s; }
.faq-item[open] .faq-question .blossom-mark { transform: rotate(72deg); background: var(--blossom-deep); }
.faq-q { min-width: 0; overflow-wrap: anywhere; }
.faq-question::after {
    content: "\F282"; font-family: "bootstrap-icons"; font-size: 0.9rem;
    margin-left: auto; color: var(--ink-3);
    transition: transform 0.2s;
}
.faq-item[open] .faq-question::after { transform: rotate(180deg); }
.faq-answer { padding: 0 1.25rem 1.25rem 3rem; overflow-wrap: anywhere; }
.faq-answer > :last-child { margin-bottom: 0; }
@media (max-width: 520px) {
    .faq-answer { padding-left: 1.25rem; }
}

/* ── Error page ───────────────────────────────────────────── */
.error-page {
    display: grid; justify-items: center; gap: 1rem;
    max-width: 34rem; margin-inline: auto;
    padding: 4rem 0 2rem;
    text-align: center;
}
.error-page .blossom-mark { font-size: 2.5rem; }
.error-page h1 { font-size: var(--fs-2xl); }
