@import url('https://fonts.googleapis.com/css2?family=Anton&family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Oswald:wght@500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --ink: #073DAA;
    --paper: #FFC400;
    --green: #078DB7;
    --moss: #F04432;
    --line: rgba(7, 61, 170, 0.25);
    --muted: #073DAA;

    --display: 'DM Sans', sans-serif;
    --body: 'DM Sans', sans-serif;
    --mono: 'DM Mono', monospace;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    line-height: 1.5
}

a {
    color: inherit;
    text-decoration: none
}

.wrap {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto
}

.announcement {
    background: var(--green);
    text-align: center;
    padding: 9px 16px;
    font: 500 10px var(--mono);
    letter-spacing: .14em
}

.site-header {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line)
}

.brand {
    display: flex;
    gap: 11px;
    align-items: center;
    font: 700 12px/1.05 var(--display);
    letter-spacing: .08em
}

.brand-mark {
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--green);
    width: 39px;
    height: 39px;
    font: 700 12px var(--display);
    letter-spacing: -.06em
}

.brand-dot {
    color: #789900
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 12px;
    font-weight: 600
}

.nav a:not(.nav-cta):hover,
.footer a:hover {
    opacity: .65
}

.nav-cta {
    background: var(--ink);
    color: white;
    padding: 13px 16px
}

.nav-cta span {
    color: var(--green);
    margin-left: 8px
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 24px
}

.hero {
    padding-top: 76px;
    display: grid;
    grid-template-columns: 1fr .88fr;
    gap: 38px;
    position: relative
}

.hero-copy {
    padding: 24px 0 54px
}

.eyebrow {
    font: 500 10px var(--mono);
    letter-spacing: .14em;
    color: var(--moss);
    margin: 0 0 24px
}

.live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #87a900;
    border-radius: 50%;
    margin-right: 8px
}

.hero h1,
.section h2,
.submit-layout h2 {
    font: 600 clamp(54px, 7.2vw, 94px)/.94 var(--display);
    letter-spacing: -.075em;
    margin: 0
}

.hero h1 em,
.section h2 em,
.submit-layout h2 em {
    font-style: normal;
    color: var(--moss)
}

.hero-lede {
    max-width: 420px;
    font-size: 16px;
    line-height: 1.7;
    color: #5b645d;
    margin: 29px 0 26px
}

.hero-actions {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap
}

.button {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 16px 19px;
    font: 600 12px var(--body);
    cursor: pointer;
    transition: transform .2s, background .2s
}

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

.button-dark {
    background: var(--ink);
    color: white
}

.button-dark span {
    color: var(--green)
}

.text-link {
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid var(--ink);
    padding: 7px 0
}

.text-link span {
    margin-left: 8px
}

.hero-art {
    min-height: 435px;
    position: relative;
    background: #dbe3d2;
    overflow: hidden
}

.art-circle {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--green);
    right: -25px;
    top: 15px
}

.art-block {
    position: absolute;
    background: #233c2f;
    width: 49%;
    height: 60%;
    left: 0;
    bottom: 0
}

.art-ring {
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px solid #233c2f;
    border-radius: 50%;
    right: 15px;
    top: 65px
}

.art-word {
    position: absolute;
    right: 32px;
    top: 105px;
    font: 700 clamp(33px, 4vw, 55px)/.92 var(--display);
    letter-spacing: -.07em;
    color: #1d3025
}

.art-word span {
    color: #759300
}

.art-note {
    position: absolute;
    left: 22px;
    bottom: 24px;
    color: #f3f1e9;
    font: 10px/1.8 var(--mono);
    letter-spacing: .1em
}

.art-number {
    position: absolute;
    right: 19px;
    bottom: 17px;
    font: 10px var(--mono)
}

.hero-bottom {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding: 16px 0 20px;
    font: 10px var(--mono);
    letter-spacing: .08em
}

.ticker {
    background: var(--ink);
    color: var(--green);
    overflow: hidden;
    white-space: nowrap;
    padding: 15px 0;
    font: 500 15px var(--mono);
    letter-spacing: .1em
}

.ticker div {
    text-align: center
}

.ticker span {
    padding: 0 23px
}

.section {
    padding-top: 100px;
    padding-bottom: 100px
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 44px
}

.section h2,
.submit-layout h2 {
    font-size: clamp(48px, 6vw, 74px)
}

.section-intro {
    max-width: 310px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 7px
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}   

.manifesto-card {
    padding: 27px 25px 31px;
    min-height: 230px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative
}

.card-number {
    font: 11px var(--mono);
    color: var(--moss)
}

.manifesto-card h3 {
    font: 600 22px var(--display);
    letter-spacing: -.04em;
    margin: 34px 0 12px
}

