/* baker.css — rcb.urbanicity.space site-wide layer
 * Loaded AFTER: Bootstrap 5, Font Awesome 6, Google Fonts
 * Loaded BEFORE: page-specific CSS
 *
 * Palette: Maryland flag (Calvert family) + parchment + maritime navy
 *   --rcb-black:   #0d0d0d   (Calvert black)
 *   --rcb-gold:    #FFD200   (Calvert gold)
 *   --rcb-red:     #C8102E   (Calvert red)
 *   --rcb-white:   #FFFFFF
 *   --rcb-navy:    #0d1f3d   (deep maritime)
 *   --rcb-parch:   #f5ecd6   (parchment body bg)
 *   --rcb-ink:     #1a1410   (body text)
 *   --rcb-rust:    #8a3324   (warm accent)
 */

:root {
    --rcb-black:  #0d0d0d;
    --rcb-gold:   #FFD200;
    --rcb-gold-d: #c9a11b;
    --rcb-red:    #C8102E;
    --rcb-white:  #ffffff;
    --rcb-navy:   #0d1f3d;
    --rcb-navy-d: #07142a;
    --rcb-parch:  #f5ecd6;
    --rcb-parch-d:#e8dcb8;
    --rcb-ink:    #1a1410;
    --rcb-ink-2:  #4a3f30;
    --rcb-rust:   #8a3324;
    --rcb-shadow: 0 4px 14px rgba(13,15,30,.25);

    /* Bootstrap CSS-var overrides where useful */
    --bs-body-font-family: 'Roboto', system-ui, -apple-system, sans-serif;
    --bs-body-color: var(--rcb-ink);
    --bs-body-bg: var(--rcb-parch);
    --bs-link-color: var(--rcb-navy);
    --bs-link-hover-color: var(--rcb-red);
}

/* ── base ──────────────────────────────────────────────────────────── */
html, body { min-height: 100vh; }
body {
    font-family: var(--bs-body-font-family);
    color: var(--rcb-ink);
    background:
        radial-gradient(ellipse at top left, rgba(255,210,0,.06) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(200,16,46,.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--rcb-parch) 0%, var(--rcb-parch-d) 100%);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

/* IM Fell English SC for all headings + brand */
h1, h2, h3, h4, h5, h6,
.rcb-display, .rcb-heading,
.rcb-brand-mark, .rcb-brand-name {
    font-family: 'IM Fell English SC', Georgia, serif;
    font-weight: 400;
    color: var(--rcb-navy);
    letter-spacing: .01em;
    line-height: 1.15;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.55rem; }

.rcb-display {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    color: var(--rcb-navy);
    margin: 0 0 .5rem;
}
.rcb-overline {
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: .85rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--rcb-rust);
    margin: 0 0 .75rem;
}
.rcb-italic-quote {
    font-family: 'IM Fell English', Georgia, serif;
    font-style: italic;
    color: var(--rcb-ink-2);
}

/* ── navbar ────────────────────────────────────────────────────────── */
.rcb-navbar {
    background: linear-gradient(180deg, var(--rcb-navy) 0%, var(--rcb-navy-d) 100%);
    border-bottom: 3px solid var(--rcb-gold);
    box-shadow: var(--rcb-shadow);
    padding: .6rem 0;
}
.rcb-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.rcb-brand-mark {
    color: var(--rcb-gold);
    font-size: 1.6rem;
    line-height: 1;
    border: 2px solid var(--rcb-gold);
    padding: .15rem .45rem;
    border-radius: 3px;
}
.rcb-brand-name {
    color: var(--rcb-white);
    font-size: 1.45rem;
    letter-spacing: .04em;
}
.rcb-navbar .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: 1.2rem;
    letter-spacing: .03em;
    padding: .4rem .9rem;
    border-radius: 3px;
    transition: color .15s, background .15s;
}
.rcb-navbar .nav-link:hover {
    color: var(--rcb-gold) !important;
    background: rgba(255,210,0,.08);
}
.rcb-navbar .nav-link.active {
    color: var(--rcb-gold) !important;
    background: rgba(255,210,0,.12);
}
.navbar-toggler {
    border-color: rgba(255,210,0,.4);
}
.navbar-toggler-icon {
    filter: invert(1);
}

