/* ═══════════════════════════════════════════════════════════════════════════
   pages-bulletin.css — the support, supporters and account-deletion pages
   (feature 021, direction S3: the print beside the words).

   Loaded only by those three pages, which is why the tokens sit on :root here
   rather than on a page container. Same palette, type and radii as the landing
   page (feature 020); the shared header and footer come from landing.css.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --pg-paper: #f2f0eb;
    --pg-ink: #241413;
    --pg-ink-deep: #14100f;
    --pg-red: #7d0c14;
    --pg-red-deep: #5d0910;
    --pg-muted: #5d4440;
    --pg-sand: #e9e1d4;
    --pg-white: #fffdf8;

    --pg-display: clamp(2.5rem, 5.4vw, 4.7rem);
    --pg-head: clamp(1.8rem, 2.8vw, 2.5rem);
    --pg-small: 0.95rem;
    --pg-pad: clamp(1.25rem, 4vw, 2.75rem);
    --pg-gap: clamp(2.4rem, 5vw, 4.4rem);
}

#main-content { background: var(--pg-paper); }

.pg-wrap {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: var(--pg-pad);
}

.pg-h1, .pg-h2, .pg-h3 {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--pg-ink);
}

.pg-h1 { font-size: var(--pg-display); line-height: 0.97; max-width: 14ch; }
/* a title that names the product needs a smaller display size to stay on two lines */
.pg-h1.pg-h1-long { font-size: clamp(1.3rem, 5.2vw, 4.7rem); line-height: 0.98; max-width: 18ch; }
/* the long title needs the wider measure, or it either wraps three lines or goes small */
.pg-hero-inner.pg-wide .pg-copy { grid-column: 1 / 8; }
.pg-hero-inner.pg-wide .pg-print { grid-column: 8 / 13; }
@media (max-width: 520px) { .pg-h1.pg-h1-long { font-size: clamp(1.25rem, 5.4vw, 1.6rem); } }
.pg-h2 { font-size: var(--pg-head); line-height: 1.05; max-width: 22ch; }
.pg-h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.15; }

.pg-btn {
    display: inline-flex;
    align-items: center;
    background: var(--pg-red);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    transition: transform 0.18s ease, background 0.18s ease;
}
.pg-btn:hover { background: var(--pg-red-deep); transform: translateY(-2px); }
.pg-btn:active { transform: translateY(0) scale(0.99); }

/* ── hero: words left, one print right ─────────────────────────────────────── */

/* the shared bar is transparent over the landing page's photograph hero; on these paper
   pages that leaves its links sitting on the headline, so it takes its ground here */
.lp-nav { background: rgba(242, 240, 235, 0.96); }

.pg-hero { padding-block: clamp(6.5rem, 9vw, 8.5rem) clamp(1.6rem, 3vw, 2.4rem); }

.pg-hero-inner {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1rem, 2.2vw, 1.8rem);
    align-items: start;
}

.pg-copy { grid-column: 1 / 7; display: flex; flex-direction: column; }
.pg-stand { margin: 1.2rem 0 0; max-width: 36ch; color: var(--pg-ink); font-size: 1.08rem; line-height: 1.5; }

.pg-facts {
    list-style: none;
    margin: 1.8rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 34ch;
}
.pg-facts li { position: relative; padding-left: 1.1rem; font-size: 0.98rem; color: var(--pg-ink); }
.pg-facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--pg-red);
}

.pg-copy .pg-btn { margin-top: 1.6rem; align-self: flex-start; }

.pg-print {
    grid-column: 8 / 13;
    margin: clamp(2rem, 5vw, 3.5rem) 0 0;
}
.pg-print img {
    width: 100%;
    height: clamp(360px, 58vh, 560px);
    object-fit: cover;
    object-position: center;
    border-radius: 26px;
}
.pg-print figcaption { margin-top: 0.55rem; font-size: var(--pg-small); color: var(--pg-muted); }

/* ── a photograph band ─────────────────────────────────────────────────────── */
.pg-band { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.pg-band figure { margin: 0; }
.pg-band img {
    width: 100%;
    height: clamp(200px, 30vh, 300px);
    object-fit: cover;
    border-radius: 24px;
}

/* ── sections on the 42% axis ──────────────────────────────────────────────── */
.pg-sec { padding-block: clamp(2.2rem, 4.6vw, 3.8rem); }
.pg-spread {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1rem, 2.2vw, 1.8rem);
}
.pg-side { grid-column: 1 / 4; }
.pg-aside {
    position: sticky;
    top: 7.5rem;
    font-size: var(--pg-small);
    color: var(--pg-red);
    max-width: 14ch;
    line-height: 1.3;
}
.pg-main { grid-column: 4 / 13; }

.pg-lead { margin: 1rem 0 0; font-size: 1.15rem; line-height: 1.45; max-width: 46ch; color: var(--pg-ink); }

/* ── the QR pair, as stubs ─────────────────────────────────────────────────── */
.pg-stubs { display: flex; gap: 1.2rem; margin-top: 1.8rem; flex-wrap: wrap; }
.pg-stub {
    margin: 0;
    width: min(46%, 240px);
    background: var(--pg-sand);
    border-radius: 22px;
    padding: 0.9rem;
    transform: rotate(-1.1deg);
    transition: transform 0.3s ease;
}
.pg-stub:nth-child(2) { transform: rotate(1.2deg); }
.pg-stub:hover { transform: rotate(0); }
/* height:auto is load-bearing: the img height attribute otherwise wins and stretches the code */
.pg-stub img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 12px; }
.pg-stub figcaption { margin-top: 0.7rem; font-size: 0.9rem; }
.pg-stub figcaption span { display: block; color: var(--pg-muted); font-size: var(--pg-small); margin-top: 0.2rem; }

