:root {
    --m-yellow: #D9A441;
    --m-blue: #22741F;
    --m-orange: #B8541F;
    --m-red: #7C1500;
    --m-bg: #FBF6EE;
    --m-dark: #3A2A22;
    --m-white: #F0E6D2;
    --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: 'Rubik', 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(251, 246, 238, 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-subtitle {
    direction: ltr; /* Latin text: keep word/letter order in RTL (Arabic) page*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    line-height: 1;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.7;
}

.logo-subtitle__row {
    display: flex;
    justify-content: space-between;
    gap: 0.25em;
}

.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: #164F14; transform: translateY(-3px); box-shadow: 7px 7px 0px var(--m-dark); }

/* Hero Section */
.hero {
    background-color: #D48C5D;
    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;
    text-align: justify;
}

/* Manifesto */
.manifesto {
    background-color: var(--m-yellow);
    color: var(--m-dark);
    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-dark);
}

.manifesto p {
    font-size: 1.6rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Who Diagram */
/* Hidden by default; enabled via SITE_FEATURES.whoDiagram in script.js */
.who-diagram {
    display: none;
    justify-content: center;
    margin-top: 3rem;
}

.who-diagram.is-enabled {
    display: flex;
}

.who-triangle-wrap {
    position: relative;
    width: 100%;
    max-width: 760px;
    aspect-ratio: 4 / 3;
}

.who-triangle-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.who-triangle-svg line {
    stroke: var(--m-dark);
    stroke-width: 3px;
    vector-effect: non-scaling-stroke;
}

.who-triangle {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 112px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: var(--m-yellow);
    filter: drop-shadow(4px 4px 0px var(--m-dark));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
    z-index: 2;
}

.who-triangle span {
    color: var(--m-dark);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.who-node {
    position: absolute;
    transform: translate(-50%, -50%);
    width: clamp(180px, 26vw, 240px);
    z-index: 2;
}

.who-node--top { left: 50%; top: 14%; }
.who-node--pal { left: 17%; top: 88%; }
.who-node--isr { left: 83%; top: 88%; }

.who-box {
    border-radius: 16px;
    border: 3px solid var(--m-yellow);
    padding: 1.6rem 1.4rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    text-align: center;
    line-height: 1.45;
    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-box--yellow { background: var(--m-red); border-color: white; }


/* 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: var(--m-dark);
    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/olives.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.message-card--bg-doing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(58, 42, 34, 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/Palestinian_keffiyeh.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.message-card--bg-street::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(58, 42, 34, 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/dome-of-the-rock.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.message-card--bg-balloons::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(58, 42, 34, 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 h4 {
    color: white;
}

.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;
}

/* Hidden by default; enabled via SITE_FEATURES.roadmapDiagram in script.js */
.grid {
    display: none;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2.5rem;
    align-items: start;
}

.grid.is-enabled {
    display: grid;
}

.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(184, 84, 31, 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 {
    min-height: var(--aspect-header-h, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aspect-card--expandable .aspect-card-header::after {
    content: '▼';
    display: block;
    font-size: 0.65rem;
    margin-top: auto;
    padding-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(58, 42, 34, 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;
}

/* Instagram embed */
.instagram-feed {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--m-dark);
    text-align: center;
}

.instagram-feed h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.instagram-embed-wrap {
    display: flex;
    justify-content: center;
}

/* Multi-Resource Banner */
.resources-banner {
    background-color: var(--m-yellow);
    border: 4px solid var(--m-dark);
    border-radius: 30px;
    padding: 4rem 2rem;
    margin-top: 130px;
    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 40px;
    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;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    width: fit-content;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
}

.cta-contact-link i {
    font-size: 1.3rem;
}

.cta-contact-link:hover {
    text-decoration: underline;
}

.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;
}

/* Brand banner (at the end of the CTA section) */
.brand-banner {
    margin-top: 3rem;
    text-align: center;
}

.brand-banner-img {
    width: 100%;
    max-width: 1100px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    padding: 24px;
}

/* 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; }
    .cta-contact { align-items: 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; }
    .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); }

    /* 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; }
    .logo-subtitle { display: none; }
    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; }
}

/* Diagram: stack the triangle and boxes vertically once there's no room to fan them out */
@media (max-width: 768px) {
    .who-triangle-wrap {
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }
    .who-triangle-svg { display: none; }
    .who-triangle {
        position: static;
        transform: none;
        margin-bottom: 0.25rem;
    }
    .who-node {
        position: static;
        transform: none;
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 600px) {
    .who-box { font-size: 0.95rem; padding: 1.2rem 1rem; }
    .who-triangle { width: 100px; height: 88px; }
    .who-triangle span { font-size: 0.6rem; }
}

/* Mobile typography & compact cards (phones) */
@media (max-width: 600px) {
    .container { padding-left: 16px; padding-right: 16px; }

    /* Global text scale-down */
    .hero { padding: 130px 0 80px 0; }
    .hero h1 { font-size: 2.4rem; margin-bottom: 1rem; }
    .hero p { font-size: 1rem; margin-bottom: 2rem; }
    .section-title { font-size: 1.8rem; margin-bottom: 40px; }
    .manifesto, .blueprint { padding: 70px 0; }
    .events-section { padding: 70px 0; }
    .manifesto p { font-size: 1rem; }
    .who-box { font-size: 0.8rem; }

    /* Movement Structure / Our Actions / The Message */
    .message-card { padding: 1.4rem 1.1rem; }
    .message-card__title { font-size: 1.25rem; }
    .message-card__body { margin-top: 1.1rem; }
    .message-card__body h4 { font-size: 0.9rem; }
    .message-card__body p { font-size: 0.8rem; line-height: 1.6; }

    /* Roadmap stage cards */
    .card { padding: 1.8rem 1.2rem; }
    .card h3 { font-size: 1.4rem; }
    .card .num { font-size: 2.8rem; }
    .btn-charter { font-size: 0.75rem; }

    /* Aspect cards: 2 per row, smaller */
    .aspects-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 2.5rem; }
    .aspect-card { padding: 0.8rem 0.55rem; font-size: 0.85rem; border-width: 2px; border-radius: 12px; box-shadow: 3px 3px 0px var(--m-dark); }
    .aspect-card:hover { transform: none; box-shadow: 3px 3px 0px var(--m-dark); }
    .aspect-card-icon { font-size: 1.3rem; margin-bottom: 0.3rem; }
    .aspect-card-subtitle { font-size: 0.62rem; margin-top: 0.2rem; }
    .aspect-card--expandable .aspect-card-header::after { font-size: 0.55rem; padding-top: 0.3rem; }
    .aspect-card--expandable[aria-expanded="true"] .aspect-card-body { margin-top: 0.6rem; }
    .aspect-card-body p { font-size: 0.7rem; line-height: 1.55; padding-top: 0.5rem; }

    /* Events: 2 per row, smaller */
    .events-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 2.5rem; }
    .event-card { border-width: 2px; border-radius: 14px; box-shadow: 3px 3px 0px var(--m-dark); }
    .event-card:hover { transform: none; box-shadow: 3px 3px 0px var(--m-dark); }
    .event-img-placeholder, .event-img-pair { height: 100px; border-bottom-width: 2px; }
    .event-info { padding: 0.7rem; }
    .event-info h4 { font-size: 0.9rem; margin-bottom: 0.3rem; }
    .event-info p { font-size: 0.7rem; line-height: 1.45; }

    /* Resources banner ("Want to dive into details?") */
    .resources-banner { padding: 2rem 1rem; margin-top: 70px; border-width: 3px; border-radius: 20px; box-shadow: 5px 5px 0px var(--m-dark); }
    .resources-banner h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
    .resource-grid { gap: 1rem; }
    .resource-card { padding: 1rem; border-radius: 14px; }
    .resource-title { font-size: 0.9rem; }
    .resource-date { font-size: 0.7rem; }
    .resource-card p { font-size: 0.8rem !important; line-height: 1.55 !important; }
    .resource-btn { font-size: 0.8rem; margin-top: 0.8rem !important; }
    .instagram-feed { margin-top: 2rem; padding-top: 2rem; }
    .instagram-feed h4 { font-size: 1.1rem; margin-bottom: 1rem; }

    /* CTA */
    .cta-section { padding: 70px 0 30px; }
    .cta-text h2 { font-size: 2.2rem; margin-bottom: 1.25rem; }
    .cta-contact-link, .cta-contact-link i { font-size: 1rem; }
    .cta-content { gap: 2rem; }
}
