/* ==========================================================================
   Bright Humanity Foundation - the only stylesheet.
   Public pages and the admin panel share it. Colours, spacing and type come
   from the variables below so the whole site can be re-themed in one place.

   Layout rule: the header and footer run the full window width, while every
   content section is a surface-coloured panel capped at --content-width and
   centred, so the page background shows either side of it.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts (self-hosted, .woff2 only, two weights each)
   -------------------------------------------------------------------------- */
@font-face {
    font-family: "Google Sans";
    src: url("../fonts/Google_Sans/GoogleSans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Google Sans";
    src: url("../fonts/Google_Sans/GoogleSans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hind Siliguri";
    src: url("../fonts/Hind_Siliguri/HindSiliguri-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hind Siliguri";
    src: url("../fonts/Hind_Siliguri/HindSiliguri-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
    /* Colour palette - the only colours used anywhere. */
    --color-page-background: #F1F1F1;
    --color-surface: #FFFFFF;
    --color-highlight-main: #60CE80;
    /* green: hovers, accents */
    --color-highlight-dark: #154360;
    /* dark blue: headings, buttons, fills */
    --color-text: #000000;
    --color-border: #D9D9D9;

    /* Titles use the dark blue. The green stays for hovers and accents, which
       keeps every heading readable against the white panels. */
    --color-title: var(--color-highlight-dark);

    /* Spacing scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;

    --radius: 10px;
    --shadow: 0 2px 10px rgba(21, 67, 96, 0.10);

    --font-english: "Google Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-bengali: "Hind Siliguri", sans-serif;

    --content-width: 1200px;
    --wide-width: 1400px;
}

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

html {
    scroll-behavior: smooth;
}

/* Set while the full-view overlay is open so the page behind cannot scroll. */
html.is-lightbox-open {
    overflow: hidden;
}

html:lang(en) {
    font-family: var(--font-english);
    line-height: 1.6;
}

html:lang(bn) {
    font-family: var(--font-bengali);
    line-height: 1.7;
}

body {
    margin: 0;
    background-color: var(--color-page-background);
    color: var(--color-text);
    font-size: 1rem;
    -webkit-text-size-adjust: 100%;
}

html:lang(bn) body {
    font-size: 1.0625rem;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-highlight-dark);
}

h1,
h2,
h3,
h4 {
    line-height: 1.25;
}

/* A visible focus outline on every interactive element. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--color-highlight-dark);
    outline-offset: 2px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.visually-hidden {
    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-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--color-highlight-dark);
    color: #fff;
    padding: 0.75rem 1rem;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.6rem 1.4rem;
    background: var(--color-highlight-main);
    color: var(--color-highlight-dark);
    border: 0;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.button:hover {
    filter: brightness(0.95);
}

.button--secondary {
    background: var(--color-highlight-dark);
    color: #fff;
}

.button--small {
    min-height: 36px;
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
}

.button--danger {
    background: #000;
    color: #fff;
}

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-highlight-dark);
}

.site-header__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.site-header__name {
    font-weight: 700;
    font-size: 1.05rem;
}

.main-nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0.9rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
}

.main-nav__link:hover {
    background: var(--color-highlight-main);
    color: var(--color-highlight-dark);
    border-radius: var(--radius);
}

/* The current page is marked with colour and weight only - no pill, no
   radius, no underline bar. */
.main-nav__link--current {
    color: var(--color-highlight-dark);
    font-weight: 700;
}

.main-nav__link--language {
    border: 2px solid var(--color-highlight-dark);
    border-radius: var(--radius);
    color: var(--color-highlight-dark);
    font-weight: 700;
    padding: 0.4rem 0.9rem;
}

.main-nav__link--language:hover {
    background: var(--color-highlight-main);
    border-color: var(--color-highlight-main);
}

/* --------------------------------------------------------------------------
   Sections (the shared panel shell)
   -------------------------------------------------------------------------- */
/* .section {
    padding: var(--space-md) var(--space-md) 0;
} */

.section__inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-surface);
    /* border-radius: var(--radius); */
    /* box-shadow: var(--shadow); */
}

.section__inner--centered {
    text-align: center;
}

.section__title {
    display: block;
    margin: 0 0 var(--space-md);
    padding: 0;
    color: var(--color-title);
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    text-align: center;
}

.section__note {
    margin: 0 0 var(--space-lg);
    text-align: center;
}

/* --------------------------------------------------------------------------
   Hero / foundation title
   -------------------------------------------------------------------------- */
.hero {
    /* padding: var(--space-md) var(--space-md) 0; */
    text-align: center;
}

.hero__inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-surface);
    /* border-radius: var(--radius); */
    /* box-shadow: var(--shadow); */
}

.hero__title {
    margin: 0 0 0.75rem;
    color: var(--color-highlight-dark);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
}

.hero__tagline {
    max-width: 62ch;
    margin: 0 auto;
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Mission
   -------------------------------------------------------------------------- */
.mission__intro {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-highlight-dark);
}

.mission__points {
    display: grid;
    gap: var(--space-md);
    margin: var(--space-md) 0 0;
    padding: 0;
    list-style: none;
}