.manifesto-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    max-width: 300px
}

.card-arrow {
    position: absolute;
    right: 23px;
    top: 23px;
    font-size: 18px
}

.small-note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 17px
}

.candidate-section {
    background: var(--ink);
    color: var(--paper)
}

.eyebrow-light {
    color: var(--green)
}

.section-intro-light {
    color: #c0c8c0
}

.candidate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px
}

.candidate-card {
    border: 1px solid #3b4940;
    padding: 14px
}

.candidate-portrait {
    aspect-ratio: 4/3;
    background: #dce3d2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative
}

.candidate-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.portrait-placeholder {
    font: 700 65px var(--display);
    letter-spacing: -.09em;
    color: #253c2e
}

.candidate-role {
    font: 10px var(--mono);
    letter-spacing: .1em;
    color: var(--green);
    margin: 20px 0 7px
}

.candidate-card h3 {
    font: 600 23px var(--display);
    margin: 0;
    letter-spacing: -.04em
}

.candidate-card p {
    color: #c0c8c0;
    font-size: 12px;
    line-height: 1.7;
    margin: 10px 0 5px
}

.voices-section {
    padding-bottom: 104px
}

.voices-toolbar {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    margin-bottom: 18px;
    font: 10px var(--mono);
    letter-spacing: .08em;
    color: var(--muted)
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px
}

.voice-card {
    background: #fffdf6;
    padding: 25px;
    min-height: 205px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e3e1d8
}

.voice-quote {
    font: 500 20px/1.35 var(--display);
    letter-spacing: -.04em;
    margin: 0 0 26px;
    white-space: pre-wrap;
    overflow-wrap: anywhere
}

.voice-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font: 9px var(--mono);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em
}

.voice-topic {
    background: #e8eddd;
    padding: 4px 7px;
    color: #3d563a
}

.empty-state {
    grid-column: 1/-1;
    color: var(--muted);
    padding: 35px 0
}

.submit-section {
    background: #233c2f;
    color: var(--paper)
}

.submit-layout {
    padding-top: 92px;
    padding-bottom: 92px;
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: 100px
}

.submit-layout h2 em {
    color: var(--green)
}

.submit-copy {
    max-width: 370px;
    color: #c5cec5;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 25px
}

.privacy-note {
    display: flex;
    gap: 14px;
    max-width: 360px;
    border-top: 1px solid #536456;
    padding-top: 20px;
    margin-top: 32px;
    font-size: 11px;
    color: #c5cec5;
    line-height: 1.7
}

.privacy-note strong {
    color: white;
    font-size: 12px
}

.privacy-icon {
    color: var(--green);
    font-size: 22px
}

.submission-form {
    display: flex;
    flex-direction: column
}

.submission-form label {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px
}

.submission-form label span {
    color: var(--green)
}

.submission-form textarea,
.submission-form select {
    width: 100%;
    background: #2d4838;
    border: 1px solid #647668;
    color: white;
    border-radius: 0;
    padding: 15px;
    font: 13px/1.6 var(--body);
    outline: none
}

.submission-form textarea:focus,
.submission-form select:focus {
    border-color: var(--green)
}

.submission-form textarea::placeholder {
    color: #a9b7aa
}

.form-meta {
    display: flex;
    justify-content: space-between;
    font: 10px var(--mono);
    color: #b4c1b5;
    margin: 7px 0 25px
}

.optional {
    float: right;
    font: 9px var(--mono);
    color: #b4c1b5 !important
}

.submission-form select {
    margin-bottom: 22px
}

.consent {
    display: flex;
    align-items: start;
    gap: 10px;
    color: #d2dbd2;
    font-weight: 400 !important;
    font-size: 11px !important;
    line-height: 1.6
}

.consent input {
    margin-top: 3px;
    accent-color: var(--green)
}

.button-accent {
    margin-top: 20px;
    background: var(--green);
    color: var(--ink);
    align-self: flex-start;
    min-width: 190px
}

.button-accent span {
    font-size: 17px
}

.form-status {
    font-size: 12px;
    min-height: 20px;
    margin: 12px 0 0
}

.form-status.success {
    color: var(--green)
}

.form-status.error {
    color: #ffb5a9
}

.form-privacy {
    font-size: 10px;
    color: #aebbb0;
    line-height: 1.7;
    margin-top: 13px
}

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0
}

.footer {
    background: #121b16;
    color: #e7e9e0;
    padding: 35px 0
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: center
}

.brand-footer {
    justify-self: start
}

.brand-footer .brand-mark {
    background: var(--green);
    color: var(--ink)
}

.footer p {
    font-size: 11px;
    color: #aeb8ae
}

