/* michaelobeng.com
   Palette comes from Michael's own speaker profile: the purple panel and the rust jacket.
   Type: Bricolage Grotesque for display and interface, Literata for reading text. */

:root {
    --ink: #1f1027;
    --plum: #4a1468;
    --violet: #7a22a6;
    --rust: #b4452c;
    --rust-deep: #96361f;
    --paper: #f7f4fa;
    --white: #ffffff;
    --lilac: #ece3f3;
    --line: #dcd0e6;
    --muted: #5f5169;

    --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --text: "Literata", Georgia, "Times New Roman", serif;

    --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
    --step-0: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem);
    --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
    --step-2: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem);
    --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem);
    --step-4: clamp(2.5rem, 1.5rem + 4.4vw, 5rem);

    --gutter: clamp(1.25rem, 4vw, 3rem);
    --section: clamp(3.5rem, 8vw, 7rem);
    --corner: clamp(2rem, 5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--text);
    font-size: var(--step-0);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--plum); color: var(--white); }

.wrap { width: min(100% - 2 * var(--gutter), 76rem); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 44rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--plum); color: var(--white); padding: .6rem 1rem; z-index: 50; font-family: var(--display); }
.skip:focus { top: 1rem; }

/* Buttons and links */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--display); font-weight: 600; font-size: var(--step-0); line-height: 1.2;
    padding: .85em 1.5em; border-radius: 999px; border: 2px solid var(--plum);
    background: var(--plum); color: var(--white); text-decoration: none; cursor: pointer;
    transition: background-color .18s, border-color .18s, color .18s;
}
.btn:hover { background: var(--violet); border-color: var(--violet); }
.btn--ghost { background: transparent; color: var(--plum); }
.btn--ghost:hover { background: var(--plum); color: var(--white); border-color: var(--plum); }
.btn--rust { background: var(--rust); border-color: var(--rust); }
.btn--rust:hover { background: var(--rust-deep); border-color: var(--rust-deep); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--rust-deep); }
.btn--light:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--small { font-size: var(--step--1); padding: .65em 1.2em; }
.textlink {
    font-family: var(--display); font-weight: 600; color: var(--plum);
    text-decoration: underline; text-decoration-color: var(--rust); text-decoration-thickness: 2px; text-underline-offset: .3em;
}
.textlink:hover { color: var(--rust-deep); }
.textlink--light { color: var(--white); text-decoration-color: #e6a48f; }
.textlink--light:hover { color: #f3cfc4; }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.masthead__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.wordmark { text-decoration: none; display: inline-flex; flex-direction: column; }
.wordmark__name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--plum); line-height: 1; }
.wordmark::after { content: ""; display: block; width: 2.4rem; height: 4px; background: var(--rust); margin-top: .35rem; transition: width .25s; }
.wordmark:hover::after { width: 100%; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(.8rem, 1.5vw, 1.6rem); }
.nav a:not(.btn) { font-family: var(--display); font-weight: 500; font-size: .98rem; text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-color: var(--line); }
.nav a[aria-current="page"] { border-color: var(--rust); color: var(--plum); font-weight: 600; }
.menu-toggle { display: none; align-items: center; gap: .6rem; background: none; border: 2px solid var(--plum); color: var(--plum); border-radius: 999px; padding: .5rem 1rem; font-family: var(--display); font-weight: 600; font-size: .95rem; cursor: pointer; }
.menu-toggle__bars { width: 1.1rem; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }

