:root {
    --m-yellow: #fbc654;
    --m-blue: #1274ce;
    --m-orange: #f78803;
    --m-red: #da2c2d;
    --m-bg: #FDFBF7;
    --m-dark: #033653;
    --m-white: #eee6c1;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: 'Heebo', sans-serif;
    background-color: var(--m-bg);
    color: var(--m-dark);
    overflow-x: hidden;
    line-height: 1.5;
}

h1, h2, h3 {
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header / Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--m-dark);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--m-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--m-dark);
    background: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--m-dark);
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--m-blue);
}

/* Highlights */
.highlight-blue {
    background-color: var(--m-blue);
    color: white;
    padding: 0 12px;
    border-radius: 4px;
    display: inline-block;
}

/* Buttons */
.btn {
    font-family: 'Rubik', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
    cursor: pointer;
    border: 3px solid var(--m-dark);
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-align: center;
    box-shadow: 5px 5px 0px var(--m-dark);
}

.btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--m-dark);
}

.btn-blue { background: var(--m-blue); color: #fff; }
.btn-blue:hover { background: #1a44bc; transform: translateY(-3px); box-shadow: 7px 7px 0px var(--m-dark); }

/* Hero Section */
.hero {
    background-color: var(--m-yellow);
    padding: 180px 0 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: 'FUTURE';
    position: absolute;
    top: 10%;
    left: -5%;
    font-size: 15vw;
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.03);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/used/europe_parlament.webp') center center / cover no-repeat;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.hero h1 {
    font-size: clamp(3.5rem, 10vw, 6.5rem);
    margin-bottom: 1.5rem;
    z-index: 10;
    position: relative;
}

.hero p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 10;
}

/* Donate Banner */
.donate-banner {
    background-color: var(--m-yellow);
    padding: 4rem 0;
}

.donate-card {
    display: flex;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border: 4px solid var(--m-dark);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 8px 8px 0px var(--m-dark);
    transition: var(--transition);
    text-decoration: none;
    color: var(--m-dark);
}

.donate-card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 0px var(--m-dark);
}

.donate-card__media {
    flex: 0 0 40%;
    min-height: 240px;
    overflow: hidden;
    border-inline-end: 4px solid var(--m-dark);
}

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

.donate-card__body {
    flex: 1;
    padding: 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
}

.donate-card__eyebrow {
    display: inline-block;
    background: var(--m-yellow);
    color: var(--m-dark);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
}

.donate-card__body h3 {
    font-size: 1.8rem;
    margin: 0;
    font-family: 'Rubik', sans-serif;
}

.donate-card__body p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0 0 0.3rem 0;
}

.btn-donate {
    background: var(--m-red);
    color: white;
    font-size: 1rem;
    padding: 0.7rem 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-donate:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 7px 7px 0px var(--m-dark);
}

.donate-card__domain {
    color: #64748b;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.1rem;
}

/* Manifesto */
.manifesto {
    background-color: #c0392b;
    color: white;
    padding: 100px 0;
    text-align: center;
    border-bottom: 8px solid var(--m-dark);
}

.manifesto h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 2.5rem;
    color: var(--m-yellow);
}

.manifesto p {
    font-size: 1.6rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Who Diagram */
.who-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 3rem;
}

.who-boxes {
    display: flex;
    gap: 3rem;
    justify-content: center;
    width: 100%;
    max-width: 800px;
}

.who-box {
    flex: 1;
    max-width: 320px;
    border-radius: 16px;
    border: 3px solid var(--m-yellow);
    padding: 2.5rem 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    line-height: 1.5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.who-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.who-box--orange { background: var(--m-orange); border-color: white; }
.who-box--blue   { background: var(--m-blue); border-color: white; }

.who-connectors {
    width: 100%;
    max-width: 800px;
    height: 50px;
    position: relative;
}

/* Two vertical drops from each box to the pill */
.who-connector-line {
    position: absolute;
    top: 0;
    width: 3px;
    height: 100%;
    background: white;
}

.who-connector-line--right { right: 25%; }
.who-connector-line--left  { left: 25%; }

.who-bottom {
    width: 100%;
    max-width: 800px;
}

.who-pill {
    background: var(--m-yellow);
    color: var(--m-dark);
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    padding: 1.4rem 2rem;
    border-radius: 50px;
    width: 100%;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.who-pill:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}


/* Message Cards */
.message-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1100px;
    margin-top: 4rem;
}

