/* Firefly Collective — blocks (blocks/fcg-*), one section each. Shared chrome and
 * the blog are in _core_main.css; ornament in _core_ornament.css. */

/* Older tone names (from blocks saved before the night palette). */
.fcg-sec--soft, .fcg-sec--surface { background: var(--fcg-paper); color: var(--fcg-ink); }
.fcg-sec--dark { background-color: var(--fcg-hall); color: var(--fcg-on-hall); }

/* ---------- Link tree (fcg-profile) ------------------------------------ */
.fcg-profile { position: relative; isolation: isolate; overflow: hidden; background: var(--fcg-hall); color: var(--fcg-on-hall); padding: 0 0 clamp(4rem, 3rem + 5vw, 7rem); container-type: inline-size; }
/* The first screen. The painting fills the window below the header, its
   forest on the bottom edge, and the seal sits on the painting's sun.
   --_sky   the painting's box: one window tall (never so short that the sun
            would rise past the top on a wide, low screen);
   --_img   the painting's drawn height inside it (object-fit: cover);
   --_sun   how far down the box the sun lands: the painting is pinned to the
            bottom, and the sun is 45.34% down the painting (hero-cosmos).
   A replacement painting with its light elsewhere sets --_sun-at. */
.fcg-profile {
    --_sun-at: 0.4534;
    --_sky: max(calc(100svh - var(--fcg-header-h) - 1px), calc(30cqw + 160px));
    --_img: max(calc(100cqw * 1088 / 1920), var(--_sky));
    --_sun: calc(var(--_sky) - var(--_img) * (1 - var(--_sun-at)));
    --_seal: clamp(128px, 22vw, 168px);
}
.fcg-profile__sky { position: absolute; inset: 0 0 auto; height: var(--_sky); z-index: -1; }
.fcg-page .fcg-profile__sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
/* The painting meets the header softly, dims a little behind the words under
   the seal, and its forest fades into the night where the links go on. */
.fcg-profile__sky::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse var(--_shade-w, 36%) 30% at 50% calc(var(--_sun) + var(--_seal) * 2.05), color-mix(in oklab, var(--fcg-hall) 78%, transparent) 0, color-mix(in oklab, var(--fcg-hall) 55%, transparent) 45%, transparent 100%),
        linear-gradient(to bottom, color-mix(in oklab, var(--fcg-hall) 70%, transparent) 0, transparent 9%, transparent 78%, var(--fcg-hall) 100%);
}
@container (max-width: 760px) { .fcg-profile__sky { --_shade-w: 78%; } } /* the words span the screen on a phone */
.fcg-profile .fcg-sigil--lg { margin-top: calc(var(--_sun) - var(--_seal) / 2); }
/* The words over the painting: a close dark edge so each letter lifts off the
   gold lines, and a wide soft shade so the line as a whole sits in shadow. */
