/* simakdulu.com, "Stage": dark first, built like a console home screen.
   Home: a full-screen stage whose photo follows the selected tile in the row below; "Pilih kanal" is a roster of
   sections where the chosen one fills a panel with its huge name in its colour glow. Articles open on a full-width
   photo with the title on it, then a calm reading column. Logo and ink blue stay; each section has a glow colour.
   Headlines: Archivo (normal width; the condensed width only for the huge section names). Text: Plus Jakarta Sans. */

/* ---------- tokens: dark is the default, light is the reader's choice ---------- */
:root {
    --bg: #0a0d12;
    --surface: #121821;
    --surface-2: #1a222d;
    --raise: #232d3a;
    --ink: #eef2f7;
    --ink-2: #c3cbd6;
    --muted: #919cab;
    --line: #232c38;
    --prose: #dde3eb;
    --brand: #7fb2e5;
    --on-brand: #0b0f14;
    --link: #8dbcec;
    --focus: #a9cdf2;
    --primary: #ffffff;
    --on-primary: #0a0d12;
    --footer-bg: #06080c;
    --footer-ink: #eef2f7;
    --footer-muted: #919cab;
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    --wa: #25d366;
    --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
    --text: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --band: #4a5563;
    --on-band: #ffffff;
    --glow: #7fb2e5;
    --behind: var(--bg);
    --measure: 720px;
    --mast-h: 68px;
    --radius: 12px;
    color-scheme: dark;
}

:root[data-theme="light"] {
    --bg: #ffffff;
    --surface: #f3f5f8;
    --surface-2: #e9edf2;
    --raise: #dfe4ea;
    --ink: #151a21;
    --ink-2: #39414d;
    --muted: #5e6673;
    --line: #e2e6ec;
    --prose: #151a21;
    --brand: #1f4e79;
    --on-brand: #ffffff;
    --link: #1f4e79;
    --focus: #1f4e79;
    --primary: #151a21;
    --on-primary: #ffffff;
    --footer-bg: #151a21;
    --footer-ink: #ffffff;
    --footer-muted: #aab2be;
    --shadow: 0 12px 32px rgba(21, 26, 33, 0.16);
    color-scheme: light;
}

/* the stage, the roster panel and the article opening are always dark, in both themes */
.on-stage {
    --ink: #f3f6fa;
    --ink-2: #cfd6e0;
    --muted: #a5afbd;
    --line: rgba(255, 255, 255, 0.16);
    --surface: rgba(255, 255, 255, 0.07);
    --surface-2: rgba(255, 255, 255, 0.12);
    --link: #a9cdf2;
    --focus: #a9cdf2;
    --primary: #ffffff;
    --on-primary: #0a0d12;
    color: var(--ink);
    color-scheme: dark;
}

