:root {
    --pida-red: #e81e26;
    --pida-red-dark: #a80f1b;
    --pida-red-soft: #fff1f2;
    --pida-red-pale: #fff8f8;
    --ink: #121212;
    --ink-soft: #424242;
    --line: #dedede;
    --paper: #ffffff;
    --mist: #f6f6f6;
    --shadow: 0 24px 70px rgb(18 18 18 / 12%);
    --radius: 1.5rem;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: var(--pida-red-dark);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
}

a:hover {
    color: var(--pida-red);
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.8rem 1rem;
    color: var(--paper);
    background: var(--ink);
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: translateY(0);
}

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

.container {
    width: min(calc(100% - 2.5rem), var(--container));
    margin-inline: auto;
}

.narrow,
.rich-narrow {
    max-width: 780px;
    margin-inline: auto;
}

.rich-normal {
    max-width: 960px;
    margin-inline: auto;
}

.rich-wide {
    max-width: var(--container);
    margin-inline: auto;
}

h1,
h2,
h3 {
    margin: 0 0 1rem;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.7rem, 6vw, 5.8rem);
}

h2 {
    font-size: clamp(2.1rem, 4vw, 3.65rem);
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.75rem);
}

p {
    margin: 0 0 1.2rem;
}

.eyebrow {
    margin-bottom: 1rem;
    color: var(--pida-red-dark);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow.light {
    color: var(--paper);
}

.lead {
    max-width: 780px;
    color: var(--ink-soft);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--paper);
    background: var(--pida-red-dark);
}

.button-primary:hover {
    color: var(--paper);
    background: var(--ink);
}

.button-outline {
    color: var(--ink);
    border-color: var(--ink);
}

.button-outline:hover {
    color: var(--paper);
    background: var(--ink);
}

.button-light {
    color: var(--ink);
    background: var(--paper);
}

.button-light:hover {
    color: var(--paper);
    background: var(--ink);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.utility-bar {
    color: var(--paper);
    background: var(--ink);
    font-size: 0.78rem;
}

.utility-inner {
    display: flex;
    min-height: 35px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.utility-inner a {
    color: inherit;
}

.site-header {
    position: relative;
    z-index: 100;
    background: rgb(255 255 255 / 97%);
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--ink);
    text-decoration: none;
}

.brand:hover {
    color: var(--ink);
}

.brand img {
    width: 74px;
    height: auto;
}

.brand span {
    display: flex;
    flex-direction: column;
}

.brand strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
}