.fcg-page .fcg-profile__inner > :is(h1, p) { text-shadow: 0 1px 2px rgba(4, 6, 16, 0.8), 0 0 18px rgba(4, 6, 16, 0.55); }
.fcg-page .fcg-profile__inner > h1 { text-shadow: 0 2px 3px rgba(4, 6, 16, 0.75), 0 0 36px rgba(4, 6, 16, 0.55); }
/* The small gold lines are lighter than the painting's gold, so they never read as part of it. */
.fcg-page .fcg-profile__inner > p.is-style-fcg-eyebrow, .fcg-page .fcg-profile__inner > p.is-style-fcg-roles { color: color-mix(in oklab, var(--fcg-copper) 72%, #fff); }
.fcg-profile__inner { position: relative; z-index: 2; max-width: var(--fcg-wrap-tree); display: grid; justify-items: center; text-align: center; }
.fcg-profile__seal { margin-bottom: var(--fcg-space-5); }
.fcg-page p.fcg-profile__eyebrow, .fcg-profile .is-style-fcg-eyebrow { margin-bottom: var(--fcg-space-2); }
.fcg-seal-mark { display: grid; place-items: center; }
.fcg-profile .fcg-seal-mark--lg { margin-bottom: var(--fcg-space-5); }
.fcg-page .fcg-profile__name, .fcg-page .fcg-profile h1 { font-size: var(--fcg-step-6); font-weight: 340; letter-spacing: -0.035em; line-height: 0.95; margin: 0 0 var(--fcg-space-3); color: var(--fcg-vellum); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.fcg-page p.fcg-profile__roles, .fcg-page .fcg-profile p.is-style-fcg-roles { font: 600 var(--fcg-step--1)/1.6 var(--fcg-font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--fcg-copper); margin: 0 0 var(--fcg-space-4); }
.fcg-page p.fcg-profile__lead, .fcg-page .fcg-profile p.is-style-fcg-lead { font: 400 var(--fcg-step-1)/1.6 var(--fcg-font-read); color: var(--fcg-on-hall); max-width: 34em; margin: 0 0 var(--fcg-space-6); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }

.fcg-tree, .fcg-page ul.fcg-tree { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 0.75rem; }
.fcg-plaque {
    position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
    min-height: 4.1rem; padding: 0.7rem 1.1rem 0.7rem 0.75rem; border-radius: 999px; text-align: left; text-decoration: none;
    background: color-mix(in oklab, var(--fcg-hall-2) 82%, transparent); color: var(--fcg-vellum);
    border: 1px solid var(--fcg-hall-line);
    box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.9);
    transition: transform var(--fcg-med) var(--fcg-ease-out), border-color var(--fcg-fast) var(--fcg-ease), background-color var(--fcg-fast) var(--fcg-ease), box-shadow var(--fcg-med) var(--fcg-ease);
}
.fcg-plaque:hover { transform: translateY(-2px); border-color: var(--fcg-copper); background: var(--fcg-hall-2); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9), 0 0 32px -14px var(--fcg-copper-glow); }
.fcg-plaque__icon { width: 2.7rem; height: 2.7rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--fcg-hall-line); color: var(--fcg-copper); background: var(--fcg-hall); }
.fcg-plaque__text { display: grid; gap: 0.1rem; min-width: 0; }
.fcg-plaque__label { font: 600 1.02rem/1.25 var(--fcg-font-body); letter-spacing: 0.005em; }
.fcg-plaque__sub { font-size: 0.84rem; color: var(--fcg-on-hall-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fcg-plaque__go { color: var(--fcg-on-hall-muted); transition: transform var(--fcg-fast) var(--fcg-ease), color var(--fcg-fast); }
.fcg-plaque:hover .fcg-plaque__go { color: var(--fcg-copper); transform: translateX(3px); }
/* The first link is lit. */
.fcg-plaque.is-lead, .fcg-tree > :first-child .fcg-plaque { background: linear-gradient(135deg, var(--fcg-copper-soft), var(--fcg-copper) 55%, var(--fcg-copper-deep)); color: var(--fcg-on-copper); border-color: transparent; }
.fcg-plaque.is-lead .fcg-plaque__icon, .fcg-tree > :first-child .fcg-plaque__icon { background: rgba(25, 19, 10, 0.12); border-color: rgba(25, 19, 10, 0.25); color: var(--fcg-on-copper); }
.fcg-plaque.is-lead .fcg-plaque__sub, .fcg-plaque.is-lead .fcg-plaque__go, .fcg-tree > :first-child .fcg-plaque__sub, .fcg-tree > :first-child .fcg-plaque__go { color: color-mix(in oklab, var(--fcg-on-copper) 75%, var(--fcg-copper)); }
.fcg-plaque.is-lead:hover, .fcg-tree > :first-child .fcg-plaque:hover { background: linear-gradient(135deg, #fff2c9, var(--fcg-copper-soft) 55%, var(--fcg-copper)); }
@media (max-width: 420px) { .fcg-plaque { gap: 0.75rem; padding-right: 0.9rem; } .fcg-plaque__icon { width: 2.4rem; height: 2.4rem; } }

.fcg-profile__socials { list-style: none; margin: var(--fcg-space-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.fcg-profile__socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--fcg-on-hall); border: 1px solid var(--fcg-hall-line); background: color-mix(in oklab, var(--fcg-hall) 70%, transparent); transition: color var(--fcg-fast), border-color var(--fcg-fast), transform var(--fcg-fast); }
.fcg-profile__socials a:hover { color: var(--fcg-copper); border-color: var(--fcg-copper); transform: translateY(-2px); }
.fcg-page p.fcg-profile__cue, .fcg-page p.is-style-fcg-cue { margin: var(--fcg-space-7) 0 0; display: grid; justify-items: center; gap: 0.7rem; font: 600 var(--fcg-step--2)/1 var(--fcg-font-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--fcg-on-hall-muted); }
.fcg-profile__cue-line, .fcg-page p.is-style-fcg-cue::after { width: 1px; height: 46px; background: linear-gradient(var(--fcg-copper), transparent); }
.fcg-page p.is-style-fcg-cue::after { content: ""; display: block; }

/* ---------- Page banner (fcg-page-hero) -------------------------------- */
.fcg-page-hero { position: relative; isolation: isolate; overflow: hidden; background-color: var(--fcg-hall); color: var(--fcg-on-hall); padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.fcg-page-hero--short { padding-block: clamp(3rem, 2.4rem + 3vw, 4.5rem); }
.fcg-page-hero--tall { padding-block: clamp(6rem, 4rem + 9vw, 11rem); }
.fcg-page-hero__inner { position: relative; z-index: 2; max-width: 900px; }
.fcg-page-hero--center .fcg-page-hero__inner { text-align: center; margin-inline: auto; display: grid; justify-items: center; }
.fcg-page-hero__media { position: absolute; inset: 0; z-index: -1; }
.fcg-page .fcg-page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.fcg-page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in oklab, var(--fcg-hall) 55%, transparent), color-mix(in oklab, var(--fcg-hall) 40%, transparent) 45%, var(--fcg-hall)); }
.fcg-page-hero--veil-light { color: var(--fcg-ink); }
.fcg-page-hero--veil-light .fcg-page-hero__media::after { background: linear-gradient(to bottom, color-mix(in oklab, var(--fcg-paper) 80%, transparent), color-mix(in oklab, var(--fcg-paper) 92%, transparent)); }
.fcg-page .fcg-page-hero__title, .fcg-page .fcg-page-hero h1 { font-size: var(--fcg-step-5); margin-bottom: 0.3em; color: var(--fcg-vellum); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
.fcg-page-hero--veil-light .fcg-page-hero__title, .fcg-page-hero--veil-light h1 { color: var(--fcg-ink); text-shadow: none; }
.fcg-page-hero__body { display: grid; justify-items: center; }
.fcg-page .fcg-page-hero__body > .wp-block-buttons { margin-top: var(--fcg-space-5); justify-content: center; }
.fcg-page p.fcg-page-hero__lead, .fcg-page .fcg-page-hero p.is-style-fcg-lead { font: 400 var(--fcg-step-1)/1.6 var(--fcg-font-read); max-width: 38em; color: var(--fcg-on-hall); margin-bottom: 0; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.fcg-page-hero .fcg-actions { margin-top: var(--fcg-space-5); justify-content: center; }
.fcg-page-hero--left .fcg-actions { justify-content: flex-start; }
.fcg-crumbs ol { list-style: none; margin: 0 0 var(--fcg-space-4); padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 0.6rem; font-size: var(--fcg-step--1); color: var(--fcg-on-hall-muted); }
.fcg-page-hero--left .fcg-crumbs ol { justify-content: flex-start; }
.fcg-crumbs li + li::before { content: "/"; margin-inline-end: 0.6rem; opacity: 0.5; }
.fcg-crumbs a { text-decoration: none; }
.fcg-crumbs a:hover { color: var(--fcg-copper); }
.fcg-deco-frame { display: none; }

/* ---------- Where to find me (fcg-hubs) -------------------------------- */
.fcg-hubs__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--fcg-space-4); }
.fcg-hub {
    position: relative; grid-column: span 2; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
    border-radius: var(--fcg-radius-lg); background: var(--fcg-hall-2); border: 1px solid var(--fcg-hall-line-soft);
    transition: transform var(--fcg-med) var(--fcg-ease-out), border-color var(--fcg-fast) var(--fcg-ease), box-shadow var(--fcg-med) var(--fcg-ease);
}
.fcg-hub.is-large, .fcg-hubs__grid > .fcg-hub:nth-child(-n+2) { grid-column: span 3; }
.fcg-hub:hover { transform: translateY(-4px); border-color: var(--fcg-hall-line); box-shadow: var(--fcg-glow); }
.fcg-hub__art { display: block; aspect-ratio: 3 / 2; overflow: hidden; position: relative; background: var(--fcg-hall); }
.fcg-hub.is-large .fcg-hub__art, .fcg-hubs__grid > .fcg-hub:nth-child(-n+2) .fcg-hub__art { aspect-ratio: 16 / 9; }
.fcg-hub__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--fcg-ease-out); }
.fcg-hub:hover .fcg-hub__art img { transform: scale(1.05); }
.fcg-hub__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, var(--fcg-hall-2)); }
.fcg-hub__body { position: relative; padding: 0 var(--fcg-space-5) var(--fcg-space-5); margin-top: -1.6rem; display: grid; align-content: start; gap: 0.5rem; }
.fcg-hub__kicker { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0; font: 600 var(--fcg-step--2)/1.2 var(--fcg-font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--fcg-copper); }
.fcg-hub__icon { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--fcg-hall); border: 1px solid var(--fcg-hall-line); color: var(--fcg-copper); }
.fcg-page .fcg-hub h3 { font-size: var(--fcg-step-2); color: var(--fcg-vellum); margin: 0.2rem 0 0; }
.fcg-page .fcg-hub.is-large h3, .fcg-page .fcg-hubs__grid > .fcg-hub:nth-child(-n+2) h3 { font-size: var(--fcg-step-3); }
.fcg-hub__words { display: grid; gap: 0.5rem; }
.fcg-page .fcg-hub__words > p { margin: 0; color: var(--fcg-on-hall-muted); font-size: 0.98rem; }
.fcg-hub__go::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.fcg-hub__art img.fcg-ed-photo { width: 100%; height: 100%; object-fit: cover; }
.fcg-hub__link { text-decoration: none; }
.fcg-hub__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.fcg-page p.fcg-hub__text { margin: 0; color: var(--fcg-on-hall-muted); font-size: 0.98rem; }
.fcg-hub__go { justify-self: start; margin-top: 0.5rem; }
@media (max-width: 980px) { .fcg-hub, .fcg-hub.is-large, .fcg-hubs__grid > .fcg-hub:nth-child(-n+2) { grid-column: span 3; } }
@media (max-width: 640px) { .fcg-hubs__grid { grid-template-columns: 1fr; } .fcg-hub, .fcg-hub.is-large, .fcg-hubs__grid > .fcg-hub:nth-child(-n+2) { grid-column: auto; } }

