/**
 * 2027 theme for "Schalt Kreis Symposium" – motto "Fernweh am Lochraster".
 *
 * PCB layout look: dark soldermask green, ENIG gold as the single accent, white silkscreen labels,
 * a KiCad-style dot grid and hairlines instead of shadows. Loaded directly after Bootstrap 5.3.9;
 * fonts (IBM Plex Sans/Mono, OFL) are served locally from vendor/, so there are no third-party requests.
 *
 * Contrast (WCAG AA, checked): text colours reach >= 4.5:1 on every background they are used on.
 * `--pcb-trace` and `--pcb-line*` are decorative only.
 */

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../vendor/ibm-plex-5.3.0/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../vendor/ibm-plex-5.3.0/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../vendor/ibm-plex-5.3.0/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../vendor/ibm-plex-5.3.0/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root,
[data-bs-theme="dark"] {
    --pcb-bg: #06110c;
    --pcb-mask: #0b1f16;
    --pcb-card: #10291e;
    --pcb-board: #0e2a1e;
    --pcb-edge: #1f4a35;
    --pcb-trace: #2a6748;
    --pcb-wire: #63c08f;
    --pcb-gold: #d9b36c;
    --pcb-gold-hi: #ecd29b;
    --pcb-silk: #eef3ec;
    --pcb-text: #dfe8e1;
    --pcb-muted: #9fb5a8;
    --pcb-line: rgba(238, 243, 236, 0.13);
    --pcb-line-strong: rgba(238, 243, 236, 0.28);
    --pcb-grid: radial-gradient(circle, rgba(238, 243, 236, 0.07) 0 1px, transparent 1.5px);

    --sks-font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --sks-font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    --sks-nav-height: 4rem;
    --sks-section-pad: clamp(4rem, 7vw, 6.5rem);
    --sks-trace-x: -1.75rem;

    color-scheme: dark;
    --bs-body-font-family: var(--sks-font-sans);
    --bs-body-color: var(--pcb-text);
    --bs-body-bg: var(--pcb-bg);
    --bs-emphasis-color: var(--pcb-silk);
    --bs-heading-color: var(--pcb-silk);
    --bs-link-color-rgb: 217, 179, 108;
    --bs-link-hover-color-rgb: 236, 210, 155;
}

body {
    background-color: var(--pcb-bg);
    color: var(--pcb-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--sks-font-sans);
    font-weight: 600;
    color: var(--pcb-silk);
    letter-spacing: -0.01em;
    text-wrap: balance;
}

a {
    text-underline-offset: 0.2em;
}

:focus-visible {
    outline: 2px solid var(--pcb-gold);
    outline-offset: 3px;
}

/* Programmatic focus target of the skip link; the jump itself is the feedback. */
main:focus {
    outline: none;
}

.skip-link:focus {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    background: var(--pcb-gold);
    color: var(--pcb-bg);
    font-weight: 600;
}

[id] {
    scroll-margin-top: calc(var(--sks-nav-height) + 1rem);
}

/* Small uppercase labels in the style of silkscreen text. */
.sks-hero__eyebrow,
.sks-titleblock dt,
.sks-facts__title,
.sks-facts__list dt,
.sks-ticket__status,
.sks-footer__heading {
    font-family: var(--sks-font-mono);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* =========
   Navigation
   ========= */
.sks-nav {
    background-color: rgba(6, 17, 12, 0.88);
    border-bottom: 1px solid var(--pcb-line);
    backdrop-filter: blur(8px);
    transition: background-color 0.2s ease;
}

.sks-nav.navbar-scrolled {
    background-color: rgba(6, 17, 12, 0.97);
}

/* Square pad in front of the brand, like the pin-1 marker of a header. */
.sks-nav .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--pcb-silk);
    font-family: var(--sks-font-mono);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sks-nav .navbar-brand::before {
    content: "";
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 1px;
    background: var(--pcb-gold);
}

.sks-nav .nav-link {
    color: var(--pcb-muted);
    font-weight: 400;
    padding-inline: 0.7rem;
}

.sks-nav .nav-link:hover,
.sks-nav .nav-link:focus-visible {
    color: var(--pcb-silk);
}

.sks-nav .navbar-toggler {
    border-color: var(--pcb-line-strong);
    min-height: 44px;
}

/* =========
   Buttons
   ========= */
