/* Shared style of the Synthesis team slides.
   Same palette and type as the Persona deck (2026-11-10-LaBRI-Persona/css/style.css).
   Nunito Sans stands in for Avenir Next, which is macOS only.
   Each slide is a 1600 x 900 step of the Flides deck in index.html. */

@font-face { font-family: "Nunito Sans"; font-weight: 600; src: url(nunito/nunito-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; src: url(nunito/nunito-sans-latin-700-normal.woff2) format("woff2"); }

:root {
    --ink:    #0b0f1d;
    --text:   #eee7d8;
    --muted:  #a3aac0;
    --gold:   #f3b848;
    --teal:   #4fd1c5;
    --coral:  #ff6a5c;
    --violet: #a594ff;
    --sans:   "Avenir Next", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
    --serif:  "PT Serif", Georgia, serif;
    --glow:   0 0 14px rgba(11,15,29,.95), 0 0 4px rgba(11,15,29,.95);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--ink); }
body { overflow: hidden; }

gold { color: var(--gold); } teal { color: var(--teal); } violet { color: var(--violet); } coral { color: var(--coral); }

.slide {
    position: relative;
    width: 1600px; height: 900px;
    overflow: hidden;
    font-family: var(--serif);
    color: var(--text);
    text-shadow: var(--glow);
    background: var(--ink);
}
/* the Persona backdrop, quiet; each slide picks its own crop with --bd-pos */
.slide::before {
    content: "";
    position: absolute; inset: -40px;
    background: url(../img/backdrop.webp) var(--bd-pos, 38% 46%) / 260% auto no-repeat;
    opacity: .40;
}
.slide::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 45%, rgba(11,15,29,0) 55%, rgba(11,15,29,.75) 100%);
    pointer-events: none;
}
.slide > * { position: absolute; z-index: 1; }

.kicker {
    font-family: var(--sans);
    font-size: 15px; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold);
}
.kicker .num { color: var(--muted); margin-right: .7em; }

/* ---------------------------------------------------------------- header */
.head { left: 80px; top: 58px; width: 960px; }
.head h1 { font-weight: normal; font-size: 62px; line-height: 1.05; letter-spacing: -.01em; margin: 14px 0 12px; }
.head h1 em { color: var(--gold); font-style: italic; }
.head .sub { font-size: 23px; font-style: italic; color: var(--muted); line-height: 1.4; }

.people { right: 80px; top: 66px; text-align: right; width: 460px; }
.people .who { font-size: 24px; line-height: 1.25; margin-bottom: 16px; }
.people .who span { display: block; font-size: 16px; color: var(--muted); font-style: italic; margin-top: 2px; }

/* ---------------------------------------------------------------- columns */
.col { top: 268px; width: 452px; height: 520px; }
.col.c1 { left: 80px; }
.col.c2 { left: 574px; }
.col.c3 { left: 1068px; }

.col .vis { position: relative; width: 452px; height: 236px; margin-bottom: 18px; }
.col .vis img.art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* every artwork fades out softly on its edges, so no rectangle shows */
.col .vis img.art {
    -webkit-mask-image: radial-gradient(ellipse 58% 58% at 50% 50%, #000 62%, transparent 100%);
            mask-image: radial-gradient(ellipse 58% 58% at 50% 50%, #000 62%, transparent 100%);
}

/* a book cover standing on the artwork with a warm halo */
.book {
    position: absolute; left: 50%; top: 2px;
    height: 232px; transform: translateX(-50%) rotate(-3deg);
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 18px 40px rgba(0,0,0,.6), 0 0 70px rgba(243,184,72,.38);
}
.halo { position: absolute; inset: -10px 40px; background: radial-gradient(closest-side, rgba(243,184,72,.22), rgba(243,184,72,0)); }

.col h2 { font-weight: normal; font-size: 33px; line-height: 1.1; margin: 10px 0 12px; }
.col h2 em { font-style: italic; color: var(--gold); }
.col p { font-size: 18.5px; line-height: 1.45; margin-bottom: 10px; }
.col p .venue { color: var(--muted); font-size: 16px; white-space: nowrap; }

.c1 .kicker .num { color: var(--teal); }
.c2 .kicker .num { color: var(--gold); }
.c3 .kicker .num { color: var(--violet); }

.badge {
    display: inline-block;
    font-family: var(--sans); font-size: 12px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink); text-shadow: none;
    background: var(--gold);
    padding: 5px 11px 4px; border-radius: 30px;
    box-shadow: 0 0 20px rgba(243,184,72,.5);
    vertical-align: 2px;
    white-space: nowrap;
}

/* ---------------------------------------------------------------- footer */
.foot { left: 80px; right: 80px; bottom: 44px; display: flex; align-items: center; gap: 12px; }
.foot .kicker { margin-right: 8px; }
.chip {
    font-size: 16px; padding: 6px 14px 5px;
    border: 1px solid rgba(243,184,72,.45); border-radius: 30px;
    background: rgba(11,15,29,.55);
    white-space: nowrap;
}
.chip span { color: var(--muted); font-size: 14px; }
.foot .rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(243,184,72,.4), rgba(243,184,72,0)); }

/* ---------------------------------------------------------------- intro: topic map */
.map { left: 0; top: 0; width: 1600px; height: 900px; }
.map img { position: absolute; left: 0; top: 250px; width: 1600px; height: 650px; }
.topic { position: absolute; white-space: nowrap; }
.topic .t { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c); }
.topic .s { font-size: 16px; font-style: italic; color: var(--muted); margin-top: 3px; }
.person { position: absolute; white-space: nowrap; font-size: 17px; color: var(--text); }
.core { position: absolute; transform: translate(-50%, 0); text-align: center; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); line-height: 1.6; opacity: .9; }
.flides-slide-number {
    position: absolute; right: 30px; bottom: 20px;
    font-family: var(--sans); font-size: 12px; letter-spacing: .15em;
    color: var(--muted); opacity: .7; text-shadow: none; z-index: 2;
}

/*
	Slides specific part (Flides mechanics: leave alone)
*/
#overview { display: none }
#flides { pointer-events: auto }
.token { opacity: 0; }
.token_invisible_past { opacity: 0; }
.token_invisible_future { opacity: 0; }
.token_visible { opacity: 1; }
.step[data-fixed="1"] { opacity: 1; }
.step.active { opacity: 1; }
.step { opacity: .1; transition: opacity .3s; }
.slide_step.slide_step_visible { opacity: 1; }
.slide_step.slide_step_hidden { opacity: .1; }
.slide_step { opacity: .1; }
.flides-on-overview_intermediate .step.seen { opacity: 1; }
.flides-on-overview_intermediate .slide_step { opacity: 1; }
.flides-on-overview .step { opacity: 1; cursor: pointer; }
.flides-on-overview .slide_step { opacity: 1; }

/* the star: spokes from the intro slide, quiet behind a slide, brighter in the overview */
#spokes {
    position: absolute; left: -3200px; top: -2300px; width: 6400px; height: 4600px;
    pointer-events: none; opacity: .35; transition: opacity 1s;
}
#spokes line, #spokes ellipse { stroke: #f3b848; stroke-width: 6; fill: none; stroke-linecap: round; }
#spokes ellipse { stroke-dasharray: 4 40; stroke-width: 5; }
.flides-on-overview #spokes { opacity: .8; }
