/* ============================================
   TAU 70 Years Voting Survey — Light Theme
   ============================================ */

:root {
    --tau-blue: #004B8D;
    --tau-blue-light: #0066CC;
    --tau-blue-dark: #003366;
    --tau-gold: #B8923E;
    --tau-gold-light: #C4A35A;
    --tau-yellow: #F7BE00;
    --cream: #F2EFE8;
    --cream-deep: #E9E4D8;
    --bg: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F7F5F0;
    --text: #1B2433;
    --text-muted: #5B6675;
    --text-dim: #98A1AE;
    --accent-coral: #FF6035;
    --accent-amber: #FFB800;
    --accent-teal: #3590A8;
    --accent-lime: #CDCF10;
    --border: rgba(20,30,50,0.10);
    --shadow: 0 8px 30px rgba(20,30,50,0.08);
    --radius: 16px;
    --radius-sm: 10px;
}

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

body {
    font-family: 'Myriad Pro', 'Myriad', 'Assistant', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.page-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(242,239,232,0.9), transparent),
        radial-gradient(ellipse 60% 40% at 85% 105%, rgba(0,75,141,0.06), transparent);
    pointer-events: none;
    z-index: 0;
}

.hidden {
    display: none !important;
}

/* ---- HEADER ---- */

header {
    position: relative;
    z-index: 1;
    padding: 1.2rem 1.5rem 2.5rem;
}

/* ---- TOP BAR ---- */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1.5px solid var(--text);
}

.topbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.topbar-brand-main {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.3px;
}

.topbar-brand-sub {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-muted);
}

.topbar-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

.topbar-logo-70 {
    height: 66px;
    width: auto;
    position: relative;
    top: -5px;
}

.topbar-logo {
    height: 66px;
    width: auto;
    flex-shrink: 0;
}

/* ---- STORY BANNER (full-width, single color) ---- */

.story-banner {
    position: relative;
    width: 100vw;
    margin: 1.5rem 0 0;
    margin-left: 50%;
    transform: translateX(-50%);
    background: #00C0F3;
    color: #fff;
    padding: 2.6rem 1.5rem;
    overflow: hidden;
}

.story-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.story-eyebrow {
    display: inline-block;
    font-family: 'Assistant', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 0.9rem;
}

.story-title {
    font-family: 'Assistant', sans-serif;
    font-size: clamp(1.7rem, 3.8vw, 2.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
    color: #000;
    margin-bottom: 0.5rem;
}

.story-tagline {
    font-family: 'Assistant', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
}

.story-body {
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
}

.story-body p {
    font-family: 'Myriad Pro', 'Myriad', 'Assistant', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.65;
    color: #fff;
    margin-bottom: 0.8rem;
}

.story-body p:first-child {
    color: #fff;
    font-weight: 700;
}

.story-body p:last-child {
    margin-bottom: 0;
    font-family: 'Myriad Pro', 'Myriad', 'Assistant', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.45;
    color: #fff;
}

/* ---- STORY BANNER — animated background circles ---- */

.story-decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.s-ball, .s-ring, .s-ring-dashed {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}

.s-ball { background: rgba(247,190,0,0.16); }
.s-ring { border: 2px solid rgba(255,255,255,0.16); }
.s-ring-dashed { border: 2px dashed rgba(247,190,0,0.30); }

.s1  { width: 120px; height: 120px; top: 8%;  left: 5%;  animation: ball-floatA 9s ease-in-out infinite; }
.s2  { width: 56px;  height: 56px;  top: 62%; left: 11%; animation: ball-drift 8s ease-in-out infinite; }
.s3  { width: 92px;  height: 92px;  top: 58%; left: 3%;  animation: ring-spin 30s linear infinite; }
.s4  { width: 70px;  height: 70px;  top: 22%; left: 89%; animation: ball-floatB 10s ease-in-out infinite; }
.s5  { width: 38px;  height: 38px;  top: 70%; left: 93%; animation: ball-pulse 5s ease-in-out infinite; }
.s6  { width: 150px; height: 150px; top: 12%; left: 80%; animation: ring-spin 36s linear infinite reverse; }
.s7  { width: 26px;  height: 26px;  top: 18%; left: 22%; animation: ball-pulse 4.5s ease-in-out infinite; }
.s8  { width: 50px;  height: 50px;  top: 74%; left: 68%; animation: ball-drift 9s ease-in-out infinite; }
.s9  { width: 30px;  height: 30px;  top: 14%; left: 66%; animation: ball-floatA 7s ease-in-out infinite; }
.s10 { width: 64px;  height: 64px;  top: 78%; left: 34%; opacity: 0.7; animation: ball-floatB 11s ease-in-out infinite; }
.s11 { width: 40px;  height: 40px;  top: 16%; left: 47%; opacity: 0.7; animation: ring-spin 28s linear infinite; }

@keyframes ball-floatA {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

@keyframes ball-floatB {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(16px); }
}

@keyframes ball-drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(12px, -14px); }
}

