/* UCC Brand Identity System v1.0 / 2025 — supplied by Alan, applied 2026-10-24.
   Neutral is the general identity. Signal and Blossom are subject contexts.
   The supplied JPEG is served unchanged; only its approved reversed treatment
   is composited on dark surfaces. No mark redraw, distortion or logo shadow. */
@font-face{font-family:'IBM Plex Sans';src:url('../assets/brand/fonts/IBMPlexSans-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'IBM Plex Sans';src:url('../assets/brand/fonts/IBMPlexSans-SemiBold.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:'IBM Plex Mono';src:url('../assets/brand/fonts/IBMPlexMono-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'IBM Plex Mono';src:url('../assets/brand/fonts/IBMPlexMono-SemiBold.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:'IBM Plex Serif';src:url('../assets/brand/fonts/IBMPlexSerif-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'IBM Plex Serif';src:url('../assets/brand/fonts/IBMPlexSerif-Italic.woff2') format('woff2');font-style:italic;font-weight:400;font-display:swap}
:root{--sans:'IBM Plex Sans',Arial,sans-serif;--serif:'IBM Plex Serif',Georgia,serif;--mono:'IBM Plex Mono',monospace;--brand-black:#000000;--brand-grey:#4D4D4D;--brand-light-grey:#9A9A9A;--brand-white:#FFFFFF;--brand-red:#CC0000;--signal-red:#E74B4B;--signal-navy:#2F4A6B;--signal-blue:#BBD0DC;--signal-paper:#F7F5EF;--blossom-pink:#E8A3B4;--blossom-taupe:#CBB9B0;--blossom-mist:#F9EDEB;--blossom-paper:#FAF7F2}
.brand-system{font-family:var(--serif);font-weight:400;--muted:var(--brand-grey)}
.brand-system :is(h1,h2,h3){font-family:var(--serif)!important;font-weight:400!important}
.brand-system :is(button,input,select,textarea,summary,.button,.text-link,.label,.section-number,.source-note,.small,.copy-status,.tool-role,.tool-no,.journal-rail,.reader-bar,.reader-end,.cover-controls,.chapter-map,.site-header nav,.site-footer>a:not(.brand)){font-family:var(--mono);font-weight:600}
.brand-system :is(.parent-needs strong,.human-roles dt,.lens-list dt,.newspaper-masthead>span){font-family:var(--sans);font-weight:600}
.brand-system .moment-switcher blockquote,.brand-system .mode-quote,.brand-system .folio-paper ul{font-family:var(--serif);font-weight:400}
.brand-system :is(.kinetic-word,.word-letter,.grid-composition b,.comic-cover>span){font-family:var(--sans);font-weight:600}
.brand-system :is(.source-note,.small){font-weight:400}
.brand-system :focus-visible{outline:3px solid var(--brand-red);outline-offset:5px}

/* One lockup in every navigation/footer. The image box is56px; the visible
   original mark occupies about38px and remains above the guide's24px minimum. */
.brand-system .brand{display:inline-flex;align-items:center;gap:0;flex:none;max-width:100%;min-height:56px;text-decoration:none;letter-spacing:0;line-height:1;color:var(--brand-black);text-shadow:none;filter:none}
.brand-system .brand-symbol{display:block;flex:none;width:56px;height:56px;max-width:none;object-fit:contain;aspect-ratio:1;mix-blend-mode:multiply;box-shadow:none;border:0;filter:none;transform:none}
.brand-system .brand-wordmark{display:flex;flex:none;flex-direction:column;min-width:max-content;font-family:var(--sans);font-size:21px;line-height:21px;font-weight:600;letter-spacing:-.035em;white-space:nowrap;color:inherit}
.brand-system .brand-wordmark-line,.brand-system .brand-core{display:block;font:inherit;color:inherit;letter-spacing:inherit}
.brand-system .brand-un{display:inline;font-family:var(--mono);font-size:inherit;font-weight:600;line-height:inherit;color:var(--brand-light-grey);letter-spacing:-.07em}
.brand-system .brand-wordmark span{margin:0;max-width:none;white-space:nowrap}
.brand-system .brand--reversed,.candidate-01 .cinema-hero .brand,.candidate-02:not(.is-inverted)>.site-header .brand,.candidate-05 .club-hero .brand,.candidate-01 .site-footer .brand,.candidate-05 .site-footer .brand{color:var(--brand-white)}
.brand-system .brand--reversed .brand-symbol,.candidate-01 .cinema-hero .brand-symbol,.candidate-02:not(.is-inverted)>.site-header .brand-symbol,.candidate-05 .club-hero .brand-symbol,.candidate-01 .site-footer .brand-symbol,.candidate-05 .site-footer .brand-symbol{filter:invert(1);mix-blend-mode:screen}
.brand-system .brand--reversed .brand-un,.candidate-01 .cinema-hero .brand-un,.candidate-02:not(.is-inverted)>.site-header .brand-un,.candidate-05 .club-hero .brand-un,.candidate-01 .site-footer .brand-un,.candidate-05 .site-footer .brand-un{color:var(--brand-white)}
.brand-system .site-header{min-height:88px;align-items:center}
.candidate-01 .cinema-hero .site-header{background:var(--brand-black)}
.brand-system :is(.hero-start,.intro-start,.scene-dots span,.start-options a,.setup-steps a){font-family:var(--mono);font-weight:600}
.brand-system .site-header nav{font-size:12px;line-height:20px}
.brand-system .site-footer{font-family:var(--mono);font-size:12px}
.brand-system .site-footer p{font-family:var(--mono);font-size:12px;line-height:20px}

/* Brand color follows the content context, not the candidate number. */
.brand-system .teaching-moment,.candidate-04 .chapter-reading>.teaching-moment,.candidate-03.play-on .teaching-moment{background:var(--blossom-mist);color:var(--brand-black);--paper:var(--blossom-mist);--ink:var(--brand-black);--line:var(--blossom-taupe)}
.brand-system .tool-row:is([data-brand-context=signal],[data-brand-context=blossom]){padding:0 24px;border-left:4px solid;--ink:var(--brand-black);--muted:var(--brand-grey);color:var(--brand-black)}
.brand-system .tool-row[data-brand-context=signal]{background:var(--signal-paper);border-left-color:var(--signal-navy);--paper:var(--signal-paper)}
.brand-system .tool-row[data-brand-context=blossom]{background:var(--blossom-paper);border-left-color:var(--blossom-pink);--paper:var(--blossom-paper)}

/*01 / photographic folio: neutral paper and reversed dark reading planes. */
.candidate-01 .button,.candidate-01 .hero-start{background:var(--brand-red);color:var(--brand-white);border-color:var(--brand-red)}
.candidate-01 .folio-note{background:var(--brand-white);color:var(--brand-black)}
.candidate-01 .scene-dots a[aria-current=location]{background:var(--brand-black)!important;color:var(--brand-white)}
.candidate-01 .folio-tabs span.is-active{background:var(--brand-black);color:var(--brand-white);border-color:var(--brand-black)}

/*02 / a true paper masthead uses the same mark, not a substitute wordmark. */
.candidate-02 .newspaper-masthead{align-items:center;gap:24px}
.candidate-02 .newspaper-masthead .brand{min-height:56px}
.candidate-02 .newspaper-masthead .brand-symbol{width:56px;height:56px}
.candidate-02 .newspaper-masthead .brand-wordmark{font-size:21px;line-height:21px}
.candidate-02 .newspaper-masthead>span{font-size:13px;line-height:20px;max-width:20ch}
.candidate-02.is-inverted .journal-paper .brand{color:var(--brand-white)}
.candidate-02.is-inverted .journal-paper .brand-symbol{filter:invert(1);mix-blend-mode:screen}
.candidate-02.is-inverted .journal-paper .brand-un{color:var(--brand-white)}
.candidate-02.is-inverted .growing-paper .brand,.candidate-02:not(.is-inverted) .site-footer .brand{color:var(--brand-white)}
.candidate-02.is-inverted .growing-paper .brand-symbol,.candidate-02:not(.is-inverted) .site-footer .brand-symbol{filter:invert(1);mix-blend-mode:screen}
.candidate-02.is-inverted .growing-paper .brand-un,.candidate-02:not(.is-inverted) .site-footer .brand-un{color:var(--brand-white)}

/*03 / the graphic type stays Sans; actual headings and long-form use Serif. */
.candidate-03 .grid-composition i{background:var(--brand-red)}
.candidate-03 .grid-composition b{color:var(--brand-black)}
.candidate-03.play-on .site-header{background:var(--brand-white)}
.candidate-03 .construction-note{font-family:var(--mono)}
.candidate-03 .construction-note strong{font-family:var(--sans);font-weight:600}
.candidate-03 .kinetic-chapter-title h2{font-family:var(--serif)!important;font-weight:400!important}
.candidate-03 .site-footer{background:var(--brand-white);color:var(--brand-black)}

/*04 / uneven neutral panels retain the mosaic, red marks the entry/return. */
.candidate-04 .tile-start,.candidate-04 .chapter-start{background:var(--brand-red);color:var(--brand-white);--paper:var(--brand-red);--ink:var(--brand-white);--muted:var(--brand-white);--line:var(--brand-white)}
.candidate-04 .mosaic-center,.candidate-04 .mosaic-resume{background:var(--brand-red);color:var(--brand-white)}
.candidate-04 .mosaic-rail>a:first-child{background:var(--brand-black);color:var(--brand-white)}
.candidate-04 .mosaic-rail .brand-symbol{width:44px;height:44px;filter:invert(1);mix-blend-mode:screen}
.candidate-04 .center-word .brand-symbol{width:160px;height:160px;margin:auto;filter:invert(1);mix-blend-mode:screen}
.candidate-04 .chapter-methods{--muted:var(--brand-white)}

/*05 / a neutral cover frame keeps the original full-color story artwork. */
.candidate-05 .club-hero,.candidate-05 .club-hero .site-header,.candidate-05 .club-hero-copy{background:var(--brand-black);color:var(--brand-white)}
.candidate-05 .club-hero-copy h1,.candidate-05 .club-hero-copy p,.candidate-05 .club-belief{color:var(--brand-white);text-shadow:none}
.candidate-05 .club-hero-copy .button{background:var(--brand-red);color:var(--brand-white);border-color:var(--brand-red)}
.candidate-05 .comic-cover{box-shadow:6px 6px 0 var(--brand-black)}
.candidate-05 .comic-cover:hover,.candidate-05 .comic-cover[aria-current=true]{box-shadow:8px 12px 0 var(--brand-black)}
.candidate-05 .cover-4,.candidate-05 .cover-5{color:var(--brand-white)}
.candidate-05 .comic-cover>svg{color:var(--brand-black)}
.candidate-05 .start{color:var(--brand-white);--paper:var(--brand-red);--ink:var(--brand-white);--muted:var(--brand-white);--line:var(--brand-white)}
.candidate-05 .club-belief{font-family:var(--mono);font-size:12px;line-height:20px}
.candidate-04 :is(.chapter-start,.mosaic-center) :focus-visible,.candidate-05 .start :focus-visible,.candidate-05 .club-hero-copy .button:focus-visible{outline-color:var(--brand-white)}
.candidate-04 :is(.tile-start,.mosaic-resume):focus-visible{outline-color:var(--brand-black)}
.candidate-03.play-on :focus-visible,.candidate-03 .start :focus-visible,.candidate-04 :is(.chapter-activity,.chapter-evidence) :focus-visible{outline-color:var(--brand-black)}
.candidate-04 :is(.chapter-methods,.chapter-tools,.chapter-direction) :focus-visible{outline-color:var(--brand-white)}

/* Project/gallery surfaces share the public identity without altering task data. */
.brand-system.gallery,.brand-system.project-board{background:var(--brand-white);color:var(--brand-black)}
.brand-system.gallery :is(.folio,.number,.try,.status,.meta),.brand-system.project-board :is(.folio,.lane-label,.scope-note,.controls){font-family:var(--mono)}
.brand-system.gallery a,.brand-system.project-board a{color:inherit}
.brand-system.gallery .review-note{background:var(--brand-black);color:var(--brand-white)}
.brand-system.gallery .preview:after{background:var(--brand-white);color:var(--brand-black)}
.brand-system.gallery header{flex-wrap:wrap}
.brand-system.project-board{--paper:var(--brand-white);--ink:var(--brand-black);--muted:var(--brand-grey);--line:var(--brand-light-grey);--red:var(--brand-red);--surface:var(--brand-white)}

@media(max-width:1100px){.candidate-01 .folio-tabs{display:none}}
@media(max-width:600px){
 .brand-system .brand{min-height:52px}
 .brand-system .brand-symbol{width:52px;height:52px}
 .brand-system .brand-wordmark{font-size:20px;line-height:20px}
 .brand-system .site-header{min-height:0;gap:16px;flex-wrap:wrap}
 .brand-system .site-header nav{font-size:12px;gap:8px 12px;max-width:none}
 .brand-system .site-header nav :is(a,button){font-family:var(--mono);font-size:12px}
 .brand-system .site-header .nav-start{font-size:12px;padding:8px 12px}
 .candidate-02 .site-header nav{width:100%}
 .candidate-02 .newspaper-masthead{display:flex;flex-wrap:wrap;gap:16px}
 .candidate-02 .newspaper-masthead>span{margin:0;max-width:none}
 .brand-system .tool-row:is([data-brand-context=signal],[data-brand-context=blossom]){padding:0 12px}
 .candidate-04 .mosaic-rail .brand-symbol{width:40px;height:40px}
 .candidate-04 .mosaic-rail>a:first-child{min-width:56px}
 .candidate-05 .club-belief{color:var(--brand-black);background:var(--brand-white)}
 .brand-system .source-note{font-size:13px;line-height:20px}
 .brand-system .moment-switcher .choice-bar button{font-size:13px}
}
@media(max-width:420px){
 .brand-system .section-heading{grid-template-columns:minmax(0,1fr)}
 .brand-system .section-heading h2{overflow-wrap:break-word}
 .brand-system .site-header nav{width:100%;justify-content:space-between}
 .brand-system .site-header .nav-start{font-size:12px}
 .candidate-01 .cinema-title h1{font-size:36px}
 .candidate-03 .site-header nav{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 .candidate-03 .site-header .nav-start{grid-column:1/-1;justify-self:start;min-width:max-content}
 .candidate-03 .site-header nav button{width:100%;font-size:11px;line-height:18px;justify-content:center;padding:8px;gap:4px}
}