/* ---------- Topics (fcg-topics): tall arched windows ------------------- */
.fcg-topics__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fcg-space-5) var(--fcg-space-4); }
@media (max-width: 900px) { .fcg-topics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fcg-topics__grid { grid-template-columns: 1fr; } }
.fcg-window { position: relative; display: grid; min-height: clamp(360px, 34vw, 470px); border-radius: var(--fcg-arch); overflow: hidden; isolation: isolate; color: var(--fcg-vellum); }
/* The fine gold frame inside the arch. */
.fcg-window::before { content: ""; position: absolute; inset: 10px; border: 1px solid color-mix(in oklab, var(--fcg-copper) 45%, transparent); border-radius: var(--fcg-arch); z-index: 2; pointer-events: none; transition: border-color var(--fcg-fast), inset var(--fcg-med) var(--fcg-ease-out); }
.fcg-window:hover::before { border-color: var(--fcg-copper); inset: 7px; }
.fcg-window__art { position: absolute; inset: 0; z-index: -1; }
.fcg-window__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--fcg-ease-out); }
.fcg-window:hover .fcg-window__art img { transform: scale(1.06); }
.fcg-window__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, color-mix(in oklab, var(--fcg-hall-deep) 92%, transparent) 88%); }
.fcg-window__body { align-self: end; padding: var(--fcg-space-5) var(--fcg-space-5) calc(var(--fcg-space-5) + 4px); display: grid; justify-items: center; text-align: center; gap: 0.4rem; }
.fcg-window__icon { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--fcg-copper); color: var(--fcg-copper); background: color-mix(in oklab, var(--fcg-hall) 60%, transparent); margin-bottom: 0.3rem; }
.fcg-page .fcg-window h3 { font-size: var(--fcg-step-3); margin: 0; }
.fcg-window__link { text-decoration: none; }
.fcg-window__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.fcg-page .fcg-window p { margin: 0; font-size: 0.95rem; color: var(--fcg-on-hall); opacity: 0.85; max-width: 30ch; }
.fcg-window__count { font: 600 var(--fcg-step--2)/1 var(--fcg-font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--fcg-copper); margin-top: 0.4rem; }

