:root {
    --paper: #F8F6F0;
    --paper-alt: #E8E6E1;
    --ink-soft: #76626B;
    --mauve: #B9A9B6;
    --teal: #769694;
    --ink: #3D6878;
    --mint: #BFD4BB;
    --amber: #EAA94A;
    --white: #FFFFFF;
    --shadow: rgba(61, 104, 120, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    font-size: 20px;
}

.organic-shape {
    position: absolute;
    border-radius: 58% 42% 44% 56% / 50% 34% 66% 50%;
    background: linear-gradient(130deg, var(--mauve), var(--teal));
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

header {
    position: sticky;
    top: 0;
    z-index: 120;
    padding: 1.25rem 3rem;
    background: rgba(248, 246, 240, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(118, 98, 107, 0.18);
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.brand {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.35rem;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 0 5px rgba(234, 169, 74, 0.15);
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s ease;
}

nav a:hover,
nav a:focus-visible {
    border-color: var(--amber);
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 1rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(118, 98, 107, 0.2);
}

.lang-toggle span.active {
    color: var(--ink);
    border-bottom: 2px solid var(--amber);
    padding-bottom: 0.1rem;
}

.lang-toggle a {
    color: var(--ink-soft);
    padding-bottom: 0.1rem;
    border-bottom: 2px solid transparent;
}

.lang-toggle a:hover {
    color: var(--ink);
    border-bottom: 2px solid var(--amber);
}

.lang-toggle .separator {
    color: var(--mauve);
    font-weight: 400;
    margin: 0 0.1rem;
    padding-bottom: 0.1rem;
}

main {
    overflow: clip;
}

section {
    padding: 5rem 3rem;
    position: relative;
}

.hero {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero .organic-shape {
    width: 620px;
    height: 620px;
    right: -120px;
    top: -120px;
}

.hero-content {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.95fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2.35rem, 5.1vw, 4.4rem);
    line-height: 1.12;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-wrap: balance;
}

.hero-text h1 em {
    color: var(--ink-soft);
    font-style: italic;
}

.hero-subtitle {
    color: var(--ink-soft);
    max-width: 650px;
    font-size: 1.3rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.hero-points {
    list-style: none;
    margin-bottom: 2.4rem;
}

.hero-points li {
    position: relative;
    padding-left: 1.5rem;
    margin: 0.45rem 0;
    font-size: 1.1rem;
    color: var(--ink);
}

.hero-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    font-size: 1.02rem;
    padding: 1rem 2.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 30px var(--shadow);
}

.hero-cta::after {
    content: '→';
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px var(--shadow);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-photo {
    width: min(420px, 92vw);
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    background: linear-gradient(150deg, var(--paper-alt), var(--mint));
    overflow: hidden;
    box-shadow: 0 22px 50px var(--shadow);
    border: 3px solid rgba(61, 104, 120, 0.12);
}

.hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-caption {
    text-align: center;
    margin-top: 1.1rem;
    font-size: 1rem;
    color: var(--ink-soft);
    font-style: italic;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-indicator span {
    font-size: 0.88rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.scroll-indicator i {
    color: var(--ink-soft);
    font-size: 1.1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

.section-header {
    max-width: 880px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-tag {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin-bottom: 0.85rem;
}

.section-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: clamp(1.9rem, 4vw, 3.15rem);
    line-height: 1.23;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.section-intro {
    color: var(--ink-soft);
    font-size: 1.2rem;
    line-height: 1.6;
}

.about-section {
    background: linear-gradient(to bottom, var(--paper), var(--paper-alt));
}

.about-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.about-card {
    background: var(--paper);
    border: 1px solid rgba(61, 104, 120, 0.14);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(61, 104, 120, 0.08);
}

.about-icon {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    background: var(--ink);
    color: var(--paper);
    font-size: 1rem;
}

.about-card h3 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 1.32rem;
    margin-bottom: 0.6rem;
}

.about-card p {
    color: var(--ink-soft);
    font-size: 1.1rem;
    line-height: 1.55;
}

.quote-section {
    background: var(--ink);
    color: var(--paper);
    text-align: center;
    padding: 8rem 2.2rem;
}

.quote-section .organic-shape {
    width: 470px;
    height: 470px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(140deg, var(--teal), var(--mauve));
    opacity: 0.16;
}

.quote-section blockquote {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.quote-section p {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: clamp(1.55rem, 3vw, 2.45rem);
    line-height: 1.45;
}

.quote-section cite {
    display: inline-block;
    margin-top: 1.5rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: rgba(248, 246, 240, 0.82);
}

.quote-section footer {
    background: transparent;
    padding: 0;
}

.mega-section {
    background: var(--paper-alt);
}

.mega-content {
    max-width: 1180px;
    margin: 0 auto;
}

.mega-intro {
    color: var(--ink-soft);
    text-align: center;
    font-size: 1.24rem;
    line-height: 1.58;
    max-width: 980px;
    margin: 0 auto 2.2rem;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.mega-item {
    background: var(--paper);
    border-radius: 14px;
    border: 1px solid rgba(61, 104, 120, 0.14);
    padding: 1.4rem;
    box-shadow: 0 6px 20px rgba(61, 104, 120, 0.06);
}

.mega-number {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.65rem;
    color: var(--ink-soft);
    margin-bottom: 0.35rem;
}

.mega-item h3 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.mega-item p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.5;
}

.notice-card {
    margin-top: 1.4rem;
    background: var(--paper);
    border-left: 6px solid var(--amber);
    border-radius: 14px;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 8px 20px rgba(61, 104, 120, 0.08);
}

.notice-card h3 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.notice-card p {
    color: var(--ink-soft);
    font-size: 1.06rem;
}

.senedd-role-section {
    background: var(--paper);
}

.issues-section {
    background: var(--paper-alt);
}

.issues-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.issue-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(61, 104, 120, 0.12);
    padding: 1.6rem;
    box-shadow: 0 8px 22px rgba(61, 104, 120, 0.07);
}

.issue-card h3 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 1.32rem;
    line-height: 1.35;
    margin-bottom: 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.issue-card h3::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--amber);
    flex-shrink: 0;
}

.issue-card p {
    color: var(--ink-soft);
    font-size: 1.09rem;
    line-height: 1.5;
    margin-bottom: 0.7rem;
}

.issue-points {
    list-style: none;
}

.issue-points li {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.45;
    position: relative;
    margin: 0.32rem 0;
    padding-left: 1.15rem;
}

.issue-points li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--teal);
}

.cta-section {
    background: linear-gradient(155deg, var(--ink), #365f6e);
    color: var(--paper);
    text-align: center;
}

.cta-section h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 0.9rem;
    text-wrap: balance;
}

.cta-section p {
    max-width: 760px;
    margin: 0 auto 1.8rem;
    font-size: 1.18rem;
    color: rgba(248, 246, 240, 0.95);
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    border-radius: 999px;
    padding: 0.92rem 1.4rem;
    text-decoration: none;
    font-size: 1rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.cta-btn.primary {
    background: var(--paper);
    color: var(--ink);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--paper);
    border-color: rgba(248, 246, 240, 0.45);
}

.cta-btn.secondary:hover {
    border-color: var(--amber);
}

footer {
    background: #2f5563;
    color: var(--paper);
    padding: 2.6rem 2rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
}

.footer-brand p,
.footer-links a,
.footer-bottom p {
    color: rgba(248, 246, 240, 0.88);
}

.footer-links h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    color: rgba(248, 246, 240, 0.72);
}

.footer-links a {
    text-decoration: none;
    display: block;
    margin-bottom: 0.45rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--amber);
}

.footer-bottom {
    max-width: 1280px;
    margin: 1.5rem auto 0;
    padding-top: 1rem;
    text-align: center;
    border-top: 1px solid rgba(248, 246, 240, 0.14);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ink);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.4rem;
}

.skip-link {
    position: absolute;
    top: -110%;
    left: 1rem;
    padding: 0.75rem 1.2rem;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 8px 8px;
}

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

a:focus-visible,
button:focus-visible,
.hero-cta:focus-visible,
.cta-btn:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 3px;
}

