:root{
    --saffron:#d85f12;
    --deep-green:#0f5d3f;
    --navy:#13294b;
    --gold:#d6a33a;
    --paper:#fff8ed;
    --ink:#1d1d1b;
    --muted:#665f55;
    --line:#e7d8bf;
    --white:#ffffff;
    --shadow:0 20px 55px rgba(42,31,17,0.14);
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    color:var(--ink);
    background:var(--paper);
    line-height:1.7;
}

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

a{
    color:inherit;
}

.site-header{
    position:sticky;
    top:0;
    z-index:20;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:12px clamp(18px,4vw,58px);
    background:rgba(255,248,237,0.94);
    border-bottom:1px solid var(--line);
    backdrop-filter:blur(16px);
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    min-width:0;
}

.brand img{
    width:58px;
    height:58px;
    border-radius:50%;
    object-fit:cover;
    box-shadow:0 0 0 3px rgba(216,95,18,0.18);
}

.brand strong{
    display:block;
    color:var(--navy);
    font-size:1.15rem;
    line-height:1.1;
}

.brand small{
    display:block;
    color:var(--muted);
    font-size:0.78rem;
    line-height:1.25;
}

.site-nav{
    display:flex;
    align-items:center;
    gap:6px;
}

.site-nav a{
    text-decoration:none;
    font-weight:700;
    color:var(--navy);
    padding:9px 12px;
    border-radius:6px;
}

.site-nav a:hover,
.site-nav a.active{
    color:var(--white);
    background:var(--deep-green);
}

.menu-toggle{
    display:none;
    width:44px;
    height:44px;
    border:1px solid var(--line);
    background:var(--white);
    border-radius:6px;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
}

.menu-toggle span{
    width:21px;
    height:2px;
    background:var(--navy);
}

.hero{
    min-height:calc(100vh - 83px);
    display:grid;
    grid-template-columns:minmax(0,1.06fr) minmax(280px,0.74fr);
    align-items:center;
    gap:clamp(28px,5vw,72px);
    padding:clamp(44px,7vw,96px) clamp(18px,6vw,86px);
    background:
        linear-gradient(135deg,rgba(255,248,237,0.94),rgba(255,248,237,0.78)),
        linear-gradient(110deg,rgba(216,95,18,0.16),rgba(15,93,63,0.13),rgba(19,41,75,0.12));
    border-bottom:1px solid var(--line);
}

.hero-copy{
    max-width:850px;
}

.eyebrow{
    color:var(--saffron);
    text-transform:uppercase;
    font-size:0.78rem;
    font-weight:800;
    letter-spacing:0;
    margin-bottom:12px;
}

.hero h1,
.section-heading h2,
.join-panel h2{
    color:var(--navy);
    font-family:Georgia, 'Times New Roman', serif;
    line-height:1.08;
    font-weight:800;
}

.hero h1{
    font-size:clamp(2.5rem,6vw,5.85rem);
    max-width:950px;
}

.hero-text{
    max-width:720px;
    margin-top:24px;
    color:#36332f;
    font-size:clamp(1rem,1.45vw,1.3rem);
}

.hero-actions{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:30px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:12px 20px;
    border-radius:6px;
    text-decoration:none;
    font-weight:800;
    border:2px solid transparent;
}

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

.btn.secondary{
    background:var(--white);
    color:var(--navy);
    border-color:var(--line);
}

.btn:hover{
    transform:translateY(-1px);
    box-shadow:0 10px 24px rgba(42,31,17,0.14);
}

.hero-emblem{
    justify-self:center;
    width:min(430px,88vw);
    padding:16px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:8px;
    box-shadow:var(--shadow);
}

.hero-emblem img{
    border-radius:6px;
}

.intro-band{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border-bottom:1px solid var(--line);
    background:var(--white);
}

.intro-band div{
    padding:26px clamp(18px,4vw,46px);
    border-right:1px solid var(--line);
}

.intro-band div:last-child{
    border-right:0;
}

.intro-band strong{
    display:block;
    color:var(--deep-green);
    font-size:1.08rem;
}

.intro-band span{
    color:var(--muted);
}

.section{
    padding:clamp(58px,8vw,104px) clamp(18px,6vw,86px);
}

.split{
    display:grid;
    grid-template-columns:minmax(240px,0.78fr) minmax(0,1fr);
    gap:clamp(28px,5vw,72px);
    align-items:start;
}

.section-heading{
    max-width:760px;
}

.section-heading.centered{
    max-width:850px;
    text-align:center;
    margin:0 auto 34px;
}

.section-heading h2,
.join-panel h2{
    font-size:clamp(2rem,4.5vw,4rem);
}

.compact-section .section-heading{
    margin-bottom:24px;
}

.compact-section .section-heading h2{
    font-size:clamp(1.8rem,3vw,2.8rem);
    line-height:1.18;
}

.copy-block{
    display:grid;
    gap:18px;
    color:#302d2a;
    font-size:1.08rem;
}