/* ---------- Creed (fcg-creed): the broadside --------------------------- */
.fcg-broadside {
    position: relative; max-width: 940px; margin-inline: auto; padding: clamp(2rem, 1rem + 5vw, 4.5rem) clamp(1.25rem, 0.5rem + 5vw, 5rem) clamp(3rem, 2rem + 4vw, 5rem);
    background: var(--fcg-surface); color: var(--fcg-ink); border-radius: 6px;
    box-shadow: 0 14px 30px -18px rgba(26, 8, 9, 0.45), inset 0 0 0 1px var(--fcg-line), inset 0 0 0 7px var(--fcg-surface), inset 0 0 0 8px var(--fcg-copper-ink);
    background-image: radial-gradient(ellipse at 50% 0, color-mix(in oklab, var(--fcg-copper) 10%, transparent), transparent 60%);
}
.fcg-sec--night .fcg-broadside, .fcg-sec--deep .fcg-broadside { background-color: var(--fcg-paper); }
.fcg-broadside__head, .fcg-broadside > .fcg-head { margin-bottom: var(--fcg-space-6); }
.fcg-broadside__head .fcg-eyebrow, .fcg-broadside .is-style-fcg-eyebrow { color: var(--fcg-copper-ink); }
.fcg-page .fcg-broadside__head h2, .fcg-page .fcg-broadside > .fcg-head h2 { color: var(--fcg-ink); }
.fcg-broadside__head h2 em, .fcg-broadside > .fcg-head h2 em { color: var(--fcg-copper-ink); }
.fcg-broadside__head .fcg-lead, .fcg-broadside .fcg-head .is-style-fcg-lead { color: var(--fcg-muted); font-family: var(--fcg-font-read); }
.fcg-creed__list, .fcg-page ol.fcg-creed__list { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: fcg-tenet; }
.fcg-tenet { counter-increment: fcg-tenet; }
.fcg-tenet__num::before { content: counter(fcg-tenet, upper-roman); }
.fcg-tenet { display: grid; grid-template-columns: 4.2rem 1fr; gap: var(--fcg-space-4); padding: var(--fcg-space-5) 0; border-top: 1px solid var(--fcg-line); }
.fcg-tenet:first-child { border-top: 0; padding-top: 0; }
.fcg-tenet__num { font: italic 380 var(--fcg-step-3)/1 var(--fcg-font-display); color: var(--fcg-copper-ink); text-align: right; padding-top: 0.15em; }
.fcg-page .fcg-tenet h3 { font-size: var(--fcg-step-2); margin: 0 0 0.4em; color: var(--fcg-ink); }
.fcg-tenet__body > p, .fcg-tenet__text { font-family: var(--fcg-font-read); font-size: 1.08rem; line-height: 1.7; color: color-mix(in oklab, var(--fcg-ink) 88%, var(--fcg-paper)); }
.fcg-tenet__text p:last-child, .fcg-page p.fcg-tenet__text, .fcg-page .fcg-tenet__body > p:last-child { margin-bottom: 0; }
.fcg-page .fcg-tenet__body > p { margin-bottom: 0.8em; }
.fcg-tenet__body > .wp-block-quote, .fcg-tenet__quote { margin: var(--fcg-space-4) 0 0; padding: var(--fcg-space-3) var(--fcg-space-4); border-left: 2px solid var(--fcg-copper); background: color-mix(in oklab, var(--fcg-paper-2) 70%, transparent); border-radius: 0 10px 10px 0; }
.fcg-page .fcg-tenet__quote p, .fcg-page .fcg-tenet__body > .wp-block-quote p { font: italic 380 var(--fcg-step-1)/1.45 var(--fcg-font-display); margin: 0; color: var(--fcg-ink); }
.fcg-tenet__quote cite, .fcg-tenet__body > .wp-block-quote cite { display: block; margin-top: 0.5rem; font: 600 var(--fcg-step--2)/1.3 var(--fcg-font-body); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fcg-muted); }
.fcg-tenet__quote cite a, .fcg-tenet__body > .wp-block-quote cite a { color: var(--fcg-copper-ink); text-decoration: none; }
.fcg-tenet__quote cite a:hover, .fcg-tenet__body > .wp-block-quote cite a:hover { text-decoration: underline; }
.fcg-page p.fcg-broadside__foot, .fcg-page .fcg-broadside p.is-style-fcg-footnote { margin: var(--fcg-space-6) auto 0; max-width: 40em; text-align: center; font: italic 400 var(--fcg-step-0)/1.6 var(--fcg-font-read); color: var(--fcg-muted); }
.fcg-page p.fcg-broadside__more { text-align: center; margin: var(--fcg-space-5) 0 0; }
.fcg-page .fcg-broadside > .wp-block-buttons { justify-content: center; margin-top: var(--fcg-space-5); }
@media (max-width: 560px) { .fcg-tenet { grid-template-columns: 1fr; gap: 0.4rem; } .fcg-tenet__num { text-align: left; } }
/* Brief: no parchment, the beliefs as a constellation of short lines. */
.fcg-creed--brief .fcg-broadside { background: none; box-shadow: none; color: inherit; padding: 0; max-width: var(--fcg-wrap); }
.fcg-creed--brief .fcg-broadside__head .fcg-eyebrow, .fcg-creed--brief .fcg-broadside .is-style-fcg-eyebrow { color: var(--fcg-copper); }
.fcg-page .fcg-creed--brief .fcg-broadside__head h2, .fcg-page .fcg-creed--brief .fcg-broadside > .fcg-head h2 { color: var(--fcg-vellum); }
.fcg-creed--brief .fcg-broadside > .fcg-head h2 em { color: var(--fcg-copper); }
.fcg-creed--brief .fcg-broadside .fcg-head .is-style-fcg-lead { color: var(--fcg-on-hall-muted); }
.fcg-creed--brief .fcg-creed__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fcg-space-4); }
.fcg-creed--brief .fcg-tenet { grid-template-columns: 1fr; gap: 0.6rem; padding: var(--fcg-space-5); border: 1px solid var(--fcg-hall-line); border-radius: var(--fcg-radius-lg); background: color-mix(in oklab, var(--fcg-hall-2) 70%, transparent); }
.fcg-creed--brief .fcg-tenet:first-child { padding-top: var(--fcg-space-5); }
.fcg-creed--brief .fcg-tenet__num { text-align: left; color: var(--fcg-copper); font-size: var(--fcg-step-2); }
.fcg-page .fcg-creed--brief .fcg-tenet h3 { color: var(--fcg-vellum); font-size: var(--fcg-step-1); }
.fcg-creed--brief .fcg-tenet__text, .fcg-creed--brief .fcg-tenet__body > p { color: var(--fcg-on-hall-muted); font-size: 0.98rem; }
.fcg-creed--brief .fcg-broadside__foot, .fcg-creed--brief .is-style-fcg-footnote { color: var(--fcg-on-hall-muted); }
.fcg-creed--brief .fcg-seal { display: none; }
@media (max-width: 900px) { .fcg-creed--brief .fcg-creed__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fcg-creed--brief .fcg-creed__list { grid-template-columns: 1fr; } }