@keyframes ball-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}

@keyframes ring-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .s-ball, .s-ring, .s-ring-dashed { animation: none !important; }
}

@media (max-width: 600px) {
    .story-banner { padding: 2rem 1.25rem; }
    .s6, .s10, .s11 { display: none; }
}

/* ---- INTRO ---- */

.header-body {
    max-width: 720px;
    margin: 2.5rem auto 0;
}

.header-cta-box {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 1.8rem auto 0;
    padding: 1.1rem 1.3rem;
    text-align: left;
    background: color-mix(in srgb, var(--tau-blue) 6%, #fff);
    border: 1px solid color-mix(in srgb, var(--tau-blue) 18%, transparent);
    border-radius: var(--radius-sm);
}

.header-cta-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tau-blue), var(--tau-blue-light));
    color: var(--tau-gold-light);
    font-size: 1.1rem;
}

.header-cta-box p {
    margin: 0;
    color: var(--tau-blue-dark);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.45;
}

/* ---- MAIN ---- */

main {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

/* ---- SECTION HEADING ---- */

.section-heading {
    margin-bottom: 3rem;
}

.page-title {
    font-family: 'Assistant', sans-serif;
    font-size: 3.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.6rem;
}

.page-title-rule {
    display: block;
    width: 190px;
    height: 2px;
    background: var(--text);
}

/* ---- CATEGORY SECTIONS (editorial) ---- */

.categories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 2rem;
}

.section {
    position: relative;
}

.section-eyebrow {
    padding-left: 3rem;
    margin-bottom: 1.3rem;
    font-size: 1.64rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
}

.section-eyebrow-count {
    color: var(--text-dim);
    font-weight: 700;
    letter-spacing: 1px;
}

.section-visual {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 3rem;
    cursor: pointer;
}

/* connector line running into the card */
.section-visual::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2.4rem;
    height: 2px;
    background: var(--text);
}

.section-card {
    position: relative;
    z-index: 1;
    flex: 0 0 46%;
    background: var(--cat-accent);
    color: #fff;
    border-radius: 6px 28px 28px 28px;
    padding: 2.4rem 2rem;
    box-shadow: 0 16px 40px rgba(20,30,50,0.16);
}

.section-blurb {
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 1.6rem;
}

.section-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.55);
    color: #fff;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.section-toggle:hover {
    background: rgba(255,255,255,0.30);
}

.section-toggle-arrow {
    transition: transform 0.3s ease;
}

.section.open .section-toggle-arrow {
    transform: rotate(180deg);
}

.section-photo {
    position: relative;
    z-index: 2;
    flex: 0 0 48%;
    display: flex;
    justify-content: center;
    margin-left: -100px;
}

.section-photo-inner {
    position: relative;
    width: 100%;
    max-width: 360px;
}

/* Circle-masked video */
.section-video {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    background: var(--cream-deep);
    box-shadow:
        0 0 0 8px color-mix(in srgb, var(--cat-accent) 14%, transparent),
        0 18px 44px rgba(20,30,50,0.20);
}

/* ---- ORBITS — multi-level concentric rings over the video circle ---- */

.section-orbits {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 1px 3px rgba(20,30,50,0.30));
}

.orbit-2 {
    width: 110%;
    height: 110%;
    border: 2px solid rgba(255,255,255,0.55);
}

.orbit-3 {
    width: 92%;
    height: 92%;
    border: 2px dashed rgba(255,255,255,0.9);
    animation: orbit-spin 32s linear infinite reverse;
}