/* ── content wrap ──────────────────────────────────────────────────── */
.rcb-wrap { flex: 1 0 auto; }

/* ── footer ────────────────────────────────────────────────────────── */
.rcb-footer {
    background: var(--rcb-black);
    color: rgba(255,255,255,.75);
    border-top: 3px solid var(--rcb-gold);
    flex-shrink: 0;
}
.rcb-footer-mark {
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: 1.4rem;
    color: var(--rcb-gold);
    letter-spacing: .05em;
}
.rcb-footer-tag {
    font-family: 'IM Fell English', Georgia, serif;
    font-style: italic;
    font-size: .85rem;
    color: rgba(255,255,255,.55);
}
.rcb-footer-meta { color: rgba(255,255,255,.55); }
.rcb-footer-link {
    color: var(--rcb-gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.rcb-footer-link:hover {
    color: var(--rcb-white);
    border-bottom-color: var(--rcb-gold);
}

/* ── reusable components ───────────────────────────────────────────── */

/* Hero banner */
.rcb-hero {
    background:
        linear-gradient(135deg, rgba(13,31,61,.92), rgba(7,20,42,.92)),
        radial-gradient(circle at 30% 40%, rgba(255,210,0,.15), transparent 60%);
    color: var(--rcb-white);
    padding: 5rem 0 4rem;
    border-bottom: 3px solid var(--rcb-gold);
    position: relative;
}
.rcb-hero h1, .rcb-hero .rcb-display, .rcb-hero h2 { color: var(--rcb-white); }
.rcb-hero .rcb-overline { color: var(--rcb-gold); }
.rcb-hero .rcb-italic-quote { color: rgba(255,236,182,.85); }

/* Section blocks */
.rcb-section {
    padding: 3.5rem 0;
}
.rcb-section + .rcb-section { border-top: 1px dashed rgba(13,31,61,.18); }
.rcb-section h2 {
    color: var(--rcb-navy);
    margin-bottom: 1.5rem;
}

/* Cards (override Bootstrap .card) */
.rcb-card {
    /* RCB-CARD-F0EFEB — neutral warm off-white (#f0efeb) per Dr. Frestes.
       Strong navy border + drop shadow keep them visibly bordered for wet-AMD. */
    background: #f0efeb;
    color: #1a1410;
    border: 3px solid #0d1f3d;
    border-radius: 4px;
    box-shadow: 0 6px 18px rgba(13,15,30,.30), 0 0 0 1px rgba(13,15,30,.15);
    transition: transform .15s, box-shadow .15s, border-color .15s, background .15s;
    overflow: hidden;
}
.rcb-card:hover {
    transform: translateY(-3px);
    background: #f7f6f1;
    border-color: #c9a44b;
    box-shadow: 0 12px 26px rgba(13,15,30,.40), 0 0 0 2px rgba(201,164,75,.40);
}
.rcb-card .rcb-card-title { color: #0d1f3d; }
.rcb-card .rcb-card-meta,
.rcb-card .rcb-card-pid   { color: #5a4f3a; }
.rcb-card .rcb-card-link  { color: inherit; }
.rcb-card .rcb-chip       { background: rgba(13,31,61,.08); border-color: rgba(13,31,61,.30); color: #0d1f3d; }
.rcb-card-body { padding: 1.1rem 1.25rem; }
.rcb-card-title {
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: 1.15rem;
    color: var(--rcb-navy);
    margin-bottom: .3rem;
    line-height: 1.2;
}
.rcb-card-meta {
    font-family: 'IM Fell English', Georgia, serif;
    font-style: italic;
    font-size: .82rem;
    color: var(--rcb-ink-2);
}
.rcb-card-link {
    color: inherit;
    text-decoration: none;
    display: block;
}
.rcb-card-link:hover { color: inherit; }

/* Tier chips (command, officer, specialist, crew, youth, outlier) */
.rcb-chip {
    display: inline-block;
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .14rem .55rem;
    border-radius: 2px;
    border: 1px solid currentColor;
    background: rgba(255,255,255,.7);
}
.rcb-chip-command    { color: var(--rcb-red); }
.rcb-chip-officer    { color: var(--rcb-navy); }
.rcb-chip-specialist { color: #6b3c11; }
.rcb-chip-crew       { color: var(--rcb-ink-2); }
.rcb-chip-youth      { color: #1d6b3d; }
.rcb-chip-outlier    { color: #5b2a8a; }

/* Portrait box */
.rcb-portrait {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--rcb-navy) 0%, var(--rcb-navy-d) 100%);
    color: var(--rcb-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: 2.5rem;
    overflow: hidden;
    border-bottom: 2px solid var(--rcb-ink);
}
.rcb-portrait img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.rcb-portrait .rcb-portrait-fallback {
    opacity: .75;
}

/* Hub chip-cards (large action cards on the landing) */
.rcb-hub-card {
    display: flex;
    flex-direction: column;
    background: var(--rcb-white);
    border: 2px solid var(--rcb-ink);
    border-radius: 4px;
    padding: 1.5rem;
    height: 100%;
    text-decoration: none;
    color: var(--rcb-ink);
    transition: transform .15s, box-shadow .15s, border-color .15s, background .15s;
}
.rcb-hub-card:hover {
    color: var(--rcb-ink);
    transform: translateY(-3px);
    border-color: var(--rcb-gold-d);
    background: linear-gradient(180deg, #fffdf2 0%, var(--rcb-white) 100%);
    box-shadow: 0 10px 24px rgba(13,15,30,.28);
}
.rcb-hub-icon {
    font-size: 2.2rem;
    color: var(--rcb-navy);
    margin-bottom: .75rem;
}
.rcb-hub-title {
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: 1.4rem;
    color: var(--rcb-navy);
    margin: 0 0 .5rem;
}
.rcb-hub-desc {
    font-size: .9rem;
    color: var(--rcb-ink-2);
    line-height: 1.5;
}

/* Tier-grouped pirate sections */
.rcb-tier-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 2rem 0 1rem;
    padding-bottom: .35rem;
    border-bottom: 1px dashed var(--rcb-ink-2);
}
.rcb-tier-header h2 {
    font-size: 1.5rem;
    color: var(--rcb-navy);
    margin: 0;
}
.rcb-tier-count {
    font-family: 'IM Fell English', Georgia, serif;
    font-style: italic;
    color: var(--rcb-ink-2);
    font-size: .95rem;
}

/* Inline badge (witch, freed slave, etc) */
.rcb-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    padding: .08rem .35rem;
    border-radius: 2px;
    background: var(--rcb-gold);
    color: var(--rcb-black);
    margin-left: .25rem;
}
.rcb-badge-witch { background: #5b2a8a; color: var(--rcb-white); }
.rcb-badge-freed { background: var(--rcb-rust); color: var(--rcb-white); }

/* Responsive tweaks */
@media (max-width: 575.98px) {
    h1 { font-size: 2rem; }
    .rcb-display { font-size: 2.1rem; }
    .rcb-hero { padding: 3.5rem 0 3rem; }
    .rcb-section { padding: 2.5rem 0; }
}

/* ── pirate chips (inline links that open modal) ─────────────────── */
.rcb-piratechip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .12rem .45rem .12rem .12rem;
    background: var(--rcb-white);
    border: 1.5px solid var(--rcb-ink);
    border-radius: 999px;
    text-decoration: none;
    color: var(--rcb-ink);
    font-size: .82rem;
    line-height: 1;
    transition: border-color .15s, background .15s, transform .1s;
    vertical-align: middle;
    margin: .1rem .15rem;
}
.rcb-piratechip:hover {
    color: var(--rcb-ink);
    border-color: var(--rcb-gold-d);
    background: #fffdf2;
    transform: translateY(-1px);
}
.rcb-piratechip .rcb-chip-thumb {
    display: inline-block;
    width: 22px; height: 22px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--rcb-navy);
    color: var(--rcb-gold);
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: .68rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.rcb-piratechip .rcb-chip-thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.rcb-piratechip .rcb-chip-initials { line-height: 1; }
.rcb-piratechip .rcb-chip-name {
    font-family: 'IM Fell English SC', Georgia, serif;
    letter-spacing: .02em;
    white-space: nowrap;
}

/* ── pirate modal ────────────────────────────────────────────────── */
.rcb-modal .modal-content {
    background: var(--rcb-parch);
    border: 3px solid var(--rcb-navy);
    border-radius: 4px;
    position: relative;
}
.rcb-modal-close {
    position: absolute;
    top: .75rem; right: .75rem;
    z-index: 5;
    background-color: var(--rcb-white);
    border-radius: 50%;
    opacity: .9;
}
.rcb-modal .modal-body { padding: 0; }
#rcbPirateModalBody {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 200px;
}
.rcb-modal-portrait {
    background: linear-gradient(135deg, var(--rcb-navy) 0%, var(--rcb-navy-d) 100%);
    color: var(--rcb-gold);
    display: flex; align-items: center; justify-content: center;
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: 2.5rem;
    overflow: hidden;
}
.rcb-modal-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rcb-modal-info { padding: 1.5rem 1.6rem 1.4rem; }
.rcb-modal-name {
    font-family: 'IM Fell English SC', Georgia, serif;
    color: var(--rcb-navy);
    font-size: 1.5rem;
    margin: 0 0 .25rem;
}
.rcb-modal-alias {
    font-family: 'IM Fell English', Georgia, serif;
    font-style: italic;
    color: var(--rcb-ink-2);
    margin: 0 0 .8rem;
    font-size: 1rem;
}
.rcb-modal-char {
    color: var(--rcb-ink);
    margin: 0 0 .6rem;
    font-size: .9rem;
}
.rcb-modal-meta, .rcb-modal-meta-area {
    color: var(--rcb-ink-2);
    margin: 0 0 .35rem;
    font-size: .82rem;
}
.rcb-modal-meta i { color: var(--rcb-rust); }
.rcb-modal-link { margin: .8rem 0 0; font-size: .85rem; }
.rcb-modal-link a {
    color: var(--rcb-navy);
    text-decoration: none;
    border-bottom: 1px solid var(--rcb-gold-d);
}
.rcb-modal-link a:hover { color: var(--rcb-red); }

@media (max-width: 575.98px) {
    #rcbPirateModalBody { grid-template-columns: 1fr; }
    .rcb-modal-portrait { aspect-ratio: 1.5/1; }
}

/* ── inquiry cycle cards ─────────────────────────────────────────── */
.rcb-inquiry {
    background: var(--rcb-white);
    border: 2px solid var(--rcb-ink);
    border-left: 6px solid var(--rcb-navy);
    border-radius: 4px;
    padding: 1.3rem 1.5rem 1.1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--rcb-shadow);
}
.rcb-inquiry.status-with_graf      { border-left-color: var(--rcb-rust); }
.rcb-inquiry.status-in_the_city    { border-left-color: var(--rcb-gold-d); }
.rcb-inquiry.status-reported       { border-left-color: var(--rcb-navy); }
.rcb-inquiry.status-settled        { border-left-color: #1d6b3d; }

.rcb-inquiry-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem;
    padding-bottom: .6rem; border-bottom: 1px dashed var(--rcb-ink-2);
}
.rcb-inquiry-title {
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: 1.5rem; color: var(--rcb-navy); margin: 0; flex: 1 1 auto;
}
.rcb-inquiry-status {
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
    padding: .2rem .55rem; border-radius: 2px;
    border: 1px solid currentColor;
}
.rcb-status-with_graf    { color: var(--rcb-rust); background: rgba(138,51,36,.06); }
.rcb-status-in_the_city  { color: var(--rcb-gold-d); background: rgba(201,161,27,.08); }
.rcb-status-reported     { color: var(--rcb-navy); background: rgba(13,31,61,.06); }
.rcb-status-settled      { color: #1d6b3d; background: rgba(29,107,61,.06); }

.rcb-inquiry-buccaneers { margin: .4rem 0 1rem; }
.rcb-inquiry-buccaneers-label {
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--rcb-ink-2); margin-right: .35rem; display: inline-block;
}

.rcb-inquiry-block { margin: 1rem 0; }
.rcb-inquiry-block-label {
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--rcb-rust); margin: 0 0 .3rem;
}
.rcb-inquiry-quote {
    font-family: 'IM Fell English', Georgia, serif;
    font-style: italic;
    border-left: 3px solid var(--rcb-gold);
    padding: .4rem 0 .4rem 1rem;
    margin: 0;
    color: var(--rcb-ink);
}
.rcb-inquiry-graf {
    background: linear-gradient(180deg, #fffdf2 0%, var(--rcb-white) 100%);
    border-left: 3px solid var(--rcb-navy);
    padding: .8rem 1rem;
    border-radius: 2px;
    color: var(--rcb-ink);
}
.rcb-inquiry-places {
    list-style: none; padding: 0; margin: .5rem 0 0;
    display: flex; flex-wrap: wrap; gap: .35rem;
}
.rcb-inquiry-places li {
    background: var(--rcb-parch-d);
    color: var(--rcb-ink);
    font-size: .8rem;
    padding: .15rem .55rem;
    border-radius: 2px;
    font-family: 'Roboto', sans-serif;
}
.rcb-inquiry-places li i { color: var(--rcb-rust); margin-right: .3rem; }

.rcb-pending {
    color: var(--rcb-ink-2);
    font-style: italic;
    text-align: center;
    padding: .8rem 0;
}

/* Graf hero & meta */
.rcb-graf-card {
    background: linear-gradient(180deg, #1a2e4d 0%, var(--rcb-navy-d) 100%);
    color: var(--rcb-white);
    border-radius: 4px;
    padding: 1.5rem;
    border: 1px solid var(--rcb-gold-d);
}
.rcb-graf-card h3 {
    color: var(--rcb-gold);
    font-size: 1.1rem;
    margin-bottom: .4rem;
}
.rcb-graf-card p { margin: 0; font-size: .9rem; }

/* ── hero image / upload placeholder ─────────────────────────────── */
.rcb-hero-image {
    position: relative;
    aspect-ratio: 4 / 3;
    background: rgba(255,255,255,.05);
    border: 2px dashed rgba(255,210,0,.4);
    border-radius: 4px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.rcb-hero-image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.rcb-hero-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: .5rem;
    text-align: center;
    padding: 1.5rem;
    color: rgba(255,236,182,.85);
}
.rcb-hero-placeholder-icon {
    font-size: 3rem;
    color: rgba(255,210,0,.55);
}
.rcb-hero-placeholder-label {
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: 1.2rem;
    margin: 0;
    color: var(--rcb-gold);
}
.rcb-hero-placeholder-hint {
    font-size: .85rem;
    font-style: italic;
    color: rgba(255,236,182,.65);
    margin: 0;
}
.rcb-hero-upload-btn-primary {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    background: var(--rcb-gold);
    color: var(--rcb-black);
    padding: .5rem 1rem;
    border-radius: 3px;
    font-family: 'IM Fell English SC', Georgia, serif;
    font-size: .9rem;
    letter-spacing: .08em;
    margin-top: .5rem;
    border: 1px solid var(--rcb-gold-d);
    transition: background .15s;
}
.rcb-hero-upload-btn-primary:hover {
    background: var(--rcb-white);
}
.rcb-hero-upload-btn-primary input[type=file] { display: none; }

/* small "replace" pencil when an image is already loaded */
.rcb-hero-replace {
    position: absolute;
    top: .5rem;
    right: .5rem;
    margin: 0;
}
.rcb-hero-upload-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: rgba(13,15,30,.7);
    color: var(--rcb-gold);
    border: 1px solid var(--rcb-gold);
    border-radius: 50%;
    font-size: .9rem;
    transition: background .15s, color .15s;
}
.rcb-hero-upload-btn:hover {
    background: var(--rcb-gold);
    color: var(--rcb-black);
}
.rcb-hero-upload-btn input[type=file] { display: none; }

@media (max-width: 991.98px) {
    .rcb-hero-image { aspect-ratio: 16 / 9; margin-top: 1.5rem; }
}

/* ── pirate_id label on cards ─────────────────────────────────────── */
.rcb-card-pid {
    display: inline-block;
    font-family: 'Roboto Mono', 'SF Mono', Consolas, monospace;
    font-size: .68rem;
    font-weight: 600;
    color: var(--rcb-ink-2);
    background: var(--rcb-parch-d);
    padding: .05rem .35rem;
    border-radius: 2px;
    margin-bottom: .25rem;
    letter-spacing: .03em;
    border: 1px solid rgba(13,15,30,.1);
}


/* ── RCB-HERO-CAPTION-V1 + footnote chip + captain thumb (2026-05-31) ───── */
.rcb-hero-figure { margin: 0; }
.rcb-hero-caption {
    margin-top: .55rem;
    text-align: center;
    font-family: 'IM Fell English SC', Georgia, serif;
    color: var(--rcb-gold);
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .85rem;
}
.rcb-captain-row {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
}
.rcb-captain-thumb {
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--rcb-navy);
    background: #e8e3d8;
    display: block;
}
.rcb-fn-wrap { position: relative; display: inline-block; }
.rcb-fn {
    appearance: none;
    background: rgba(13,31,61,.08);
    color: var(--rcb-navy);
    border: 1px solid rgba(13,31,61,.4);
    border-radius: 999px;
    font: 700 .68rem/1 'IM Fell English SC', Georgia, serif;
    padding: .14rem .46rem;
    margin: 0 .1rem 0 .15rem;
    vertical-align: super;
    cursor: pointer;
    line-height: 1;
}
.rcb-fn:hover, .rcb-fn:focus { background: var(--rcb-navy); color: var(--rcb-gold); outline: none; }
.rcb-fn-pop {
    position: absolute;
    left: 0;
    top: calc(100% + .4rem);
    width: min(360px, 80vw);
    background: var(--rcb-navy);
    color: rgba(255,236,182,.95);
    border: 1px solid rgba(255,210,0,.55);
    border-radius: 6px;
    padding: .8rem .95rem;
    font: 400 .85rem/1.6 'IM Fell English', Georgia, serif;
    box-shadow: 0 8px 22px rgba(0,0,0,.45);
    z-index: 50;
    display: none;
    text-align: left;
    font-style: normal;
}
.rcb-fn-pop em { color: var(--rcb-gold); font-style: italic; }
.rcb-fn-wrap:hover .rcb-fn-pop,
.rcb-fn-wrap:focus-within .rcb-fn-pop { display: block; }
@media (max-width: 700px) {
    .rcb-fn-pop { left: auto; right: 0; }
}

/* RCB-HERO-FIGURE-V2 — caption sits below the framed image, no dashed border on filled state */
.rcb-hero-figure { margin: 0; display: block; }
.rcb-hero-image--filled {
    border: 1px solid rgba(255,210,0,.35);
    background: rgba(0,0,0,.18);
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.rcb-hero-image--filled img { border-radius: 3px; }
.rcb-hero-caption {
    display: block;
    margin: .7rem 0 0;
    text-align: center;
    font-family: 'IM Fell English SC', Georgia, serif;
    color: var(--rcb-gold);
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: .95rem;
}
.rcb-hero-caption::before, .rcb-hero-caption::after {
    content: "";
    display: inline-block;
    width: 28px; height: 1px;
    vertical-align: middle;
    background: rgba(255,210,0,.55);
    margin: 0 .7rem;
    transform: translateY(-2px);
}

/* RCB-HERO-H1-LOWERCASE-V1 — Dr. Frestes 2026-05-31:
   The hero h1 on rcb home renders in the lowercase IM Fell English face,
   not SC. Scoped to .rcb-hero .rcb-display only — other displays stay SC. */
.rcb-hero .rcb-display {
    font-family: 'IM Fell English', Georgia, serif !important;
    letter-spacing: .005em;
    text-transform: none;
}


/* HOME-LIGHTBOX-V1 — clickable full-size image overlay */
.rcb-zoomable {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: zoom-in;
    display: block;
    width: 100%;
    line-height: 0;
}
.rcb-zoomable img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, opacity .25s ease; }
.rcb-zoomable:hover img { transform: scale(1.02); opacity: .96; }
.rcb-zoomable:focus { outline: 3px solid var(--rcb-gold); outline-offset: 2px; }

.rcb-captain-zoom {
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    border-radius: 4px;
    overflow: hidden;
}
.rcb-captain-zoom .rcb-captain-thumb { border: 0; border-radius: 0; }

.rcb-lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(8,12,20,.94);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1vh 1vw 3.5rem;
    gap: 20px;
}
.rcb-lightbox-modal.is-open { display: flex; }
.rcb-lightbox-modal img {
    max-width: 96vw;
    max-height: calc(96vh - 60px);
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 12px 60px rgba(0,0,0,.6);
    border: 1px solid rgba(255,236,182,.18);
    border-radius: 3px;
}
.rcb-lightbox-caption {
    position: static;
    transform: none;
    max-width: 80vw;
    padding: 0;
    background: transparent;
    border-radius: 0;
    text-align: center;
    color: #ffe8b6;
    font: italic 1rem/1.45 'IM Fell English', Georgia, serif;
    letter-spacing: .03em;
    text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
.rcb-lightbox-caption:empty { display: none; }
.rcb-lightbox-close {
    position: absolute;
    top: 1.5vh; right: 1.5vw;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.08);
    color: #ffe8b6;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.rcb-lightbox-close:hover { background: rgba(255,255,255,.2); }
body.rcb-lightbox-open { overflow: hidden; }

/* CAPTAIN-CAPTION-V1 — small italic caption under the captain image */
.rcb-captain-fig { margin: 0; }
.rcb-captain-caption {
    margin-top: .55rem;
    text-align: center;
    font: italic 400 .82rem/1.4 'IM Fell English', Georgia, serif;
    color: var(--rcb-navy);
    letter-spacing: .04em;
}
.rcb-captain-caption::before,
.rcb-captain-caption::after {
    content: "";
    display: inline-block;
    width: 18px; height: 1px;
    vertical-align: middle;
    background: rgba(13,31,61,.35);
    margin: 0 .55rem;
    transform: translateY(-2px);
}


/* RCB-PROSE-V2 — subheads + small-text asides */
.rcb-prose-h4 {
    font: 700 1.18rem/1.3 'IM Fell English SC', Georgia, serif;
    color: #5b3c00;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 1.7rem 0 .4rem;
    position: relative;
}
.rcb-prose-h4::before {
    content: "";
    display: block;
    width: 28px;
    height: 1px;
    background: #c9a44b;
    margin-bottom: .35rem;
}
.rcb-prose-aside {
    margin: -.4rem 0 1.2rem !important;
    padding: .1rem 0 .1rem 1rem;
    border-left: 2px solid rgba(201,164,75,.45);
    font: italic 400 .9rem/1.55 'IM Fell English', Georgia, serif !important;
    color: #6b5230 !important;
    text-align: left !important;
}

/* RCB-GRAF-SIDEBAR-IMG-V1 */
.rcb-graf-card .rcb-graf-card-img {
    display: block;
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255,210,0,.35);
    background: #0c1626;
    margin: -2px 0 .6rem;
}

/* RCB-MOSSWOOD-V1 — page layout: hero + 4-thumb gallery */
.rcb-mw-hero img { width:100%; height:auto; display:block; }
.rcb-mw-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.rcb-mw-thumb {
    position: relative;
    aspect-ratio: 4/3;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,210,0,.28);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rcb-mw-thumb.placeholder {
    background: rgba(245,236,214,.35);
    border-style: dashed;
    color: #92715a;
    flex-direction: column;
    gap: .25rem;
}
.rcb-mw-thumb.placeholder i { font-size: 1.5rem; color: rgba(201,164,75,.55); }
.rcb-mw-thumb-label { font: 700 10px Roboto, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #92715a; }