/* Accessibility controls */
.accessibility-toggle {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--paper);
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    font-size: 1.8rem;
}

.accessibility-toggle i {
    font-size: 2.5rem;
    line-height: 1;
}

.accessibility-toggle:hover {
    background: #355c6a;
}

.accessibility-panel {
    position: fixed;
    right: 1rem;
    bottom: 5.2rem;
    width: min(340px, calc(100vw - 2rem));
    background: var(--paper);
    border: 2px solid rgba(61, 104, 120, 0.28);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.accessibility-panel.active {
    display: block;
}

.accessibility-panel h3 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 1.2rem;
    margin: 0;
}

.accessibility-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.accessibility-panel-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(61, 104, 120, 0.2);
    background: var(--paper);
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.accessibility-panel-close:hover {
    border-color: rgba(61, 104, 120, 0.38);
}

.accessibility-help {
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.35;
    margin: 0 0 0.8rem;
}

.accessibility-option {
    margin-bottom: 0.9rem;
}

.accessibility-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.accessibility-option p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.4;
}

.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    border: none;
    border-radius: 999px;
    background: var(--paper-alt);
    cursor: pointer;
}

.toggle-switch[aria-checked="true"] {
    background: var(--ink);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--white);
    transition: transform 0.2s ease;
}

.toggle-switch[aria-checked="true"]::after {
    transform: translateX(24px);
}