.orbit-4 {
    width: 74%;
    height: 74%;
    border: 1.5px dashed rgba(255,255,255,0.6);
    animation: orbit-spin 24s linear infinite;
}

.orbit-dot {
    position: absolute;
    border-radius: 50%;
    background: var(--cat-accent);
    box-shadow: 0 2px 8px rgba(20,30,50,0.35);
}

.orbit-dot-1 {
    width: 22px;
    height: 22px;
    top: 6%;
    left: 54%;
    animation: ball-pulse 4s ease-in-out infinite;
}

.orbit-dot-2 {
    width: 42px;
    height: 42px;
    top: 11%;
    left: 64%;
    animation: ball-pulse 5s ease-in-out infinite 0.4s;
}

@keyframes orbit-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .orbit, .orbit-dot { animation: none !important; }
}

.section-molecule {
    position: absolute;
    left: -26px;
    bottom: 6px;
    width: 122px;
    height: 106px;
    color: var(--cat-accent);
    z-index: 3;
    pointer-events: none;
}

.section-molecule svg {
    width: 100%;
    height: 100%;
}

/* ---- SECTION ITEMS (votable, revealed on expand) ---- */

.section-items {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 2.2rem;
}

.section.open .section-items {
    display: grid;
}

/* ---- ITEM (votable sub-card) ---- */

.item {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.2rem 1.1rem;
    padding-right: 2.6rem;
    cursor: pointer;
    transition: all 0.25s ease;
    animation: fade-in-up 0.4s ease forwards;
}

.item:hover {
    border-color: rgba(20,30,50,0.16);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(20,30,50,0.08);
}

.item.selected {
    border-color: var(--cat-accent);
    box-shadow: 0 0 0 1px var(--cat-accent);
    background: color-mix(in srgb, var(--cat-accent) 5%, #fff);
}

.item-check {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    font-size: 0.75rem;
    color: transparent;
}

.item.selected .item-check {
    background: var(--cat-accent);
    border-color: var(--cat-accent);
    color: #fff;
}

.item-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(20,30,50,0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    transition: all 0.25s ease;
}

.item-icon svg {
    width: 23px;
    height: 23px;
}

.item:hover .item-icon,
.item.selected .item-icon {
    background: color-mix(in srgb, var(--cat-accent) 14%, transparent);
    border-color: color-mix(in srgb, var(--cat-accent) 35%, transparent);
}

.item-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.item-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ---- VOTE BUTTON ---- */

.vote-action {
    text-align: center;
    margin-top: 0.5rem;
}

.btn-vote {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--tau-blue), var(--tau-blue-light));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-vote:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.btn-vote:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,75,141,0.3);
}

.btn-vote:not(:disabled) {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(0,75,141,0.2); }
    50% { box-shadow: 0 4px 30px rgba(0,75,141,0.4); }
}

.btn-icon {
    font-size: 1.3rem;
}

.vote-hint {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ---- THANK YOU ---- */

#thankyou-section, #already-voted-section {
    text-align: center;
    padding: 1rem 0 2rem;
}

.thankyou-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
}

.thankyou-card h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--tau-blue-dark);
}

.thankyou-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Checkmark animation */
.thankyou-checkmark {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.2rem;
}

.checkmark-svg {
    width: 72px;
    height: 72px;
}

.checkmark-circle {
    stroke: var(--accent-teal);
    stroke-width: 2;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: circle-draw 0.6s 0.2s ease forwards;
}

.checkmark-check {
    stroke: var(--accent-teal);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: check-draw 0.4s 0.7s ease forwards;
}

@keyframes circle-draw {
    to { stroke-dashoffset: 0; }
}

@keyframes check-draw {
    to { stroke-dashoffset: 0; }
}

.already-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Email form */
.email-prompt p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.email-form {
    display: flex;
    gap: 0.5rem;
    max-width: 380px;
    margin: 0 auto 0.8rem;
}

.email-form input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--cream);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.email-form input:focus {
    border-color: var(--tau-blue-light);
}

.email-form input::placeholder {
    color: var(--text-dim);
}