.sks-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1.25rem;
    border: 1px solid var(--pcb-gold);
    border-radius: 2px;
    background: var(--pcb-gold);
    color: var(--pcb-bg);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sks-button:hover {
    background: var(--pcb-gold-hi);
    border-color: var(--pcb-gold-hi);
    color: var(--pcb-bg);
}

.sks-button--outline {
    background: transparent;
    border-color: var(--pcb-line-strong);
    color: var(--pcb-silk);
}

.sks-button--outline:hover {
    background: transparent;
    border-color: var(--pcb-gold);
    color: var(--pcb-gold);
}

/* =========
   Hero
   ========= */
.sks-hero {
    padding: calc(var(--sks-nav-height) + 4rem) 0 5rem;
    background-color: var(--pcb-bg);
    background-image:
        radial-gradient(55% 65% at 78% 45%, rgba(42, 103, 72, 0.28), transparent 70%),
        var(--pcb-grid);
    background-size: auto, 24px 24px;
    border-bottom: 1px solid var(--pcb-line);
}

.sks-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1rem;
    color: var(--pcb-gold);
}

.sks-hero__eyebrow::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: currentColor;
}

.sks-hero__date {
    margin: 0;
    color: var(--pcb-silk);
    font-size: clamp(2.6rem, 4vw + 1rem, 4.5rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.025em;
}

.sks-hero__title {
    margin: 1rem 0 0.4rem;
    font-size: clamp(1.4rem, 1.2vw + 1rem, 2rem);
}

.sks-hero__motto {
    margin: 0 0 1.5rem;
    color: var(--pcb-gold);
    font-family: var(--sks-font-mono);
    font-size: 1.05rem;
}

.sks-hero__lead {
    max-width: 36rem;
    margin: 0 0 2rem;
    color: var(--pcb-muted);
    font-size: 1.1rem;
}

.sks-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sks-hero__figure {
    margin: 0;
}

.sks-hero__caption {
    max-width: 34rem;
    margin: 1rem auto 0;
    color: var(--pcb-muted);
    font-family: var(--sks-font-mono);
    font-size: 0.8rem;
    line-height: 1.6;
}

/* Title block as on a schematic sheet. */
.sks-titleblock {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 40rem;
    margin: 0 0 2rem;
    border-top: 1px solid var(--pcb-line-strong);
    border-left: 1px solid var(--pcb-line-strong);
}

@media (min-width: 768px) {
    .sks-titleblock {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.sks-titleblock > div {
    padding: 0.6rem 0.8rem;
    border-right: 1px solid var(--pcb-line-strong);
    border-bottom: 1px solid var(--pcb-line-strong);
}

.sks-titleblock dt {
    color: var(--pcb-muted);
    font-size: 0.68rem;
}

.sks-titleblock dd {
    margin: 0.15rem 0 0;
    color: var(--pcb-silk);
    font-family: var(--sks-font-mono);
    font-size: 0.9rem;
}

.sks-titleblock--stacked {
    grid-template-columns: 1fr;
    margin: 0;
}

@media (min-width: 768px) {
    .sks-titleblock--stacked {
        grid-template-columns: 1fr;
    }
}

/* =========
   Schematic (hero SVG)
   ========= */
.sks-sch {
    display: block;
    width: 100%;
    max-width: 36rem;
    height: auto;
    margin-inline: auto;
}

.sks-sch-body {
    fill: var(--pcb-card);
    stroke: var(--pcb-silk);
    stroke-width: 1.8;
}

.sks-sch-pin {
    fill: none;
    stroke: var(--pcb-silk);
    stroke-width: 1.6;
    stroke-linecap: round;
}

.sks-sch-wire {
    fill: none;
    stroke: var(--pcb-wire);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sks-sch-arrow {
    fill: var(--pcb-wire);
}

.sks-sch-text,
.sks-sch-ref,
.sks-sch-val,
.sks-sch-num,
.sks-sch-pinname {
    font-family: var(--sks-font-mono);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.sks-sch-text {
    fill: var(--pcb-silk);
}

.sks-sch-ref {
    fill: var(--pcb-gold);
    font-weight: 500;
}

.sks-sch-val,
.sks-sch-pinname {
    fill: var(--pcb-muted);
}

.sks-sch-num {
    fill: var(--pcb-gold);
    font-size: 11px;
}

.sks-sch-pinname {
    font-size: 10px;
}

.sks-sch-title {
    fill: var(--pcb-silk);
    font-family: var(--sks-font-sans);
    font-size: 17px;
    font-weight: 600;
}

/*
 * Labels that jump to their section. The schematic is aria-hidden, so these links stay out of the
 * tab order (tabindex="-1"); keyboard and screen-reader users reach the same targets via the navigation.
 */
.sks-sch-link {
    cursor: pointer;
}

.sks-sch-hit {
    fill: transparent;
}

.sks-sch-link text {
    transition: fill 0.15s ease;
}

.sks-sch-link:hover text {
    fill: var(--pcb-gold);
    text-decoration: underline;
}

/* =========
   Sections
   ========= */
.sks-section {
    padding-block: var(--sks-section-pad);
    background-color: var(--pcb-bg);
}

.sks-section--alt {
    background-color: var(--pcb-mask);
    background-image: var(--pcb-grid);
    background-size: 24px 24px;
    border-block: 1px solid var(--pcb-line);
}

/*
 * Heading = component: refdes chip with its schematic symbol, a wire to the right and a net label
 * naming its role. Chip and label sit next to the h2, not inside it, so the heading text stays clean
 * for crawlers; the wire (::after) and the label are ordered after the h2.
 */
.sks-section__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 2.5rem;
}

.sks-section__heading {
    margin: 0;
    font-size: clamp(1.75rem, 1.4vw + 1.2rem, 2.4rem);
}

.sks-section__head::after {
    content: "";
    order: 2;
    flex: 1;
    min-width: 2rem;
    height: 1px;
    background: var(--pcb-line-strong);
}

.sks-section__ref {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex: none;
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--pcb-gold);
    border-radius: 2px;
    color: var(--pcb-gold);
    font-family: var(--sks-font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

.sks-sym {
    width: 1.5rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sks-section__net {
    order: 3;
    display: none;
    padding: 0.15rem 0.5rem 0.15rem 0.9rem;
    border: 1px solid var(--pcb-line-strong);
    color: var(--pcb-muted);
    font-family: var(--sks-font-mono);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    clip-path: polygon(0.5rem 0, 100% 0, 100% 100%, 0.5rem 100%, 0 50%);
}

@media (min-width: 768px) {
    .sks-section__net {
        display: inline-block;
    }
}

/*
 * Wide screens: one trace in the left margin links all section components, with a via and a stub
 * at every heading. It starts at the first heading and ends at the last one.
 */
@media (min-width: 1200px) {
    main > .sks-section > .container {
        position: relative;
    }

    main > .sks-section > .container::before {
        content: "";
        position: absolute;
        left: var(--sks-trace-x);
        top: calc(-1 * var(--sks-section-pad));
        bottom: calc(-1 * var(--sks-section-pad));
        width: 2px;
        background: var(--pcb-trace);
    }

    main > .sks-section:first-child > .container::before {
        top: 1.4rem;
    }

    main > .sks-section:last-child > .container::before {
        bottom: auto;
        height: calc(var(--sks-section-pad) + 1.4rem);
    }

    .sks-section__ref {
        position: relative;
    }

    .sks-section__ref::before {
        content: "";
        position: absolute;
        right: 100%;
        top: 50%;
        width: calc(-1 * var(--sks-trace-x));
        height: 2px;
        margin-top: -1px;
        background: var(--pcb-trace);
    }

    .sks-section__ref::after {
        content: "";
        position: absolute;
        left: calc(var(--sks-trace-x) - 5px);
        top: 50%;
        width: 12px;
        height: 12px;
        margin-top: -6px;
        border-radius: 50%;
        background: radial-gradient(circle, var(--pcb-bg) 0 2.5px, var(--pcb-gold) 3px);
    }
}

.sks-section__sub {
    max-width: 44rem;
    margin: -1.25rem 0 2rem;
    color: var(--pcb-muted);
}

.sks-intro {
    font-size: 1.075rem;
}

.sks-intro--strong {
    color: var(--pcb-silk);
    font-weight: 600;
}

/* Fact sheet as a title block. */
.sks-facts {
    border: 1px solid var(--pcb-line-strong);
    background: var(--pcb-card);
}

.sks-facts__title {
    margin: 0;
    padding: 0.7rem 1.25rem;
    border-bottom: 1px solid var(--pcb-line-strong);
    color: var(--pcb-gold);
}

.sks-facts__list {
    margin: 0;
    padding: 0 1.25rem;
}

.sks-facts__list > div {
    padding-block: 0.8rem;
    border-bottom: 1px solid var(--pcb-line);
}

.sks-facts__list > div:last-child {
    border-bottom: 0;
}

.sks-facts__list dt {
    color: var(--pcb-muted);
}

.sks-facts__list dd {
    margin: 0.2rem 0 0;
}

@media (min-width: 576px) {
    .sks-facts__list > div {
        display: grid;
        grid-template-columns: 8rem 1fr;
        gap: 1rem;
    }

    .sks-facts__list dt {
        padding-top: 0.25rem;
    }

    .sks-facts__list dd {
        margin: 0;
    }
}

.sks-venue__lead {
    margin-bottom: 0.5rem;
    font-size: clamp(1.3rem, 0.8vw + 1.05rem, 1.6rem);
}

.sks-venue__text {
    max-width: 44rem;
    margin: 0 0 2rem;
    color: var(--pcb-muted);
}

.sks-card {
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--pcb-line);
    border-radius: 4px;
    background: var(--pcb-card);
}

.sks-card__title {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

/* Bullets as small SMD pads. */
.sks-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sks-card__list li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
}

.sks-card__list li:last-child {
    margin-bottom: 0;
}

.sks-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 1px;
    background: var(--pcb-gold);
}

.sks-card__list strong {
    color: var(--pcb-silk);
}

.sks-contribution {
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--pcb-line);
    border-left: 3px solid var(--pcb-gold);
    background: var(--pcb-card);
}

.sks-contribution__title {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* =========
   Schedule: timetable as a perfboard; free slots are empty pads, fixed items are placed parts
   ========= */
.sks-plan {
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0.5rem;
    margin: 0 -0.5rem 1rem;
    width: calc(100% + 1rem);
}

.sks-plan thead th {
    padding: 0 0.25rem;
    color: var(--pcb-muted);
    font-family: var(--sks-font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sks-plan thead th:first-child {
    width: 8rem;
}

.sks-plan tbody th {
    padding: 0 0.25rem;
    color: var(--pcb-silk);
    font-family: var(--sks-font-mono);
    font-weight: 400;
    white-space: nowrap;
}

.sks-plan__day {
    color: var(--pcb-gold);
    font-weight: 500;
}

.sks-plan td {
    height: 5.25rem;
    padding: 0.75rem;
    border: 1px solid var(--pcb-line);
    border-radius: 3px;
    background-color: var(--pcb-card);
    background-image: radial-gradient(circle, #030a07 0 1.6px, rgba(217, 179, 108, 0.28) 2.1px 3.8px, transparent 4.3px);
    background-size: 20px 20px;
    background-position: center;
    vertical-align: middle;
}

/* Placed part: silkscreen outline with a pin-1 dot, on solid board so the pads do not cross the text. */
.sks-plan__part {
    position: relative;
    display: inline-block;
    padding: 0.45rem 0.75rem 0.45rem 1.4rem;
    border: 1px solid var(--pcb-silk);
    border-radius: 2px;
    background: var(--pcb-bg);
    color: var(--pcb-silk);
    font-size: 0.95rem;
    line-height: 1.35;
}

.sks-plan__part::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    top: 0.75rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: currentColor;
}

.sks-plan__part--key {
    border-color: var(--pcb-gold);
    color: var(--pcb-gold);
}

.sks-plan-cta {
    display: grid;
    gap: 1rem;
    justify-items: start;
}

.sks-plan__legend {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: var(--pcb-muted);
    font-family: var(--sks-font-mono);
    font-size: 0.8rem;
}

.sks-plan__pad {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: radial-gradient(circle, #030a07 0 1.3px, var(--pcb-gold) 1.8px);
}

/* Narrow screens: one block per day, slot names from data-slot. */
@media (max-width: 767.98px) {
    .sks-plan,
    .sks-plan tbody,
    .sks-plan tr,
    .sks-plan th,
    .sks-plan td {
        display: block;
        width: auto;
    }

    .sks-plan {
        margin: 0 0 1rem;
    }

    .sks-plan thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .sks-plan tr {
        margin-bottom: 1.25rem;
    }

    .sks-plan tbody th {
        width: auto;
        padding: 0 0 0.4rem;
    }

    .sks-plan td {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        height: auto;
        min-height: 3.5rem;
        margin-bottom: 0.4rem;
    }

    .sks-plan td::before {
        content: attr(data-slot);
        flex: none;
        width: 6.5rem;
        padding: 0.15rem 0.4rem;
        background: var(--pcb-card);
        color: var(--pcb-muted);
        font-family: var(--sks-font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }
}

.sks-note {
    max-width: 48rem;
    margin: 0;
    color: var(--pcb-muted);
}

/* =========
   Location
   ========= */
.sks-address {
    display: grid;
    gap: 1.5rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--pcb-line);
    border-radius: 4px;
    background: var(--pcb-card);
}

@media (min-width: 768px) {
    .sks-address {
        grid-template-columns: 1.3fr 1fr;
        gap: 2.5rem;
    }
}

.sks-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sks-badges li {
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--pcb-line-strong);
    border-radius: 2px;
    color: var(--pcb-text);
    font-family: var(--sks-font-mono);
    font-size: 0.8rem;
}

.sks-map {
    margin: 1.5rem 0 0;
}

.sks-map__link {
    position: relative;
    display: block;
    border: 1px solid var(--pcb-line-strong);
    border-radius: 4px;
}

.sks-map img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
}

/* J1 branch: from the margin trace to the venue crosshair, which sits at the centre of the map image. */
@media (min-width: 1200px) {
    .sks-map__link::after {
        content: "";
        position: absolute;
        left: calc(var(--sks-trace-x) - 1px);
        top: 50%;
        width: calc(50% - var(--sks-trace-x) - 26px);
        height: 2px;
        margin-top: -1px;
        background: var(--pcb-gold);
        opacity: 0.85;
    }
}

.sks-map figcaption {
    margin-top: 0.75rem;
    color: var(--pcb-muted);
    font-size: 0.875rem;
}

.sks-location__subheading {
    margin: 3rem 0 1.25rem;
    font-size: 1.4rem;
}

/* =========
   Tickets
   ========= */
.sks-ticket {
    max-width: 44rem;
    padding: 1.75rem 2rem;
    border: 1px solid var(--pcb-line);
    border-left: 3px solid var(--pcb-gold);
    border-radius: 4px;
    background: var(--pcb-card);
}

.sks-ticket__status {
    margin: 0 0 0.5rem;
    color: var(--pcb-gold);
}

.sks-ticket__title {
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
}

/* =========
   Trailer (click-to-load)
   ========= */
.sks-trailer {
    max-width: 68rem;
    margin: 0 0 3rem;
}

.sks-trailer__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--pcb-line-strong);
    border-radius: 4px;
    background: #000;
    overflow: hidden;
}

.sks-trailer__play,
.sks-trailer__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.sks-trailer__play img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.sks-trailer__play:hover img,
.sks-trailer__play:focus-visible img {
    opacity: 1;
}

.sks-trailer__play:focus-visible {
    outline-offset: -4px;
}

/* Gold play button: circle with a CSS triangle. */
.sks-trailer__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4.5rem;
    height: 4.5rem;
    margin: -2.25rem 0 0 -2.25rem;
    border-radius: 50%;
    background: var(--pcb-gold);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
    transition: background-color 0.15s ease;
}

.sks-trailer__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -0.8rem 0 0 -0.45rem;
    border-style: solid;
    border-width: 0.8rem 0 0.8rem 1.3rem;
    border-color: transparent transparent transparent var(--pcb-bg);
}

.sks-trailer__play:hover .sks-trailer__icon {
    background: var(--pcb-gold-hi);
}

.sks-trailer__caption {
    margin-top: 0.75rem;
    color: var(--pcb-muted);
    font-size: 0.875rem;
}

.sks-trailer__caption strong {
    color: var(--pcb-text);
    font-weight: 600;
}

/* =========
   Photos
   ========= */
.sks-fotos {
    --sks-caption-h: 5rem;
    max-width: 68rem;
}

@media (min-width: 768px) {
    .sks-fotos {
        --sks-caption-h: 3.6rem;
    }
}

.sks-fotos__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.sks-fotos__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--pcb-line-strong);
    border-radius: 2px;
    background: transparent;
    color: var(--pcb-silk);
    font-family: var(--sks-font-mono);
    font-size: 0.85rem;
}