.brand small {
    max-width: 215px;
    color: var(--ink-soft);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.primary-nav > ul,
.submenu,
.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-nav > ul {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.primary-nav li {
    position: relative;
}

.primary-nav li > a {
    color: var(--ink);
    font-size: 0.91rem;
    font-weight: 750;
    text-decoration: none;
}

.primary-nav li > a:hover {
    color: var(--pida-red-dark);
}

.submenu {
    position: absolute;
    top: calc(100% + 1.2rem);
    left: -1rem;
    width: 270px;
    padding: 0.75rem;
    visibility: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
}

.submenu li a {
    display: block;
    padding: 0.65rem 0.75rem;
    border-radius: 0.55rem;
}

.submenu li a:hover {
    background: var(--pida-red-pale);
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu,
.has-submenu.submenu-open > .submenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.submenu-toggle {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    color: var(--ink);
    background: transparent;
    font-weight: 800;
}

.primary-nav .has-submenu {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
}

.menu-toggle span:not(.sr-only) {
    width: 21px;
    height: 2px;
    background: var(--ink);
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, var(--pida-red-pale) 0%, var(--paper) 47%),
        var(--paper);
}

.hero::before {
    position: absolute;
    top: -180px;
    left: -230px;
    width: 500px;
    height: 500px;
    border: 95px solid rgb(232 30 38 / 8%);
    border-radius: 50%;
    content: "";
}

.hero-grid {
    display: grid;
    min-height: 650px;
    align-items: center;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 7vw, 7rem);
    padding-block: clamp(4rem, 8vw, 7.5rem);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    max-width: 760px;
}

.hero-copy h1::after {
    display: block;
    width: 92px;
    height: 9px;
    margin-top: 1.3rem;
    border-radius: 999px;
    background: var(--pida-red);
    content: "";
}

.hero-lead {
    max-width: 670px;
    color: var(--ink-soft);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-art {
    position: relative;
    min-height: 460px;
}

.hero-orbit {
    position: absolute;
    border: 2px solid var(--pida-red);
    border-radius: 50%;
}

.orbit-one {
    inset: 2% 0 10% 8%;
}

.orbit-two {
    inset: 14% 11% 0 0;
    border-color: var(--ink);
}

.hero-logo-card {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: min(84%, 380px);
    padding: 2rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 2rem;
    box-shadow: var(--shadow);
    transform: translate(-50%, -50%) rotate(-2deg);
}

.hero-logo-card::after {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--pida-red);
    content: "";
}

.hero-logo-card img {
    width: min(100%, 265px);
    margin-inline: auto;
}

.hero-logo-card p {
    margin: 1rem 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    line-height: 1.35;
}

.hero-logo-card strong {
    color: var(--pida-red-dark);
}

.hero-band {
    color: var(--paper);
    background: var(--ink);
}

.hero-band-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.hero-band span {
    padding: 1.25rem 1rem;
    border-right: 1px solid rgb(255 255 255 / 18%);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.section {
    padding-block: clamp(4.5rem, 9vw, 8rem);
}

.rich-section:nth-of-type(even),
.cards-section:nth-of-type(even) {
    background: var(--mist);
}

.section-heading {
    display: grid;
    align-items: end;
    grid-template-columns: 1fr minmax(280px, 0.7fr);
    gap: 2rem;
    margin-bottom: 2.75rem;
}

.section-heading > p {
    color: var(--ink-soft);
}

.prose {
    color: #292929;
    font-size: 1.08rem;
}

.prose > *:first-child {
    margin-top: 0;
}

.prose > *:last-child {
    margin-bottom: 0;
}

.prose h2,
.prose h3,
.prose h4 {
    margin-top: 2.25rem;
}

.prose blockquote {
    padding: 0.3rem 0 0.3rem 1.5rem;
    margin: 2rem 0;
    border-left: 5px solid var(--pida-red);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
}

.prose figure {
    margin: 2.25rem 0;
}

.prose figure img {
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    border-radius: 0.9rem;
}

.prose figcaption {
    max-width: 760px;
    margin: 0.75rem auto 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
    text-align: center;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.programme-card {
    position: relative;
    display: flex;
    min-height: 300px;
    padding: 2rem;
    overflow: hidden;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}

.programme-card:hover {
    border-color: var(--pida-red);
    box-shadow: 0 18px 45px rgb(18 18 18 / 8%);
    transform: translateY(-4px);
}

.card-mark {
    width: 42px;
    height: 10px;
    margin-bottom: 2rem;
    border-radius: 999px;
    background: var(--pida-red);
}

.programme-card p {
    color: var(--ink-soft);
}

.programme-card a {
    margin-top: auto;
    font-weight: 800;
}

.stats-section {
    position: relative;
    overflow: hidden;
    color: var(--paper);
    background: var(--pida-red-dark);
}

.stats-section::after {
    position: absolute;
    right: -120px;
    bottom: -220px;
    width: 500px;
    height: 500px;
    border: 90px solid rgb(255 255 255 / 9%);
    border-radius: 50%;
    content: "";
}

.stats-section h2 {
    max-width: 750px;
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    margin-top: 3rem;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    padding: 1.5rem;
    border-left: 1px solid rgb(255 255 255 / 28%);
}

.stat strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    line-height: 1;
}

.stat span {
    display: block;
    max-width: 180px;
    margin-top: 0.8rem;
    font-weight: 700;
}

.source-note {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 2.5rem 0 0;
    color: rgb(255 255 255 / 82%);
    font-size: 0.83rem;
}

.quote-section {
    background: var(--pida-red-pale);
}

.quote-section blockquote {
    margin: 0;
    text-align: center;
}

.quote-section blockquote::before {
    display: block;
    margin-bottom: 1rem;
    color: var(--pida-red);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5rem;
    line-height: 0.5;
    content: "“";
}

.quote-section blockquote p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 4vw, 3rem);
    line-height: 1.25;
}

.quote-section blockquote footer {
    color: var(--ink-soft);
    font-weight: 800;
}

.callout {
    display: flex;
    min-height: 290px;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: clamp(2rem, 6vw, 5rem);
    border-radius: 2rem;
}

.callout > div {
    max-width: 730px;
}

.callout-red {
    color: var(--paper);
    background: var(--pida-red-dark);
}

.callout-black {
    color: var(--paper);
    background: var(--ink);
}

.callout-light {
    color: var(--ink);
    background: var(--pida-red-soft);
}

.callout-red .eyebrow,
.callout-black .eyebrow {
    color: var(--paper);
}

.image-section figure {
    margin: 0;
}

.image-section img {
    width: 100%;
    max-height: 700px;
    border-radius: var(--radius);
    object-fit: cover;
}

.image-section figcaption,
.caption {
    margin-top: 0.8rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: var(--ink);
    border-radius: var(--radius);
}

.video-frame iframe,
.video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.transcript {
    padding: 1rem 1.2rem;
    margin-top: 1rem;
    background: var(--mist);
    border-radius: 0.75rem;
}