.btn-email {
    padding: 0.7rem 1.2rem;
    background: var(--tau-blue);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-email:hover {
    background: var(--tau-blue-light);
}

.btn-skip {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
    transition: color 0.2s;
}

.btn-skip:hover {
    color: var(--text-muted);
}

.email-confirmed p {
    color: var(--accent-teal);
    font-weight: 600;
}

/* ---- RESULTS ---- */

#results-section {
    padding-top: 1rem;
}

.results-title {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--tau-blue-dark);
}

.results-total {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.total-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 0.3rem;
}

.total-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--tau-gold);
    font-variant-numeric: tabular-nums;
}

.results-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.chart-container, .pie-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.chart-container h3, .pie-container h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-bottom: 1.2rem;
}

/* Bar chart - category grouping */
.bar-category {
    margin-bottom: 1.5rem;
}

.bar-category:last-child {
    margin-bottom: 0;
}

.bar-category-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.bar-category-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.bar-category-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.bar-category-total {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* Bar chart */
.bar-item {
    margin-bottom: 1rem;
}

.bar-item:last-child {
    margin-bottom: 0;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.bar-label-name {
    color: var(--text);
    font-weight: 600;
}

.bar-label-value {
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.bar-track {
    height: 12px;
    background: rgba(20,30,50,0.07);
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    width: 0%;
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Pie chart */
.pie-chart {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    background: conic-gradient(var(--cream-deep) 0% 100%);
    position: relative;
    transition: background 0.5s;
}

.pie-chart::after {
    content: '';
    position: absolute;
    inset: 35%;
    border-radius: 50%;
    background: var(--bg-card);
}

.pie-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.legend-name {
    flex: 1;
    color: var(--text-muted);
}

.legend-pct {
    font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

/* ---- FOOTER ---- */

footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid var(--border);
    background: var(--cream);
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ---- RESPONSIVE ---- */

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

@media (max-width: 600px) {
    header {
        padding: 1rem 1rem 2rem;
    }

    .topbar {
        margin-bottom: 1.2rem;
        padding-bottom: 0.8rem;
    }

    .topbar-brand-main {
        font-size: 1.1rem;
    }

    .topbar-brand-sub {
        font-size: 0.9rem;
    }

    .topbar-logos {
        gap: 1rem;
    }

    .topbar-logo-70,
    .topbar-logo {
        height: 40px;
    }

    .story-tagline {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .story-body p {
        font-size: 1.1rem;
        color: #000;
        font-weight: 700;
    }

    .story-body p:first-child,
    .story-body p:last-child {
        display: none;
    }

    .header-cta-box {
        padding: 1rem;
    }

    main {
        padding: 1.2rem 1rem 2rem;
    }

    .categories {
        gap: 3rem;
    }

    .section-eyebrow {
        padding-left: 0;
    }

    .eyebrow-word-break {
        display: none;
    }

    .section-visual {
        flex-direction: column;
        align-items: stretch;
        padding-left: 0;
    }

    .section-visual::before {
        display: none;
    }

    .section-card {
        flex: none;
        width: 100%;
        border-radius: 6px 22px 0 0;
        padding: 1.6rem 1.4rem 2.2rem;
    }

    .section-photo {
        flex: none;
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: -0.5rem;
    }

    .section-photo-inner {
        max-width: 260px;
    }

    .section-molecule {
        width: 90px;
        height: 78px;
        left: -16px;
        bottom: 4px;
    }

    .section-items {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 2rem;
    }

    .btn-vote {
        padding: 0.85rem 2rem;
        font-size: 1rem;
    }

    .thankyou-card {
        padding: 2rem 1.2rem;
    }

    .email-form {
        flex-direction: column;
    }

    .total-number {
        font-size: 2.2rem;
    }

    .pie-chart {
        width: 150px;
        height: 150px;
    }
}

/* ---- FADE-IN ANIMATION ---- */

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fade-in-up 0.5s ease forwards;
}

.section {
    animation: fade-in-up 0.5s ease forwards;
}

.section:nth-child(1) { animation-delay: 0.05s; opacity: 0; }
.section:nth-child(2) { animation-delay: 0.12s; opacity: 0; }
.section:nth-child(3) { animation-delay: 0.19s; opacity: 0; }
.section:nth-child(4) { animation-delay: 0.26s; opacity: 0; }
.section:nth-child(5) { animation-delay: 0.33s; opacity: 0; }