/* ---------- Field notes (fcg-notes) ------------------------------------ */
.fcg-notes__row, .fcg-page ul.fcg-notes__row {
    list-style: none; margin: 0 calc(50% - 50vw); padding: 0.5rem max(var(--fcg-gutter), calc((100vw - var(--fcg-wrap)) / 2 + var(--fcg-gutter))) 1.5rem;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 340px); gap: var(--fcg-space-4);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--fcg-gutter), calc((100vw - var(--fcg-wrap)) / 2 + var(--fcg-gutter)));
    scrollbar-width: thin; scrollbar-color: var(--fcg-hall-line) transparent;
}
.fcg-notes__row:focus-visible { outline-offset: -4px; }
.fcg-note {
    scroll-snap-align: start; position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: var(--fcg-space-3);
    padding: var(--fcg-space-5); border-radius: var(--fcg-radius-lg); background: var(--fcg-paper); color: var(--fcg-ink);
    box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.9);
}
.fcg-note:nth-child(3n + 2) { background: var(--fcg-paper-2); }
.fcg-note:nth-child(3n + 3) { background: var(--fcg-hall-2); color: var(--fcg-vellum); box-shadow: inset 0 0 0 1px var(--fcg-hall-line); }
.fcg-note__mark { color: var(--fcg-copper-ink); }
.fcg-note:nth-child(3n + 3) .fcg-note__mark { color: var(--fcg-copper); }
.fcg-page p.fcg-note__text { font: 400 var(--fcg-step-1)/1.45 var(--fcg-font-display); margin: 0; }
.fcg-page p.fcg-note__meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0; font: 600 var(--fcg-step--2)/1.2 var(--fcg-font-body); letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; }
.fcg-note__meta a { position: relative; z-index: 1; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; }
.fcg-note__meta a:hover { color: var(--fcg-copper-ink); }