.footer-inner>div {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    font-size: 11px
}

.footer small {
    grid-column: 1/-1;
    border-top: 1px solid #344139;
    padding-top: 18px;
    color: #89958b;
    font: 9px var(--mono)
}

/* Admin page */
.admin-main {
    min-height: 75vh;
    padding: 65px 0 100px
}

.admin-panel {
    max-width: 850px;
    margin: 0 auto;
    background: #fffdf6;
    border: 1px solid var(--line);
    padding: 30px
}

.admin-panel h1 {
    font: 600 42px var(--display);
    letter-spacing: -.06em;
    margin: 0 0 8px
}

.admin-panel>p {
    color: var(--muted);
    font-size: 13px
}

.admin-form {
    max-width: 420px;
    display: grid;
    gap: 12px;
    margin-top: 25px
}

.admin-form label {
    font-size: 12px;
    font-weight: 700
}

.admin-form input {
    width: 100%;
    padding: 13px;
    border: 1px solid var(--line);
    background: white;
    font: 13px var(--body);
    margin-top: 6px
}

.admin-form button,
.admin-action {
    background: var(--ink);
    color: white;
    border: 0;
    padding: 12px 15px;
    font: 600 12px var(--body);
    cursor: pointer
}

.admin-status {
    font-size: 12px;
    color: #9a2e22
}

.admin-status.good {
    color: #315d2e
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 25px 0
}

.admin-toolbar button {
    margin-left: 7px
}

.admin-list {
    display: grid;
    gap: 12px
}

.admin-item {
    border: 1px solid var(--line);
    padding: 18px;
    display: grid;
    gap: 12px
}

.admin-item p {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    margin: 0;
    font-size: 14px
}

.admin-item-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font: 10px var(--mono);
    color: var(--muted)
}

.admin-item-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.admin-item-actions button {
    border: 0;
    padding: 9px 12px;
    font: 600 11px var(--body);
    cursor: pointer
}

.approve-btn {
    background: #d7ff3f;
    color: #18231e
}

.reject-btn {
    background: #f4e4de;
    color: #7e2b20
}

.delete-btn {
    background: #eee;
    color: #333
}

.admin-empty {
    color: var(--muted);
    font-size: 13px;
    padding: 20px 0
}

.admin-link {
    font-size: 12px;
    border-bottom: 1px solid
}

@media(max-width:760px) {
    .wrap {
        width: min(100% - 32px, 600px)
    }

    .site-header {
        height: 72px
    }

    .menu-toggle {
        display: block
    }

    .nav {
        display: none;
        position: absolute;
        top: 119px;
        left: 0;
        right: 0;
        background: var(--paper);
        padding: 20px 24px;
        z-index: 5;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        border-bottom: 1px solid var(--line)
    }

    .nav.open {
        display: flex
    }

    .nav-cta {
        text-align: center
    }

    .hero {
        padding-top: 35px;
        grid-template-columns: 1fr;
        gap: 20px
    }

    .hero-copy {
        padding: 12px 0 10px
    }

    .hero h1 {
        font-size: clamp(56px, 15vw, 85px)
    }

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

    .art-circle {
        width: 260px;
        height: 260px
    }

    .art-ring {
        width: 230px;
        height: 230px
    }

    .art-word {
        top: 80px;
        font-size: 48px
    }

    .hero-bottom {
        font-size: 8px;
        gap: 8px
    }

    .section {
        padding-top: 68px;
        padding-bottom: 68px
    }

    .section-head {
        display: block;
        margin-bottom: 30px
    }

    .section-intro {
        margin-top: 20px
    }

    .manifesto-grid {
        grid-template-columns: 1fr
    }

    .manifesto-card {
        min-height: 170px
    }

    .manifesto-card h3 {
        margin-top: 22px
    }

    .candidate-grid,
    .voice-grid {
        grid-template-columns: 1fr
    }

    .candidate-card {
        display: grid;
        grid-template-columns: 115px 1fr;
        column-gap: 16px
    }

    .candidate-portrait {
        grid-row: 1/4;
        aspect-ratio: 3/4
    }

    .candidate-role {
        margin-top: 6px
    }

    .candidate-card h3 {
        font-size: 21px
    }

    .candidate-card p {
        margin-top: 5px
    }

    .voice-card {
        min-height: 160px
    }

    .submit-layout {
        padding-top: 65px;
        padding-bottom: 65px;
        grid-template-columns: 1fr;
        gap: 35px
    }

    .submit-layout h2 {
        font-size: 62px
    }

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

    .footer p {
        grid-column: 1/-1;
        grid-row: 2;
        margin: 0
    }

    .footer-inner>div {
        grid-column: 1/-1;
        grid-row: 3;
        justify-content: flex-start;
        flex-wrap: wrap
    }

    .footer small {
        grid-row: 4
    }

    .admin-panel {
        padding: 20px
    }

    .admin-panel h1 {
        font-size: 34px
    }
}
/* ==========================================================
   Muhammed Muhsin K — For Cabinet — poster-inspired campaign visual refinement
   Keeps existing selectors and functionality intact.
   ========================================================== */