.colour-options {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.35rem;
}

.colour-btn {
    width: 36px;
    height: 36px;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
}

.colour-btn.active,
.colour-btn:hover {
    border-color: var(--ink);
}

.colour-btn.yellow {
    background: #fff9c4;
}

.colour-btn.blue {
    background: #e3f2fd;
}

.colour-btn.green {
    background: #e8f5e9;
}

.colour-btn.pink {
    background: #fce4ec;
}

.colour-btn.orange {
    background: #fff3e0;
}

.clear-overlay-btn {
    margin-top: 0.35rem;
    border: none;
    background: none;
    color: var(--ink-soft);
    cursor: pointer;
    font-size: 0.94rem;
}

.clear-overlay-btn:hover {
    color: var(--ink);
}

.colour-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    display: none;
}

.colour-overlay.active {
    display: block;
}

.colour-overlay.yellow {
    background: rgba(255, 235, 59, 0.3);
}

.colour-overlay.blue {
    background: rgba(33, 150, 243, 0.2);
}

.colour-overlay.green {
    background: rgba(76, 175, 80, 0.2);
}

.colour-overlay.pink {
    background: rgba(233, 30, 99, 0.15);
}

.colour-overlay.orange {
    background: rgba(255, 152, 0, 0.2);
}

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

html.large-text {
    font-size: 118.75%;
}

body.large-text {
    font-size: 23px;
}

body.large-text .hero-text h1 {
    font-size: clamp(2.6rem, 5.7vw, 4.8rem);
}

body.large-text .section-title {
    font-size: clamp(2.15rem, 4.4vw, 3.45rem);
}

