:root {
    color-scheme: light;
    --page: #ffffff;
    --text: #151515;
    --muted: #686868;
    --line: #e9e9e9;
    --soft: #f4f4f4;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;

    /* Brand */
    --brand-accent: #E89A00;
    --brand-accent-dark: #A65F00;
    --brand-gray: #8A8A8A;

    /* Body accent: fixed brand color, never derived from card images. */
    --body-accent: var(--brand-accent);
    --body-accent-text: var(--brand-accent-dark);
    --body-accent-soft: #FFF7E6;

    /* Editorial paper treatment */
    --paper-border: #dcdcdc;
    --paper-shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 5px 14px rgb(0 0 0 / 5%);
    --paper-shadow-hover: 0 2px 4px rgb(0 0 0 / 5%), 0 8px 20px rgb(0 0 0 / 7%);

    /* Responsive geometry */
    --page-gutter: clamp(0.5rem, 2vw, 1rem);
    --gap: clamp(0.75rem, 0.5rem + 1vw, 1.5rem);
    --shell: 39rem;

    /* Topic pills scale continuously; the grid scales in discrete steps. */
    --pill-gap: clamp(0.3rem, 0.26rem + 0.15vw, 0.45rem);
    --pill-font: 0.875rem;
    --pill-pad-y: clamp(0.36rem, 0.32rem + 0.12vw, 0.5rem);
    --pill-pad-x: clamp(0.58rem, 0.5rem + 0.45vw, 0.85rem);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
    html {
        overflow-y: scroll;
    }
}

body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
}

a {
    color: inherit;
}

.shell {
    width: min(calc(100% - (2 * var(--page-gutter))), var(--shell));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.15rem 0 1rem;
    border-bottom: 1px solid var(--line);
    background: rgb(255 255 255 / 97%);
    backdrop-filter: blur(10px);
}

.site-header .shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
}

.brand {
    color: inherit;
    text-decoration: none;
}

.brand-logo {
    display: inline-grid;
    width: fit-content;
    justify-items: stretch;
    align-content: start;
}

.brand-wordmark {
    display: inline-flex;
    font-family: var(--font-sans);
    align-items: baseline;
    width: fit-content;
    font-size: clamp(2rem, 3.2vw, 2.85rem);
    font-weight: 700;
    font-kerning: normal;
    font-feature-settings: "kern" 1;
    line-height: 0.9;
}

.brand-letter {
    display: inline-block;
    color: var(--brand-accent);
    letter-spacing: 0;
}

.brand-letter-i {
    position: relative;
    width: 0.28em;
    margin-left: -0.025em;
    text-align: center;
}

.brand-letter-n {
    margin-left: -0.025em;
}

.brand-letter-d {
    margin-left: -0.04em;
}

.brand-letter-s {
    margin-left: -0.055em;
    color: var(--brand-gray);
}

.brand-letter-t,
.brand-letter-e,
.brand-letter-r {
    margin-left: -0.045em;
    color: var(--brand-gray);
}

.brand-i-stem {
    display: inline-block;
}

.brand-i-dot {
    position: absolute;
    top: -0.015em;
    left: 50%;
    width: 0.17em;
    height: 0.17em;
    border-radius: 50%;
    background: var(--brand-gray);
    transform: translateX(-50%);
}