/* section colours: --band is the solid label (white text 4.5:1+), --glow the light on the dark stage */
.band-event { --band: #b4235a; --glow: #ff5c93; }
.band-musik { --band: #5b3fa8; --glow: #a184ff; }
.band-gaming { --band: #0f766e; --glow: #2dd4bf; }
.band-sport { --band: #2f7d32; --glow: #5ee08a; }
.band-otomotif { --band: #a61b1b; --glow: #ff6a5e; }
.band-viral, .band-viral-hiburan { --band: #c2410c; --glow: #ff9447; }
.band-film-serial { --band: #1d4ed8; --glow: #7aa2ff; }
.band-seleb { --band: #a16207; --glow: #fbbf24; }
.band-tekno { --band: #0e7490; --glow: #22d3ee; }
.band-agenda { --band: #4a5563; --glow: #a9b8cc; }
.band-galeri { --band: #4a5563; --glow: #cfd6e0; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--text);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }

[hidden] { display: none !important; }

button, input { font: inherit; color: inherit; }

::selection { background: #2b5a88; color: #ffffff; }

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

.wrap {
    width: min(1280px, 100% - 32px);
    margin-inline: auto;
}

@media (min-width: 900px) {
    .wrap { width: min(1280px, 100% - 80px); }
}

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

.skip {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 60;
    padding: 10px 16px;
    font-weight: 700;
    color: var(--on-primary);
    background: var(--primary);
    border-radius: 999px;
}

.skip:focus { top: 12px; }

.preview-bar {
    position: relative;
    z-index: 50;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    color: #0b0f14;
    background: #7fb2e5;
}

.block-title, .card-title, .ticket-title, .agenda-month, .plain-head-title, .empty-title, .stage-title,
.article-title, .prose h2, .author-name, .search-results strong, .pick-title {
    letter-spacing: -0.012em;
}

/* ---------- section label ---------- */
.tab {
    display: inline-flex;
    align-items: center;
    padding: 0.4em 0.65em;
    font-family: var(--text);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--on-band);
    text-decoration: none;
    white-space: nowrap;
    background: var(--band);
    border-radius: 4px;
}

a.tab:hover { filter: brightness(1.15); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 24px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    background: var(--surface-2);
    border: 0;
    border-radius: 999px;
    transition: background 0.15s, transform 0.15s;
}

.btn:hover { background: var(--raise); }

.btn-primary,
.btn-ink {
    color: var(--on-primary);
    background: var(--primary);
}

.btn-primary:hover,
.btn-ink:hover {
    background: var(--primary);
    transform: scale(1.03);
}

.on-stage .btn:not(.btn-primary) { background: rgba(255, 255, 255, 0.14); }

/* ---------- masthead: glass bar; on the home page it floats over the stage ---------- */
.masthead {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--bg) 72%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
}

:root:not([data-theme="light"]) .home-template .masthead {
    background: linear-gradient(180deg, rgba(5, 7, 10, 0.72), rgba(5, 7, 10, 0.25));
    border-bottom-color: transparent;
    --ink: #f3f6fa;
    --surface-2: rgba(255, 255, 255, 0.14);
    --raise: rgba(255, 255, 255, 0.2);
    color: var(--ink);
}

.masthead-in {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 32px;
    align-items: center;
    min-height: var(--mast-h);
}

/* the logo: simakdulu (dot) com. The circle is the full stop; "dot" sits inside it. */
.logo {
    display: inline-flex;
    align-items: center;
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.015em;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}

.logo-dot {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 1.02em;
    height: 1.02em;
    margin: 0.04em 0.07em 0;
    color: var(--on-brand);
    background: var(--brand);
    border-radius: 50%;
}

:root:not([data-theme="light"]) .home-template .masthead .logo-dot { color: #0b0f14; background: #7fb2e5; }

.logo-dot > span {
    position: relative;
    top: -0.03em;
    font-size: 0.4em;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.logo-com { font-weight: 400; }

.sections ul {
    display: flex;
    gap: 4px;
    padding: 0;
    list-style: none;
}

.sections a {
    display: block;
    padding: 8px 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    border-radius: 999px;
    transition: background 0.15s;
}

.sections a:hover { background: var(--surface-2); }

.sections a[aria-current] {
    color: var(--on-primary);
    background: var(--primary);
}

:root:not([data-theme="light"]) .home-template .sections a[aria-current] { color: #0a0d12; background: #ffffff; }

/* "Lainnya": the sections under it open in a small menu (wide screens); on phones they sit in the scrolling row */
.sections .nav-more-flat { display: none; }
.nav-more { position: relative; }
.nav-more summary {
    display: block;
    padding: 8px 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    border-radius: 999px;
    cursor: pointer;
    list-style: none;
}
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; vertical-align: 1px; }
.nav-more summary:hover, .nav-more details[open] summary { background: var(--surface-2); }
.nav-more summary[aria-current] { color: var(--on-primary); background: var(--primary); }
.nav-more ul {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 30;
    display: grid;
    gap: 2px;
    min-width: 170px;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
.nav-more ul a { border-radius: 10px; }

.tools {
    display: flex;
    gap: 4px;
    justify-self: end;
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ink);
    background: none;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.15s;
}

.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 22px; height: 22px; }

.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }

@media (max-width: 899px) {
    :root { --mast-h: 104px; }

    .masthead-in {
        grid-template-columns: minmax(0, 1fr) auto;
        align-content: center;
        padding-top: 6px;
    }

    .logo { font-size: 1.3125rem; }

    .sections {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-inline: -16px;
    }

    .sections ul {
        gap: 6px;
        padding: 4px 48px 10px 16px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
        mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
    }

    .sections ul::-webkit-scrollbar { display: none; }
    .sections a { padding: 7px 14px; font-size: 0.875rem; background: var(--surface-2); }
    .sections .nav-more-flat { display: block; }
    .sections .nav-more { display: none; }
}

/* ---------- home: the stage ---------- */
.stage {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(600px, 92vh, 880px);
    margin-top: calc(-1 * var(--mast-h));
    padding-top: var(--mast-h);
    overflow: hidden;
    background: #05070a;
}

.stage-bgs { position: absolute; inset: 0; z-index: -2; }

.stage-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.55s ease, transform 7s ease-out;
}

.stage-bg.is-on { opacity: 1; transform: scale(1); }

.stage-bg-none {
    background:
        radial-gradient(60% 70% at 70% 40%, color-mix(in srgb, var(--glow) 45%, transparent), transparent 70%),
        #0a0d12;
}

/* shade for the text: from the left and from the bottom, into the page */
.stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(5, 7, 10, 0.9) 0%, rgba(5, 7, 10, 0.55) 40%, rgba(5, 7, 10, 0) 72%),
        linear-gradient(0deg, #0a0d12 0%, rgba(10, 13, 18, 0.85) 22%, rgba(10, 13, 18, 0) 55%);
}

.stage-in {
    display: grid;
    gap: 28px;
    padding-bottom: 36px;
}

.stage-info {
    display: grid;
    gap: 14px;
    justify-items: start;
    max-width: 760px;
}

.stage-info.is-on { animation: stage-in 0.45s ease-out both; }

@keyframes stage-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.stage-title {
    font-family: var(--display);
    font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    text-wrap: balance;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.stage-title a { text-decoration: none; }
.stage-title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

.stage-dek {
    max-width: 56ch;
    font-size: 1.0625rem;
    line-height: 1.5;
    color: var(--ink-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stage-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
}

.stage-info .btn { margin-top: 4px; }

/* the tile row */
.stage-row {
    display: grid;
    grid-auto-columns: clamp(150px, 15vw, 210px);
    grid-auto-flow: column;
    gap: 16px;
    margin: 0 -16px;
    padding: 16px 16px 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    list-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
}

.stage-row::-webkit-scrollbar { display: none; }

.tile { scroll-snap-align: start; }

.tile-link {
    display: grid;
    gap: 10px;
    text-decoration: none;
    outline: none;
}

.tile-img {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: color-mix(in srgb, var(--glow) 30%, #121821);
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
    transform-origin: 50% 100%;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, filter 0.2s;
    filter: brightness(0.72) saturate(0.9);
}

.tile-img img { width: 100%; height: 100%; object-fit: cover; }

.tile-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--muted);
    transition: color 0.2s;
}

.tile.is-on .tile-img {
    filter: none;
    transform: scale(1.1);
    box-shadow: 0 0 0 2px #ffffff, 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 34px color-mix(in srgb, var(--glow) 55%, transparent);
}

.tile.is-on .tile-title { color: var(--ink); }
.tile-link:focus-visible .tile-img { box-shadow: 0 0 0 3px var(--focus), 0 0 34px color-mix(in srgb, var(--glow) 55%, transparent); }

@media (max-width: 899px) {
    .stage { min-height: clamp(560px, 88svh, 760px); }
    .stage::before {
        background: linear-gradient(0deg, #0a0d12 0%, rgba(10, 13, 18, 0.9) 38%, rgba(10, 13, 18, 0.25) 70%, rgba(10, 13, 18, 0.1) 100%);
    }
    .stage-in { gap: 18px; padding-bottom: 24px; }
    .stage-title { font-size: clamp(1.75rem, 1.3rem + 2.4vw, 2.5rem); }
    .stage-row { grid-auto-columns: 42vw; gap: 12px; }
    .stage-info .btn { display: none; }
}

/* ---------- blocks ---------- */
.block { padding-top: 56px; }

.block-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 22px;
}

.block-title {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.more {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--link);
    text-decoration: none;
}

.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- cards: console tiles ---------- */
.feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 34px 22px;
}

.rail {
    display: grid;
    grid-auto-columns: minmax(240px, 290px);
    grid-auto-flow: column;
    gap: 22px;
    margin: 0 -16px;
    padding: 6px 16px 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
}

.rail > .card { scroll-snap-align: start; }

.card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface);
    border-radius: var(--radius);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-link:hover .card-img,
.card-link:focus-visible .card-img {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 0 2px var(--ink), var(--shadow);
}

.card-link:focus-visible { outline: none; }

.card-text { position: relative; padding-top: 12px; }
.card-text > .tab { margin-bottom: 8px; }

.card-title {
    margin-bottom: 6px;
    font-family: var(--display);
    font-size: 1.1875rem;
    font-weight: 750;
    line-height: 1.22;
    text-wrap: balance;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted);
}

.card-when { font-weight: 700; color: var(--ink-2); }

.card-dek {
    max-width: 62ch;
    margin-bottom: 12px;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--ink-2);
}

.no-img .card-text {
    padding: 16px 18px;
    background: var(--surface);
    border-radius: var(--radius);
}

/* row: small square photo on the right (agenda leftovers, phones) */
.card-row .card-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 16px;
    align-items: start;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.card-row .card-img { grid-row: 1; grid-column: 2; aspect-ratio: 1; border-radius: 10px; }
.card-row .card-text { grid-row: 1; grid-column: 1; padding-top: 0; }
.card-row .card-title { font-size: 1.0625rem; line-height: 1.25; }
.card-row .card-link:hover .card-img { transform: none; box-shadow: none; }

@media (max-width: 639px) {
    .feed { gap: 0; }
    .feed > .card:first-child { padding-bottom: 18px; }

    .feed > .card + .card .card-link {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 96px;
        gap: 14px;
        align-items: start;
        padding: 14px 0;
        border-top: 1px solid var(--line);
    }

    .feed > .card + .card .card-img { grid-row: 1; grid-column: 2; aspect-ratio: 1; border-radius: 10px; }
    .feed > .card + .card .card-text { grid-row: 1; grid-column: 1; padding-top: 0; }
    .feed > .card + .card .tab { font-size: 0.6875rem; }
    .feed > .card + .card .card-title { font-size: 1.0625rem; line-height: 1.25; }
    .feed > .card + .card.no-img .card-text { padding: 0; background: none; }
    .feed > .card + .card .card-link:hover .card-img { transform: none; box-shadow: none; }
    .rail { grid-auto-columns: 74vw; }
}

/* ---------- agenda: ticket stubs ---------- */
.strip {
    display: grid;
    grid-auto-columns: minmax(280px, 340px);
    grid-auto-flow: column;
    gap: 16px;
    margin: 0 -16px;
    padding: 4px 16px 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    list-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
}

.strip > li { scroll-snap-align: start; }
.strip .ticket { height: 100%; }

.ticket-link {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    height: 100%;
    min-height: 116px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: var(--surface);
    border-radius: var(--radius);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.ticket-link:hover,
.ticket-link:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 0 0 2px var(--glow), 0 0 26px color-mix(in srgb, var(--glow) 35%, transparent);
}

.ticket-stub {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    font-family: var(--display);
    line-height: 1;
    color: var(--on-band);
    background: var(--band);
}

.ticket-mon { font-size: 0.8125rem; font-weight: 700; }
.ticket-day { margin: 3px 0 4px; font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; }
.ticket-dow { font-size: 0.8125rem; font-weight: 600; }

.ticket-body {
    position: relative;
    padding: 14px 16px 14px 18px;
    border-left: 2px dashed var(--line);
}

/* the punched holes where the stub tears off */
.ticket-body::before,
.ticket-body::after {
    content: "";
    position: absolute;
    left: -9px;
    width: 16px;
    height: 16px;
    background: var(--behind);
    border-radius: 50%;
}

.ticket-body::before { top: -8px; }
.ticket-body::after { bottom: -8px; }

.ticket-title {
    margin-bottom: 6px;
    font-family: var(--display);
    font-size: 1.0625rem;
    font-weight: 750;
    line-height: 1.25;
    text-wrap: balance;
}

.ticket-facts {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: 0.875rem;
    color: var(--muted);
}

.ticket-facts span:first-of-type:not(.sr-only) { color: var(--ink-2); font-weight: 600; }

.ticket.is-past .ticket-stub { color: var(--muted); background: var(--surface-2); }

.agenda-list {
    display: grid;
    gap: 14px;
    max-width: 820px;
}

.agenda-month {
    margin-top: 24px;
    font-family: var(--display);
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.1;
}

.agenda-month:first-child { margin-top: 0; }

/* ---------- home: "Pilih kanal" roster ---------- */
.roster-list {
    display: flex;
    gap: 12px;
    margin: 0 -16px 18px;
    padding: 8px 16px 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.roster-list::-webkit-scrollbar { display: none; }

.roster-tile {
    position: relative;
    flex: none;
    display: grid;
    width: clamp(92px, 9vw, 124px);
    aspect-ratio: 3 / 4;
    padding: 0;
    overflow: hidden;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    background: color-mix(in srgb, var(--glow) 28%, #121821);
    border: 0;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.roster-tile-img { grid-area: 1 / 1; }

.roster-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.6) brightness(0.6);
    transition: filter 0.2s;
}

.roster-tile::after {
    content: "";
    grid-area: 1 / 1;
    background: linear-gradient(0deg, color-mix(in srgb, var(--band) 85%, transparent) 0%, transparent 60%);
}

.roster-tile-name {
    z-index: 1;
    grid-area: 1 / 1;
    align-self: end;
    padding: 0 10px 9px;
    font-family: var(--display);
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.05;
}

.roster-tile:hover { transform: translateY(-3px); }
.roster-tile:hover .roster-tile-img img { filter: none; }

.roster-tile[aria-selected="true"] {
    transform: translateY(-5px);
    box-shadow: 0 0 0 2px var(--glow), 0 0 28px color-mix(in srgb, var(--glow) 50%, transparent);
}

.roster-tile[aria-selected="true"] .roster-tile-img img { filter: none; }

.roster-panels { display: grid; gap: 16px; }

.roster-panel {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 460px;
    overflow: hidden;
    background:
        radial-gradient(70% 90% at 78% 40%, color-mix(in srgb, var(--glow) 38%, transparent), transparent 70%),
        #0d1117;
    border-radius: 18px;
}

.roster-art {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: -1;
    width: 62%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}

.roster-info {
    display: grid;
    align-content: end;
    gap: 16px;
    justify-items: start;
    padding: clamp(24px, 4vw, 44px);
}

.roster-name {
    font-family: var(--display);
    font-size: clamp(3.5rem, 1.6rem + 7vw, 8rem);
    font-stretch: 75%;
    font-weight: 900;
    line-height: 0.86;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 0 40px color-mix(in srgb, var(--glow) 55%, transparent);
}

.roster-desc { max-width: 46ch; font-size: 1rem; color: var(--ink-2); }

.roster-picks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 720px);
    padding: 0;
    list-style: none;
}

.pick {
    display: grid;
    align-content: start;
    gap: 8px;
    height: 100%;
    padding: 8px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background 0.15s, box-shadow 0.15s;
}

.pick:hover { background: rgba(255, 255, 255, 0.13); box-shadow: 0 0 0 1px var(--glow); }

.pick-img {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.pick-img img { width: 100%; height: 100%; object-fit: cover; }
.pick-img:empty { background: color-mix(in srgb, var(--glow) 22%, transparent); }

.pick-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 2px 2px;
    font-family: var(--display);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.28;
}

.js .roster-panel:not(.is-on) { display: none; }
.roster-panel.is-on .roster-name { animation: name-in 0.4s ease-out both; }
.roster-panel.is-on .roster-art { animation: art-in 0.6s ease-out both; }

@keyframes name-in {
    from { opacity: 0; transform: translateX(-18px); }
    to { opacity: 1; transform: none; }
}

@keyframes art-in {
    from { opacity: 0; transform: scale(1.04); }
    to { opacity: 0.75; transform: none; }
}

@media (max-width: 760px) {
    .roster-panel { min-height: 0; }
    .roster-art {
        inset: 0;
        width: 100%;
        height: 56%;
        -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 60%);
        mask-image: linear-gradient(0deg, transparent 0%, #000 60%);
    }
    .roster-info { padding-top: 150px; }
    .roster-picks { grid-template-columns: minmax(0, 1fr); }
    .pick { grid-template-columns: 96px minmax(0, 1fr); align-items: center; }
}

/* ---------- section page: the selected section's hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: calc(-1 * var(--mast-h));
    padding-top: calc(var(--mast-h) + clamp(48px, 9vw, 120px));
    background:
        radial-gradient(60% 90% at 80% 30%, color-mix(in srgb, var(--glow) 40%, transparent), transparent 70%),
        #0a0d12;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 50%;
    background: linear-gradient(0deg, #0a0d12, transparent);
}

.hero-art {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: -2;
    width: 64%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}

.hero-in { display: grid; gap: 14px; }

.hero-name {
    font-family: var(--display);
    font-size: clamp(4rem, 1.8rem + 9vw, 10rem);
    font-stretch: 75%;
    font-weight: 900;
    line-height: 0.84;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 0 50px color-mix(in srgb, var(--glow) 60%, transparent);
    animation: name-in 0.45s ease-out both;
}

.hero-intro { max-width: 56ch; font-size: 1.0625rem; color: var(--ink-2); }

.switcher { margin-top: 32px; padding-bottom: 22px; }

.switcher ul {
    display: flex;
    gap: 8px;
    margin: 0 -16px;
    padding: 4px 16px;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
}

.switcher ul::-webkit-scrollbar { display: none; }

.switch {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 14px 8px 12px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink-2);
    text-decoration: none;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
}

.switch::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--glow);
    border-radius: 50%;
}

.switch:hover { color: #ffffff; background: rgba(255, 255, 255, 0.13); }

.switch[aria-current] {
    color: #0a0d12;
    background: #ffffff;
    box-shadow: 0 0 22px color-mix(in srgb, var(--glow) 50%, transparent);
}

/* plain page heads (writers, topics, search, all stories) */
.plain-head {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: clamp(32px, 5vw, 56px) 0 8px;
}

.plain-head-photo {
    flex: none;
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
}

.plain-head-kicker { font-size: 0.9375rem; font-weight: 600; color: var(--muted); }

.plain-head-title {
    font-family: var(--display);
    font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.plain-head-intro { max-width: 60ch; margin-top: 10px; font-size: 1.0625rem; color: var(--ink-2); }
.plain-head-intro a { color: var(--link); }

.archive { padding-top: 32px; }

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 44px 0 0;
}

.empty { padding: 56px 0 24px; color: var(--ink-2); }
.empty a { font-weight: 600; color: var(--link); }

.empty-title {
    margin-bottom: 8px;
    font-family: var(--display);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ink);
}

/* ---------- article: the opening ---------- */
.article-top {
    position: relative;
    isolation: isolate;
    display: grid;
    margin-top: calc(-1 * var(--mast-h));
    padding-top: var(--mast-h);
    background:
        radial-gradient(60% 100% at 75% 20%, color-mix(in srgb, var(--glow) 32%, transparent), transparent 70%),
        #0a0d12;
}

.article-top:not(.has-img) .article-head { padding: clamp(40px, 7vw, 96px) 0 40px; }

.article-top.has-img {
    grid-template-rows: minmax(0, 1fr) auto;
    padding-top: 0;
}

.article-top .article-hero { display: contents; }

.article-top.has-img img {
    grid-area: 1 / 1;
    width: 100%;
    height: clamp(460px, 78vh, 780px);
    object-fit: cover;
}

.article-top.has-img::after {
    content: "";
    grid-area: 1 / 1;
    background:
        linear-gradient(0deg, #0a0d12 0%, rgba(10, 13, 18, 0.88) 26%, rgba(10, 13, 18, 0.2) 62%, rgba(10, 13, 18, 0.45) 100%);
    pointer-events: none;
}

.article-top.has-img .article-head {
    z-index: 1;
    grid-area: 1 / 1;
    align-self: end;
    padding-bottom: 30px;
}

.article-top figcaption {
    grid-row: 2;
    width: min(var(--measure), 100% - 32px);
    margin: 0 auto;
    padding-top: 2px;
}

.article-head,
.article-foot,
.event-ticket {
    width: min(var(--measure), 100% - 32px);
    margin-inline: auto;
}

.article-title {
    margin-top: 14px;
    font-family: var(--display);
    font-size: clamp(2.125rem, 1.3rem + 3vw, 3.5rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.025em;
    text-wrap: balance;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.is-page .article-title { margin-top: 0; }

.article-dek {
    margin-top: 16px;
    font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem);
    line-height: 1.5;
    color: var(--ink-2);
    text-wrap: pretty;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 14px;
    font-size: 0.9375rem;
    border-top: 1px solid var(--line);
}

.article-by { display: flex; gap: 10px; align-items: center; font-weight: 600; }

/* the writer's photo (set in the editor under "Nama penulis"), or their initial on the brand colour */
.by-pic {
    flex: none;
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14);
}

.by-initial {
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 800;
    color: #0a0d12;
    background: var(--brand);
}
.article-by a { font-weight: 750; color: var(--link); text-decoration: none; }
.article-by a:hover { text-decoration: underline; }

.article-when {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
    color: var(--muted);
}

figcaption {
    margin-top: 10px;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--muted);
}

.sd-credit { font-size: 0.8125rem; }
.sd-credit::before { content: "Foto: "; }

.event-ticket {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    margin-top: 32px;
    overflow: hidden;
    background: var(--surface);
    border-radius: var(--radius);
}

.event-ticket .ticket-day { font-size: 2.5rem; }

.event-facts {
    display: grid;
    gap: 10px;
    padding: 16px 20px;
    border-left: 2px dashed var(--line);
}

.event-facts dt { font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.event-facts dd { font-weight: 600; }
.event-facts a { color: var(--link); overflow-wrap: anywhere; }

/* ---------- the reading column; wide and full photos break out of it ---------- */
.prose {
    display: grid;
    grid-template-columns:
        [full-start] minmax(16px, 1fr)
        [wide-start] minmax(0, 200px)
        [main-start] min(var(--measure), 100% - 32px)
        [main-end] minmax(0, 200px)
        [wide-end] minmax(16px, 1fr)
        [full-end];
    margin-top: 36px;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75;
    color: var(--prose);
    overflow-wrap: break-word;
}

:root[data-theme="light"] .prose { font-weight: 430; }

.prose > * { grid-column: main; }
.prose > * + * { margin-top: 1.3em; }
.prose > .kg-width-wide { grid-column: wide; }
.prose > .kg-width-full { grid-column: full; }
.prose > .kg-card { margin-top: 1.8em; margin-bottom: 0.5em; }

.prose p { text-wrap: pretty; }

.prose h2 {
    margin-top: 1.7em;
    font-family: var(--display);
    font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--ink);
    text-wrap: balance;
}

.prose h3 { margin-top: 1.5em; font-size: 1.3125rem; font-weight: 750; line-height: 1.3; color: var(--ink); }
.prose h4 { margin-top: 1.4em; font-size: 1.125rem; font-weight: 750; line-height: 1.35; color: var(--ink); }

.prose h2 + *,
.prose h3 + *,
.prose h4 + * { margin-top: 0.6em; }

.prose a {
    font-weight: 600;
    color: var(--link);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--link) 45%, transparent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.prose a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }

.prose strong, .prose b { font-weight: 750; color: var(--ink); }

.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.45em; }
.prose li > ul, .prose li > ol { margin-top: 0.45em; }
.prose li::marker { font-weight: 700; color: var(--glow); }

.prose blockquote {
    padding: 4px 0 4px 22px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--ink);
    border-left: 3px solid var(--glow);
}