.mission__point {
    position: relative;
    padding-left: 1.6rem;
}

.mission__point::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-highlight-main);
}

/* --------------------------------------------------------------------------
   Activity links (image cards)
   -------------------------------------------------------------------------- */
.activity-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-md);
    margin: 0;
    padding: 0;
    list-style: none;
}

.activity-links__item {
    display: flex;
}

.activity-links__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    color: var(--color-highlight-dark);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

/* The supplied artwork is square, so the frame is square and the image is
   contained inside it rather than cropped. */
.activity-links__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    /* padding: var(--space-xs); */
    background: var(--color-page-background);
    /* border-radius: var(--radius); */
    /* box-shadow: var(--shadow); */
    transition: transform 0.2s ease-in-out;
}

.activity-links__link:hover .activity-links__image {
    transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   Funds
   -------------------------------------------------------------------------- */
.funds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
    margin-bottom: var(--space-lg);
}

.funds:last-child {
    margin-bottom: 0;
}

/* A fund without a published chart yet shows its text centred. */
.funds--text-only {
    grid-template-columns: 1fr;
    max-width: 70ch;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.funds__title {
    margin: 0 0 0.5rem;
    color: var(--color-highlight-dark);
}

.funds__description {
    margin: 0 0 var(--space-sm);
}

.funds__link {
    font-weight: 600;
}

/* The chart carries no background or shadow of its own: the panel around it is
   already the surface colour, so the frame blends in until a chart is added. */
.funds__frame {
    width: 100%;
    height: 320px;
    border: 0;
}

/* --------------------------------------------------------------------------
   Donate
   -------------------------------------------------------------------------- */
.donate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.donate__description {
    max-width: 65ch;
    margin: 0;
}

.donate__methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin: 0;
    padding: 0;
    list-style: none;
}

.donate__method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.donate__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.donate__number-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.donate__number-label {
    margin: 0;
    font-size: 0.95rem;
}

.donate__number {
    margin: 0;
    color: var(--color-highlight-dark);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.03em;
}

.donate__personal {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Slideshow
   -------------------------------------------------------------------------- */
.slideshow {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.slideshow__viewport {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-page-background);
}

.slideshow__slide {
    margin: 0;
}

.slideshow__slide[hidden] {
    display: none;
}

.slideshow__open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

/* Every slide is the same 16:9 shape; the photo is cropped to fill it. */
.slideshow__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.slideshow__control {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-highlight-dark);
    color: #fff;
    line-height: 0;
    box-shadow: var(--shadow);
    cursor: pointer;
}

/* Only the arrow changes colour on hover; the disc stays dark blue. */
.slideshow__control:hover {
    background: var(--color-highlight-dark);
    color: var(--color-highlight-main);
}

.slideshow__arrow {
    display: block;
}

.slideshow__control--previous {
    left: 0.75rem;
}

.slideshow__control--next {
    right: 0.75rem;
}

.slideshow__dots {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: var(--space-sm);
}

.slideshow__dot {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.slideshow__dot::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
}

.slideshow__dot--active::after {
    background: var(--color-highlight-main);
}

/* --------------------------------------------------------------------------
   Full-view overlay (click a slide photo to enlarge)
   -------------------------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    background: rgba(0, 0, 0, 0.88);
    cursor: zoom-out;
}

.lightbox[hidden] {
    display: none;
}

.lightbox__image {
    max-width: 100%;
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: var(--radius);
    cursor: default;
}

.lightbox__hint {
    position: absolute;
    bottom: var(--space-md);
    left: 0;
    right: 0;
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
}

.lightbox__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    line-height: 0;
    cursor: pointer;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   People
   -------------------------------------------------------------------------- */
.people-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-lg) var(--space-md);
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.people-grid--founder {
    grid-template-columns: repeat(1, minmax(0, 200px));
}

.person-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    text-align: center;
}

.person-card__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.person-card__name {
    margin: 0;
    color: var(--color-highlight-dark);
    font-size: 1rem;
}

.person-card__role {
    margin: 0;
    font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page__code {
    margin: 0;
    color: var(--color-highlight-main);
    font-size: 4rem;
    font-weight: 700;
}

.error-page__heading {
    margin: 0 0 0.5rem;
    color: var(--color-highlight-dark);
}

.error-page__text {
    margin: 0 0 var(--space-md);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    padding: var(--space-xl) var(--space-md) var(--space-md);
    background: var(--color-highlight-dark);
    color: #fff;
}

.site-footer__inner {
    max-width: var(--wide-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    justify-content: space-between;
}

.site-footer__column {
    flex: 1 1 240px;
}

.site-footer__heading {
    margin: 0 0 var(--space-sm);
    color: var(--color-highlight-main);
    font-size: 1.15rem;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--color-highlight-main);
    text-decoration: underline;
}

.contact-list,
.social-list {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.contact-list__icon {
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
    object-fit: contain;
    /* Monochrome icons are drawn dark blue, so flip them to white. */
    filter: brightness(0) invert(1);
}

/* Brand icons keep their own colours; the white flip is not applied. */
.contact-list__icon--colour {
    filter: none;
}

.social-list__item a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
}

.social-list__item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.site-footer__bottom {
    max-width: var(--wide-width);
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    text-align: center;
}

/* ==========================================================================
   Admin panel
   ========================================================================== */
.admin-body {
    background: var(--color-page-background);
    min-height: 100vh;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-highlight-dark);
    color: #fff;
}

