/* Ploppbox v0.20.0 — Signal Cathedral public architecture page */
.cathedral-page {
    min-width: 320px;
    overflow-x: hidden;
}

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

.cathedral-header__cta {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid rgba(106, 228, 255, 0.2);
    border-radius: 999px;
    color: #dffaff;
    background: linear-gradient(135deg, rgba(50, 185, 255, 0.12), rgba(154, 91, 255, 0.12));
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.cathedral-header__cta:hover {
    transform: translateY(-1px);
    border-color: rgba(106, 228, 255, 0.42);
    box-shadow: 0 12px 30px rgba(34, 151, 255, 0.12);
}

.cathedral-shell {
    width: min(1680px, calc(100% - 40px));
    margin: 0 auto;
}

.cathedral-kicker {
    margin: 0;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.cathedral-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(610px, 76vh, 860px);
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(480px, 0.96fr);
    align-items: center;
    gap: clamp(40px, 7vw, 120px);
    overflow: hidden;
    padding: clamp(56px, 8vw, 126px) clamp(28px, 6vw, 100px);
    border: 1px solid rgba(195, 215, 255, 0.12);
    border-radius: 36px;
    background:
        radial-gradient(circle at 78% 42%, rgba(91, 111, 255, 0.2), transparent 34%),
        radial-gradient(circle at 90% 66%, rgba(255, 77, 215, 0.12), transparent 30%),
        linear-gradient(145deg, rgba(16, 21, 39, 0.97), rgba(5, 7, 14, 0.99));
    box-shadow: 0 42px 110px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.025);
}