.message-card {
    background: #1e3a8a;
    border-radius: 16px;
    padding: 2.5rem 2.5rem;
    text-align: right;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.message-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 12px 12px 0px var(--m-dark);
}


.message-card__title {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    color: white;
    margin-bottom: 0.6rem;
}

.message-card__title::after {
    content: '';
    display: block;
    width: 3rem;
    height: 3px;
    background: var(--m-yellow);
    margin-top: 0.5rem;
}

.message-card__title--blue::after  { background: var(--m-blue); }
.message-card__title--orange::after { background: var(--m-orange); }


.message-card--bg-doing {
    background-image: url('images/used/doing_background_2.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.message-card--bg-doing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.82);
    border-radius: inherit;
    z-index: 0;
}

.message-card--bg-doing > * {
    position: relative;
    z-index: 1;
}

.message-card--bg-doing .message-card__title,
.message-card--bg-doing .message-card__body p {
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.message-card--bg-doing .message-card__body p {
    color: #fff;
}

.message-card--bg-street {
    background-image: url('images/used/structure_background.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.message-card--bg-street::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.82);
    border-radius: inherit;
    z-index: 0;
}

.message-card--bg-street > * {
    position: relative;
    z-index: 1;
}

.message-card--bg-street .message-card__title,
.message-card--bg-balloons .message-card__title {
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.message-card--bg-street .message-card__body p,
.message-card--bg-balloons .message-card__body p {
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
    color: #fff;
}

.message-card--bg-balloons {
    background-image: url('images/used/message_background.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.message-card--bg-balloons::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.82);
    border-radius: inherit;
    z-index: 0;
}

.message-card--bg-balloons > * {
    position: relative;
    z-index: 1;
}

.message-card__body {
    margin-top: 1.8rem;
}

.message-card__body p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    line-height: 1.7;
}

.message-card__body strong {
    color: white;
    font-weight: 700;
}

/* Blueprint Section */
.blueprint {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 80px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2.5rem;
    align-items: start;
}

.stage-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    color: var(--m-red);
}
.stage-arrow svg {
    width: 48px;
    height: 48px;
    transform: scaleX(-1);
    filter: drop-shadow(2px 2px 0px var(--m-dark));
    transition: transform 0.2s, filter 0.2s;
    cursor: default;
}
.stage-arrow:hover svg {
    transform: scaleX(-1) scale(1.25);
    filter: drop-shadow(3px 3px 0px var(--m-dark));
}

.card {
    background: rgba(255, 90, 0, 0.18);
    border: 3px solid var(--m-dark);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    position: relative;
    transition: var(--transition);
    box-shadow: 8px 8px 0px var(--m-dark);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 12px 12px 0px var(--m-dark);
}

.card .num {
    font-family: 'Rubik', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--m-dark);
    position: absolute;
    top: 5px;
    left: 20px;
    opacity: 0.2;
}

.card h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--m-dark);
    display: inline-block;
    width: fit-content;
}

.btn-charter {
    display: inline-block;
    align-self: flex-start;
    margin-top: 1.5rem;
    padding: 0.4rem 0.8rem;
    background: var(--m-blue);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    border: 2px solid var(--m-dark);
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 3px 3px 0px var(--m-dark);
    transition: var(--transition);
    white-space: nowrap;
}
.btn-charter:hover {
    box-shadow: 5px 5px 0px var(--m-dark);
    transform: translate(-1px, -1px);
}