.sks-fotos__toggle:hover {
    border-color: var(--pcb-gold);
    color: var(--pcb-gold);
}

/* Pause icon: two bars; play icon: triangle. */
.sks-fotos__toggle-icon {
    width: 0.75em;
    height: 0.85em;
    border-left: 0.25em solid currentColor;
    border-right: 0.25em solid currentColor;
}

.sks-fotos__toggle.is-paused .sks-fotos__toggle-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.42em 0 0.42em 0.75em;
    border-color: transparent transparent transparent currentColor;
}

.sks-fotos__counter {
    margin: 0;
    color: var(--pcb-muted);
    font-family: var(--sks-font-mono);
    font-size: 0.85rem;
}

#sks-fotos {
    border: 1px solid var(--pcb-line-strong);
    border-radius: 4px;
    background: #000;
    overflow: hidden;
}

.sks-fotos__figure {
    margin: 0;
}

.sks-fotos__frame {
    aspect-ratio: 3 / 2;
}

.sks-fotos__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sks-fotos__caption {
    display: -webkit-box;
    height: var(--sks-caption-h);
    padding: 0.6rem 1rem;
    overflow: hidden;
    border-top: 1px solid var(--pcb-line);
    color: var(--pcb-text);
    font-size: 0.9rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

@media (min-width: 768px) {
    .sks-fotos__caption {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

/*
 * Controls sit on the image area, not on the caption strip. Bootstrap's dark theme inverts
 * carousel controls via a filter, which would flip our own icon colours.
 */
#sks-fotos .sks-fotos__nav {
    bottom: var(--sks-caption-h);
    width: auto;
    padding-inline: 0.75rem;
    opacity: 1;
    filter: none;
}

.sks-fotos__nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding-bottom: 0.15rem;
    border: 1px solid var(--pcb-line-strong);
    border-radius: 50%;
    background: rgba(6, 17, 12, 0.8);
    color: var(--pcb-silk);
    font-size: 1.75rem;
    line-height: 1;
}

#sks-fotos .sks-fotos__nav:hover .sks-fotos__nav-icon {
    border-color: var(--pcb-gold);
    background: var(--pcb-gold);
    color: var(--pcb-bg);
}