.cathedral-hero::before,
.cathedral-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.cathedral-hero::before {
    inset: 0;
    background-image:
        linear-gradient(rgba(162, 194, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(162, 194, 255, 0.023) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 78% 48%, #000, transparent 72%);
}

.cathedral-hero::after {
    width: 520px;
    height: 520px;
    right: 8%;
    top: 50%;
    border: 1px solid rgba(119, 211, 255, 0.09);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 72px rgba(106, 228, 255, 0.018), 0 0 0 150px rgba(154, 118, 255, 0.015);
}

.cathedral-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 810px;
}

.cathedral-hero h1 {
    max-width: 12ch;
    margin: 24px 0 26px;
    color: #f7f9ff;
    font-size: clamp(3.3rem, 6.4vw, 7.4rem);
    line-height: 0.92;
    letter-spacing: -0.065em;
}

.cathedral-hero h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(92deg, #72e8ff 0%, #9c85ff 48%, #ff78d8 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.cathedral-hero__lead {
    max-width: 66ch;
    margin: 0;
    color: #aeb9d5;
    font-size: clamp(1rem, 1.35vw, 1.3rem);
    line-height: 1.78;
}

.cathedral-hero__actions,
.cathedral-final > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.cathedral-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid rgba(189, 207, 255, 0.14);
    border-radius: 15px;
    color: #d2daef;
    background: rgba(255, 255, 255, 0.035);
    text-decoration: none;
    font-size: 0.77rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.cathedral-button:hover {
    transform: translateY(-2px);
    border-color: rgba(106, 228, 255, 0.32);
    background: rgba(106, 228, 255, 0.06);
}

.cathedral-button--primary {
    border-color: rgba(106, 228, 255, 0.38);
    color: #06101b;
    background: linear-gradient(105deg, #71eaff, #9f8cff 54%, #f17ace);
    box-shadow: 0 14px 34px rgba(87, 151, 255, 0.17);
}

.cathedral-button--primary:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: linear-gradient(105deg, #8beeff, #ad9aff 54%, #fb8add);
    box-shadow: 0 18px 42px rgba(105, 126, 255, 0.24);
}

.cathedral-hero__micro {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 28px;
    color: #687795;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.cathedral-hero__micro i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.cathedral-reactor {
    position: relative;
    z-index: 1;
    justify-self: center;
    width: min(100%, 620px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.cathedral-reactor__core {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    width: 220px;
    aspect-ratio: 1;
    border: 1px solid rgba(112, 226, 255, 0.46);
    border-radius: 42px;
    background:
        radial-gradient(circle at 50% 30%, rgba(106, 228, 255, 0.18), transparent 45%),
        linear-gradient(145deg, rgba(12, 25, 45, 0.96), rgba(28, 14, 50, 0.92));
    box-shadow: inset 0 0 46px rgba(69, 188, 255, 0.09), 0 0 54px rgba(91, 107, 255, 0.2), 0 0 100px rgba(242, 79, 218, 0.08);
    transform: rotate(45deg);
}

.cathedral-reactor__core > * {
    transform: rotate(-45deg);
}

.cathedral-reactor__core span,
.cathedral-reactor__core small {
    color: #7f91b4;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cathedral-reactor__core strong {
    margin: 5px 0;
    color: #fff;
    font-size: 4rem;
    line-height: 1;
    letter-spacing: -0.08em;
    text-shadow: 0 0 28px rgba(106, 228, 255, 0.24);
}

.cathedral-reactor__orbit {
    position: absolute;
    border: 1px solid rgba(119, 164, 255, 0.16);
    border-radius: 50%;
    animation: cathedral-spin 22s linear infinite;
}

.cathedral-reactor__orbit::before,
.cathedral-reactor__orbit::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 18px var(--accent);
}

.cathedral-reactor__orbit::before { top: 15%; left: 13%; }
.cathedral-reactor__orbit::after { right: 11%; bottom: 21%; background: var(--accent-3); box-shadow: 0 0 18px var(--accent-3); }
.cathedral-reactor__orbit--one { inset: 10%; }
.cathedral-reactor__orbit--two { inset: 2%; animation-duration: 34s; animation-direction: reverse; border-style: dashed; }

.cathedral-reactor__wave {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(3px, 0.55vw, 7px);
    pointer-events: none;
}

.cathedral-reactor__wave i {
    width: clamp(2px, 0.25vw, 4px);
    height: var(--wave, 80px);
    min-height: 26px;
    border-radius: 999px;
    background: linear-gradient(180deg, #64e7ff, #8d72ff 50%, #ff6bd5);
    box-shadow: 0 0 12px rgba(107, 161, 255, 0.28);
    opacity: 0.82;
    animation: cathedral-pulse 2.8s ease-in-out infinite alternate;
    animation-delay: calc(var(--bar) * -45ms);
}

.cathedral-reactor > p {
    position: absolute;
    bottom: 6%;
    margin: 0;
    color: #71809f;
    font-family: var(--font-mono);
    font-size: 0.57rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cathedral-stats {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: -42px clamp(22px, 4vw, 72px) 0;
    overflow: hidden;
    border: 1px solid rgba(195, 215, 255, 0.15);
    border-radius: 24px;
    background: rgba(9, 12, 23, 0.88);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(22px) saturate(135%);
}

.cathedral-stats article {
    position: relative;
    min-width: 0;
    padding: 24px clamp(18px, 2.5vw, 36px);
    border-right: 1px solid rgba(195, 215, 255, 0.08);
}

.cathedral-stats article:last-child { border-right: 0; }
.cathedral-stats small,
.cathedral-stats strong,
.cathedral-stats p { display: block; }
.cathedral-stats small { color: #7c8baa; font-family: var(--font-mono); font-size: 0.57rem; letter-spacing: 0.14em; text-transform: uppercase; }
.cathedral-stats strong { margin-top: 8px; color: #f3f7ff; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; letter-spacing: -0.045em; }
.cathedral-stats p { margin: 8px 0 0; color: #65728f; font-size: 0.7rem; }
.cathedral-stats__signal { position: absolute; top: 18px; right: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }

.cathedral-section {
    padding: clamp(88px, 11vw, 168px) 0 0;
    scroll-margin-top: 118px;
}

.cathedral-section__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
    align-items: end;
    gap: clamp(34px, 8vw, 140px);
    margin-bottom: clamp(34px, 5vw, 72px);
}

.cathedral-section__heading h2,
.cathedral-final h2 {
    max-width: 14ch;
    margin: 15px 0 0;
    color: #f0f4ff;
    font-size: clamp(2.4rem, 4.7vw, 5.7rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.cathedral-section__heading > p {
    max-width: 58ch;
    margin: 0 0 4px;
    color: #8f9bb9;
    font-size: 0.98rem;
    line-height: 1.78;
}

.cathedral-engine-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.cathedral-engine-card {
    position: relative;
    isolation: isolate;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 25px;
    border: 1px solid rgba(191, 210, 255, 0.1);
    border-radius: 23px;
    background:
        radial-gradient(circle at 90% 12%, rgba(101, 217, 255, 0.08), transparent 30%),
        linear-gradient(145deg, rgba(17, 22, 38, 0.94), rgba(8, 10, 19, 0.96));
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.cathedral-engine-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
    opacity: 0.45;
}

.cathedral-engine-card:hover {
    transform: translateY(-5px);
    border-color: rgba(106, 228, 255, 0.23);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3);
}

.cathedral-engine-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cathedral-engine-card__code {
    display: grid;
    place-items: center;
    min-width: 54px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(107, 216, 255, 0.22);
    border-radius: 13px;
    color: #82ebff;
    background: linear-gradient(145deg, rgba(76, 198, 255, 0.1), rgba(147, 90, 255, 0.09));
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.cathedral-engine-card__number { color: #4e5b77; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; }
.cathedral-engine-card__label { margin: 28px 0 0; color: #71809e; font-family: var(--font-mono); font-size: 0.57rem; letter-spacing: 0.12em; text-transform: uppercase; }
.cathedral-engine-card h3 { margin: 9px 0 0; color: #eaf0ff; font-size: 1.26rem; line-height: 1.22; }
.cathedral-engine-card > p:not(.cathedral-engine-card__label) { margin: 14px 0 0; color: #8794b1; font-size: 0.8rem; line-height: 1.68; }
.cathedral-engine-card__meta { display: flex; gap: 18px; margin-top: auto; padding-top: 24px; }
.cathedral-engine-card__meta span { color: #6c7997; font-family: var(--font-mono); font-size: 0.56rem; text-transform: uppercase; }
.cathedral-engine-card__meta strong { display: block; margin-bottom: 2px; color: #cad5ed; font-size: 0.77rem; }
.cathedral-engine-card > small { margin-top: 18px; color: #56637e; font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.04em; }

.cathedral-format-console {
    position: sticky;
    top: 102px;
    z-index: 15;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid rgba(195, 215, 255, 0.12);
    border-radius: 20px;
    background: rgba(8, 11, 20, 0.88);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(130%);
}

.cathedral-format-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(191, 211, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.cathedral-format-search span { color: var(--accent); font-size: 1.2rem; }
.cathedral-format-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: #e8eeff; background: transparent; font-size: 0.8rem; }
.cathedral-format-search input::placeholder { color: #5d6984; }

.cathedral-format-filters {
    display: flex;
    gap: 5px;
    padding: 4px;
    border: 1px solid rgba(191, 211, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.018);
}

.cathedral-format-filters button {
    min-height: 34px;
    padding: 6px 11px;
    border: 0;
    border-radius: 10px;
    color: #7e8ba7;
    background: transparent;
    cursor: pointer;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cathedral-format-filters button[aria-pressed="true"] { color: #06101b; background: linear-gradient(105deg, #70e8ff, #a38dff); box-shadow: 0 8px 22px rgba(71, 163, 255, 0.15); }
.cathedral-format-result { margin: 0; color: #65728d; font-family: var(--font-mono); font-size: 0.58rem; white-space: nowrap; }
.cathedral-format-result strong { color: #d3dcf1; }

.cathedral-format-groups { display: grid; gap: 14px; }
.cathedral-format-group { overflow: hidden; border: 1px solid rgba(191, 211, 255, 0.09); border-radius: 22px; background: rgba(11, 14, 25, 0.62); }
.cathedral-format-group[hidden] { display: none; }
.cathedral-format-group > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; padding: 16px 20px; border-bottom: 1px solid rgba(191, 211, 255, 0.07); background: linear-gradient(90deg, rgba(72, 198, 255, 0.035), rgba(158, 87, 255, 0.025)); }
.cathedral-format-group > header p { margin: 0; color: #9babca; font-family: var(--font-mono); font-size: 0.61rem; font-weight: 800; letter-spacing: 0.15em; }
.cathedral-format-group > header span { display: block; margin-top: 4px; color: #56637e; font-family: var(--font-mono); font-size: 0.54rem; }
.cathedral-format-group > header > strong { color: #9eb0d0; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; white-space: nowrap; }
.cathedral-format-group > header > strong small { color: #52607b; font-size: 0.5rem; font-weight: 500; text-transform: uppercase; }

.cathedral-format-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cathedral-format-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; min-height: 76px; padding: 12px 15px; border-right: 1px solid rgba(191, 211, 255, 0.055); border-bottom: 1px solid rgba(191, 211, 255, 0.055); color: #cbd5ea; text-decoration: none; transition: background 140ms ease, color 140ms ease; }
.cathedral-format-card:hover { color: #fff; background: linear-gradient(120deg, rgba(67, 204, 255, 0.075), rgba(154, 91, 255, 0.055)); }
.cathedral-format-card[hidden] { display: none; }
.cathedral-format-card__ext { display: grid; place-items: center; min-width: 50px; height: 38px; padding: 0 7px; border: 1px solid rgba(135, 172, 255, 0.15); border-radius: 11px; color: #86eaff; background: rgba(74, 174, 255, 0.055); font-family: var(--font-mono); font-size: 0.62rem; font-weight: 850; letter-spacing: 0.04em; }
.cathedral-format-card__copy { min-width: 0; }
.cathedral-format-card__copy strong,
.cathedral-format-card__copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cathedral-format-card__copy strong { font-size: 0.76rem; }
.cathedral-format-card__copy small { margin-top: 3px; color: #5d6a85; font-family: var(--font-mono); font-size: 0.49rem; }
.cathedral-format-card__count { color: #687691; font-family: var(--font-mono); font-size: 0.54rem; white-space: nowrap; }
.cathedral-format-card__count em { color: #53617d; font-style: normal; text-transform: uppercase; }
.cathedral-format-empty { margin: 18px 0 0; padding: 32px; border: 1px dashed rgba(191, 211, 255, 0.14); border-radius: 18px; color: #72809c; text-align: center; }

.cathedral-archive-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(300px, 0.82fr); gap: 12px; }
.cathedral-signal-list,
.cathedral-artist-orbit { min-width: 0; overflow: hidden; border: 1px solid rgba(191, 211, 255, 0.1); border-radius: 24px; background: linear-gradient(145deg, rgba(16, 20, 34, 0.92), rgba(8, 10, 18, 0.96)); }
.cathedral-signal-list > header,
.cathedral-artist-orbit > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 22px 22px 16px; }
.cathedral-signal-list > header p,
.cathedral-artist-orbit > header p { margin: 0; color: #6f7e9e; font-family: var(--font-mono); font-size: 0.55rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.cathedral-signal-list > header h3,
.cathedral-artist-orbit > header h3 { margin: 6px 0 0; color: #e8edfa; font-size: 1.1rem; }
.cathedral-signal-list > header a { color: #75e9ff; text-decoration: none; font-family: var(--font-mono); font-size: 0.53rem; letter-spacing: 0.07em; text-transform: uppercase; }
.cathedral-signal-list ol { margin: 0; padding: 0 16px 17px; list-style: none; }
.cathedral-signal-list li { border-top: 1px solid rgba(191, 211, 255, 0.065); }
.cathedral-signal-list li a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 66px; color: #cfd7e9; text-decoration: none; transition: background 140ms ease, padding 140ms ease; }
.cathedral-signal-list li a:hover { padding: 0 8px; background: rgba(106, 228, 255, 0.035); }
.cathedral-signal-list li a > span:first-child { color: #62708f; font-family: var(--font-mono); font-size: 0.57rem; }
.cathedral-signal-list li a > span:nth-child(2) { min-width: 0; }
.cathedral-signal-list li strong,
.cathedral-signal-list li small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cathedral-signal-list li strong { font-size: 0.76rem; }
.cathedral-signal-list li small { margin-top: 3px; color: #64718d; font-size: 0.58rem; }
.cathedral-signal-list li a > span:last-child { text-align: right; }
.cathedral-signal-list li b { display: inline-block; padding: 4px 7px; border: 1px solid rgba(106, 228, 255, 0.16); border-radius: 8px; color: #77e9ff; background: rgba(75, 194, 255, 0.05); font-family: var(--font-mono); font-size: 0.5rem; }
.cathedral-signal-list__play { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(191, 211, 255, 0.12); border-radius: 10px; color: #9ba8c5 !important; font-size: 0.5rem !important; }
.cathedral-signal-list__empty { padding: 24px 8px; color: #64718c; font-size: 0.72rem; }

.cathedral-artist-orbit { padding-bottom: 17px; }
.cathedral-artist-orbit > div { padding: 0 16px; }
.cathedral-artist-orbit a { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 58px; padding: 0 8px; border-top: 1px solid rgba(191, 211, 255, 0.065); color: #cfd7e9; text-decoration: none; }
.cathedral-artist-orbit a:hover { background: rgba(255, 104, 218, 0.04); }
.cathedral-artist-orbit a > span:first-child { color: #5f6c89; font-family: var(--font-mono); font-size: 0.52rem; }
.cathedral-artist-orbit a > span:nth-child(2) { min-width: 0; }
.cathedral-artist-orbit strong,
.cathedral-artist-orbit small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cathedral-artist-orbit strong { font-size: 0.72rem; }
.cathedral-artist-orbit small { margin-top: 2px; color: #5f6c88; font-size: 0.55rem; }
.cathedral-artist-orbit b { color: #d88dff; font-family: var(--font-mono); font-size: 0.57rem; }

.cathedral-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid rgba(191, 211, 255, 0.1); border-radius: 26px; background: rgba(191, 211, 255, 0.07); }
.cathedral-process article { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; background: linear-gradient(145deg, rgba(16, 20, 34, 0.98), rgba(8, 10, 18, 0.98)); }
.cathedral-process article > span { color: #62718f; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; }
.cathedral-process article p { margin: 0; color: var(--accent); font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; }
.cathedral-process article h3 { margin: 9px 0 0; color: #e6ebf8; font-size: 1.18rem; }
.cathedral-process article small { display: block; margin-top: 14px; color: #76839e; font-size: 0.72rem; line-height: 1.65; }

.cathedral-manifesto { position: relative; overflow: hidden; margin-top: 14px; padding: clamp(34px, 6vw, 88px); border: 1px solid rgba(191, 211, 255, 0.1); border-radius: 30px; background: radial-gradient(circle at 78% 30%, rgba(156, 92, 255, 0.16), transparent 34%), linear-gradient(145deg, rgba(16, 21, 38, 0.96), rgba(7, 9, 17, 0.98)); }
.cathedral-manifesto::after { content: "PBOX"; position: absolute; right: 3%; bottom: -0.2em; color: rgba(255, 255, 255, 0.022); font-size: clamp(7rem, 18vw, 19rem); font-weight: 900; letter-spacing: -0.08em; pointer-events: none; }
.cathedral-manifesto blockquote { position: relative; z-index: 1; max-width: 19ch; margin: 22px 0 26px; color: #f1f4ff; font-size: clamp(2.4rem, 5vw, 6rem); font-weight: 850; line-height: 0.98; letter-spacing: -0.055em; }
.cathedral-manifesto > p:last-child { position: relative; z-index: 1; max-width: 66ch; margin: 0; color: #97a3bd; font-size: 0.96rem; line-height: 1.8; }

.cathedral-final { display: flex; align-items: end; justify-content: space-between; gap: 44px; margin-top: clamp(88px, 12vw, 178px); padding: clamp(34px, 6vw, 82px); border: 1px solid rgba(106, 228, 255, 0.17); border-radius: 30px; background: radial-gradient(circle at 85% 20%, rgba(255, 90, 218, 0.15), transparent 34%), radial-gradient(circle at 5% 80%, rgba(74, 202, 255, 0.12), transparent 35%), linear-gradient(145deg, rgba(17, 23, 42, 0.98), rgba(7, 9, 17, 0.99)); box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34); }
.cathedral-final h2 { max-width: 12ch; }
.cathedral-final > div:first-child > p:last-child { max-width: 66ch; margin: 20px 0 0; color: #8d99b5; }
.cathedral-final > div:last-child { flex: 0 0 auto; justify-content: flex-end; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.site-footer__links a[aria-current="page"] { color: var(--accent); }

@keyframes cathedral-spin { to { transform: rotate(360deg); } }
@keyframes cathedral-pulse { from { transform: scaleY(0.72); opacity: 0.52; } to { transform: scaleY(1.08); opacity: 0.94; } }

@media (max-width: 1320px) {
    .cathedral-hero { grid-template-columns: minmax(0, 1fr) minmax(410px, 0.8fr); gap: 30px; }
    .cathedral-engine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cathedral-format-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cathedral-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cathedral-artist-orbit { grid-column: 1 / -1; }
    .cathedral-artist-orbit > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
}

@media (max-width: 980px) {
    .cathedral-header { grid-template-columns: 1fr auto; }
    .cathedral-header__nav { display: none; }
    .cathedral-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 72px; }
    .cathedral-hero h1 { max-width: 11ch; }
    .cathedral-reactor { width: min(100%, 560px); }
    .cathedral-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cathedral-stats article:nth-child(2) { border-right: 0; }
    .cathedral-stats article:nth-child(-n+2) { border-bottom: 1px solid rgba(195, 215, 255, 0.08); }
    .cathedral-section__heading { grid-template-columns: 1fr; gap: 22px; }
    .cathedral-section__heading > p { max-width: 70ch; }
    .cathedral-format-console { position: static; grid-template-columns: 1fr; }
    .cathedral-format-result { justify-self: end; }
    .cathedral-format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cathedral-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cathedral-final { align-items: start; flex-direction: column; }
    .cathedral-final > div:last-child { justify-content: flex-start; }
}

@media (max-width: 700px) {
    .cathedral-shell { width: calc(100% - 16px); }
    .cathedral-header { width: calc(100% - 16px); margin-top: 8px; top: 8px; padding: 10px 12px; border-radius: 18px; }
    .cathedral-header__cta { min-height: 36px; padding: 7px 10px; font-size: 0.61rem; }
    .cathedral-header .brand__copy small { display: none; }
    .cathedral-hero { min-height: auto; gap: 24px; padding: 52px 22px 34px; border-radius: 24px; }
    .cathedral-hero h1 { margin-top: 18px; font-size: clamp(3.1rem, 16vw, 5rem); }
    .cathedral-hero__lead { font-size: 0.95rem; line-height: 1.68; }
    .cathedral-hero__actions { display: grid; grid-template-columns: 1fr; }
    .cathedral-button { width: 100%; }
    .cathedral-reactor { width: min(100%, 430px); }
    .cathedral-reactor__core { width: 150px; border-radius: 30px; }
    .cathedral-reactor__core strong { font-size: 3rem; }
    .cathedral-reactor__wave { gap: 3px; }
    .cathedral-reactor__wave i { width: 2px; }
    .cathedral-stats { margin: -18px 8px 0; border-radius: 18px; }
    .cathedral-stats article { padding: 18px; }
    .cathedral-stats strong { font-size: 1.75rem; }
    .cathedral-section { padding-top: 86px; scroll-margin-top: 90px; }
    .cathedral-section__heading { margin-bottom: 28px; }
    .cathedral-section__heading h2,
    .cathedral-final h2 { font-size: clamp(2.35rem, 12vw, 4rem); }
    .cathedral-engine-grid { grid-template-columns: 1fr; }
    .cathedral-engine-card { min-height: 300px; }
    .cathedral-format-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cathedral-format-grid { grid-template-columns: 1fr; }
    .cathedral-format-card { border-right: 0; }
    .cathedral-format-group > header { align-items: start; }
    .cathedral-archive-grid { grid-template-columns: 1fr; }
    .cathedral-artist-orbit { grid-column: auto; }
    .cathedral-artist-orbit > div { grid-template-columns: 1fr; }
    .cathedral-process { grid-template-columns: 1fr; }
    .cathedral-process article { min-height: 220px; }
    .cathedral-manifesto { border-radius: 22px; }
    .cathedral-manifesto blockquote { font-size: clamp(2.4rem, 12vw, 4rem); }
    .cathedral-final { margin-top: 86px; border-radius: 22px; }
}

@media (max-width: 430px) {
    .cathedral-header__cta span { display: none; }
    .cathedral-hero__micro { gap: 8px; }
    .cathedral-stats { grid-template-columns: 1fr; }
    .cathedral-stats article { border-right: 0; border-bottom: 1px solid rgba(195, 215, 255, 0.08); }
    .cathedral-stats article:last-child { border-bottom: 0; }
    .cathedral-format-card { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 9px; padding-inline: 10px; }
    .cathedral-format-card__ext { min-width: 44px; height: 34px; }
    .cathedral-signal-list li a { grid-template-columns: 30px minmax(0, 1fr); }
    .cathedral-signal-list li a > span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .cathedral-reactor__orbit,
    .cathedral-reactor__wave i { animation: none; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}