/* ---------- Subscribe (fcg-signup) ------------------------------------- */
.fcg-signup__panel {
    position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: var(--fcg-space-4) var(--fcg-space-6); align-items: center;
    padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); border-radius: var(--fcg-radius-lg);
    background: linear-gradient(135deg, var(--fcg-hall-2), var(--fcg-hall) 60%); box-shadow: var(--fcg-glow);
}
.fcg-signup__panel > :not(.fcg-fireflies) { position: relative; z-index: 2; }
.fcg-signup__panel > .fcg-seal-mark .fcg-sigil { --_s: 84px; width: 84px; }
.fcg-signup__copy { min-width: 0; }
.fcg-page .fcg-signup__copy h2 { font-size: var(--fcg-step-3); color: var(--fcg-vellum); margin-bottom: 0.3em; }
.fcg-signup__copy .fcg-lead { margin: 0; }
.fcg-signup__form { grid-column: 1 / -1; }
@media (max-width: 640px) { .fcg-signup__panel { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- Cards (fcg-cards) ------------------------------------------ */
.fcg-cards__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--fcg-cols, 3), minmax(0, 1fr)); gap: var(--fcg-space-4); }
@media (max-width: 900px) { .fcg-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fcg-cards__grid { grid-template-columns: 1fr; } }
.fcg-cards__item { position: relative; padding: var(--fcg-space-5); border-radius: var(--fcg-radius-lg); display: grid; align-content: start; gap: 0.6rem; }
.fcg-cards--cards .fcg-cards__item { border: 1px solid var(--fcg-hall-line); background: color-mix(in oklab, var(--fcg-hall-2) 60%, transparent); }
.fcg-sec--paper .fcg-cards--cards .fcg-cards__item, .fcg-sec--paper.fcg-cards--cards .fcg-cards__item, .fcg-sec--parchment.fcg-cards--cards .fcg-cards__item { border-color: var(--fcg-line); background: var(--fcg-surface); }
.fcg-cards__icon { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--fcg-copper); color: var(--fcg-copper); }
.fcg-sec--paper .fcg-cards__icon, .fcg-sec--parchment .fcg-cards__icon { border-color: var(--fcg-copper-ink); color: var(--fcg-copper-ink); }
.fcg-page .fcg-cards__item h3 { font-size: var(--fcg-step-2); margin: 0.3rem 0 0; }
.fcg-cards__item p { margin: 0; opacity: 0.85; }
.fcg-cards--bento .fcg-cards__item.is-feature { grid-row: span 2; overflow: hidden; min-height: 380px; align-content: end; }
.fcg-cards__art { position: absolute; inset: 0; z-index: -1; }
.fcg-cards__art img { width: 100%; height: 100%; object-fit: cover; }
.fcg-cards__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, var(--fcg-hall) 92%); }
.fcg-cards--bento .fcg-cards__item { isolation: isolate; }

/* ---------- Photo and words (fcg-split) -------------------------------- */
.fcg-split__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.fcg-split--reverse .fcg-split__media { order: 2; }
@media (max-width: 820px) { .fcg-split__grid { grid-template-columns: 1fr; } .fcg-split--reverse .fcg-split__media { order: 0; } }
.fcg-split__media { margin: 0; position: relative; }
.fcg-split__frame { display: block; overflow: hidden; }
.fcg-split--soft .fcg-split__frame, .fcg-photo--soft .fcg-split__frame { border-radius: var(--fcg-radius-lg); aspect-ratio: 4 / 3; }
.fcg-split__frame img { display: block; }
.fcg-split__frame img { width: 100%; height: 100%; object-fit: cover; }
.fcg-split--arch .fcg-split__media::after, .fcg-split .fcg-photo--arch::after { content: ""; position: absolute; inset: -14px; border: 1px solid var(--fcg-hall-line); border-radius: var(--fcg-arch); pointer-events: none; }
.fcg-sec--paper.fcg-split--arch .fcg-split__media::after, .fcg-sec--parchment.fcg-split--arch .fcg-split__media::after, .fcg-sec--paper .fcg-photo--arch::after, .fcg-sec--parchment .fcg-photo--arch::after { border-color: color-mix(in oklab, var(--fcg-copper-ink) 45%, transparent); }
.fcg-split__body, .fcg-split__copy > p:not([class*="is-style-"]) { font-family: var(--fcg-font-read); font-size: 1.12rem; line-height: 1.75; }
.fcg-page .fcg-split__copy > .wp-block-buttons { margin-top: var(--fcg-space-5); }
.fcg-split__more { margin-top: var(--fcg-space-5); }

/* ---------- Questions (fcg-faq) ---------------------------------------- */
.fcg-faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (max-width: 860px) { .fcg-faq__grid { grid-template-columns: 1fr; } }
.fcg-faq__list { display: grid; }
.fcg-faq__item { border-top: 1px solid var(--fcg-line-strong); }
.fcg-sec--night .fcg-faq__item, .fcg-sec--deep .fcg-faq__item { border-color: var(--fcg-hall-line); }
.fcg-faq__item:last-child { border-bottom: 1px solid var(--fcg-line-strong); }
.fcg-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; font: 440 var(--fcg-step-1)/1.35 var(--fcg-font-display); }
.fcg-faq__item summary::-webkit-details-marker { display: none; }
.fcg-faq__icon { flex: none; transition: transform var(--fcg-med) var(--fcg-ease); color: var(--fcg-copper-ink); }
.fcg-sec--night .fcg-faq__icon { color: var(--fcg-copper); }
.fcg-faq__item[open] .fcg-faq__icon { transform: rotate(45deg); }
.fcg-faq__a { overflow: hidden; padding-bottom: 1.2rem; font-family: var(--fcg-font-read); font-size: 1.05rem; }
.fcg-faq__a p:last-child { margin-bottom: 0; }