.transcript summary {
    cursor: pointer;
    font-weight: 800;
}

.page-masthead {
    position: relative;
    padding-block: clamp(5rem, 11vw, 9rem);
    overflow: hidden;
    background: linear-gradient(135deg, var(--pida-red-pale), var(--paper));
}

.page-masthead::after {
    position: absolute;
    top: -180px;
    right: -100px;
    width: 450px;
    height: 450px;
    border: 80px solid rgb(232 30 38 / 10%);
    border-radius: 50%;
    content: "";
}

.page-masthead .container {
    position: relative;
    z-index: 2;
}

.page-masthead h1 {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.contact-section {
    background: var(--mist);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: clamp(2rem, 7vw, 6rem);
}

.contact-details {
    margin-top: 2rem;
}

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

.contact-details dt {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-details dd {
    margin: 0.35rem 0 0;
}

.contact-form {
    padding: clamp(1.5rem, 5vw, 3rem);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 50px rgb(18 18 18 / 6%);
}

label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 750;
}

input,
textarea,
select {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 0.85rem;
    margin-top: 0.35rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid #a3a3a3;
    border-radius: 0.55rem;
}

textarea {
    resize: vertical;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-weight: 600;
}

.checkbox-label input {
    width: 20px;
    min-height: 20px;
    margin-top: 0.15rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.notice {
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.55rem;
}

.notice-error {
    color: #78000a;
    background: #fff0f1;
    border: 1px solid #d30416;
}

.notice-success {
    color: var(--ink);
    background: #f5f5f5;
    border: 1px solid var(--ink);
}

.error-page {
    min-height: 60vh;
}

.error-code {
    color: var(--pida-red);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
}

.site-footer {
    padding-top: 4.5rem;
    color: var(--paper);
    background: var(--ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.65fr 1fr;
    gap: 3rem;
}

.footer-brand img {
    width: 112px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background: var(--paper);
    border-radius: 50%;
}

.footer-brand p {
    max-width: 430px;
    color: rgb(255 255 255 / 75%);
}

.site-footer h2 {
    font-size: 1.2rem;
}

.site-footer a {
    color: var(--paper);
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.site-footer address {
    color: rgb(255 255 255 / 75%);
    font-style: normal;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-block: 1.5rem;
    margin-top: 3.5rem;
    color: rgb(255 255 255 / 65%);
    border-top: 1px solid rgb(255 255 255 / 18%);
    font-size: 0.82rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1080px) {
    .menu-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        z-index: 120;
        inset: 131px 0 0;
        display: block;
        padding: 1.5rem;
        overflow-y: auto;
        visibility: hidden;
        background: var(--paper);
        opacity: 0;
        transform: translateX(100%);
        transition: transform 190ms ease, opacity 190ms ease, visibility 190ms;
    }

    .primary-nav.open {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }

    .primary-nav > ul {
        display: block;
    }

    .primary-nav > ul > li {
        display: grid;
        grid-template-columns: 1fr auto;
        border-bottom: 1px solid var(--line);
    }

    .primary-nav li > a {
        padding: 1rem 0;
        font-size: 1.05rem;
    }

    .submenu {
        position: static;
        width: auto;
        padding: 0 0 0.8rem 1rem;
        visibility: visible;
        display: none;
        grid-column: 1 / -1;
        border: 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
    }

    .submenu-open > .submenu {
        display: block;
    }

    .submenu-toggle {
        align-self: center;
    }

    .nav-donate {
        width: 100%;
        margin-top: 1.5rem;
    }
}

@media (max-width: 860px) {
    .hero-grid,
    .contact-grid,
    .section-heading {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding-top: 4rem;
    }

    .hero-art {
        min-height: 390px;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 0;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(calc(100% - 1.5rem), var(--container));
    }

    .utility-inner span {
        display: none;
    }

    .utility-inner {
        justify-content: center;
    }

    .nav-shell {
        min-height: 83px;
    }

    .primary-nav {
        inset-block-start: 118px;
    }

    .brand img {
        width: 58px;
    }

    .brand strong {
        font-size: 1.12rem;
    }

    .brand small {
        display: none;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-art {
        min-height: 330px;
    }

    .hero-band-grid,
    .card-grid,
    .field-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-band span {
        border-right: 0;
        border-bottom: 1px solid rgb(255 255 255 / 14%);
    }

    .programme-card {
        min-height: 260px;
    }

    .stat {
        padding: 1rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

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

@media print {
    .utility-bar,
    .menu-toggle,
    .primary-nav,
    .button,
    .site-footer {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .section,
    .page-masthead {
        padding-block: 2rem;
    }
}