.card .stage-label {
    font-weight: 900;
    text-transform: uppercase;
    color: var(--m-red);
    margin-bottom: 0.5rem;
}

/* Aspects Grid */
.aspects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    align-items: start;
}

.aspect-card {
    background: var(--m-yellow);
    border: 3px solid var(--m-dark);
    border-radius: 16px;
    box-shadow: 6px 6px 0px var(--m-dark);
    padding: 1.5rem 1.2rem;
    text-align: center;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}

.aspect-card-icon {
    font-size: 1.8rem;
    color: var(--m-dark);
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

.aspect-card-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--m-dark);
    margin-top: 0.35rem;
    opacity: 0.8;
}

.aspect-card--expandable {
    cursor: pointer;
}

.aspect-card--expandable .aspect-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aspect-card--expandable .aspect-card-header::after {
    content: '▼';
    display: block;
    font-size: 0.65rem;
    margin-top: 0.5rem;
    opacity: 0.5;
    transition: transform 0.3s;
}

.aspect-card--expandable[aria-expanded="true"] .aspect-card-header::after {
    transform: rotate(180deg);
}

.aspect-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.aspect-card--expandable[aria-expanded="true"] .aspect-card-body {
    max-height: 1000px;
    margin-top: 1rem;
}

.aspect-card-body p {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: right;
    border-top: 1px solid rgba(3, 54, 83, 0.2);
    padding-top: 0.75rem;
    margin: 0;
}

.aspect-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 10px 10px 0px var(--m-dark);
}

@media (max-width: 968px) {
    .aspects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Events Section */
.events-section {
    padding: 120px 0;
    background-color: var(--m-bg);
    border-top: 8px solid var(--m-dark);
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 4rem;
}

.event-card {
    background: white;
    border: 4px solid var(--m-dark);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 8px 8px 0px var(--m-dark);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 0px var(--m-dark);
}

.event-img-placeholder {
    width: 100%;
    height: 220px;
    background-color: #e2e8f0;
    border-bottom: 4px solid var(--m-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--m-dark);
    text-align: center;
    padding: 1.5rem;
}
.event-img-pair {
    width: 100%;
    height: 220px;
    display: flex;
    gap: 4px;
    border-bottom: 4px solid var(--m-dark);
    overflow: hidden;
}
.event-img-pair img {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.event-info {
    padding: 1.5rem;
    flex-grow: 1;
}

.event-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Rubik', sans-serif;
}

.event-info p {
    color: #475569;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
}

/* Multi-Resource Banner */
.resources-banner {
    background-color: var(--m-yellow);
    border: 4px solid var(--m-dark);
    border-radius: 30px;
    padding: 4rem 2rem;
    margin-top: 80px;
    box-shadow: 10px 10px 0px var(--m-dark);
    text-align: center;
    scroll-margin-top: 100px;
}

.resources-banner h3 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.resource-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.resource-card {
    background: var(--m-white);
    border: 3px solid var(--m-dark);
    border-radius: 20px;
    padding: 1.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--m-dark);
    box-shadow: 4px 4px 0px var(--m-dark);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px var(--m-dark);
    background: var(--m-bg);
}

.resource-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--m-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.resource-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--m-dark);
    line-height: 1.4;
}

.resource-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.75rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--m-orange);
    padding: 120px 0;
    border-top: 8px solid var(--m-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/used/people_backs.webp') center center / cover no-repeat;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-text h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.form-container {
    background: white;
    padding: 1rem;
    border-radius: 32px;
    border: 4px solid var(--m-dark);
    box-shadow: 12px 12px 0px var(--m-dark);
    color: var(--m-dark);
    overflow: hidden;
}

.form-container iframe {
    width: 100%;
    border: none;
    border-radius: 24px;
    display: block;
}

/* Footer */
footer {
    background: var(--m-dark);
    color: white;
    padding: 60px 0;
    text-align: center;
    border-top: 4px solid var(--m-yellow);
}