.strength-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.feature-card,
.ruler-card,
.timeline-item,
.stat-panel{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:8px;
    box-shadow:0 10px 30px rgba(42,31,17,0.08);
}

.feature-card{
    padding:26px;
}

.feature-card span{
    display:inline-flex;
    color:var(--saffron);
    font-weight:900;
    margin-bottom:28px;
}

.feature-card h3,
.ruler-card h3,
.timeline-item h3{
    color:var(--navy);
    font-size:1.22rem;
    line-height:1.25;
    margin-bottom:10px;
}

.feature-card p,
.ruler-card p,
.timeline-item p,
.today-list p,
.stat-panel p,
.join-panel p{
    color:var(--muted);
}

.rulers-section{
    background:#f4efe6;
}

.ruler-map{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin-top:34px;
}

.ruler-card{
    padding:28px;
    min-height:230px;
}

.ruler-card strong{
    display:inline-flex;
    align-items:center;
    color:var(--white);
    background:var(--deep-green);
    padding:5px 10px;
    border-radius:6px;
    margin-bottom:18px;
}

.timeline-section{
    background:var(--navy);
}

.timeline-section .section-heading h2,
.timeline-section .section-heading .eyebrow{
    color:var(--white);
}

.timeline{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    margin-top:34px;
}

.timeline-item{
    padding:26px;
    position:relative;
    overflow:hidden;
}

.timeline-item::before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:5px;
    background:linear-gradient(90deg,var(--saffron),var(--gold),var(--deep-green));
}

.timeline-item span{
    color:var(--saffron);
    display:block;
    font-weight:900;
    margin-bottom:16px;
}

.today-layout{
    display:grid;
    grid-template-columns:minmax(260px,0.7fr) minmax(0,1fr);
    gap:22px;
    margin-top:34px;
}

.stat-panel{
    padding:32px;
    background:var(--deep-green);
}

.stat-panel strong,
.stat-panel p{
    color:var(--white);
}

.stat-panel strong{
    display:block;
    font-size:1.55rem;
    line-height:1.2;
    margin-bottom:18px;
}

.today-list{
    display:grid;
    gap:14px;
}

.today-list p{
    background:var(--white);
    border-left:5px solid var(--gold);
    padding:18px 20px;
    border-radius:6px;
}

.today-list strong{
    color:var(--navy);
}

.join-section{
    padding-top:0;
}

.join-panel{
    display:grid;
    grid-template-columns:190px minmax(0,1fr);
    gap:30px;
    align-items:center;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:8px;
    padding:clamp(24px,5vw,48px);
    box-shadow:var(--shadow);
}

.join-panel img{
    border-radius:8px;
}

.join-panel p:not(.eyebrow){
    margin-top:18px;
    max-width:850px;
}

.site-footer{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:center;
    padding:30px clamp(18px,6vw,86px);
    background:#111815;
    color:var(--white);
}

.site-footer p{
    color:#d5ded9;
}

.site-footer a{
    color:#ffd083;
    font-weight:800;
    text-decoration:none;
}

.page-hero{
    min-height:52vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:clamp(58px,8vw,110px) clamp(18px,6vw,86px);
    border-bottom:1px solid var(--line);
    background:
        linear-gradient(135deg,rgba(255,248,237,0.94),rgba(255,248,237,0.80)),
        linear-gradient(115deg,rgba(216,95,18,0.16),rgba(15,93,63,0.12),rgba(19,41,75,0.12));
}

.page-hero h1{
    max-width:1050px;
    color:var(--navy);
    font-family:Georgia, 'Times New Roman', serif;
    font-size:clamp(2.25rem,5vw,5rem);
    line-height:1.08;
}

.page-hero p:not(.eyebrow){
    max-width:900px;
    margin-top:22px;
    color:#34302b;
    font-size:clamp(1rem,1.4vw,1.25rem);
}

.civic-hero{
    background:
        linear-gradient(135deg,rgba(255,248,237,0.95),rgba(255,248,237,0.78)),
        linear-gradient(120deg,rgba(19,41,75,0.18),rgba(216,95,18,0.13));
}

.freedom-hero,
.temple-hero{
    background:
        linear-gradient(135deg,rgba(255,248,237,0.94),rgba(255,248,237,0.78)),
        linear-gradient(120deg,rgba(216,95,18,0.20),rgba(214,163,58,0.16));
}

.farmer-hero{
    background:
        linear-gradient(135deg,rgba(255,248,237,0.94),rgba(255,248,237,0.80)),
        linear-gradient(120deg,rgba(15,93,63,0.18),rgba(214,163,58,0.16));
}

.science-hero,
.data-hero{
    background:
        linear-gradient(135deg,rgba(255,248,237,0.94),rgba(255,248,237,0.78)),
        linear-gradient(120deg,rgba(19,41,75,0.18),rgba(15,93,63,0.14));
}

.portal-grid,
.bio-grid,
.temple-grid,
.stats-grid,
.process-grid{
    display:grid;
    gap:18px;
}