.brand-tagline {
    width: 100%;
    font-family: var(--font-sans);
    margin-top: 0.18rem;
    color: var(--muted);
    font-size: clamp(0.58rem, 0.54rem + 0.12vw, 0.68rem);
    font-weight: 400;
    letter-spacing: 0.18em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.identity {
    display: grid;
    justify-items: end;
    align-content: start;
    max-width: 38rem;
    justify-self: end;
    text-align: right;
}

.identity h1,
.identity p {
    margin: 0;
}

.identity h1,
.identity-title {
    font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
    font-weight: 400;
    letter-spacing: -0.018em;
    line-height: 1.08;
}

.identity h1 strong,
.identity-title strong {
    font-weight: 700;
}

.identity-separator,
.identity-roles {
    font-weight: 400;
}

.identity-roles {
    display: inline-flex;
    align-items: baseline;
}

.identity-role-dot {
    display: inline-block;
    margin-inline: 0.18em;
    font-size: 1.18em;
    font-weight: 500;
    line-height: 0;
    transform: translateY(-0.02em);
}

.identity-tagline {
    margin-top: 0.3rem !important;
    color: var(--brand-gray);
    font-size: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.identity-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.9rem;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
}

.identity-action {
    text-underline-offset: 0.2em;
}

.identity-action--person {
    color: var(--muted);
    font-weight: 400;
    text-decoration: underline;
    text-decoration-color: #c8c8c8;
    text-decoration-thickness: 1px;
}

.identity-action--person:hover,
.identity-action--person:focus-visible {
    color: var(--text);
    text-decoration-color: currentColor;
}

.identity-action--contact {
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #bdbdbd;
    text-decoration-thickness: 1px;
}

.identity-action--contact:hover,
.identity-action--contact:focus-visible {
    color: var(--text);
    text-decoration-color: currentColor;
}

.archive {
    padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.archive-year-title {
    margin: 0;
    font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.375rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.archive-year-title--between {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: clamp(2.75rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    padding: 0.34rem 0.72rem;
    border: 2px solid var(--brand-accent);
    border-radius: 0.35rem;
    background: var(--page);
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.topic-filter {
    display: flex;
    gap: var(--pill-gap);
    margin: 1rem 0 1.65rem;
    padding: 0.25rem 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.filter-button {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--page);
    color: var(--text);
    padding: var(--pill-pad-y) var(--pill-pad-x);
    font: inherit;
    font-size: var(--pill-font);
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.filter-button:hover,
.filter-button:focus-visible {
    border-color: var(--body-accent);
}

.filter-button.is-active {
    border-color: var(--body-accent);
    background: var(--body-accent);
    color: var(--text);
    font-weight: 600;
}

.filter-button--public-awareness {
    border-color: #d8d8d8;
    background: #f3f3f3;
}

.filter-button--public-awareness:hover,
.filter-button--public-awareness:focus-visible {
    border-color: var(--body-accent);
    background: #eeeeee;
}

.filter-button--public-awareness.is-active {
    border-color: var(--body-accent);
    background: #f3f3f3;
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--body-accent);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
}

.archive-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin-top: clamp(3.25rem, 5vw, 4.75rem);
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.pagination-pages {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.pagination-page,
.pagination-direction {
    display: inline-grid;
    place-items: center;
    min-height: 2.5rem;
    border: 1px solid var(--line);
    background: var(--page);
    color: var(--text);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.pagination-page {
    min-width: 2.5rem;
    padding-inline: 0.55rem;
    border-radius: 0.35rem;
}

.pagination-direction {
    padding-inline: 0.9rem;
    border-radius: 999px;
}

.pagination-page:hover,
.pagination-page:focus-visible,
.pagination-direction:hover,
.pagination-direction:focus-visible {
    border-color: var(--body-accent);
    background: var(--body-accent-soft);
    outline: none;
}

.pagination-page.is-current {
    border-color: var(--body-accent);
    background: var(--body-accent);
    color: var(--text);
    font-weight: 700;
}

.pagination-ellipsis {
    display: inline-grid;
    place-items: center;
    width: 1.8rem;
    min-height: 2.5rem;
    color: var(--muted);
    font-weight: 600;
}

.promo-card {
    --card-accent: var(--body-accent);
    --card-rule: var(--brand-gray);
    --card-surface: var(--body-accent);
    --card-text: #111111;
    --card-text-inverse: #ffffff;
    display: block;
    aspect-ratio: 1;
    border: 1px solid var(--paper-border);
    background: var(--page);
    color: inherit;
    text-decoration: none;
    perspective: 1400px;
    box-shadow: var(--paper-shadow);
    transition: box-shadow 180ms ease;
}

.promo-card[hidden] {
    display: none;
}

.promo-card-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 640ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.promo-face {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.promo-front {
    background: var(--soft);
}

.promo-front > img,
.promo-front > video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-flip-cue {
    position: absolute;
    right: 0.55rem;
    bottom: 0.5rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2.3rem;
    background: transparent;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgb(0 0 0 / 12%));
    transition: transform 220ms ease, filter 220ms ease;
}

.promo-flip-icon {
    display: block;
    width: 1.65rem;
    height: auto;
}

.promo-back {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.55rem;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border-top: 0.28rem solid var(--card-rule);
    background: var(--card-surface);
    color: var(--card-text);
    transform: rotateY(180deg);
}

.promo-back-format {
    color: var(--card-text);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.promo-back-meta {
    color: var(--card-text);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.35;
    opacity: 0.72;
}

.promo-back-title {
    max-width: 18ch;
    color: var(--card-text);
    font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.promo-back-description {
    display: -webkit-box;
    overflow: hidden;
    color: var(--card-text);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.45;
    opacity: 0.9;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.promo-back-topics {
    color: var(--card-text);
    font-size: 0.76rem;
    line-height: 1.3;
    opacity: 0.62;
}

.promo-back-cta {
    width: fit-content;
    margin-top: auto;
    padding: 0.28rem 0.46rem;
    background: var(--card-text);
    color: var(--card-text-inverse);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
}

.promo-card.is-flipped .promo-card-inner {
    transform: rotateY(180deg);
}

.promo-card:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
    .promo-card:hover,
    .promo-card:focus-within {
        box-shadow: var(--paper-shadow-hover);
    }

    .promo-card:hover .promo-flip-cue {
        transform: rotate(8deg);
        filter: drop-shadow(0 2px 3px rgb(0 0 0 / 16%));
    }
}

.empty-state,
.filter-empty {
    margin: 4rem 0;
    color: var(--muted);
}

.reference {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    width: min(calc(100% - 2rem), 76rem);
    max-width: none;
    padding-top: clamp(2rem, 3vw, 2.75rem);
}

.reference-visual {
    margin: 0;
}

.reference-gallery-stage {
    position: relative;
    width: 100%;
}

.reference-gallery-slide[hidden] {
    display: none;
}

.reference-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 5.5rem;
    padding: 0;
    border: 0;
    background: var(--detail-accent);
    color: #fff;
    font: inherit;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.92;
    transform: translateY(-50%);
    transition: opacity 160ms ease;
}

.reference-gallery-nav:hover,
.reference-gallery-nav:focus-visible {
    opacity: 1;
}

.reference-gallery-nav--prev {
    left: 0;
}

.reference-gallery-nav--next {
    right: 0;
}

.reference-gallery-count {
    position: absolute;
    right: 0.55rem;
    bottom: 0.55rem;
    z-index: 2;
    padding: 0.22rem 0.42rem;
    background: rgb(21 21 21 / 78%);
    color: #fff;
    font-size: 0.72rem;
    line-height: 1;
}

.reference-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 34rem;
    margin-inline: auto;
    border: 1px solid var(--paper-border);
    background: var(--page);
    object-fit: contain;
    box-shadow: var(--paper-shadow);
}

.reference-copy {
    max-width: 34rem;
    align-self: center;
}

.reference-page {
    --detail-accent: var(--brand-accent);
    --detail-font: var(--font-sans);
    --detail-title-size: clamp(2rem, 3.25vw, 3rem);
    --detail-body-size: 1.0625rem;
    --detail-meta-size: 0.875rem;
    --detail-label-size: 0.75rem;
    font-family: var(--detail-font);
}

.reference-kicker {
    display: inline-block;
    width: fit-content;
    margin: 0 0 0.75rem;
    padding: 0.34rem 0.58rem;
    border-radius: 0.18rem;
    background: var(--text);
    color: #fff;
    font-size: var(--detail-label-size);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.reference-copy h1 {
    margin: 0 0 0.9rem;
    font-size: var(--detail-title-size);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.reference-meta {
    margin: 0 0 1.2rem;
    color: var(--muted);
}

.reference-context {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.45rem;
    margin: 0.2rem 0 1.25rem;
    color: var(--muted);
    font-size: var(--detail-meta-size);
    font-weight: 400;
    line-height: 1.4;
}

.reference-context span + strong::before,
.reference-context strong + span::before,
.reference-context span + span::before {
    content: "·";
    margin-right: 0.45rem;
    color: #a8a8a8;
}

.reference-context strong {
    color: var(--text);
    font-weight: 600;
}

.reference-description {
    max-width: 42rem;
    margin: 0;
    font-size: var(--detail-body-size);
    font-weight: 400;
    line-height: 1.6;
}

.reference-resource {
    display: grid;
    gap: 0.45rem;
    margin-top: 1.5rem;
}

.reference-resource-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
}

.reference-resource-links a {
    color: var(--text);
    font-size: var(--detail-meta-size);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #bdbdbd;
    text-underline-offset: 0.18em;
}

.reference-resource-links a:hover,
.reference-resource-links a:focus-visible {
    text-decoration-color: currentColor;
}

.reference-utility {
    display: grid;
    gap: 1.15rem;
    margin-top: 1.8rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--line);
}

.reference-share,
.reference-contact {
    display: grid;
    gap: 0.45rem;
}

.reference-share > .reference-utility-label,
.reference-contact > .reference-utility-label {
    width: fit-content;
    padding: 0.34rem 0.58rem;
    border-radius: 0.18rem;
    background: var(--detail-accent);
    color: #fff;
}

.reference-utility-label {
    color: var(--detail-accent);
    font-size: var(--detail-label-size);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.reference-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.9rem;
    align-items: center;
}

.reference-share-links a,
.reference-share-links button,
.reference-contact a {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: var(--detail-meta-size);
    font-weight: 400;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-color: #bdbdbd;
    text-underline-offset: 0.18em;
    cursor: pointer;
}

.reference-share-links a:hover,
.reference-share-links a:focus-visible,
.reference-share-links button:hover,
.reference-share-links button:focus-visible,
.reference-contact a:hover,
.reference-contact a:focus-visible {
    text-decoration-color: currentColor;
}

.reference-share-status {
    min-height: 1.2em;
    color: var(--muted);
    font-size: var(--detail-label-size);
    font-weight: 400;
}

.reference-contact {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.reference-contact a {
    width: fit-content;
    font-weight: 600;
}

.reference-back {
    color: var(--brand-accent);
    font-size: var(--detail-meta-size);
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 0.18em;
}

.reference-back:hover,
.reference-back:focus-visible {
    color: var(--brand-accent-dark);
    text-decoration: underline;
}

.reference-back--top {
    grid-column: 1 / -1;
    width: fit-content;
    margin-bottom: -0.75rem;
    font-size: var(--detail-meta-size);
}

.related-references {
    width: min(calc(100% - 2rem), 76rem);
    margin: clamp(4.5rem, 7vw, 6.5rem) auto 0;
}

.related-references h2 {
    margin: 0 0 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
}

.related-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
}

.related-card {
    display: grid;
    grid-template-rows: 2.5em 10rem;
    gap: 0.65rem;
    min-width: 0;
    align-content: start;
    justify-items: start;
    color: var(--text);
    text-decoration: none;
}

.related-card strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.5em;
    max-width: 24ch;
    font-size: var(--detail-meta-size);
    font-weight: 600;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-card img,
.related-card video {
    display: block;
    width: 10rem;
    height: 10rem;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--paper-border);
    background: var(--page);
    object-fit: cover;
    filter: grayscale(1);
    box-shadow: var(--paper-shadow);
    transition: filter 220ms ease, box-shadow 180ms ease;
}

.related-card:hover img,
.related-card:hover video,
.related-card:focus-visible img,
.related-card:focus-visible video {
    filter: grayscale(0);
    box-shadow: var(--paper-shadow-hover);
}

.related-card:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

@media (min-width: 38rem) {
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.legal {
    max-width: 54rem;
    padding-top: 5rem;
}

.legal h2 {
    margin: 0 0 1.5rem;
    font-size: 1.35rem;
}

.legal h3 {
    margin: 2rem 0 0.4rem;
    font-size: 1rem;
}

.legal p {
    margin: 0 0 1rem;
}

.site-footer {
    margin-top: clamp(4.5rem, 6vw, 6rem);
    border-top: 1px solid var(--line);
    padding: 2rem 0 2.25rem;
    font-size: 0.9rem;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    flex-wrap: wrap;
}

.footer-main nav {
    display: flex;
    flex-wrap: wrap;
}

.profile-links {
    align-items: center;
    gap: 1rem;
}

.profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: var(--text);
    font-size: 0.86rem;
    line-height: 1.2;
    text-decoration: underline;
    text-decoration-color: #bdbdbd;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    white-space: nowrap;
    transition: opacity 160ms ease, text-decoration-color 160ms ease;
}

.profile-link:hover,
.profile-link:focus-visible {
    opacity: 0.68;
    text-decoration-color: currentColor;
}

.profile-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.profile-icon {
    display: block;
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    object-fit: contain;
}

.footer-nav {
    align-items: baseline;
    gap: 0;
}

.footer-nav a {
    color: var(--text);
    text-underline-offset: 0.18em;
}

.footer-nav a + a::before {
    content: "·";
    display: inline-block;
    margin: 0 0.6rem;
    color: var(--muted);
    text-decoration: none;
}

.footer-bottom {
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.35;
    text-align: center;
}

.editorial-page {
    padding-top: clamp(2rem, 3vw, 2.75rem);
}

.person-content {
    max-width: 48rem;
}

.person-content::after {
    content: "";
    display: block;
    clear: both;
}

.person-content p {
    margin: 0 0 1.1rem;
    line-height: 1.6;
}

.person-photo {
    float: left;
    width: clamp(9rem, 30%, 12rem);
    margin: 0.15rem 1.4rem 0.8rem 0;
}

.person-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    border: 1px solid var(--paper-border);
    background: var(--soft);
    object-fit: cover;
    box-shadow: var(--paper-shadow);
}

.person-photo figcaption {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.25;
}

.person-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.person-cta a {
    display: inline-block;
    padding: 0.55rem 0.75rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.person-cta-linkedin {
    background: #0A66C2;
}

.person-cta-linkedin:hover,
.person-cta-linkedin:focus-visible {
    background: #004182;
}

.person-cta-contact {
    background: var(--brand-accent);
}

.person-cta-contact:hover,
.person-cta-contact:focus-visible {
    background: var(--brand-accent-dark);
}

.person-dialog {
    width: min(calc(100% - 2rem), 44rem);
}

.contact-dialog {
    width: min(calc(100% - 2rem), 34rem);
}

.contact-dialog-content {
    display: grid;
    gap: 1.2rem;
}

.contact-dialog-content p {
    margin: 0;
    line-height: 1.5;
}

.contact-channels {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.contact-email {
    display: grid;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--paper-border);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.contact-primary,
.contact-copy {
    font: inherit;
    font-size: 0.92rem;
}

.contact-primary {
    font-weight: 700;
    text-underline-offset: 0.18em;
}

.contact-copy {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: #bdbdbd;
    text-underline-offset: 0.18em;
    cursor: pointer;
}

.contact-copy:hover,
.contact-copy:focus-visible {
    text-decoration-color: currentColor;
}

.contact-status {
    min-height: 1.2em;
    color: var(--muted);
    font-size: 0.8rem;
}

.imprint-visual {
    max-width: 38rem;
    margin-bottom: 1rem;
    user-select: none;
    -webkit-user-select: none;
}

.imprint-contact-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    pointer-events: none;
}

.imprint-contact-svg text {
    fill: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.imprint-contact-svg .imprint-svg-label {
    font-weight: 700;
}

.imprint-contact-svg .imprint-svg-strong {
    font-weight: 700;
    font-size: 18px;
}

.imprint-email {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.8rem;
    margin: 0 0 1rem;
}

.imprint-email .contact-status {
    flex-basis: 100%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 44rem) {
    .reference {
        grid-template-columns: minmax(24rem, 0.95fr) minmax(24rem, 1.05fr);
        gap: clamp(3rem, 6vw, 6rem);
        align-items: center;
    }

    .reference-image {
        max-width: 32rem;
        margin-inline: 0;
    }
}

/*
 * Gallery scale with proportional gutters:
 * - gap grows continuously from 12px to 24px
 * - 2-column shell tops out at 624px
 * - 3 columns enter at 830px viewport and top out at 948px shell
 * - 4 columns enter at 1104px viewport and top out at 1280px shell
 */
@media (min-width: 51.875rem) {
    :root {
        --shell: 59.25rem;
    }

    .promo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 69rem) {
    :root {
        --shell: 80rem;
    }

    .promo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 36rem) {
    .topic-filter {
        flex-wrap: wrap;
        overflow-x: visible;
        scrollbar-width: auto;
    }

    .promo-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-header {
        padding: 0.9rem 0 0.85rem;
    }

    .site-header .shell {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .brand-wordmark {
        font-size: 2.15rem;
    }

    .identity {
        justify-self: start;
        justify-items: start;
        text-align: left;
    }

    .identity-actions {
        justify-content: flex-start;
        margin-top: 0.45rem;
        font-size: 0.9rem;
    }

    .footer-main {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-nav {
        justify-content: flex-start;
    }

    .footer-bottom {
        margin-top: 1.2rem;
    }

    .legal {
        width: min(calc(100% - 2rem), 54rem);
    }

    .promo-back {
        gap: 0.75rem;
        padding: 1.25rem;
    }

    .promo-back-meta {
        font-size: 0.8125rem;
        line-height: 1.35;
    }

    .promo-back-title {
        max-width: 20ch;
        font-size: 1.125rem;
        line-height: 1.12;
    }

    .promo-back-description {
        font-size: 1.0625rem;
        line-height: 1.4;
        -webkit-line-clamp: 4;
    }

    .promo-back-cta {
        padding: 0.36rem 0.55rem;
        font-size: 0.9375rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .promo-card,
    .promo-card-inner,
    .promo-flip-cue {
        transition: none;
    }
}


/* Legal pages and modal dialogs */
.legal-content {
    max-width: 54rem;
}

.legal-content h3 {
    margin: 2rem 0 0.4rem;
    font-size: 1rem;
}

.legal-content p {
    margin: 0 0 1rem;
}

.legal-page {
    max-width: 54rem;
    padding-top: 1rem;
}

.legal-page h1 {
    margin: 0 0 1.5rem;
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.legal-dialog {
    width: min(calc(100% - 2rem), 50rem);
    max-height: min(85vh, 52rem);
    overflow: hidden;
    margin: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: var(--page);
    color: var(--text);
    box-shadow: 0 1.2rem 4rem rgb(0 0 0 / 18%);
}

.legal-dialog::backdrop {
    background: rgb(0 0 0 / 34%);
    backdrop-filter: blur(2px);
}

.legal-dialog-inner {
    max-height: min(85vh, 52rem);
    overflow-y: auto;
    padding: 1.4rem 1.5rem 1.6rem;
}

.legal-dialog-header {
    position: sticky;
    top: -1.4rem;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin: -1.4rem -1.5rem 1.4rem;
    padding: 1.4rem 1.5rem 1rem;
    border-bottom: 1px solid var(--line);
    background: rgb(255 255 255 / 96%);
    backdrop-filter: blur(8px);
}

.legal-dialog-header h2 {
    margin: 0;
    font-size: 1.35rem;
}

.dialog-close {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--page);
    color: var(--text);
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.dialog-close:hover,
.dialog-close:focus-visible {
    border-color: #a8a8a8;
}

.legal-direct-link {
    margin-top: 1.6rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
}

@media (max-width: 36rem) {
    .person-photo {
        width: 7.5rem;
        margin-right: 1rem;
        margin-bottom: 0.55rem;
    }

    .legal-dialog {
        width: min(calc(100% - 1rem), 50rem);
        max-height: 90vh;
        border-radius: 0.7rem;
    }

    .legal-dialog-inner {
        padding-inline: 1rem;
    }

    .legal-dialog-header {
        margin-inline: -1rem;
        padding-inline: 1rem;
    }
}


/* Analytics consent */
.analytics-consent[hidden] {
    display: none;
}

.analytics-consent {
    position: fixed;
    z-index: 300;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    margin: auto;
    width: min(calc(100% - 2rem), 48rem);
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: rgb(255 255 255 / 98%);
    box-shadow: 0 0.8rem 2.5rem rgb(0 0 0 / 16%);
}

.analytics-consent-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem 1.25rem;
    align-items: center;
    padding: 1rem 1.1rem;
}

.analytics-consent p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.analytics-consent a {
    width: fit-content;
    color: var(--muted);
    font-size: 0.78rem;
    text-underline-offset: 0.18em;
}

.analytics-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    grid-row: 1;
    grid-column: 2;
}

.analytics-consent button {
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--brand-accent);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.analytics-consent-primary,
.analytics-consent-secondary {
    background: #fff;
    color: var(--text);
}

.analytics-consent button:hover,
.analytics-consent button:focus-visible {
    background: var(--body-accent-soft);
    border-color: var(--brand-accent-dark);
}

@media (max-width: 42rem) {
    .analytics-consent-inner {
        grid-template-columns: 1fr;
    }

    .analytics-consent-actions {
        grid-row: auto;
        grid-column: auto;
    }

    .analytics-consent-actions button {
        flex: 1 1 10rem;
    }
}


/* 404 */
.error-page {
    min-height: 42vh;
    padding-block: clamp(2rem, 8vw, 6rem);
}

.error-code {
    margin: 0 0 0.4rem;
    color: var(--brand-accent);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.error-page h1 {
    margin-bottom: 0.8rem;
}

.error-page > p:not(.error-code):not(.reference-back) {
    max-width: 38rem;
}


/* Reference search */
.reference-search {
    margin: 0 0 1rem;
}

.reference-search-field {
    display: flex;
    align-items: stretch;
    width: min(100%, 31rem);
    min-height: 2.75rem;
    overflow: hidden;
    border: 1px solid #dddddd;
    border-radius: 0.18rem;
    background: var(--page);
}

.reference-search-icon {
    display: grid;
    place-items: center;
    padding-left: 0.85rem;
    color: var(--muted);
    font-size: 1rem;
}

.reference-search input[type="search"] {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0.65rem 0.8rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 400;
}

.reference-search button {
    align-self: stretch;
    min-width: 5.2rem;
    padding: 0.65rem 1rem;
    border: 0;
    border-left: 1px solid var(--line);
    background: var(--page);
    color: var(--text);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.reference-search button:hover,
.reference-search button:focus-visible {
    background: var(--body-accent-soft);
}

.reference-search-clear {
    display: grid;
    place-items: center;
    align-self: stretch;
    min-width: 2.5rem;
    border-left: 1px solid var(--line);
    color: var(--muted);
    font-size: 1.25rem;
    text-decoration: none;
}

.reference-search-status {
    margin: 0.55rem 0 0;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 400;
}

@media (max-width: 36rem) {
    .reference-search-field {
        width: 100%;
    }

    .reference-search button {
        padding-inline: 0.7rem;
    }
}


.archive-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
}

.archive-heading-row > .archive-year-title {
    flex: 0 0 auto;
}

.archive-heading-row .reference-search {
    flex: 0 1 31rem;
    width: min(100%, 31rem);
    margin: 0;
}

.archive-heading-row .reference-search-field {
    margin-left: auto;
}

.reference-search button {
    border-left-color: var(--brand-accent);
    background: var(--brand-accent);
    color: #fff;
}

.reference-search button:hover,
.reference-search button:focus-visible {
    border-left-color: var(--brand-accent-dark);
    background: var(--brand-accent-dark);
    color: #fff;
}

@media (max-width: 48rem) {
    .archive-heading-row {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .archive-heading-row .reference-search {
        width: 100%;
        max-width: none;
    }

    .archive-heading-row .reference-search-field {
        width: 100%;
        max-width: none;
        margin-left: 0;
    }
}

.reference-video {
    aspect-ratio: 1 / 1;
    background: #000;
}

.identity-role-dot {
    margin-inline: 0.32rem;
    font-size: 0;
}
.identity-role-dot::before {
    content: "|";
    font-size: 0.92rem;
    font-weight: 400;
}

.reference-page .identity-title {
    font-family: var(--detail-font);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.reference-page .identity-title strong {
    font-weight: 700;
}

.reference-page .identity-tagline {
    font-family: var(--detail-font);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.2;
}

@media (max-width: 36rem) {
    .archive-pagination {
        gap: 0.6rem;
    }

    .pagination-pages {
        gap: 0.3rem;
    }

    .pagination-page {
        min-width: 2.3rem;
        min-height: 2.3rem;
        padding-inline: 0.45rem;
    }

    .pagination-direction {
        min-height: 2.3rem;
        padding-inline: 0.75rem;
    }

    .pagination-ellipsis {
        width: 1.4rem;
        min-height: 2.3rem;
    }
}

/* Development-only REF-ID overlay, rendered only when ?debug=1 is active. */
.promo-debug-id {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    z-index: 5;
    padding: 0.28rem 0.5rem;
    border: 2px solid var(--brand-accent);
    border-radius: 0.25rem;
    background: rgb(17 17 17 / 92%);
    color: #fff;
    font-size: clamp(1rem, 1.2vw, 1.35rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgb(0 0 0 / 22%);
    pointer-events: none;
}