.prose blockquote cite {
    display: block;
    margin-top: 8px;
    font-size: 0.9375rem;
    font-style: normal;
    font-weight: 500;
    color: var(--muted);
}

.prose hr {
    justify-self: start;
    width: 64px;
    height: 3px;
    margin-block: 2.2em 0.8em;
    background: var(--line);
    border: 0;
}

.prose small { font-size: 0.85em; color: var(--muted); }
.prose .sd-center { text-align: center; }

.prose mark { padding: 0 2px; color: #151a21; border-radius: 2px; }
.prose .sd-mark-kuning { background: #ffe066; }
.prose .sd-mark-oranye { background: #ffc58a; }
.prose .sd-mark-hijau { background: #b8ebc4; }

.prose .sd-kotak {
    padding: 18px 22px;
    font-size: 1.0625rem;
    background: var(--surface);
    border-left: 3px solid var(--glow);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.prose .sd-kotak > * + * { margin-top: 0.7em; }

.prose .sd-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.prose .sd-table table {
    width: 100%;
    min-width: 480px;
    font-size: 0.9375rem;
    line-height: 1.45;
    border-collapse: collapse;
}

.prose .sd-table th,
.prose .sd-table td {
    padding: 9px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.prose .sd-table th { font-weight: 750; color: var(--ink); border-bottom: 1px solid var(--muted); }
.prose .sd-table p + p { margin-top: 0.4em; }

/* photos */
.prose .kg-image-card img { width: 100%; border-radius: 8px; }
.prose .kg-width-wide img { width: 100%; }
.prose .kg-width-full img { width: 100%; border-radius: 0; }
.prose .sd-img-small { justify-self: center; width: min(100%, 360px); }
.prose .kg-width-wide figcaption,
.prose .kg-width-full figcaption { width: min(var(--measure), 100% - 32px); margin-inline: auto; }

.can-zoom { cursor: zoom-in; }

.kg-gallery-container { display: flex; flex-direction: column; gap: 6px; }
.kg-gallery-row { display: flex; gap: 6px; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }

@media (max-width: 600px) {
    .kg-gallery-row { flex-wrap: wrap; }
    .kg-gallery-image { flex: 1 1 45% !important; }
}

/* embeds (YouTube, Instagram, TikTok, X, Spotify, Vimeo) */
.sd-embed iframe { width: 100%; background: var(--surface); border: 0; border-radius: 8px; }
.sd-embed-16x9 iframe { aspect-ratio: 16 / 9; height: auto; }
.sd-embed-insta iframe { max-width: 540px; height: 720px; margin-inline: auto; }
.sd-embed-tiktok iframe { max-width: 340px; height: 760px; margin-inline: auto; }
.sd-embed-tweet iframe { max-width: 550px; height: 600px; margin-inline: auto; }
.sd-embed-reddit iframe { max-width: 640px; height: 520px; margin-inline: auto; }
.sd-embed-spotify iframe { height: 352px; border-radius: 12px; }

/* end of the article */
.article-foot { margin-top: 48px; }
.article-foot > * + * { margin-top: 24px; }

.note { font-size: 0.9375rem; color: var(--muted); }
.note a { font-weight: 600; color: var(--link); }

.topics { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }

.topics a {
    display: inline-block;
    padding: 7px 14px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    background: var(--surface);
    border-radius: 999px;
}

.topics a:hover { background: var(--surface-2); }

.share { padding: 20px 22px; background: var(--surface); border-radius: var(--radius); }
.share-title { margin-bottom: 12px; font-size: 1rem; font-weight: 750; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }

.share-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 18px;
    font-size: 0.9375rem;
    font-weight: 650;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    background: var(--surface-2);
    border: 0;
    border-radius: 999px;
}

.share-btn:hover { background: var(--raise); }
.share-wa { color: #0d2615; background: var(--wa); }
.share-wa:hover { background: var(--wa); filter: brightness(1.06); }

.author {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
}

.author-photo { flex: none; width: 52px; height: 52px; object-fit: cover; border-radius: 50%; }
.author-name { font-family: var(--display); font-size: 1.0625rem; font-weight: 800; line-height: 1.2; }
.author-name a { text-decoration: none; }
.author-name a:hover { text-decoration: underline; }
.author-bio { margin-top: 4px; font-size: 0.9375rem; color: var(--ink-2); }

/* phones: WhatsApp first, fixed at the bottom while reading */
.sharebar {
    position: fixed;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 30;
    display: flex;
    gap: 8px;
    transition: transform 0.2s ease-out, opacity 0.2s;
}

.sharebar.is-hidden { opacity: 0; pointer-events: none; transform: translateY(130%); }

.sharebar-wa {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    font-weight: 750;
    color: #0d2615;
    text-decoration: none;
    background: var(--wa);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.sharebar-more {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    color: var(--on-primary);
    cursor: pointer;
    background: var(--primary);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.sharebar-more.is-done { color: var(--on-brand); background: var(--brand); }

@media (max-width: 899px) {
    .post-template .footer { padding-bottom: 92px; }
}

@media (min-width: 900px) {
    .sharebar { display: none; }
}

/* photo viewer */
.zoom {
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    padding: 0;
    margin: 0;
    color: #ffffff;
    background: rgba(5, 7, 10, 0.97);
    border: 0;
}

.zoom::backdrop { background: rgba(5, 7, 10, 0.6); }

.zoom[open] {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
}

.zoom-fig { display: grid; gap: 10px; justify-items: center; max-height: 100%; padding: 56px 0 24px; }
.zoom-fig img { max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; }
.zoom-fig figcaption { max-width: 680px; padding: 0 8px; text-align: center; color: #cfd6e0; }

.zoom-close,
.zoom-nav {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: #ffffff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.12);
    border: 0;
    border-radius: 50%;
}

.zoom-close { position: absolute; top: 12px; right: 12px; z-index: 1; }
.zoom-close svg, .zoom-nav svg { width: 22px; height: 22px; }
.zoom-prev svg { transform: scaleX(-1); }
.zoom-nav { justify-self: center; }
.zoom.is-single .zoom-nav { visibility: hidden; }

/* ---------- search ---------- */
.search { max-width: 760px; }
.search-form { display: flex; gap: 8px; }

.search-form input {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 20px;
    font-size: 1.0625rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.search-form input:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.search-form .btn { min-height: 52px; }
.search-status { margin-top: 16px; color: var(--muted); }
.search-results { margin-top: 8px; padding: 0; list-style: none; }

.search-results a {
    display: grid;
    gap: 4px;
    padding: 16px 0;
    text-decoration: none;
    border-top: 1px solid var(--line);
}

.search-results strong { font-family: var(--display); font-size: 1.125rem; font-weight: 750; line-height: 1.25; }
.search-results a:hover strong { text-decoration: underline; }
.search-meta { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.search-excerpt { font-size: 0.9375rem; color: var(--ink-2); }

/* ---------- footer ---------- */
.footer {
    margin-top: 80px;
    padding: 48px 0 32px;
    color: var(--footer-muted);
    background: var(--footer-bg);
}

.footer a { color: var(--footer-ink); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.footer-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }

@media (min-width: 900px) {
    .footer-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}

.logo-footer { margin-bottom: 16px; font-size: 1.75rem; color: var(--footer-ink); --brand: #7fb2e5; --on-brand: #0b0f14; }
.footer-about { max-width: 46ch; font-size: 0.9375rem; }
.footer-about p + p { margin-top: 10px; }

.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.footer-links ul { display: grid; gap: 8px; padding: 0; list-style: none; }
.footer-links a { font-size: 0.9375rem; font-weight: 600; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social { display: flex; gap: 4px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.social a:hover { background: rgba(255, 255, 255, 0.1); }
.social svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .stage-bg { transform: none; }
}
