/* ─────────────────────────────
   RESET
──────────────────────────── */

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

/* ─────────────────────────────
   TOKENS
──────────────────────────── */

:root {
    --green: #556EF5;
    --green-mid: #7088F7;
    --green-light: #99AEFB;
    --green-pale: #E4E8FE;

    --cream: #faf9f6;
    --warm-white: #f5f0e8;

    --charcoal: #1c1c1c;
    --mid: #4a4a4a;
    --muted: #7a7a7a;

    --radius: 12px;
    --container: 1100px;

    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
}

/* ─────────────────────────────
   BASE
──────────────────────────── */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    padding-top: 70px; /* FIXED HEADER OFFSET */
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.75rem;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ─────────────────────────────
   HEADER
──────────────────────────── */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250,249,246,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green);
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--muted);
}

.site-nav {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    font-size: 0.85rem;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    color: var(--mid);
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: var(--green-pale);
    color: var(--green);
}

/* ─────────────────────────────
   HERO
──────────────────────────── */

.hero {
    padding: 100px 0 70px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--green-pale), transparent 70%);
    border-radius: 50%;
}

.hero__inner {
    max-width: 650px;
}

.hero__eyebrow {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--green-mid);
    background: var(--green-pale);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.accent {
    color: var(--green);
}

.hero__subtitle {
    color: var(--mid);
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ─────────────────────────────
   BUTTONS
──────────────────────────── */

.btn {
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn--primary {
    background: var(--green);
    color: white;
}

.btn--primary:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
}

.btn--outline {
    border: 2px solid var(--green);
    color: var(--green);
}

.btn--outline:hover {
    background: var(--green-pale);
}

.btn--light {
    background: white;
    color: var(--charcoal);
}

.btn--ghost {
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
}

/* ─────────────────────────────
   SECTIONS
──────────────────────────── */

section {
    padding: 80px 0;
}

.section-eyebrow {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--green-mid);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
}

.section-body {
    color: var(--mid);
    max-width: 600px;
}

/* subtle divider */
section + section {
    border-top: 1px solid rgba(0,0,0,0.04);
}

/* ─────────────────────────────
   MISSION
──────────────────────────── */

.mission {
    background: white;
}

/* ─────────────────────────────
   PROJECTS
──────────────────────────── */

.projects {
    background: var(--warm-white);
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ─────────────────────────────
   TEAM
──────────────────────────── */

.team {
    background: var(--cream);
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.team-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ─────────────────────────────
   CTA
──────────────────────────── */

.cta {
    background: var(--charcoal);
    color: white;
    text-align: center;
}

.cta__title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta__text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.cta__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ─────────────────────────────
   FOOTER
──────────────────────────── */

.site-footer {
    background: #111;
    color: rgba(255,255,255,0.6);
    padding: 30px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ─────────────────────────────
   RESPONSIVE
──────────────────────────── */

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

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

/* ───────── MEDIA / IMAGES ───────── */

.media-card {
    width: 100%;
    height: 260px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--green-pale), var(--warm-white));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.85rem;
    border: 1px dashed rgba(0,0,0,0.08);
}

.project-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.project-row.reverse {
    direction: rtl;
}
.project-row.reverse > * {
    direction: ltr;
}

/* exec photos */
.avatar {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green-pale), var(--warm-white));
    margin-bottom: 1rem;
}

/* goals list */
.bullets {
    margin-top: 1rem;
}
.bullets li {
    margin-bottom: 0.5rem;
    color: var(--mid);
}

.pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.pillar-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(85,110,245,0.12);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.pillar-card h3 {
    font-family: var(--font-display);
    color: var(--green);
    margin-bottom: 0.75rem;
}

.pillar-card p {
    color: var(--mid);
    line-height: 1.6;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}

.event-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(85,110,245,0.12);
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.event-card h3 {
    font-family: var(--font-display);
    color: var(--green);
    margin-bottom: 0.5rem;
}

.event-card p {
    color: var(--mid);
}

.event-timeline {
    margin-top: 2rem;
    border-left: 2px solid var(--green-pale);
    padding-left: 1.5rem;
}

.event-month {
    font-family: var(--font-display);
    color: var(--green);
    margin: 2rem 0 1rem;
}

.event-item {
    margin-bottom: 1.25rem;
    position: relative;
}

.event-item::before {
    content: "";
    position: absolute;
    left: -1.6rem;
    top: 0.4rem;
    width: 10px;
    height: 10px;
    background: var(--green);
    border-radius: 50%;
}

.event-date {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.2rem;
}

.event-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
}

/* ───────── EVENTS GRID ───────── */

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

/* Month headers span full width */
.event-month {
    grid-column: 1 / -1;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--green);
    margin: 1.5rem 0 0.5rem;
}

/* Event cards */
.event-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(85,110,245,0.12);
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* BOLD DATE + TIME */
.event-date {
    font-weight: 700;
    color: var(--green-mid);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

/* Title styling */
.event-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--charcoal);
}

/* Responsive */
@media (max-width: 800px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

.card p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--mid);
}

.card p:last-child {
    margin-bottom: 0;
}

/* ───────── PROJECT SPLIT LAYOUT ───────── */

.project-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

/* reverse layout for alternating sections */
.project-row.reverse {
    direction: rtl;
}

.project-row.reverse > * {
    direction: ltr;
}

/* make cards and media consistent */
.project-row .card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.05);
}

.project-row h3 {
    font-family: var(--font-display);
    color: var(--green);
    margin-bottom: 0.75rem;
}

.project-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