.portal-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
}

.portal-card{
    min-height:245px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:8px;
    padding:24px;
    text-decoration:none;
    box-shadow:0 10px 30px rgba(42,31,17,0.08);
}

.portal-card span{
    display:inline-flex;
    color:var(--saffron);
    font-weight:900;
    margin-bottom:24px;
}

.portal-card h3,
.process-step strong,
.bio-card h3,
.temple-card h3{
    color:var(--navy);
    line-height:1.25;
}

.portal-card p,
.process-step p,
.bio-card p,
.source-note{
    color:var(--muted);
}

.issue-section{
    background:#f4efe6;
}

.process-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    margin-top:34px;
}

.process-step{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:8px;
    padding:24px;
}

.process-step strong{
    display:block;
    font-size:1.2rem;
    margin-bottom:10px;
}

.bio-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.bio-card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:8px;
    padding:24px;
    box-shadow:0 10px 30px rgba(42,31,17,0.08);
}

.bio-card small{
    display:block;
    color:var(--saffron);
    font-weight:800;
    margin:6px 0 12px;
}

.list-columns{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.list-columns p{
    background:var(--white);
    border-left:5px solid var(--gold);
    border-radius:6px;
    padding:18px 20px;
    color:var(--muted);
}

.stats-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
}

.stats-grid .stat-panel{
    background:var(--deep-green);
}

.table-wrap{
    width:100%;
    overflow:auto;
    margin-top:28px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:8px;
    box-shadow:0 10px 30px rgba(42,31,17,0.08);
}

table{
    width:100%;
    min-width:760px;
    border-collapse:collapse;
}

th,
td{
    text-align:left;
    padding:14px 16px;
    border-bottom:1px solid var(--line);
    vertical-align:top;
}

th{
    color:var(--white);
    background:var(--navy);
}

tr:last-child td{
    border-bottom:0;
}

.source-note{
    margin-top:18px;
    font-size:0.94rem;
}

.temple-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
}

.temple-card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:8px;
    padding:22px;
    box-shadow:0 10px 30px rgba(42,31,17,0.08);
}

.temple-card p{
    color:var(--muted);
    margin-top:6px;
}

.image-gallery{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:1px;
    background:var(--line);
    border-bottom:1px solid var(--line);
}

.image-gallery figure{
    position:relative;
    min-height:320px;
    background:var(--white);
    overflow:hidden;
}

.image-gallery img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.image-gallery figcaption{
    position:absolute;
    left:12px;
    bottom:12px;
    color:var(--white);
    background:rgba(19,41,75,0.84);
    padding:7px 10px;
    border-radius:6px;
    font-weight:800;
}

.wide-image{
    padding:clamp(24px,5vw,48px) clamp(18px,6vw,86px) 0;
}

.wide-image img{
    width:100%;
    max-height:520px;
    object-fit:cover;
    border-radius:8px;
    border:1px solid var(--line);
    box-shadow:var(--shadow);
}

.wide-image p{
    color:var(--muted);
    margin-top:10px;
}

.reveal{
    opacity:0;
    transform:translateY(22px);
    transition:opacity 0.7s ease, transform 0.7s ease;
}

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

@media(max-width:960px){
    .hero,
    .split,
    .today-layout,
    .join-panel{
        grid-template-columns:1fr;
    }

    .hero{
        min-height:auto;
    }

    .hero-emblem{
        justify-self:start;
        width:min(340px,100%);
    }

    .intro-band,
    .strength-grid,
    .timeline,
    .image-gallery,
    .portal-grid,
    .process-grid,
    .bio-grid,
    .temple-grid,
    .stats-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:720px){
    .site-header{
        align-items:flex-start;
    }

    .brand img{
        width:50px;
        height:50px;
    }

    .brand small{
        max-width:190px;
    }

    .menu-toggle{
        display:flex;
        flex:0 0 auto;
    }

    .site-nav{
        position:absolute;
        top:75px;
        left:18px;
        right:18px;
        display:none;
        flex-direction:column;
        align-items:stretch;
        padding:12px;
        background:var(--white);
        border:1px solid var(--line);
        border-radius:8px;
        box-shadow:var(--shadow);
    }

    .site-nav.open{
        display:flex;
    }

    .site-nav a{
        padding:12px;
    }

    .intro-band,
    .strength-grid,
    .ruler-map,
    .timeline,
    .image-gallery,
    .portal-grid,
    .process-grid,
    .bio-grid,
    .temple-grid,
    .stats-grid,
    .list-columns{
        grid-template-columns:1fr;
    }

    .intro-band div{
        border-right:0;
        border-bottom:1px solid var(--line);
    }

    .intro-band div:last-child{
        border-bottom:0;
    }

    .hero h1{
        font-size:2.45rem;
    }

    .section-heading h2,
    .join-panel h2{
        font-size:2rem;
    }

    .site-footer{
        flex-direction:column;
        align-items:flex-start;
    }
}