/* a missing file looks like a deliberate stub, never a broken image */
.pg-stub-pending {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    background: #fff;
    border-radius: 12px;
    color: var(--pg-muted);
    font-size: var(--pg-small);
}


/* ── the closing strip: two prints side by side ────────────────────────────── */
.pg-strip { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.pg-strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.pg-strip figure { margin: 0; }
.pg-strip img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 22px;
}
.pg-strip figcaption { margin-top: 0.5rem; font-size: var(--pg-small); color: var(--pg-muted); }
@media (max-width: 520px) { .pg-h1 { font-size: clamp(1.9rem, 7.6vw, 2.2rem); } }

@media (max-width: 700px) { .pg-strip-inner { grid-template-columns: 1fr; } }

/* ── methods, lists, columns ───────────────────────────────────────────────── */
.pg-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.4rem, 3vw, 2.4rem);
    margin-top: 1.4rem;
}
.pg-methods .pg-h3 { margin-top: 0; }
.pg-steps { margin: 0.8rem 0 0; padding-left: 1.2rem; color: var(--pg-ink); }
.pg-steps li { margin-block: 0.35rem; line-height: 1.45; }

.pg-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.4rem, 3vw, 2.4rem);
    margin-top: 1.4rem;
}
.pg-list { margin: 0.7rem 0 0; padding-left: 1.1rem; color: var(--pg-ink); font-size: 0.98rem; }
.pg-list li { margin-block: 0.4rem; line-height: 1.45; }

/* ── tables: a real table, so lines are allowed here ───────────────────────── */
.pg-table { width: 100%; border-collapse: collapse; margin-top: 1.4rem; font-size: 0.98rem; }
.pg-table th { text-align: left; font-weight: 600; padding: 0.65rem 0.6rem; background: var(--pg-sand); }
.pg-table td { padding: 0.65rem 0.6rem; vertical-align: top; }
.pg-table tbody tr:nth-child(even) { background: rgba(36, 20, 19, 0.03); }

/* ── the ask panel ─────────────────────────────────────────────────────────── */
.pg-ask {
    background: var(--pg-sand);
    border-radius: 26px;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    max-width: 44rem;
}
.pg-ask .pg-h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.pg-ask p { margin: 0.6rem 0 0; color: var(--pg-ink); }
.pg-ask .pg-btn { margin-top: 1.1rem; }

/* ── help centre pieces ────────────────────────────────────────────────────── */
.pg-callout {
    margin: 0 0 1.6rem;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.15rem, 1.55vw, 1.45rem);
    line-height: 1.3;
    max-width: 46ch;
}
.pg-callout a { color: var(--pg-red); text-decoration: none; }

.pg-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.pg-cat .pg-h3 { font-size: 1.15rem; }
.pg-cat p { margin: 0.5rem 0 0; color: var(--pg-ink); font-size: 0.96rem; max-width: 30ch; }
.pg-cat a { display: inline-block; margin-top: 0.6rem; color: var(--pg-red); text-decoration: none; font-size: var(--pg-small); }

.pg-faqs { margin-top: 1.2rem; }
.pg-faq {
    border: 0;
    border-radius: 18px;
    background: var(--pg-white);
    padding: 0.15rem 1.1rem;
    margin-bottom: 0.6rem;
}
.pg-faq .lp-faq-question {
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    cursor: pointer;
    padding: 0.9rem 0;
    font: inherit;
    font-weight: 500;
    color: var(--pg-ink);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.pg-faq .lp-faq-answer { padding-bottom: 1rem; color: var(--pg-ink); max-width: 62ch; }
.pg-faq .lp-faq-answer p { margin: 0 0 0.6rem; }

.pg-note { margin-top: 1rem; color: var(--pg-muted); font-size: var(--pg-small); max-width: 56ch; }
.pg-meta { margin: 1.2rem 0 0; font-size: var(--pg-small); color: var(--pg-muted); }

/* ── motion: hidden only when JS is present ───────────────────────────────── */
.js .pg-rv { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .pg-rv.pg-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .pg-hero-inner { display: block; }
    .pg-print { margin: 1.6rem 0 0; }
    .pg-print img { height: clamp(280px, 42vh, 420px); }
    .pg-spread { display: block; }
    .pg-aside { position: static; max-width: 44ch; margin-bottom: 0.6rem; }
    .pg-methods, .pg-cols, .pg-cats { grid-template-columns: 1fr; }
}

@media (max-width: 520px) { .pg-h1 { font-size: clamp(1.9rem, 7.6vw, 2.2rem); } }

@media (max-width: 700px) {
    .js .pg-rv { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .pg-rv, .pg-stub, .pg-btn { transition: none; }
    .pg-btn:hover { transform: none; }
}

.pg-wrap :focus-visible, .pg-ask :focus-visible, .pg-faq :focus-visible {
    outline: 3px solid var(--pg-red);
    outline-offset: 3px;
}