/* ---------- Closing panel (fcg-cta) ------------------------------------ */
.fcg-cta__panel { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: clamp(2.5rem, 1.5rem + 5vw, 6rem) clamp(1.25rem, 1rem + 4vw, 5rem); border-radius: var(--fcg-radius-lg); }
.fcg-cta__panel--brand { background: linear-gradient(160deg, var(--fcg-hall-2), var(--fcg-hall-deep)); color: var(--fcg-on-hall); box-shadow: var(--fcg-glow); }
.fcg-cta__panel--soft { background: var(--fcg-paper); color: var(--fcg-ink); }
.fcg-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.fcg-cta__panel.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, color-mix(in oklab, var(--fcg-hall) 55%, transparent), color-mix(in oklab, var(--fcg-hall) 85%, transparent)); }
.fcg-cta__copy { position: relative; z-index: 2; max-width: 40rem; margin-inline: auto; display: grid; justify-items: center; }
.fcg-page .fcg-cta__panel--brand h2 { color: var(--fcg-vellum); }
.fcg-page p.fcg-cta__lead { font: 400 var(--fcg-step-1)/1.6 var(--fcg-font-read); opacity: 0.9; }
.fcg-cta__actions, .fcg-cta__copy > .wp-block-buttons { justify-content: center; margin-top: var(--fcg-space-3); }
.fcg-page .fcg-cta__copy p.is-style-fcg-lead { font: 400 var(--fcg-step-1)/1.6 var(--fcg-font-read); opacity: 0.9; margin-inline: auto; }

/* ---------- Contact (fcg-contact) -------------------------------------- */
.fcg-contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (max-width: 860px) { .fcg-contact__grid { grid-template-columns: 1fr; } }
.fcg-contact__steps { list-style: none; counter-reset: step; margin: var(--fcg-space-5) 0 0; padding: 0; display: grid; gap: var(--fcg-space-4); }
.fcg-contact__steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 0.9rem; }
.fcg-contact__steps li::before { content: counter(step, upper-roman); grid-row: span 2; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--fcg-copper); color: var(--fcg-copper); font: italic 400 1rem/1 var(--fcg-font-display); }
.fcg-contact__steps strong { display: block; font-weight: 600; }
.fcg-contact__steps span { opacity: 0.75; }
.fcg-contact__facts { list-style: none; margin: var(--fcg-space-5) 0 0; padding: 0; display: grid; gap: 0.6rem; }
.fcg-contact__facts li { display: flex; gap: 0.6rem; align-items: center; }
.fcg-contact__facts .fcg-icon { color: var(--fcg-copper); }
.fcg-contact__card { padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); border-radius: var(--fcg-radius-lg); background: var(--fcg-hall-2); box-shadow: var(--fcg-glow); }
.fcg-sec--paper .fcg-contact__card, .fcg-sec--parchment .fcg-contact__card { background: var(--fcg-surface); box-shadow: var(--fcg-shadow-lg); border: 1px solid var(--fcg-line); }

/* ---------- 404 -------------------------------------------------------- */
.fcg-404 .fcg-sigil { margin-bottom: var(--fcg-space-5); }

/* =========================================================================
 * WordPress blocks inside the sections (styles registered in models/blocks.php)
 * The same rules serve the site and the editor canvas: the blocks are the
 * same elements in both.
 * ========================================================================= */

/* Section openings (fcg-head). */
.fcg-head > :last-child { margin-bottom: 0; }
.fcg-head--left { text-align: left; }
.fcg-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--fcg-space-5); align-items: end; }
.fcg-head--split > * { grid-column: 1; }
.fcg-head--split > .wp-block-buttons { grid-column: 2; grid-row: 1 / span 4; align-self: end; margin: 0; }
@media (max-width: 640px) { .fcg-head--split { grid-template-columns: 1fr; } .fcg-head--split > .wp-block-buttons { grid-column: 1; grid-row: auto; margin-top: var(--fcg-space-3); } }
.fcg-head--center > .wp-block-buttons { justify-content: center; }