.footer-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--m-white);
    background: white;
    padding: 3px;
    order: -1;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 0;
    color: var(--m-yellow);
}

.socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--m-blue);
    transform: scale(1.1);
}

.footer-text {
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.lang-divider {
    color: var(--m-dark);
    opacity: 0.4;
    font-weight: 400;
    user-select: none;
}

.lang-btn {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--m-dark);
    opacity: 0.5;
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
    white-space: nowrap;
}

.lang-btn:hover {
    opacity: 0.85;
    color: var(--m-blue);
}

.lang-btn.active {
    font-weight: 900;
    opacity: 1;
    cursor: default;
    color: var(--m-dark);
}

.lang-btn.active:hover {
    color: var(--m-dark);
    opacity: 1;
}

html[dir="ltr"] .card .num {
    left: auto;
    right: 20px;
}

/* Always keep the lang switcher on the physical left.
   In RTL, it is last in DOM so flex places it on the left naturally.
   In LTR, order:-1 pulls it before all other flex items. */
html[dir="ltr"] .lang-switcher {
    order: -1;
}

/* LTR Language Overrides */
html[dir="ltr"] .stage-arrow svg {
    transform: scaleX(1);
}
html[dir="ltr"] .stage-arrow:hover svg {
    transform: scaleX(1) scale(1.25);
}
html[dir="ltr"] .aspect-card-body p {
    text-align: left;
}
html[dir="ltr"] .message-card {
    text-align: left;
}
html[dir="ltr"] .resource-card {
    text-align: left !important;
}

@media (max-width: 968px) {
    html[dir="ltr"] .stage-arrow svg {
        transform: rotate(90deg);
    }
    html[dir="ltr"] .stage-arrow:hover svg {
        transform: rotate(90deg) scale(1.25);
    }
}

/* Mobile Adjustments */
@media (max-width: 968px) {
    .cta-content { grid-template-columns: 1fr; text-align: center; }
    .nav-links { display: none; }
    .hero h1 { font-size: 4rem; }
    .manifesto p { font-size: 1.3rem; }
    .card { padding: 2.5rem 1.5rem; }
    .events-grid { grid-template-columns: 1fr; }
    .donate-card { flex-direction: column; }
    .donate-card__media { flex: none; width: 100%; height: 200px; border-inline-end: none; border-bottom: 4px solid var(--m-dark); }
    .grid { grid-template-columns: 1fr; }
    .stage-arrow { padding-top: 0; }
    .stage-arrow svg { transform: rotate(90deg); }
    .stage-arrow:hover svg { transform: rotate(90deg) scale(1.25); }

    /* Diagram */
    .who-boxes { gap: 1.5rem; }
    .who-box { font-size: 1.2rem; padding: 1.8rem 1.2rem; }
    .who-pill { font-size: 1.3rem; }

    /* Info cards */
    .message-cards { grid-template-columns: 1fr; }
    .message-card { padding: 2rem 1.5rem; }

    /* Header/nav */
    nav { min-height: 60px; height: auto; padding: 6px 0; gap: 0.5rem; }
    .logo { font-size: 0.75rem; gap: 6px; flex-shrink: 1; min-width: 0; }
    .logo-img { width: 32px; height: 32px; flex-shrink: 0; }
    nav > .btn { font-size: 0.75rem !important; padding: 0.35rem 0.75rem !important; box-shadow: 2px 2px 0px var(--m-dark) !important; flex-shrink: 0; }
    .lang-switcher { flex-shrink: 0; margin-inline-start: 0.5rem; }
    html[dir="ltr"] .logo { margin-inline-start: 0.5rem; }
}

@media (max-width: 600px) {
    /* Diagram: keep side by side, shrink to fit */
    .who-boxes { gap: 0.75rem; }
    .who-box { font-size: 0.85rem; padding: 1rem 0.6rem; max-width: none; }
    .who-pill { font-size: 0.95rem; border-radius: 40px; padding: 0.9rem 1rem; }
}