#sks-fotos .sks-fotos__nav:focus-visible {
    outline: none;
}

#sks-fotos .sks-fotos__nav:focus-visible .sks-fotos__nav-icon {
    outline: 2px solid var(--pcb-gold);
    outline-offset: 3px;
}

.sks-fotos__thumbs {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0 0;
    padding: 0.35rem 0.25rem 0.6rem;
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--pcb-line-strong) transparent;
    scrollbar-width: thin;
}

.sks-fotos__thumbs li {
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.sks-fotos__thumbs button {
    display: block;
    width: 6rem;
    height: 4rem;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 3px;
    background: #000;
    overflow: hidden;
}

.sks-fotos__thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.5) brightness(0.7);
    transition: filter 0.2s ease;
}

.sks-fotos__thumbs button:hover img,
.sks-fotos__thumbs button.active img {
    filter: none;
}

.sks-fotos__thumbs button.active {
    border-color: var(--pcb-gold);
}

/* =========
   Supporters
   ========= */
.sks-supporters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sks-supporters__link {
    display: inline-flex;
    padding: 0.9rem 1.1rem;
    border-radius: 4px;
    background: var(--pcb-text);
}

.sks-supporters__link img {
    width: auto;
    max-width: 100%;
    height: 64px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.sks-supporters__link:hover img,
.sks-supporters__link:focus-visible img {
    filter: none;
}

/* =========
   Footer
   ========= */
.sks-footer {
    padding: 3.5rem 0 2rem;
    border-top: 1px solid var(--pcb-line);
    background: #040b08;
    color: var(--pcb-text);
}

.sks-footer__heading {
    margin-bottom: 0.75rem;
    color: var(--pcb-gold);
}

.sks-footer a {
    color: var(--pcb-silk);
}

.sks-footer a:hover {
    color: var(--pcb-gold);
}

.sks-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sks-footer__links li + li {
    margin-top: 0.35rem;
}

.sks-footer__legal {
    margin: 2.5rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--pcb-line);
    color: var(--pcb-muted);
    font-size: 0.875rem;
}

/* =========
   Motion
   ========= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