.admin-header__title {
    margin: 0;
    font-size: 1.15rem;
}

.admin-header a {
    color: #fff;
}

.admin-nav {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.admin-nav__list {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    list-style: none;
}

.admin-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0.9rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
}

.admin-nav__link:hover {
    background: var(--color-highlight-main);
    color: var(--color-highlight-dark);
}

.admin-nav__link--current {
    color: var(--color-highlight-dark);
    font-weight: 700;
    box-shadow: inset 0 -3px 0 var(--color-highlight-main);
}

.admin-main {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
}

.admin-heading {
    margin: 0 0 var(--space-md);
    color: var(--color-highlight-dark);
}

.flash {
    padding: 0.75rem 1rem;
    margin-bottom: var(--space-md);
    border-radius: var(--radius);
    border-left: 4px solid var(--color-highlight-main);
    background: var(--color-surface);
}

.flash--error {
    border-left-color: #000;
}

/* Login */
.login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: var(--space-md);
    background: var(--color-page-background);
}

.login__box {
    width: 100%;
    max-width: 360px;
    padding: var(--space-lg);
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.login__box h1 {
    margin-top: 0;
    color: var(--color-highlight-dark);
}

/* Forms */
.field {
    margin-bottom: var(--space-sm);
}

.field__label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.field__input,
.field__textarea,
.field__select {
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font: inherit;
    background: #fff;
    color: var(--color-text);
}

.field__textarea {
    min-height: 100px;
    resize: vertical;
}

.field__hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #555;
}

/* Dashboard cards */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.stat-card {
    padding: var(--space-md);
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-card__number {
    display: block;
    color: var(--color-highlight-dark);
    font-size: 2rem;
    font-weight: 700;
}

/* Admin images page */
.admin-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.admin-layout__tables {
    min-width: 0;
}

.admin-panel {
    padding: var(--space-md);
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: var(--space-lg);
}

.admin-panel__heading {
    margin-top: 0;
    color: var(--color-highlight-dark);
}

/* Each table body scrolls after 400px, so a long section never stretches the
   page. The header row stays in view while scrolling. */
.admin-table__scroll {
    max-height: 400px;
    overflow-y: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: middle;
}

tr:hover {
    background-color: var(--color-page-background);
}

.admin-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--color-surface);
    border-bottom: 2px solid var(--color-border);
}

.admin-table__alt {
    font-size: 0.85rem;
    line-height: 1.45;
}

.admin-table__thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.admin-table__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    align-items: center;
}


.admin-table__actions form {
    display: inline-flex;
    margin: 0;
}

.status {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: var(--color-page-background);
}

.status--active {
    background: var(--color-highlight-main);
    color: var(--color-highlight-dark);
}

/* A no-JavaScript confirm step: the delete form lives inside a <details> and
   opens as a centred dialog. Clicking the dimmed area (the summary behind the
   card) closes it again. */
.confirm {
    display: inline-block;
    position: relative;
}

.confirm>summary {
    list-style: none;
    cursor: pointer;
}

.confirm>summary::-webkit-details-marker {
    display: none;
}

.confirm[open]>summary {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: block;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.6);
    color: transparent;
    font-size: 0;
    cursor: zoom-out;
}

.confirm__dialog {
    position: fixed;
    inset: 0;
    z-index: 401;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    background: transparent;
    pointer-events: none;
}

.confirm__card {
    pointer-events: auto;
    width: 100%;
    max-width: 360px;
    padding: var(--space-md);
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.confirm__question {
    margin: 0 0 var(--space-sm);
    font-size: 1rem;
}

.confirm__actions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .people-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .people-grid--founder {
        grid-template-columns: repeat(1, minmax(0, 200px));
    }
}

@media (max-width: 900px) {
    .funds {
        grid-template-columns: 1fr;
    }

    .funds--text-only {
        max-width: none;
    }

    .activity-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    /* On phones the upload form comes first, then the tables. */
    .admin-layout__upload {
        order: -1;
    }
}

@media (max-width: 700px) {
    :root {
        --space-xl: 2.75rem;
        --space-lg: 1.75rem;
    }

    /* .section,
    .hero {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    } */

    .section__inner,
    .hero__inner {
        padding: var(--space-lg) var(--space-md);
    }

    .site-header__inner {
        justify-content: center;
    }

    .main-nav__list {
        justify-content: center;
    }

    /* Three photos per row on a phone. */
    .people-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-md) var(--space-sm);
    }

    .people-grid--founder {
        grid-template-columns: repeat(1, minmax(0, 200px));
    }

    .person-card__name {
        font-size: 0.9rem;
    }

    .person-card__role {
        font-size: 0.7rem;
    }

    .funds__frame {
        height: 260px;
    }
}

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

    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}