:root {
    --ink: #073DAA;
    --paper: #FFC400;
    --green: #078DB7;
    --moss: #F04432;
    --line: rgba(7, 61, 170, 0.28);
    --muted: #174AAE;
    --ivory: #FFF4E4;
    --blue-deep: #052D82;
    --yellow-light: #FFD84D;
}


body {
    background: var(--paper);
    color: var(--ink);
}

.announcement {
    background: var(--ink);
    color: var(--ivory);
    border-bottom: 4px solid var(--moss);
}

.site-header {
    border-bottom: 2px solid var(--ink);
}

.brand-mark {
    background: var(--ink);
    color: var(--paper);
    border: 2px solid var(--moss);
    box-shadow: 3px 3px 0 var(--moss);
}

.brand-dot,
.live-dot {
    color: var(--moss);
}

.live-dot {
    background: var(--moss);
}

.nav-cta,
.button-dark {
    background: var(--ink);
    color: var(--ivory);
    border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 var(--moss);
}

.nav-cta span,
.button-dark span {
    color: var(--paper);
}

.nav-cta:hover,
.button-dark:hover {
    background: var(--moss);
    border-color: var(--moss);
    color: var(--ivory);
}

.hero {
    padding-top: 64px;
    gap: 42px;
}

.hero h1,
.section h2,
.submit-layout h2 {
    font-family: 'Anton', 'Oswald', Impact, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -.025em;
    line-height: .96;
    text-shadow: 4px 4px 0 rgba(7, 61, 170, .16);
}

.hero h1 em,
.section h2 em,
.submit-layout h2 em {
    color: var(--ivory);
    -webkit-text-stroke: 1px var(--ink);
    text-shadow: 4px 4px 0 var(--ink);
}

.eyebrow {
    color: var(--moss);
    font-weight: 500;
}

.hero-lede {
    color: #173E83;
}

.hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
    background: transparent;
    border: none;
    outline: none;
    background-image: none;
    background-size: auto;
    overflow: visible;
}

.art-circle {
    background: var(--green);
    border: 3px solid var(--ink);
    right: 12px;
    top: 24px;
    box-shadow: 7px 7px 0 var(--ink);
}

.art-block {
    background: var(--ink);
    border-top: 7px solid var(--moss);
    width: 51%;
    height: 55%;
}

.art-ring {
    border: 2px solid var(--ink);
    right: 32px;
    top: 74px;
}

.art-word {
    font-family: 'Anton', 'Oswald', Impact, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -.025em;
    color: var(--ivory);
    text-shadow: 4px 4px 0 var(--ink);
    right: 28px;
    top: 112px;
}

.art-word span {
    color: var(--moss);
}

.art-note {
    color: var(--ivory);
    background: var(--ink);
    padding: 10px 12px;
    left: 0;
    bottom: 0;
}

.art-number {
    color: var(--ink);
    font-weight: 700;
}

.hero-bottom {
    border-top: 2px solid var(--ink);
    font-weight: 500;
}

.ticker {
    background: var(--moss);
    color: var(--ivory);
    border-top: 4px solid var(--ink);
    border-bottom: 4px solid var(--ink);
}

.ticker span {
    color: var(--paper);
}

.section h2 {
    text-shadow: 3px 3px 0 rgba(7, 61, 170, .13);
}

.manifesto-grid {
    border-top: 3px solid var(--moss);
    border-left: 3px solid var(--moss);
}

.manifesto-card {
    background: var(--yellow-light);
    border-right: 3px solid var(--moss);
    border-bottom: 3px solid var(--moss);
}

.manifesto-card:nth-child(3n + 2) {
    background: var(--ivory);
}

.card-number {
    color: var(--moss);
    font-weight: 700;
}