body.large-text .quote-section p {
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

body.large-text .cta-section h2 {
    font-size: clamp(2.2rem, 4.1vw, 3.35rem);
}

body.large-text .section-tag,
body.large-text nav a,
body.large-text .cta-btn,
body.large-text .hero-cta,
body.large-text .accessibility-option p,
body.large-text .accessibility-option-header,
body.large-text .accessibility-help {
    font-size: 1.05rem;
}

body.dyslexic-font {
    font-family: 'OpenDyslexic', 'OpenDyslexic-Regular', sans-serif;
}

body.dyslexic-font h1,
body.dyslexic-font h2,
body.dyslexic-font h3,
body.dyslexic-font .brand {
    font-family: 'OpenDyslexic', 'OpenDyslexic-Regular', sans-serif;
}

body.high-contrast {
    --paper: #ffffff;
    --paper-alt: #ffffff;
    --ink: #000000;
    --ink-soft: #000000;
    --mauve: #ffffff;
    --teal: #000000;
    --mint: #ffffff;
    --amber: #000000;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.12);
}

body.high-contrast {
    background: #fff !important;
    color: #000 !important;
}

body.high-contrast .organic-shape,
body.high-contrast .scroll-indicator {
    display: none;
}

body.high-contrast header,
body.high-contrast .hero,
body.high-contrast .about-section,
body.high-contrast .mega-section,
body.high-contrast .issues-section {
    background: #fff !important;
    color: #000 !important;
}

body.high-contrast header {
    border-bottom: 2px solid #000 !important;
    backdrop-filter: none;
}

body.high-contrast nav,
body.high-contrast nav a,
body.high-contrast .brand,
body.high-contrast .hero-subtitle,
body.high-contrast .hero-points li,
body.high-contrast .photo-caption,
body.high-contrast .section-tag,
body.high-contrast .section-intro,
body.high-contrast .mega-intro,
body.high-contrast .about-card p,
body.high-contrast .issue-card p,
body.high-contrast .mega-item p,
body.high-contrast .notice-card p,
body.high-contrast .accessibility-option p,
body.high-contrast .accessibility-help {
    color: #000 !important;
    opacity: 1 !important;
}

body.high-contrast .brand::before,
body.high-contrast .hero-points li::before,
body.high-contrast .issue-card h3::before {
    background: #000 !important;
    box-shadow: none !important;
    color: #000 !important;
}

body.high-contrast .hero-photo {
    background: #fff !important;
    border: 3px solid #000 !important;
    box-shadow: none !important;
}

body.high-contrast .hero-cta,
body.high-contrast .cta-btn.primary,
body.high-contrast .accessibility-toggle {
    background: #000;
    color: #fff;
    border: 2px solid #000 !important;
    box-shadow: none !important;
}

body.high-contrast .cta-btn.secondary {
    background: #fff !important;
    border: 2px solid #000 !important;
    color: #000 !important;
}

body.high-contrast .issue-card,
body.high-contrast .about-card,
body.high-contrast .mega-item,
body.high-contrast .notice-card,
body.high-contrast .accessibility-panel,
body.high-contrast nav.active {
    background: #fff !important;
    border-color: #000;
    box-shadow: none !important;
}

body.high-contrast .quote-section,
body.high-contrast footer,
body.high-contrast .cta-section {
    background: #000;
    color: #fff;
}

body.high-contrast .quote-section p,
body.high-contrast .quote-section cite,
body.high-contrast .cta-section h2,
body.high-contrast .cta-section p,
body.high-contrast .cta-section a,
body.high-contrast .cta-section a:link,
body.high-contrast .cta-section a:visited,
body.high-contrast .footer-brand h2,
body.high-contrast .footer-brand p,
body.high-contrast .footer-links h3,
body.high-contrast .footer-links a,
body.high-contrast .footer-links a:link,
body.high-contrast .footer-links a:visited,
body.high-contrast .footer-bottom p {
    color: #fff !important;
    opacity: 1 !important;
}

body.high-contrast .footer-links a:hover {
    text-decoration: underline;
}

body.high-contrast .cta-btn.secondary,
body.high-contrast .cta-btn.secondary:link,
body.high-contrast .cta-btn.secondary:visited {
    color: #000 !important;
}

body.high-contrast .accessibility-panel-close {
    background: #fff !important;
    border: 2px solid #000 !important;
    color: #000 !important;
}

body.high-contrast .toggle-switch {
    background: #fff !important;
    border: 2px solid #000 !important;
}

body.high-contrast .toggle-switch[aria-checked="true"] {
    background: #000 !important;
    border-color: #000 !important;
}

body.high-contrast .toggle-switch::after {
    box-sizing: border-box;
    top: 1px;
    left: 1px;
    background: #000 !important;
    border: 1px solid #fff;
}

body.high-contrast .toggle-switch[aria-checked="true"]::after {
    background: #fff !important;
    border-color: #000;
}

body.high-contrast .colour-btn {
    border-color: #000 !important;
}

body.high-contrast .clear-overlay-btn {
    color: #000 !important;
}

body.high-contrast a:focus-visible,
body.high-contrast button:focus-visible,
body.high-contrast .hero-cta:focus-visible,
body.high-contrast .cta-btn:focus-visible {
    outline: 3px solid #000 !important;
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }

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

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

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

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

@media (max-width: 768px) {
    body {
        font-size: 19px;
    }

    header {
        padding: 1rem;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid rgba(61, 104, 120, 0.15);
        border-top: 1px solid rgba(61, 104, 120, 0.15);
        padding: 1rem;
        flex-direction: column;
        gap: 0.8rem;
        z-index: 101;
    }

    nav.active {
        display: flex;
    }

    section {
        padding: 4.7rem 1rem;
    }

    .hero {
        min-height: auto;
        padding-top: 3rem;
    }

    .hero-points li {
        font-size: 1.02rem;
    }

    .hero-photo {
        width: min(280px, 70vw);
    }

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

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

    .cta-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {

    .accessibility-toggle,
    .accessibility-panel,
    .scroll-indicator,
    .mobile-menu-toggle,
    #colourOverlay {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
    }

    section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }

    .quote-section,
    .cta-section,
    footer {
        background: #fff !important;
        color: #000 !important;
    }
}

/* Accordion Styles */
.accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--paper);
    border: 1px solid rgba(61, 104, 120, 0.14);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(61, 104, 120, 0.04);
}

.accordion-item:hover {
    border-color: rgba(61, 104, 120, 0.25);
    box-shadow: 0 8px 24px rgba(61, 104, 120, 0.08);
}

.accordion-header {
    width: 100%;
    padding: 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Libre Baskerville', serif;
    font-size: 1.25rem;
    color: var(--ink);
    text-align: left;
    transition: background-color 0.2s ease;
}

.accordion-header:hover,
.accordion-header:focus-visible {
    background-color: rgba(61, 104, 120, 0.03);
}

.accordion-header i {
    font-size: 0.9rem;
    color: var(--ink-soft);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-header[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(248, 246, 240, 0.5);
}

.accordion-header[aria-expanded="true"]+.accordion-panel {
    max-height: 1000px;
    /* Large enough to fit content */
}

.accordion-content {
    padding: 1rem 1.75rem 1.75rem;
    color: var(--ink-soft);
    font-size: 1.1rem;
    line-height: 1.6;
}

.accordion-content p {
    margin-bottom: 1rem;
}

.accordion-content ul {
    list-style: none;
    padding-left: 0.5rem;
}

.accordion-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.accordion-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
}