/* Paragraph styles. */
.fcg-page p.is-style-fcg-eyebrow {
    display: inline-flex; align-items: center; gap: 0.6em;
    font: 600 var(--fcg-step--2)/1.2 var(--fcg-font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--fcg-copper);
    margin: 0 0 var(--fcg-space-3);
}
.fcg-page p.is-style-fcg-eyebrow::before, .fcg-page .fcg-head--center > p.is-style-fcg-eyebrow::after, .fcg-page .fcg-page-hero__body > p.is-style-fcg-eyebrow::after, .fcg-page .fcg-cta__copy > p.is-style-fcg-eyebrow::after {
    content: ""; width: 0.7em; height: 0.7em; flex: none; background: currentColor;
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.fcg-sec--paper p.is-style-fcg-eyebrow, .fcg-sec--parchment p.is-style-fcg-eyebrow, .fcg-blog p.is-style-fcg-eyebrow, .fcg-cta__panel--soft p.is-style-fcg-eyebrow { color: var(--fcg-copper-ink); }
.fcg-page p.is-style-fcg-lead { font-size: var(--fcg-step-1); line-height: 1.6; color: var(--fcg-on-hall-muted); max-width: 60ch; }
.fcg-sec--paper p.is-style-fcg-lead, .fcg-sec--parchment p.is-style-fcg-lead, .fcg-cta__panel--soft p.is-style-fcg-lead { color: var(--fcg-muted); }
.fcg-head--center > p.is-style-fcg-lead { margin-inline: auto; }
.fcg-page p.is-style-fcg-roles { font: 600 var(--fcg-step--1)/1.6 var(--fcg-font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--fcg-copper); }
.fcg-page p.is-style-fcg-signature { font: italic 360 var(--fcg-step-3)/1 var(--fcg-font-display); color: var(--fcg-copper); margin-top: var(--fcg-space-4); }
.fcg-sec--paper p.is-style-fcg-signature, .fcg-sec--parchment p.is-style-fcg-signature { color: var(--fcg-copper-ink); }
.fcg-page p.is-style-fcg-signoff { font: italic 340 var(--fcg-step-3)/1.3 var(--fcg-font-display); color: var(--fcg-vellum); text-align: center; max-width: 28em; margin: 0 auto var(--fcg-space-7); text-wrap: balance; }
.fcg-page p.is-style-fcg-footnote { margin: var(--fcg-space-6) auto 0; max-width: 40em; text-align: center; font: italic 400 var(--fcg-step-0)/1.6 var(--fcg-font-read); opacity: 0.75; }
.fcg-page h1.is-style-fcg-display, .fcg-page h2.is-style-fcg-display { font-size: var(--fcg-step-6); font-weight: 340; letter-spacing: -0.035em; line-height: 0.95; }

/* Buttons: the gold one is the default; outline, night and arrow link are styles. */
.fcg-page .wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: var(--fcg-space-2) var(--fcg-space-3); margin: 0 0 var(--fcg-space-4); }
.fcg-page .wp-block-buttons:last-child { margin-bottom: 0; }
.fcg-page .wp-block-button { margin: 0; }
.fcg-page .wp-block-button__link {
    --_bg: var(--fcg-copper); --_fg: var(--fcg-on-copper); --_bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
    min-height: 3.1rem; padding: 0.75rem 1.5rem; border: 1px solid var(--_bd); border-radius: 999px;
    background: var(--_bg); color: var(--_fg); font: 600 var(--fcg-step--1)/1.1 var(--fcg-font-body); letter-spacing: 0.02em;
    text-decoration: none; white-space: nowrap;
    transition: transform var(--fcg-fast) var(--fcg-ease), background-color var(--fcg-fast) var(--fcg-ease), box-shadow var(--fcg-med) var(--fcg-ease), color var(--fcg-fast) var(--fcg-ease), border-color var(--fcg-fast) var(--fcg-ease);
}
.fcg-page a.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px var(--fcg-copper-glow); }
.fcg-page .wp-block-button:not(.is-style-fcg-outline):not(.is-style-fcg-night):not(.is-style-fcg-link) > a.wp-block-button__link:hover { --_bg: var(--fcg-copper-soft); }
.fcg-page .wp-block-button__link::after {
    content: ""; width: 1.05em; height: 1.05em; flex: none; background: currentColor; transition: transform var(--fcg-fast) var(--fcg-ease);
    -webkit-mask: var(--_ico) center / contain no-repeat; mask: var(--_ico) center / contain no-repeat;
    --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fcg-page a.wp-block-button__link[target="_blank"]::after { --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5' stroke='black' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fcg-page a.wp-block-button__link:hover::after { transform: translateX(3px); }
.fcg-page .is-style-fcg-outline > .wp-block-button__link { --_bg: transparent; --_fg: var(--fcg-on-hall); --_bd: var(--fcg-hall-line); }
.fcg-page .is-style-fcg-outline > a.wp-block-button__link:hover { --_bd: var(--fcg-copper); --_fg: var(--fcg-vellum); box-shadow: none; }
.fcg-sec--paper .is-style-fcg-outline > .wp-block-button__link, .fcg-sec--parchment .is-style-fcg-outline > .wp-block-button__link, .fcg-cta__panel--soft .is-style-fcg-outline > .wp-block-button__link { --_fg: var(--fcg-ink); --_bd: var(--fcg-line-strong); }
.fcg-page .is-style-fcg-night > .wp-block-button__link { --_bg: var(--fcg-hall); --_fg: var(--fcg-vellum); }
.fcg-page .is-style-fcg-night > a.wp-block-button__link:hover { --_bg: var(--fcg-hall-2); }
.fcg-page .is-style-fcg-link > .wp-block-button__link {
    --_bg: transparent; --_fg: var(--fcg-copper); --_bd: transparent; min-height: 0; padding: 0 0 0.15em; border-radius: 0;
    border-bottom: 1px solid var(--fcg-hall-line); gap: 0.45em;
}
.fcg-page .is-style-fcg-link > a.wp-block-button__link:hover { transform: none; box-shadow: none; border-bottom-color: currentColor; }
.fcg-sec--paper .is-style-fcg-link > .wp-block-button__link, .fcg-sec--parchment .is-style-fcg-link > .wp-block-button__link { --_fg: var(--fcg-copper-ink); border-bottom-color: var(--fcg-line-strong); }
@media (max-width: 420px) { .fcg-page .wp-block-button__link { white-space: normal; text-align: center; } }

/* Lists. */
.fcg-page ul.is-style-fcg-checks { list-style: none; margin: 0 0 var(--fcg-space-4); padding: 0; display: grid; gap: 0.7rem; }
.fcg-page ul.is-style-fcg-checks > li { position: relative; padding-left: 2.1rem; }
.fcg-page ul.is-style-fcg-checks > li::before {
    content: ""; position: absolute; left: 0; top: 0.2em; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1px solid var(--fcg-hall-line);
    background: var(--fcg-copper) center / 0.8rem no-repeat;
    -webkit-mask: radial-gradient(circle, #000 0 62%, transparent 63%); mask: radial-gradient(circle, #000 0 62%, transparent 63%);
}
.fcg-page ul.is-style-fcg-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.fcg-footer__bottom ul.is-style-fcg-row { margin-inline-start: auto; }

/* Footer columns and the profile icons. */
.fcg-footer__grid > .fcg-footer__col ul, .fcg-topic-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.fcg-footer__brand > p { max-width: 36ch; }