.manifesto-card h3 {
    font-family: 'Oswald', 'DM Sans', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

.manifesto-card p,
.section-intro {
    color: #254987;
}

.candidate-section {
    background: var(--ink);
    color: var(--ivory);
    border-top: 8px solid var(--moss);
    border-bottom: 8px solid var(--moss);
}

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

.section-intro-light,
.candidate-card p {
    color: #E4E9F7;
}

.candidate-card {
    border: 2px solid var(--green);
    box-shadow: 4px 4px 0 var(--moss);
}

.candidate-portrait {
    background-color: var(--paper);
    background-image: radial-gradient(rgba(7, 61, 170, .35) .75px, transparent .85px);
    background-size: 6px 6px;
    border: 2px solid var(--moss);
}

.portrait-placeholder {
    color: var(--ink);
    font-family: 'Anton', Impact, sans-serif;
}

.candidate-card h3 {
    font-family: 'Oswald', 'DM Sans', sans-serif;
    text-transform: uppercase;
}

.voices-toolbar {
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    color: var(--ink);
}

.voice-card {
    background: var(--ivory);
    border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 var(--moss);
}

.voice-card:nth-child(3n + 2) {
    background: var(--yellow-light);
}

.voice-quote {
    color: var(--ink);
    font-family: 'Oswald', 'DM Sans', sans-serif;
    font-weight: 600;
}

.voice-topic {
    background: var(--green);
    color: white;
}

.submit-section {
    background: var(--ink);
    color: var(--ivory);
    border-top: 8px solid var(--moss);
}

.submit-layout h2 em {
    color: var(--paper);
    -webkit-text-stroke: 0;
    text-shadow: 4px 4px 0 var(--moss);
}

.submit-copy,
.privacy-note,
.form-privacy,
.consent {
    color: #E4E9F7;
}

.privacy-note {
    border-top-color: var(--green);
}

.privacy-note strong {
    color: var(--paper);
}

.privacy-icon,
.submission-form label span {
    color: var(--paper);
}

.submission-form textarea,
.submission-form select {
    background: #102B68;
    border: 2px solid #4772CF;
    color: var(--ivory);
}

.submission-form textarea:focus,
.submission-form select:focus {
    border-color: var(--paper);
    box-shadow: 3px 3px 0 var(--moss);
}

.submission-form textarea::placeholder {
    color: #C4D0EF;
}

.button-accent {
    background: var(--paper);
    color: var(--ink);
    border: 2px solid var(--paper);
    box-shadow: 4px 4px 0 var(--moss);
}

.button-accent:hover {
    background: var(--ivory);
    transform: translate(-2px, -2px);
}

.form-status.success {
    color: var(--paper);
}

.footer {
    background: var(--moss);
    color: var(--ivory);
    border-top: 5px solid var(--ink);
}

.footer p,
.footer small {
    color: var(--ivory);
}

.footer small {
    border-top-color: rgba(255, 244, 228, .4);
}

.brand-footer .brand-mark {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--ink);
}

.admin-panel {
    background: var(--ivory);
    border: 2px solid var(--moss);
    box-shadow: 6px 6px 0 var(--ink);
}

.admin-panel h1 {
    font-family: 'Anton', 'Oswald', Impact, sans-serif;
    text-transform: uppercase;
}

.admin-form input {
    border: 2px solid var(--line);
}

.admin-form button,
.admin-action {
    background: var(--ink);
    color: var(--ivory);
}

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

@media (max-width: 760px) {
    .hero {
        padding-top: 34px;
    }

    .hero-art {
        min-height: 360px;
        border-width: 7px;
        outline-offset: -13px;
    }

    .art-circle {
        right: -8px;
        top: 18px;
    }

    .art-word {
        right: 20px;
        top: 85px;
    }

    .nav {
        background: var(--paper);
        border-bottom: 3px solid var(--moss);
    }
}
/* Candidate portrait — homepage hero */
.hero-art {
    position: relative;
    overflow: visible;
}

.hero-art .candidate-portrait {
    position: absolute;
    z-index: 2;
    bottom: 0;
    right: 8%;
    height: 100%;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(5px 5px 0 var(--yellow));
}
/* Compact smiling portrait in the candidates section */
.candidate-feature {
    display: flex;
    align-items: center;
    gap: 76px;
    margin-top: 32px;
    padding: 24px;
    background: var(--paper);
    border: 3px solid var(--ink);
    box-shadow: 7px 7px 0 var(--red);
}