@media (max-width: 70rem) {
    .menu-toggle { display: inline-flex; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.75rem; }
    .nav.is-open { display: block; }
    .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .nav a:not(.btn) { display: block; font-size: 1.25rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
    .nav__cta { margin-top: 1.25rem; }
    .nav__cta .btn { width: 100%; font-size: 1.05rem; padding: .9em; }
}

/* Home hero */
.hero { padding-top: clamp(2rem, 5vw, 4.5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.hero__copy { padding-bottom: clamp(2.5rem, 6vw, 5.5rem); }
.hero h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.04em; line-height: .98; color: var(--plum); }
.hero__intro { font-size: var(--step-1); line-height: 1.5; max-width: 34em; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.hero__figure { position: relative; align-self: stretch; display: flex; justify-content: center; align-items: flex-end; min-height: 100%; }
.hero__panel { position: absolute; inset: 12% 0 0 0; background: var(--plum); border-radius: var(--corner) 0 0 0; }
/* The portrait always stands on the bottom edge of the panel and dissolves into it, so the crop never shows as a hard line. */
.hero__figure img { position: relative; width: min(100%, 23rem); max-height: 39rem; object-fit: cover; object-position: top; -webkit-mask-image: linear-gradient(#000 78%, transparent 99%); mask-image: linear-gradient(#000 78%, transparent 99%); }
.nameplate {
    position: absolute; left: -1.25rem; bottom: 1.75rem; background: var(--rust); color: var(--white);
    padding: .85rem 1.25rem .9rem; border-radius: 0 1rem 1rem 0; font-family: var(--display); line-height: 1.25; max-width: 16rem;
    box-shadow: 0 14px 30px -12px rgba(31, 16, 39, .55);
}
.nameplate strong { display: block; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.nameplate span { font-size: .86rem; opacity: .95; }

/* Scrolling strip of organisations. Logos are pre-toned to one dark grey so the strip stays quiet. */
.orgs { border-top: 1px solid var(--line); padding: 1.5rem 0 1.75rem; }
.orgs__label { font-family: var(--display); color: var(--muted); font-size: var(--step--1); margin: 0 auto 1rem; }
.orgs__viewport { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.orgs__track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex: none; gap: clamp(2.5rem, 5vw, 4.5rem); padding-right: clamp(2.5rem, 5vw, 4.5rem); animation: orgs 38s linear infinite; }
.orgs__viewport:hover .orgs__track, .orgs__viewport:focus-within .orgs__track { animation-play-state: paused; }
.orgs__track li { flex: none; display: flex; align-items: center; height: 3.25rem; }
.orgs__track img { height: clamp(2rem, 3.4vw, 2.9rem); width: auto; max-width: none; opacity: .72; transition: opacity .2s; }
.orgs__track li:hover img { opacity: 1; }
.orgs__track span { font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.6rem); letter-spacing: -0.03em; color: #2a1b34; opacity: .72; white-space: nowrap; }
@keyframes orgs { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
    .orgs__viewport { -webkit-mask-image: none; mask-image: none; }
    .orgs__track { animation: none; flex-wrap: wrap; flex: 1; justify-content: center; row-gap: 1.25rem; padding-inline: var(--gutter); }
    .orgs__track[aria-hidden="true"] { display: none; }
}

/* Social links */
.socials { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; font-family: var(--display); }
.socials__label { font-size: var(--step--1); color: var(--muted); }
.socials ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.socials a { display: inline-block; font-size: var(--step--1); font-weight: 600; text-decoration: none; padding: .4rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; color: var(--plum); transition: background-color .18s, border-color .18s, color .18s; }
.socials a:hover { background: var(--plum); border-color: var(--plum); color: var(--white); }
.socials--hero { margin-top: 1.75rem; }
.socials--contact { margin-top: 2rem; flex-direction: column; align-items: flex-start; }
.socials--footer { margin-top: 1.25rem; }
.socials--footer a { color: #e9dff0; border-color: #4a3358; }
.socials--footer a:hover { background: var(--rust); border-color: var(--rust); color: var(--white); text-decoration: none; }

/* Events */
.events { display: grid; gap: 1rem; }
.event { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) minmax(0, 13rem); gap: clamp(1rem, 3vw, 2.5rem); align-items: start; background: var(--white); border-radius: .9rem; padding: clamp(1.1rem, 2.5vw, 1.75rem); }
.event__date { background: var(--plum); color: var(--white); border-radius: .75rem .75rem .75rem 0; text-align: center; padding: .8rem .5rem .9rem; font-family: var(--display); line-height: 1.1; display: grid; gap: .1rem; }
.event__date strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.event__date span { font-size: .82rem; font-weight: 500; }
.event.is-past .event__date { background: var(--lilac); color: var(--plum); }
.block--tint .event.is-past .event__date { background: var(--paper); }
.event__role { display: inline-block; background: var(--rust); color: var(--white); font-family: var(--display); font-weight: 600; font-size: .8rem; padding: .2rem .75rem; border-radius: 999px; margin: 0 0 .6rem; }
.event.is-past .event__role { background: transparent; color: var(--rust-deep); border: 1.5px solid currentColor; }
.event h3 { font-size: var(--step-2); color: var(--plum); }
.event__topic { font-family: var(--display); font-weight: 600; font-size: var(--step-1); margin: .4rem 0 0; }
.event__meta { font-family: var(--display); font-size: var(--step--1); color: var(--muted); margin: .75rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.event__meta time { color: var(--ink); font-weight: 600; }
.event__summary { margin: .9rem 0 0; max-width: 38em; }
.event .btn { margin-top: 1.1rem; }
.event__flyer img { width: 100%; border-radius: .5rem; box-shadow: 0 12px 26px -16px rgba(31, 16, 39, .55); transition: transform .2s; }
.event__flyer:hover img { transform: scale(1.03); }
@media (max-width: 52rem) {
    .event { grid-template-columns: 5rem minmax(0, 1fr); }
    .event__date strong { font-size: 2rem; }
    .event__flyer { grid-column: 1 / -1; max-width: 22rem; }
}

/* Inspiration cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); align-items: start; }
.cards figure { margin: 0; }
.cards img { width: 100%; border-radius: .9rem; box-shadow: 0 16px 34px -22px rgba(31, 16, 39, .6); transition: transform .25s; }
.cards a:hover img { transform: translateY(-4px); }
.cards figcaption { font-family: var(--display); font-weight: 600; padding: .8rem .2rem 0; line-height: 1.3; }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.videos--single { max-width: 52rem; }
.video { margin: 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: .9rem; overflow: hidden; }
.video__frame video, .video__frame iframe, .video__play, .video__play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__frame video, .video__play img { object-fit: cover; }
.video__play { padding: 0; cursor: pointer; background: none; }
.video__play span { position: absolute; left: 50%; top: 50%; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border-radius: 50%; background: var(--rust); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s, background-color .2s; }
.video__play span::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: .8rem 0 .8rem 1.3rem; border-color: transparent transparent transparent var(--white); }
.video__play:hover span { transform: scale(1.08); background: var(--plum); }
.video figcaption { font-family: var(--display); padding-top: .8rem; display: grid; gap: .15rem; }
.video figcaption strong { font-size: var(--step-1); line-height: 1.25; }
.video figcaption span { color: var(--muted); font-size: var(--step--1); }

/* Announcement bar (shown while an event takes registrations) */
.announce { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .3rem 1rem; background: var(--rust); color: var(--white); text-decoration: none; padding: .6rem var(--gutter); font-family: var(--display); font-size: var(--step--1); text-align: center; }
.announce__cta { font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
.announce:hover .announce__cta { text-decoration-thickness: 2px; }

/* Registration */
.register { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.register__flyer { width: 100%; border-radius: var(--corner) .75rem .75rem .75rem; margin-bottom: 1.75rem; box-shadow: 0 18px 36px -22px rgba(31, 16, 39, .55); }
.register__aside h2 { font-size: var(--step-1); color: var(--plum); margin: 1.5rem 0 .5rem; }
.register__aside p { color: var(--muted); }
@media (max-width: 54rem) { .register { grid-template-columns: 1fr; } .register__aside { order: 2; } .register__flyer { max-width: 22rem; } }

/* Gallery cohorts */
.cohort-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.cohort-tabs button { font-family: var(--display); font-weight: 600; font-size: var(--step--1); padding: .6rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; display: inline-flex; gap: .55rem; align-items: center; }
.cohort-tabs button span { background: var(--lilac); color: var(--plum); border-radius: 999px; padding: .05rem .5rem; font-size: .8em; }
.cohort-tabs button:hover { border-color: var(--plum); }
.cohort-tabs button[aria-selected="true"] { background: var(--plum); border-color: var(--plum); color: var(--white); }
.cohort-tabs button[aria-selected="true"] span { background: rgba(255, 255, 255, .2); color: var(--white); }
.gallery a { display: block; cursor: zoom-in; overflow: hidden; border-radius: .4rem; }
.gallery a img { transition: transform .35s; }
.gallery a:hover img { transform: scale(1.04); }
.mosaic a { display: block; width: 100%; height: 100%; cursor: zoom-in; }

/* Lightbox */
.lightbox { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(18, 9, 24, .96); color: var(--white); }
.lightbox::backdrop { background: rgba(18, 9, 24, .96); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 4.5rem 3rem; gap: 1rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; border-radius: .4rem; }
.lightbox figcaption { font-family: var(--display); text-align: center; color: #e9dff0; }
.lightbox__btn { position: absolute; background: rgba(255, 255, 255, .1); color: var(--white); border: 0; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.9rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--rust); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; margin-top: -1.5rem; }
.lightbox__next { right: 1rem; top: 50%; margin-top: -1.5rem; }
.lightbox__count { position: absolute; top: 1.4rem; left: 1.5rem; margin: 0; font-family: var(--display); font-size: var(--step--1); color: #c9b9d4; }
@media (max-width: 40rem) { .lightbox figure { padding: 3.5rem .75rem 4.5rem; } .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; margin: 0; } }

/* Podcast */
.podcast { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.podcast h2 { font-size: var(--step-3); color: var(--plum); letter-spacing: -0.035em; margin-bottom: 1rem; }
.podcast__copy p:not(.kicker) { font-size: var(--step-1); line-height: 1.5; max-width: 26em; margin-bottom: 1.75rem; }
.podcast__player iframe { width: 100%; border: 0; border-radius: 12px; display: block; }
@media (max-width: 54rem) { .podcast { grid-template-columns: 1fr; } }

/* Reveal on scroll. Only active when JavaScript is running and the visitor has not asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] { opacity: 0; transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
    .js [data-reveal="up"] { transform: translateY(26px); }
    .js [data-reveal="zoom"] { transform: scale(.94); }
    .js [data-reveal="left"] { transform: translateX(-28px); }
    .js [data-reveal].is-in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
    .hero h1, .hero__intro, .hero__actions, .socials--hero { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
    .hero__intro { animation-delay: .1s; }
    .hero__actions { animation-delay: .18s; }
    .socials--hero { animation-delay: .26s; }
    .hero__panel { animation: panel .9s cubic-bezier(.2, .7, .2, 1) both; transform-origin: bottom; }
    .nameplate { animation: plate .6s .55s cubic-bezier(.2, .7, .2, 1) both; }
    @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
    @keyframes panel { from { transform: scaleY(0); } }
    @keyframes plate { from { opacity: 0; transform: translateX(-24px); } }
}

@media (max-width: 54rem) {
    .hero__grid { grid-template-columns: 1fr; gap: 0; }
    .hero__copy { padding-bottom: 2.5rem; }
    .hero__figure { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
    .hero__figure img { width: min(72%, 19rem); max-height: 27rem; }
    .nameplate { left: 0; bottom: 1.5rem; }
}

/* Page head */
.pagehead { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.pagehead__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.pagehead__crumb { font-family: var(--display); font-weight: 600; color: var(--rust-deep); margin: 0 0 1rem; font-size: var(--step-0); }
.pagehead__crumb a { text-decoration-color: var(--line); text-underline-offset: .25em; }
.pagehead h1 { font-size: var(--step-3); color: var(--plum); letter-spacing: -0.035em; max-width: 18em; }
.pagehead__intro { font-size: var(--step-1); line-height: 1.5; margin: 0; max-width: 32em; }
.pagehead--plum { background: var(--plum); color: var(--white); border-bottom: 0; border-radius: 0 0 0 var(--corner); }
.pagehead--plum h1 { color: var(--white); }
.pagehead--plum .pagehead__crumb { color: #f0b8a6; }
.pagehead__portrait, .pagehead__aside { display: none; }
@media (min-width: 70rem) {
    .pagehead--plum:has(.pagehead__portrait) .pagehead__grid { grid-template-columns: minmax(0, 1fr); padding-right: 24rem; gap: 2rem; }
    .pagehead__portrait { display: block; position: absolute; right: max(var(--gutter), calc((100vw - 76rem) / 2)); bottom: 0; width: 17rem; max-height: 92%; object-fit: cover; object-position: top; }
}
@media (min-width: 70rem) {
    .pagehead:has(.pagehead__aside) { padding-bottom: 0; }
    .pagehead:has(.pagehead__aside) .pagehead__grid { grid-template-columns: minmax(0, 1fr); padding-right: 27rem; gap: 2rem; padding-bottom: clamp(2.5rem, 6vw, 5rem); }
    .pagehead__aside { display: block; position: absolute; right: max(var(--gutter), calc((100vw - 76rem) / 2)); bottom: 0; width: 24rem; height: auto; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(#000 68%, transparent 97%), linear-gradient(90deg, #000 86%, transparent 99%); -webkit-mask-composite: source-in; mask-image: linear-gradient(#000 68%, transparent 97%), linear-gradient(90deg, #000 86%, transparent 99%); mask-composite: intersect; }
}
@media (max-width: 54rem) { .pagehead__grid { grid-template-columns: 1fr; } }

/* Content blocks */
.block { padding: var(--section) 0; }
.block + .block { padding-top: 0; }
.block--tint { background: var(--lilac); }
.block--tint + .block, .block + .block--tint, .band + .block, .pagehead + .block { padding-top: var(--section); }
.block--tint + .block--tint { padding-top: 0; }
.block__title { font-size: var(--step-2); color: var(--plum); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.block__head .block__title { margin: 0; }
.block__lede { max-width: 42em; }

.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1rem, 5vw, 5rem); align-items: start; border-top: 2px solid var(--plum); padding-top: clamp(1.25rem, 2.5vw, 2rem); }
.split__title { font-size: var(--step-2); color: var(--plum); }
.split__body > :last-child { margin-bottom: 0; }
@media (max-width: 54rem) { .split { grid-template-columns: 1fr; } }

.prose { max-width: 40em; }
.prose p:first-child { font-size: var(--step-1); line-height: 1.55; }
.marks { list-style: none; margin: 1.25em 0 0; padding: 0; display: grid; gap: .1rem; }
.marks li { position: relative; padding: .8rem 0 .8rem 1.75rem; border-bottom: 1px solid var(--line); }
.marks li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: .75rem; height: 4px; background: var(--rust); }
.marks strong { font-family: var(--display); font-weight: 600; }
.marks span { display: block; color: var(--muted); }

.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 5rem); }
.ledger__item { border-top: 1px solid var(--plum); padding: 1.4rem 0 1.9rem; display: grid; gap: .6rem; align-content: start; }
.ledger__item h3 { font-size: var(--step-1); color: var(--ink); }
.ledger__item p { margin: 0 0 .7em; color: var(--muted); }
.ledger__item p:last-child { margin: 0; }
@media (max-width: 46rem) { .ledger { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 1.75rem 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 4px solid var(--rust); padding-top: 1rem; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; font-size: var(--step-3); line-height: 1; color: var(--plum); display: block; margin-bottom: .6rem; }
.steps h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--muted); font-size: .98em; }

.band { padding: var(--section) 0; }
.band--plum { background: var(--plum); color: var(--white); }
.pullquote { margin: 0; max-width: 52rem; }
.pullquote blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: var(--step-3); line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
.pullquote blockquote::before { content: ""; display: block; width: 4.5rem; height: 8px; background: var(--rust); margin-bottom: 1.75rem; }
.pullquote figcaption { margin-top: 1.5rem; font-family: var(--display); color: #dcc3ea; }

.figures__grid { display: grid; grid-template-columns: repeat(2, minmax(0, .5fr)) minmax(0, 1.4fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.figure-stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: var(--step-4); line-height: .95; letter-spacing: -0.04em; }
.figure-stat span { display: block; margin-top: .75rem; font-family: var(--display); color: #dcc3ea; max-width: 14em; line-height: 1.35; }
.figures__text h2 { font-size: var(--step-1); margin: 0 0 .6rem; }
.figures__text h2:not(:first-child) { margin-top: 2rem; }
.figures__text p { color: #ece0f3; }
@media (max-width: 58rem) { .figures__grid { grid-template-columns: 1fr 1fr; } .figures__text { grid-column: 1 / -1; } }

.mosaic { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, clamp(9rem, 17vw, 15rem)); gap: .75rem; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: .5rem; }
.mosaic figure:first-child { grid-row: span 2; border-radius: var(--corner) .5rem .5rem .5rem; }
.mosaic figure:nth-child(4) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { position: absolute; inset: auto 0 0 0; padding: 2rem 1rem .75rem; font-family: var(--display); font-size: var(--step--1); color: var(--white); background: linear-gradient(transparent, rgba(31, 16, 39, .78)); }
@media (max-width: 46rem) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 9.5rem; } .mosaic figure:first-child { grid-column: span 2; grid-row: auto; } .mosaic figure:nth-child(4) { grid-column: span 2; } }

.gallery { columns: 3 16rem; column-gap: .9rem; margin-bottom: 3rem; }
.gallery figure { margin: 0 0 .9rem; break-inside: avoid; }
.gallery img { width: 100%; border-radius: .4rem; }
.gallery figcaption { font-family: var(--display); font-size: var(--step--1); color: var(--muted); padding-top: .4rem; }

.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.path { display: block; background: var(--white); border-radius: .75rem; padding: 1.75rem; text-decoration: none; border-bottom: 5px solid var(--plum); transition: border-color .18s, transform .18s; }
.path:hover { border-color: var(--rust); transform: translateY(-3px); }
.path h3 { font-size: var(--step-1); color: var(--plum); margin-bottom: .5rem; }
.path p { margin: 0; color: var(--muted); }

.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 2.5rem; }
.voice { margin: 0; border-top: 4px solid var(--rust); padding-top: 1.25rem; }
.voice blockquote { margin: 0 0 1rem; font-size: var(--step-1); line-height: 1.45; }
.voice figcaption { font-family: var(--display); font-size: var(--step--1); }
.voice figcaption span { display: block; color: var(--muted); }

/* Timeline (experience) */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline__item { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem 3rem; border-top: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.timeline__item:first-child { border-top: 2px solid var(--plum); }
.timeline__meta { font-family: var(--display); color: var(--muted); display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.timeline h2 { font-size: var(--step-2); color: var(--plum); }
.timeline__org { font-family: var(--display); font-weight: 600; margin: .35rem 0 .9rem; }
.timeline__item p:last-child { margin: 0; max-width: 40em; }
.tag { display: inline-block; background: var(--rust); color: var(--white); font-family: var(--display); font-weight: 600; font-size: .8rem; padding: .2rem .7rem; border-radius: 999px; }
@media (max-width: 46rem) { .timeline__item { grid-template-columns: 1fr; } .timeline__meta { flex-direction: row; } }

/* Work */
.studies { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.25rem; }
.study { background: var(--white); border-radius: .75rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-top: 6px solid var(--plum); display: flex; flex-direction: column; }
.study img { border-radius: .4rem; margin-bottom: 1.25rem; aspect-ratio: 16 / 10; object-fit: cover; }
.study__meta { font-family: var(--display); font-size: var(--step--1); color: var(--muted); display: flex; gap: 1rem; }
.study h2 { font-size: var(--step-2); color: var(--plum); margin: .25rem 0 .5rem; }
.study h2 a { text-decoration: none; }
.study__role { font-family: var(--display); font-weight: 600; font-size: var(--step--1); color: var(--rust-deep); }
.study > p:last-of-type { color: var(--muted); }
.study .textlink { margin-top: auto; }
.facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); font-family: var(--display); }
.facts dt { font-size: var(--step--1); color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

/* Books */
.shelf { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.book, .bookfeature { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.book__cover, .bookfeature__cover { width: 100%; border-radius: .25rem; outline: 1px solid var(--line); box-shadow: 18px 18px 0 var(--lilac), 0 20px 40px -20px rgba(31, 16, 39, .5); }
.block--tint .bookfeature__cover { box-shadow: 18px 18px 0 var(--white); }
.bookcover { aspect-ratio: 2 / 3; background: var(--plum); color: var(--white); border-radius: .25rem; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--display); border-left: 10px solid var(--rust); box-shadow: 18px 18px 0 var(--lilac); }
.block--tint .bookcover { box-shadow: 18px 18px 0 var(--white); }
.bookcover span { font-weight: 800; font-size: var(--step-2); line-height: 1.02; letter-spacing: -0.03em; }
.book h2, .bookfeature h2 { font-size: var(--step-3); color: var(--plum); }
.book__sub, .bookfeature__sub { font-family: var(--display); font-size: var(--step-1); margin: .5rem 0 1rem; }
.book__meta { font-family: var(--display); font-size: var(--step--1); color: var(--muted); display: flex; gap: 1.5rem; }
.book__body p { max-width: 40em; }
.kicker { font-family: var(--display); font-weight: 600; color: var(--rust-deep); margin-bottom: .75rem; }
@media (max-width: 46rem) { .book, .bookfeature { grid-template-columns: 1fr; } .book__cover, .bookfeature__cover, .bookcover { max-width: 14rem; } }

/* Insights */
.themes { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.themes a { font-family: var(--display); font-size: var(--step--1); font-weight: 500; text-decoration: none; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.themes a:hover { border-color: var(--plum); }
.themes a[aria-current="true"] { background: var(--plum); border-color: var(--plum); color: var(--white); }
.postgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.postcard a { display: block; text-decoration: none; border-top: 2px solid var(--plum); padding-top: 1.1rem; height: 100%; }
.postcard img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: .4rem; margin-bottom: 1rem; }
.postcard__theme { font-family: var(--display); font-size: var(--step--1); font-weight: 600; color: var(--rust-deep); margin-bottom: .5rem; }
.postcard h3 { font-size: var(--step-1); line-height: 1.2; margin-bottom: .6rem; }
.postcard a:hover h3 { color: var(--plum); text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: .2em; }
.postcard p { color: var(--muted); margin-bottom: .75rem; }
.postcard time { font-family: var(--display); font-size: var(--step--1); color: var(--muted); }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-family: var(--display); }
.pager span { color: var(--muted); }
.empty { background: var(--white); border-left: 6px solid var(--rust); border-radius: 0 .75rem .75rem 0; padding: clamp(1.5rem, 4vw, 2.5rem); max-width: 44rem; font-size: var(--step-1); }
.empty p:last-child { margin: 0; }

/* Article */
.article { padding: clamp(3rem, 7vw, 5.5rem) 0 var(--section); }
.article__head h1 { font-size: var(--step-3); color: var(--plum); letter-spacing: -0.035em; }
.article__standfirst { font-size: var(--step-1); line-height: 1.5; margin: 1.25rem 0 0; }
.article__meta { font-family: var(--display); color: var(--muted); font-size: var(--step--1); margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.article__cover { width: 100%; max-height: 34rem; object-fit: cover; border-radius: var(--corner) .5rem .5rem .5rem; margin: clamp(2rem, 4vw, 3rem) 0 0; }
.prose--article { margin-top: clamp(2rem, 4vw, 3rem); font-size: 1.08em; line-height: 1.75; }
.prose--article p:first-child { font-size: inherit; line-height: inherit; }
.prose--article h2 { font-size: var(--step-2); color: var(--plum); margin: 2em 0 .6em; }
.prose--article h3 { font-size: var(--step-1); margin: 1.75em 0 .5em; }
.prose--article a { color: var(--plum); text-decoration-color: var(--rust); text-underline-offset: .2em; }
.prose--article blockquote { margin: 2em 0; padding-left: 1.5rem; border-left: 6px solid var(--rust); font-family: var(--display); font-weight: 600; font-size: var(--step-1); line-height: 1.35; color: var(--plum); }
.prose--article ul, .prose--article ol { padding-left: 1.3em; }
.prose--article li { margin-bottom: .4em; }
.prose--article li::marker { color: var(--rust); font-weight: 700; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact h2 { font-size: var(--step-2); color: var(--plum); margin-bottom: 1.5rem; }
.contact dl { margin: 0; font-family: var(--display); }
.contact dt { font-size: var(--step--1); color: var(--muted); margin-top: 1.1rem; }
.contact dd { margin: 0; font-weight: 600; font-size: var(--step-1); overflow-wrap: anywhere; }
.contact dd a { text-decoration-color: var(--rust); text-underline-offset: .2em; text-decoration-thickness: 2px; }
.contact__form { background: var(--white); border-radius: var(--corner) .75rem .75rem .75rem; padding: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 54rem) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 38rem) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: .98rem; margin-bottom: .4rem; }
.field label span { font-weight: 400; color: var(--muted); font-size: .86em; margin-left: .35em; }
.field input, .field select, .field textarea, .inline-form input[type="email"] {
    width: 100%; font: inherit; font-family: var(--display); color: var(--ink); background: var(--paper);
    border: 1.5px solid var(--line); border-radius: .5rem; padding: .8rem 1rem; transition: border-color .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); background: var(--white); box-shadow: 0 0 0 3px rgba(122, 34, 166, .18); }
.field-error { font-family: var(--display); font-size: var(--step--1); color: #a12318; margin: .4rem 0 0; font-weight: 500; }
.field-error--onDark { color: #ffc9bd; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__foot p { margin: 0; font-family: var(--display); font-size: var(--step--1); color: var(--muted); }
.notice { border-left: 6px solid var(--plum); padding: .25rem 0 .25rem 1.25rem; }
.notice h2 { margin-bottom: .5rem; }
.notice p { margin: 0; }
.notice--onDark { border-color: var(--rust); font-family: var(--display); }

/* Closing call to action */
.closing { background: var(--rust); color: var(--white); padding: clamp(3rem, 6vw, 5rem) 0; }
.closing__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; }
.closing h2 { font-size: var(--step-3); letter-spacing: -0.035em; max-width: 16em; }
.closing p { margin: .9rem 0 0; font-size: var(--step-1); max-width: 30em; }
.closing .btn:focus-visible { outline-color: var(--white); }

/* Footer */
.footer { background: var(--ink); color: #e9dff0; padding: clamp(3rem, 6vw, 5rem) 0 1.5rem; font-family: var(--display); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); }
.footer__name { font-weight: 800; font-size: var(--step-2); letter-spacing: -0.03em; color: var(--white); margin: 0 0 .75rem; }
.footer__note { color: #c9b9d4; max-width: 22em; line-height: 1.5; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: .3em; text-decoration-thickness: 2px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; align-content: start; }
.footer__heading { font-weight: 600; color: var(--white); margin: 0 0 1rem; }
.inline-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.inline-form input[type="email"] { flex: 1 1 12rem; background: #2d1a38; border-color: #4a3358; color: var(--white); border-radius: 999px; padding-inline: 1.25rem; }
.inline-form input[type="email"]::placeholder { color: #a996b6; }
.inline-form input[type="email"]:focus { outline: none; border-color: #c9a0e0; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.25rem; border-top: 1px solid #3a2646; font-size: var(--step--1); color: #a996b6; }
.footer__base p { margin: 0; }
@media (max-width: 54rem) { .footer__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .masthead, .footer, .closing, .menu-toggle { display: none; } body { background: #fff; } }

/* Event registration pages */
.eventfacts { margin: 0 0 1.5rem; display: grid; gap: .1rem; font-family: var(--display); }
.eventfacts div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line, #dcd0e6); }
.eventfacts dt { color: var(--muted); font-size: .9rem; }
.eventfacts dd { margin: 0; font-weight: 600; color: var(--ink); }
.choices { border: 0; padding: 0; margin: 0; }
.choices legend { font-family: var(--display); font-weight: 600; font-size: .98rem; margin-bottom: .5rem; padding: 0; }
.choices legend span { font-weight: 400; color: var(--muted); font-size: .86em; margin-left: .35em; }
.field .choice { display: flex; align-items: center; gap: .65rem; padding: .55rem .9rem; margin-bottom: .45rem; border: 1.5px solid var(--line, #dcd0e6); border-radius: .6rem; cursor: pointer; font-family: var(--display); font-weight: 500; background: var(--paper); }
.field .choice:has(input:checked) { border-color: var(--plum); background: var(--white); box-shadow: 0 0 0 3px rgba(122, 34, 166, .12); }
.field .choice input { display: block; align-self: center; position: relative; top: 0; transform: none; line-height: 1; width: 1.15rem; height: 1.15rem; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; accent-color: var(--plum); margin: 0; flex: none; }
.openevents { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .75rem; }
.openevents a { display: grid; gap: .2rem; padding: 1rem 1.25rem; border-radius: .75rem; background: var(--lilac); text-decoration: none; border-left: 5px solid var(--rust); font-family: var(--display); }
.openevents a:hover { background: var(--white); box-shadow: 0 0 0 2px var(--plum); }
.openevents strong { color: var(--plum); font-size: 1.1rem; }
.openevents span { color: var(--muted); font-size: .92rem; }
.form__lead { color: var(--muted); margin: -.25rem 0 1.25rem; }
@media (max-width: 54rem) { .register--event .register__aside { order: 0; } .register--event .register__flyer { max-width: 15rem; } }