.candidate-feature-portrait {
    display: block;
    width: 100%;
    max-width: 280px;
    max-height: 340px;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    outline: 3px solid var(--blue, #073DAA);
    outline-offset: 0;
    box-sizing: border-box;
    transition:
    outline-color 250ms ease,
    transform 250ms ease;
}
.candidate-feature-portrait:hover,
.candidate-feature-portrait:focus-visible {
    outline-color: var(--red, #F04432);
    transform: translateY(-4px);
    filter: none;
}

.candidate-feature-caption {
    margin: 0;
    max-width: 620px;
    color: var(--ink);
    font-weight: 600;
    font-size: clamp(1.15rem, 1.65vw, 1.45rem);
    line-height: 1.55;
    letter-spacing: -0.02em;
    text-wrap: pretty;
}

@media (max-width: 600px) {
    .candidate-feature {
        flex-direction: column;
        align-items: flex-start;
    }

    .candidate-feature-portrait {
        width: 100%;
        max-width: 220px;
        max-height: 280px;
        align-self: center;
    }
}
/* Clean hero portrait: hide the old abstract artwork */
.hero-art > .art-circle,
.hero-art > .art-block,
.hero-art > .art-ring,
.hero-art > .art-word,
.hero-art > .art-note,
.hero-art > .art-number {
    display: none;
}

/* Remove any remaining background pattern */
.hero-art {
    background: transparent !important;
    background-image: none !important;
    background-size: auto !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
/* =========================================
   SUBTLE CAMPAIGN ANIMATIONS
   ========================================= */

/* Smooth entrance for the homepage content */
@keyframes campaign-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-copy > * {
    animation: campaign-enter 650ms ease-out both;
}

.hero-copy > *:nth-child(1) {
    animation-delay: 80ms;
}

.hero-copy > *:nth-child(2) {
    animation-delay: 160ms;
}

.hero-copy > *:nth-child(3) {
    animation-delay: 240ms;
}

.hero-copy > *:nth-child(4) {
    animation-delay: 320ms;
}

/* Gentle movement for the main portrait */
@keyframes portrait-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

.hero-art .candidate-portrait {
    animation:
        campaign-enter 800ms ease-out both,
        portrait-float 5s ease-in-out 900ms infinite;
    transform-origin: center bottom;
    transition:
        filter 250ms ease,
        scale 250ms ease;
}

/* Hover response for the main portrait */
.hero-art .candidate-portrait:hover {
    scale: 1.025;
    filter: drop-shadow(0 10px 12px rgb(7 61 170 / 22%));
}

/* Fade in the second portrait without controlling its hover movement */
@keyframes portrait-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.candidate-feature-portrait {
    animation: portrait-fade-in 800ms ease-out both;
    transform-origin: center bottom;
    transition:
        transform 450ms cubic-bezier(0.22, 1, 0.36, 1),
        outline-color 300ms ease;
    will-change: transform;
}

.candidate-feature-portrait:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 8px 8px rgb(7 61 170 / 18%));
}

/* Smooth button feedback */
.hero-actions a,
.hero-actions button,
.hero-actions .button {
    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        background-color 200ms ease;
}

.hero-actions a:hover,
.hero-actions button:hover,
.hero-actions .button:hover {
    transform: translateY(-3px);
}

/* Swap blue and red on the manifesto button hover */
.hero-actions a.button:hover,
.hero-actions button:hover,
.hero-actions .button:hover {
    background-color: var(--ink) !important;
    color: var(--ivory) !important;
    border-color: var(--moss) !important;
    transform: translateY(-3px);
}

/* Respect visitors who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-copy > *,
    .hero-art .candidate-portrait,
    .candidate-feature-portrait {
        animation: none !important;
    }

    .hero-art .candidate-portrait,
    .candidate-feature-portrait,
    .hero-actions a,
    .hero-actions button,
    .hero-actions .button {
        transition: none !important;
    }
}
/* =========================================
   SECTION HEADINGS AND PORTRAIT ANIMATIONS
   ========================================= */

/* Gentle entrance for section headings */
.section-head,
.section-head h2,
.section-intro {
    animation: campaign-enter 700ms ease-out both;
}

/* Slightly stagger the heading and supporting text */
.section-head h2 {
    animation-delay: 100ms;
}

.section-intro {
    animation-delay: 180ms;
}

/* Make the second portrait feel interactive */
.candidate-feature-portrait {
    transform-origin: center bottom;
    transition:
        transform 300ms ease,
        filter 300ms ease;
}

.candidate-feature-portrait:hover {
    transform: translateY(-6px) scale(1.015);
    filter: drop-shadow(0 10px 10px rgb(7 61 170 / 20%));
}

/* Subtle response when hovering over the portrait panel */
.candidate-feature {
    transition:
        box-shadow 250ms ease,
        border-color 250ms ease;
}

.candidate-feature:hover {
    box-shadow: 10px 10px 0 var(--red);
}

/* Keep the effects disabled for reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .section-head,
    .section-head h2,
    .section-intro,
    .candidate-feature-portrait {
        animation: none !important;
        transition: none !important;
    }

    .candidate-feature {
        transition: none !important;
    }
}
/* =========================================
   MOBILE HERO REFINEMENT
   ========================================= */

@media (max-width: 600px) {
    .hero-art {
        min-height: 0;
        height: auto;
        margin-top: 24px;
        padding: 0 12px 20px;
    }

    .hero-art .candidate-portrait {
        position: relative;
        display: block;
        right: auto;
        bottom: auto;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 360px;
        margin: 0 auto;
        object-fit: contain;
        object-position: center bottom;
    }
}


/* =========================================
   SECOND PORTRAIT — SMOOTH OUTLINE FEEDBACK
   ========================================= */

.candidate-feature-portrait {
    display: block;
    box-sizing: border-box;
    outline: 3px solid var(--ink);
    outline-offset: 0;
    transform: translateY(0) scale(1);
    filter: none;
    transform-origin: center bottom;
    transition:
        outline-color 300ms ease,
        transform 300ms ease;
}

.candidate-feature-portrait:hover,
.candidate-feature-portrait:focus-visible {
    outline-color: var(--moss);
    transform: translateY(-5px) scale(1.015);
    filter: none;
}

/* Touchscreens: no sticky hover effect */
@media (hover: none) {
    .candidate-feature-portrait:hover {
        transform: none;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .candidate-feature-portrait {
        transition: none;
        animation: none;
    }

    .candidate-feature-portrait:hover,
    .candidate-feature-portrait:focus-visible {
        transform: none;
    }
}

/* Smooth, subtle portrait hover */
.candidate-feature-portrait {
    transition:
        transform 450ms cubic-bezier(0.22, 1, 0.36, 1),
        outline-color 300ms ease;
    will-change: transform;
}

.candidate-feature-portrait:hover {
    transform: translateY(-6px) scale(1.015) !important;
    outline-color: var(--moss) !important;
    filter: none !important;
}

/* Fix: force the second portrait's hover lift */
.candidate-feature-portrait:hover {
    transform: translateY(-8px) scale(1.02) !important;
    outline-color: var(--moss) !important;
    filter: none !important;
    transition:
        transform 350ms ease,
        outline-color 350ms ease !important;
}
/* Subtle entrance animation for the hero heading */
@keyframes candidate-heading-enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-copy h1 {
    animation: candidate-heading-enter 800ms
        cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 150ms;
}

/* Gently reveal the cabinet label */
.hero-copy h1 em {
    display: inline-block;
    animation: candidate-heading-enter 700ms ease-out both;
    animation-delay: 450ms;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-copy h1,
    .hero-copy h1 em {
        animation: none;
    }
}
/* Individual interactive title letters */
.interactive-title {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    cursor: default;
}

.interactive-title .title-line {
    display: inline-block;
    white-space: nowrap;
}

.interactive-title .title-letter {
    display: inline-block;
    transform-origin: center bottom;
    transition:
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        color 220ms ease;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.interactive-title .title-letter:hover {
    transform: translateY(-7px) scale(1.08);
    color: var(--moss);
}

/* Keep the title animation accessible */
@media (prefers-reduced-motion: reduce) {
    .interactive-title .title-letter {
        transition: none;
    }

    .interactive-title .title-letter:hover {
        transform: none;
    }
}

/* Expandable manifesto cards */
.manifesto-card {
  cursor: pointer;
  align-self: stretch;
  transition:
    background-color 350ms ease,
    box-shadow 350ms ease;
}

.manifesto-card:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: -6px;
}

.manifesto-card.is-expanded {
  background: var(--ivory);
  box-shadow: inset 0 0 0 3px var(--moss);
}

.manifesto-card .manifesto-details {
  overflow: hidden;
  opacity: 0;
  transition: opacity 350ms ease;
}

.manifesto-card.is-expanded .manifesto-details {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-card,
  .manifesto-card .manifesto-details {
    transition: none;
  }
}

.manifesto-card .card-arrow {
  transition: transform 180ms ease;
}

.manifesto-card.is-expanded .card-arrow {
  transform: rotate(45deg);
}

.manifesto-details {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--moss);
  color: #254987;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.manifesto-details p {
  white-space: pre-line;
}

.manifesto-media {
  display: block;
  width: 100%;
  max-height: 420px;
  margin-top: 1.25rem;
  object-fit: contain;
  background: #fff;
}

.manifesto-media video {
  display: block;
  width: 100%;
  max-height: 420px;
}

.manifesto-card .manifesto-details[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-card,
  .manifesto-card .card-arrow {
    transition: none;
  }
}
/* Smooth expansion for manifesto cards */
.manifesto-card {
  transition:
    background-color 350ms ease,
    box-shadow 350ms ease;
}

.manifesto-card .manifesto-details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 450ms ease,
    opacity 350ms ease;
}

.manifesto-card .manifesto-details > * {
  min-height: 0;
  overflow: hidden;
}

.manifesto-card.is-expanded .manifesto-details {
  grid-template-rows: 1fr;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-card,
  .manifesto-card .manifesto-details {
    transition: none;
  }
}   
/* Smooth manifesto expansion */
.manifesto-card {
  transition:
    background-color 350ms ease,
    box-shadow 350ms ease;
}

.manifesto-card .manifesto-details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 450ms ease,
    opacity 350ms ease;
}

.manifesto-card .manifesto-details-inner {
  min-height: 0;
  overflow: hidden;
}

.manifesto-card.is-expanded .manifesto-details {
  grid-template-rows: 1fr;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-card,
  .manifesto-card .manifesto-details {
    transition: none;
  }
}
/* Floating geometric shapes in the hero artwork */
@keyframes hero-shape-float {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -14px, 0);
    }
}

.hero-art .art-circle {
    animation: hero-shape-float 7s ease-in-out infinite;
}

.hero-art .art-block {
    animation: hero-shape-float 9s ease-in-out infinite;
    animation-delay: -2s;
}

.hero-art .art-ring {
    animation: hero-shape-float 8s ease-in-out infinite;
    animation-delay: -4s;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-art .art-circle,
    .hero-art .art-block,
    .hero-art .art-ring {
        animation: none;
    }
}

/* Draggable campaign accent */
.test-float-circle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9999;

    width: 40px;
    height: 40px;
    box-sizing: border-box;
    border-radius: 50%;

    background: #F04432;
    border: none;
    box-shadow:
        0 3px 10px rgba(7, 61, 170, 0.18),
        0 0 0 1px rgba(7, 61, 170, 0.12);

    animation: hero-shape-float 3s ease-in-out infinite;

    transition:
        transform 220ms ease,
        background-color 220ms ease,
        box-shadow 220ms ease;

    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.test-float-circle:hover {
    transform: scale(1.15);
    background: #073DAA;
    box-shadow:
        0 5px 16px rgba(7, 61, 170, 0.28),
        0 0 0 4px rgba(7, 61, 170, 0.10);
}

.test-float-circle:active,
.test-float-circle.is-dragging {
    cursor: grabbing;
    transform: scale(1.08);
    box-shadow:
        0 7px 20px rgba(7, 61, 170, 0.30),
        0 0 0 5px rgba(7, 61, 170, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    .test-float-circle {
        animation: none;
        transition: none;
    }
}


@media (prefers-reduced-motion: reduce) {
    .test-float-circle {
        animation: none;
    }
}
/* Floating Instagram and WhatsApp links */
.floating-socials {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-social {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--blue, #073DAA);
    border-radius: 50%;
    color: var(--blue, #073DAA);
    background: var(--yellow, #FFC400);
    box-shadow: 4px 4px 0 var(--red, #F04432);
    text-decoration: none;
    transition:
        transform 220ms ease,
        background-color 220ms ease,
        color 220ms ease,
        box-shadow 220ms ease;
}

.floating-social svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.floating-whatsapp svg path:last-child {
    stroke-width: 1.5;
}

.floating-social:hover {
    transform: translate(-3px, -3px);
    color: var(--yellow, #FFC400);
    background: var(--blue, #073DAA);
    box-shadow: 7px 7px 0 var(--red, #F04432);
}

.floating-social:focus-visible {
    outline: 2px solid var(--red, #F04432);
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .floating-socials {
        right: 14px;
        bottom: 84px;
        gap: 10px;
    }

    .floating-social {
        width: 42px;
        height: 42px;
    }

    .floating-social svg {
        width: 20px;
        height: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-social {
        transition: none;
    }
}
.manifesto-details strong {
    font-weight: 800;
    color: var(--blue, #073DAA);
}
/* Manifesto proposal typography and spacing */
.manifesto-proposal-text {
    font-size: 0.96rem;
    line-height: 1.8;
    letter-spacing: 0.005em;
    overflow-wrap: anywhere;
}

.manifesto-proposal-text strong {
    display: inline;
    font-size: 1.02em;
    font-weight: 800;
    line-height: 1.6;
    color: var(--blue, #073DAA);
}

.manifesto-proposal-text br {
    content: "";
    display: block;
    margin-bottom: 0.7em;
}

@media (max-width: 600px) {
    .manifesto-proposal-text {
        font-size: 0.92rem;
        line-height: 1.75;
    }
}

/* Refined manifesto proposal typography and spacing */
.manifesto-card .manifesto-details-inner > p {
  margin: 0;
  padding: 22px 0 0;
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.005em;
}

.manifesto-card .manifesto-details-inner strong {
  font-weight: 750;
  line-height: 1.6;
}

.manifesto-card .manifesto-details-inner > p strong {
  color: var(--blue, #073DAA);
}

@media (max-width: 600px) {
  .manifesto-card .manifesto-details-inner > p {
    padding-top: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
  }
}
