:root {
    --charcoal: #252522;
    --ink: #34342f;
    --indigo: #293f62;
    --terracotta: #c75d3a;
    --ochre: #d8a33d;
    --leaf: #65785f;
    --ivory: #f7f1e6;
    --ivory-dark: #ece2d1;
    --white: #fffdf9;
    --muted: #716e67;
    --line: #ded4c3;
    --shadow: 0 24px 70px rgba(49, 42, 31, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    line-height: 1.72;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 42px)); margin: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    color: var(--white);
    background: rgba(37, 37, 34, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { width: 218px; height: 70px; object-fit: contain; background: var(--white); border-radius: 12px 4px 12px 4px; }
.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--terracotta);
    border-radius: 50% 50% 12px 50%;
    font-family: "Fraunces", serif;
    font-weight: 700;
}
.brand strong, .brand small { display: block; }
.brand strong { color: var(--white); font-family: "Fraunces", serif; font-size: 21px; line-height: 1.1; }
.brand small { margin-top: 4px; color: #d9d0c3; font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.main-menu { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; }
.main-menu a { position: relative; padding: 12px 8px; border-radius: 10px; white-space: nowrap; transition: color .22s, background .22s, transform .22s; }
.main-menu a:not(.nav-cta):after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; background: var(--ochre); transform: scaleX(0); transform-origin: left; transition: transform .22s; }
.main-menu a:not(.nav-cta):hover, .main-menu a:not(.nav-cta).active { color: #ffd08e; background: rgba(255, 255, 255, .06); transform: translateY(-2px); }
.main-menu a:not(.nav-cta):hover:after, .main-menu a:not(.nav-cta).active:after { transform: scaleX(1); }
.nav-cta, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 23px;
    color: var(--white);
    background: var(--terracotta) !important;
    border: 1px solid var(--terracotta) !important;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    transition: .25s;
}
.nav-cta:hover, .button:hover { color: var(--white); background: #a9462a; border-color: #a9462a; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(122, 54, 32, .22); }
.button-outline { color: var(--charcoal); background: var(--ivory); border-color: var(--ivory); }
.button-outline:hover { color: var(--white); background: var(--indigo); border-color: var(--indigo); }

.hero {
    position: relative;
    min-height: 740px;
    overflow: hidden;
    color: var(--charcoal);
    background: var(--ivory);
}
.hero:before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -160px;
    left: -160px;
    width: 420px;
    height: 420px;
    border: 80px solid rgba(216, 163, 61, .22);
    border-radius: 50%;
}
.hero-grid { min-height: 740px; display: grid; grid-template-columns: 52% 48%; }
.hero-copy {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 90px 75px 90px max(34px, calc((100vw - 1180px) / 2));
    background: var(--ivory);
}
.hero-copy:after {
    content: "";
    position: absolute;
    right: -74px;
    bottom: 75px;
    width: 148px;
    height: 148px;
    background: var(--terracotta);
    border-radius: 50% 50% 16px 50%;
    opacity: .94;
}
.eyebrow {
    margin: 0 0 18px;
    color: var(--terracotta);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .19em;
    text-transform: uppercase;
}
.eyebrow:after { content: ""; display: inline-block; width: 42px; height: 2px; margin: 0 0 3px 12px; background: var(--ochre); }
.hero h1, .page-hero h1, .section-title {
    margin: 0;
    font-family: "Fraunces", serif;
    font-weight: 600;
    line-height: 1.07;
}
.hero h1 { max-width: 680px; color: var(--charcoal); font-size: clamp(49px, 6vw, 78px); letter-spacing: -.035em; }
.hero .lead { max-width: 650px; margin: 27px 0 32px; color: #625e57; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; margin: 32px 32px 32px 0; overflow: hidden; border-radius: 180px 24px 180px 24px; box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(41, 63, 98, .25), transparent 55%); }

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 118px 0 95px;
    color: var(--white);
    background: var(--indigo);
}
.page-hero:before {
    content: "";
    position: absolute;
    right: -80px;
    top: -170px;
    width: 520px;
    height: 520px;
    border-radius: 50% 50% 12% 50%;
    background: rgba(199, 93, 58, .82);
    transform: rotate(18deg);
}
.page-hero:after {
    content: "";
    position: absolute;
    right: 260px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border: 46px solid rgba(216, 163, 61, .35);
    border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: #ffd08e; }
.page-hero h1 { max-width: 860px; font-size: clamp(45px, 6vw, 73px); letter-spacing: -.025em; }
.page-hero p:last-child { max-width: 720px; margin: 22px 0 0; color: #e5e8ee; font-size: 18px; }

.section { padding: 98px 0; }
.section-alt { background: var(--ivory); }
.section-green { position: relative; overflow: hidden; color: var(--white); background: var(--charcoal); }
.section-green:after { content: ""; position: absolute; right: -150px; bottom: -180px; width: 430px; height: 430px; border: 65px solid rgba(199, 93, 58, .18); border-radius: 50%; }
.section-green .container { position: relative; z-index: 1; }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-title { color: var(--charcoal); font-size: clamp(37px, 4.6vw, 56px); letter-spacing: -.025em; }
.section-green .section-title { color: var(--white); }
.section-head p { color: var(--muted); font-size: 18px; }
.section-green .section-head p { color: #cbc9c1; }
.gold-line { width: 78px; height: 5px; margin: 20px 0; border-radius: 5px; background: linear-gradient(90deg, var(--terracotta) 0 55%, var(--ochre) 55%); }

.fieldwork-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; margin-bottom: 42px; }
.fieldwork-heading .section-head { margin: 0; }
.fieldwork-heading > p { margin: 0 0 12px; padding-left: 24px; color: #cbc9c1; border-left: 3px solid var(--terracotta); font-size: 17px; }
.fieldwork-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(2, 230px); gap: 20px; }
.fieldwork-card { position: relative; min-height: 0; overflow: hidden; color: var(--white); background: var(--indigo); border-radius: 38px 12px 38px 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .2); }
.fieldwork-card-large { grid-row: 1 / 3; }
.fieldwork-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s, filter .55s; }
.fieldwork-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(15, 24, 24, .88) 100%); }
.fieldwork-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; }
.fieldwork-content small { color: #ffd08e; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.fieldwork-content strong { max-width: 520px; margin: 7px 0 13px; font-family: "Fraunces", serif; font-size: clamp(22px, 2.4vw, 35px); line-height: 1.16; }
.fieldwork-card:not(.fieldwork-card-large) .fieldwork-content strong { font-size: 24px; }
.fieldwork-content > span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.fieldwork-content b { display: inline-block; margin-left: 5px; font-size: 17px; transition: transform .22s; }
.fieldwork-card:hover img { transform: scale(1.055); filter: saturate(1.08); }
.fieldwork-card:hover .fieldwork-content b { transform: translateX(6px); }
.fieldwork-card-text { background: linear-gradient(135deg, var(--terracotta), #9c4028); }
.fieldwork-card-text:before { content: ""; position: absolute; right: -45px; top: -55px; width: 190px; height: 190px; border: 32px solid rgba(255, 255, 255, .1); border-radius: 50%; }
.fieldwork-count { position: absolute; top: 22px; right: 26px; color: rgba(255,255,255,.28); font-family: "Fraunces", serif; font-size: 55px; line-height: 1; }

.about-profile-section { position: relative; overflow: hidden; }
.about-profile-section:after {
    content: "";
    position: absolute;
    right: -180px;
    top: 110px;
    width: 410px;
    height: 410px;
    border: 66px solid rgba(199, 93, 58, .07);
    border-radius: 50%;
    pointer-events: none;
}
.about-profile-section .container { position: relative; z-index: 1; }
.about-profile-heading { display: grid; grid-template-columns: .9fr 1.1fr; gap: 78px; align-items: end; margin-bottom: 40px; }
.about-profile-lead { margin: 0; padding: 28px 30px; color: var(--indigo); background: var(--ivory); border-left: 5px solid var(--terracotta); border-radius: 8px 30px 8px 30px; font-family: "Fraunces", serif; font-size: 21px; line-height: 1.55; }
.about-profile-copy { columns: 2; column-gap: 58px; }
.about-profile-copy p { margin: 0 0 22px; break-inside: avoid; color: var(--muted); }
.about-profile-copy p:first-child { color: var(--ink); font-size: 18px; font-weight: 500; }
.about-value-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 45px; color: var(--white); background: var(--indigo); border-radius: 36px 10px 36px 10px; overflow: hidden; }
.about-value-strip span { position: relative; padding: 21px 18px; text-align: center; font-family: "Fraunces", serif; font-size: 17px; }
.about-value-strip span + span { border-left: 1px solid rgba(255, 255, 255, .14); }
.about-value-strip span:before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px; background: var(--ochre); border-radius: 50%; }

.purpose-section { position: relative; overflow: hidden; }
.purpose-section:before { content: ""; position: absolute; left: -170px; top: 360px; width: 360px; height: 360px; border: 58px solid rgba(216, 163, 61, .1); border-radius: 50%; }
.purpose-section .container { position: relative; z-index: 1; }
.vision-mission-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 22px; margin-bottom: 92px; }
.vision-card, .mission-card { position: relative; min-height: 310px; padding: 42px; overflow: hidden; border-radius: 46px 14px 46px 14px; box-shadow: var(--shadow); }
.vision-card { color: var(--white); background: var(--indigo); }
.mission-card { background: var(--white); border: 1px solid var(--line); }
.vision-card:after, .mission-card:after { content: ""; position: absolute; right: -65px; bottom: -70px; width: 210px; height: 210px; border: 35px solid rgba(255,255,255,.08); border-radius: 50%; }
.mission-card:after { border-color: rgba(199,93,58,.07); }
.vision-card .eyebrow { color: #ffd08e; }
.vision-card h2, .mission-card h2 { position: relative; z-index: 1; margin: 18px 0 15px; font-family: "Fraunces", serif; font-size: 37px; line-height: 1.12; }
.vision-card > p:last-child, .mission-card > p:last-child { position: relative; z-index: 1; margin: 0; font-size: 17px; }
.vision-card > p:last-child { color: #e2e7ef; }
.about-card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 25px; color: var(--charcoal); background: var(--ochre); border-radius: 50% 50% 8px 50%; font-size: 22px; font-weight: 700; }
.mission-card .about-card-icon { color: var(--white); background: var(--terracotta); }
.purpose-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; margin-bottom: 40px; }
.purpose-heading > p { margin: 0 0 10px; padding: 4px 0 4px 24px; color: var(--muted); border-left: 4px solid var(--terracotta); font-size: 17px; }
.purpose-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.purpose-list article { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; min-height: 125px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 24px 8px 24px 8px; transition: transform .24s, box-shadow .24s, border-color .24s; }
.purpose-list article:hover { transform: translateY(-4px); border-color: rgba(199,93,58,.45); box-shadow: 0 16px 36px rgba(54,46,34,.08); }
.purpose-list article > span { width: 44px; height: 44px; display: grid; place-items: center; color: var(--terracotta); background: var(--ivory); border-radius: 14px 5px 14px 5px; font-size: 11px; font-weight: 700; }
.purpose-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.62; }
.thematic-section { position: relative; overflow: hidden; }
.thematic-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 42px; }
.thematic-heading > div { max-width: 720px; }
.thematic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.thematic-grid article { position: relative; min-height: 168px; padding: 28px; overflow: hidden; color: var(--white); background: var(--charcoal); border-radius: 30px 9px 30px 9px; transition: transform .25s, background .25s; }
.thematic-grid article:nth-child(3n+2) { background: var(--indigo); }
.thematic-grid article:nth-child(4n) { background: var(--terracotta); }
.thematic-grid article:hover { transform: translateY(-5px); background: #9f472d; }
.thematic-grid span { color: #f1bd75; font-size: 11px; font-weight: 700; }
.thematic-grid h3 { position: relative; z-index: 1; max-width: 290px; margin: 28px 0 0; font-family: "Fraunces", serif; font-size: 22px; line-height: 1.22; }
.thematic-grid article:after { content: ""; position: absolute; right: -32px; bottom: -38px; width: 105px; height: 105px; border: 20px solid rgba(255,255,255,.07); border-radius: 50%; }
.team-page-callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 58px; padding: 42px 48px; color: var(--white); background: linear-gradient(135deg, var(--indigo), #17283f); border-radius: 46px 14px 46px 14px; }
.team-page-callout .eyebrow { color: #ffd08e; }
.team-page-callout h2 { max-width: 710px; margin: 0; font-family: "Fraunces", serif; font-size: 35px; line-height: 1.22; }

.intro-grid, .two-col { display: grid; grid-template-columns: .95fr 1.05fr; gap: 78px; align-items: start; }
.intro-grid .large { margin-top: 0; color: var(--indigo); font-family: "Fraunces", serif; font-size: 34px; line-height: 1.37; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 58px; }
.principle, .card {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 10px 34px rgba(54, 46, 34, .055);
}
.principle { position: relative; min-height: 160px; padding: 30px; overflow: hidden; border-radius: 28px 28px 8px 28px; }
.principle:after { content: ""; position: absolute; right: -18px; bottom: -20px; width: 68px; height: 68px; background: var(--ochre); border-radius: 50%; opacity: .18; }
.principle:nth-child(even):after { background: var(--terracotta); }
.principle strong { display: block; color: var(--indigo); font-family: "Fraunces", serif; font-size: 23px; }
.principle span { color: var(--muted); font-size: 13px; }

.team-section { position: relative; overflow: hidden; }
.team-section:before {
    content: "";
    position: absolute;
    left: -180px;
    top: 170px;
    width: 380px;
    height: 380px;
    border: 62px solid rgba(216, 163, 61, .1);
    border-radius: 50%;
}
.team-section .container { position: relative; z-index: 1; }
.team-heading { display: grid; grid-template-columns: 1fr 270px; align-items: end; gap: 50px; margin-bottom: 48px; }
.team-heading .section-head { margin-bottom: 0; }
.team-heading-note {
    padding: 24px 26px;
    color: var(--white);
    background: var(--indigo);
    border-radius: 36px 10px 36px 10px;
}
.team-heading-note strong { display: block; color: #f1bd75; font-family: "Fraunces", serif; font-size: 31px; line-height: 1.1; }
.team-heading-note span { display: block; margin-top: 7px; color: #dfe4ec; font-size: 12px; line-height: 1.55; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.team-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 315px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 34px 12px 34px 12px;
    box-shadow: 0 12px 38px rgba(54, 46, 34, .07);
    transition: transform .28s, box-shadow .28s;
    cursor: pointer;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card:focus-visible { outline: 4px solid rgba(199, 93, 58, .25); outline-offset: 4px; }
.team-card-featured { grid-column: span 1; border-top: 5px solid var(--terracotta); }
.team-photo-wrap { position: relative; min-height: 100%; overflow: hidden; background: var(--ivory-dark); }
.team-photo { width: 100%; height: 100%; min-height: 315px; object-fit: cover; object-position: center top; filter: saturate(.92) contrast(1.02); transition: transform .45s; }
.team-card[data-team="8"] .team-photo-sourav { height: 138%; min-height: 138%; object-position: center top; }
.team-card:hover .team-photo { transform: scale(1.035); }
.team-card[data-team="8"]:hover .team-photo-sourav { transform: scale(1.035); }
.team-index {
    position: absolute;
    left: 13px;
    bottom: 13px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--charcoal);
    background: var(--ochre);
    border-radius: 50% 50% 8px 50%;
    font-size: 11px;
    font-weight: 700;
}
.team-body { display: flex; flex-direction: column; padding: 28px 27px 25px; }
.team-role { margin: 0 0 6px; color: var(--terracotta); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.team-body h3 { margin: 0 0 13px; color: var(--indigo); font-family: "Fraunces", serif; font-size: 25px; line-height: 1.16; }
.team-bio { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.66; }
.team-expertise { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.team-expertise span { padding: 5px 9px; color: var(--indigo); background: var(--ivory); border: 1px solid var(--line); border-radius: 999px; font-size: 9px; font-weight: 600; }
.team-view { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; color: var(--terracotta); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.team-view b { font-size: 18px; line-height: 1; transition: transform .22s; }
.team-card:hover .team-view b { transform: translateX(5px); }

.team-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
}
.team-modal.open { display: flex; }
.team-modal-backdrop { position: absolute; inset: 0; background: rgba(24, 24, 22, .82); backdrop-filter: blur(8px); }
.team-modal-panel {
    position: relative;
    margin-top: 80px;
    z-index: 1;
    width: min(980px, 100%);
    max-height: min(450px, calc(100vh - 56px));
    display: grid;
    grid-template-columns: 350px 1fr;
    overflow: auto;
    background: var(--white);
    border-radius: 46px 14px 46px 14px;
    box-shadow: 0 38px 100px rgba(0, 0, 0, .34);
    animation: teamModalIn .28s ease-out;
}
@keyframes teamModalIn {
    from { opacity: 0; transform: translateY(20px) scale(.975); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.team-modal-close {
    position: absolute;
    z-index: 3;
    top: 15px;
    right: 17px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--charcoal);
    border: 0;
    border-radius: 50%;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
    transition: .22s;
}
.team-modal-close:hover { background: var(--terracotta); transform: rotate(5deg); }
.team-modal-photo-column { padding: 34px; color: var(--white); background: var(--indigo); }
.team-modal-photo-frame { position: relative; overflow: hidden; aspect-ratio: 1 / 1.07; border-radius: 100px 24px 100px 24px; border: 6px solid rgba(255, 255, 255, .13); }
.team-modal-photo-frame:after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -45px 70px rgba(41, 63, 98, .2); }
.team-modal-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-modal-photo-frame img.team-modal-photo-sourav { height: 140%; min-height: 140%; }
.team-modal-expertise { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.team-modal-expertise span { padding: 7px 11px; color: #fff1dd; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: 10px; font-weight: 600; }
.team-modal-content { padding: 62px 52px 48px; }
.team-modal-role { margin: 0 0 8px; color: var(--terracotta); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.team-modal-content h3 { max-width: 500px; margin: 0; color: var(--indigo); font-family: "Fraunces", serif; font-size: clamp(34px, 4vw, 49px); line-height: 1.08; }
.team-modal-details p { margin: 0 0 15px; color: var(--muted); font-size: 14px; line-height: 1.75; }
body.team-modal-open { overflow: hidden; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 31px; border-radius: 28px 28px 8px 28px; }
.service-card { position: relative; min-height: 262px; padding-top: 78px; transition: .28s; }
.service-card:hover { transform: translateY(-7px) rotate(-.4deg); box-shadow: var(--shadow); }
.service-card:before { content: ""; position: absolute; left: 30px; top: 30px; width: 45px; height: 45px; background: var(--ivory-dark); border-radius: 50% 50% 8px 50%; }
.card-number { position: absolute; z-index: 1; left: 46px; top: 37px; color: var(--terracotta); font-family: "Fraunces", serif; font-size: 18px; }
.service-card h3, .project-card h3, .resource-card h3 { margin: 0 0 13px; color: var(--indigo); font-family: "Fraunces", serif; font-size: 26px; line-height: 1.24; }
.service-card p, .project-card p, .resource-card p { margin: 0; color: var(--muted); }
.text-link { display: inline-block; margin-top: 20px; color: var(--terracotta); font-size: 13px; font-weight: 700; }
.text-link:after { content: "  →"; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card { position: relative; padding: 36px; overflow: hidden; border-radius: 8px 40px 8px 40px; }
.project-card:after { content: ""; position: absolute; top: -45px; right: -45px; width: 105px; height: 105px; background: var(--terracotta); border-radius: 50%; opacity: .13; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
.tag { padding: 6px 11px; color: var(--indigo); background: #e8e5dc; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.project-card ul { padding-left: 20px; color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.gallery-item { position: relative; grid-column: span 4; overflow: hidden; padding: 0; background: var(--charcoal); border: 0; border-radius: 32px 32px 8px 32px; cursor: pointer; text-align: left; }
.gallery-item:first-child { grid-column: span 8; border-radius: 90px 30px 12px 30px; }
.gallery-item img { width: 100%; height: 365px; object-fit: cover; transition: .5s; }
.gallery-item:first-child img { height: 485px; }
.gallery-item:hover img { opacity: .77; transform: scale(1.045); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; color: var(--white); background: linear-gradient(transparent, rgba(31, 31, 29, .92)); }
.gallery-caption strong { display: block; font-family: "Fraunces", serif; font-size: 25px; }
.gallery-caption span { color: #e2ded4; font-size: 12px; }
.lightbox { position: fixed; inset: 0; z-index: 3000; display: none; place-items: center; padding: 30px; background: rgba(31, 31, 29, .94); }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 24px; }
.lightbox-close { position: absolute; top: 18px; right: 25px; color: var(--white); background: transparent; border: 0; font-size: 42px; cursor: pointer; }

.gallery-service-section { background: linear-gradient(180deg, var(--white), var(--ivory) 58%, var(--white)); }
.gallery-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: end; margin-bottom: 36px; }
.gallery-intro > p { margin: 0 0 12px; padding-left: 24px; color: var(--muted); border-left: 4px solid var(--terracotta); font-size: 17px; }
.service-gallery-grid { grid-auto-flow: dense; }
.service-gallery-grid .gallery-item { grid-column: span 4; min-height: 360px; border-radius: 34px 10px 34px 10px; box-shadow: 0 15px 38px rgba(49,42,31,.12); transition: opacity .25s, transform .25s; }
.service-gallery-grid .gallery-item:first-child { grid-column: span 8; border-radius: 80px 18px 42px 18px; }
.service-gallery-grid .gallery-item-wide { grid-column: span 6; }
.service-gallery-grid .gallery-item img, .service-gallery-grid .gallery-item:first-child img { height: 100%; min-height: 360px; }
.service-gallery-grid .gallery-item:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,25,23,.03) 20%, rgba(20,25,23,.92) 100%); pointer-events: none; }
.service-gallery-grid .gallery-caption { z-index: 2; right: 0; bottom: 0; padding: 30px; color: var(--white); }
.service-gallery-grid .gallery-caption small { display: block; margin-bottom: 8px; color: #ffd08e; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.service-gallery-grid .gallery-caption strong { max-width: 510px; font-size: 25px; line-height: 1.2; }
.service-gallery-grid .gallery-caption > span { margin-top: 5px; color: #e2e3df; font-size: 12px; }
.gallery-service-number { position: absolute; z-index: 2; top: 18px; left: 18px; width: 43px; height: 43px; display: grid; place-items: center; color: var(--charcoal); background: var(--ochre); border-radius: 50% 50% 8px 50%; font-size: 10px; font-weight: 700; }
.gallery-open { position: absolute; z-index: 3; top: 18px; right: 18px; width: 41px; height: 41px; display: grid; place-items: center; color: var(--white); background: rgba(20,25,23,.55); border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 23px; line-height: 1; backdrop-filter: blur(8px); transition: background .22s, transform .22s; }
.service-gallery-grid .gallery-item:hover .gallery-open { background: var(--terracotta); transform: rotate(90deg); }
.service-gallery-grid .gallery-item:focus-visible { outline: 4px solid rgba(199,93,58,.28); outline-offset: 4px; }
.gallery-service-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 54px; padding: 40px 44px; color: var(--white); background: var(--indigo); border-radius: 42px 12px 42px 12px; }
.gallery-service-cta .eyebrow { color: #ffd08e; }
.gallery-service-cta h2 { max-width: 730px; margin: 0; font-family: "Fraunces", serif; font-size: 34px; line-height: 1.22; }

.partner-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.partner {
    min-height: 285px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 24px 24px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50px 16px 50px 16px;
    text-align: center;
    box-shadow: 0 15px 42px rgba(0, 0, 0, .13);
    transition: transform .28s, box-shadow .28s;
}
.partner:hover { transform: translateY(-7px); box-shadow: 0 24px 55px rgba(0, 0, 0, .22); }
.partner-logo-box {
    width: 100%;
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px 10px 30px 10px;
}
.partner-logo { display: block; width: auto; max-width: 210px; height: auto; max-height: 76px; object-fit: contain; }
.partner-logo-bnb { max-height: 92px; }
.partner-logo-vpr { max-width: 185px; }
.partner-name { min-height: 52px; display: flex; align-items: center; justify-content: center; color: var(--indigo); font-family: "Fraunces", serif; font-size: 20px; line-height: 1.28; }
.partner-link { margin-top: 10px; color: var(--terracotta); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.partner-link b { display: inline-block; margin-left: 4px; font-size: 15px; transition: transform .2s; }
.partner:hover .partner-link b { transform: translate(3px, -3px); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card { min-height: 245px; }
.status { display: inline-block; margin-top: 20px; padding: 7px 12px; color: var(--terracotta); background: var(--ivory); border-radius: 999px; font-size: 11px; font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 58px; }
.contact-list { display: grid; gap: 23px; }
.contact-item { padding: 0 0 22px 20px; border-left: 4px solid var(--terracotta); border-bottom: 1px solid var(--line); }
.contact-item:nth-child(even) { border-left-color: var(--ochre); }
.contact-item small { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.contact-item strong { display: block; color: var(--indigo); font-size: 17px; }
.contact-form { position: relative; padding: 40px; background: var(--ivory); border-radius: 60px 16px 60px 16px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; color: var(--charcoal); font-size: 12px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; background: var(--white); border: 1px solid #d6cbbc; border-radius: 14px; font: inherit; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(199, 93, 58, .13); border-color: var(--terracotta); }
.form-message { display: block; margin: 0 0 22px; padding: 14px 17px; border-radius: 16px 6px 16px 6px; font-size: 13px; font-weight: 600; }
.form-message-success { color: #1d5a46; background: #e3f4eb; border: 1px solid #b7dec9; }
.form-message-error { color: #863921; background: #fbe9e2; border: 1px solid #efc5b7; }
.form-message ul { margin: 7px 0 0; padding-left: 20px; }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-honeypot[hidden], .contact-honeypot-input { display: none !important; visibility: hidden !important; }

.cta-band { position: relative; overflow: hidden; padding: 74px 0; color: var(--white); background: var(--terracotta); }
.cta-band:after { content: ""; position: absolute; right: 8%; top: -120px; width: 300px; height: 300px; border: 52px solid rgba(255, 255, 255, .12); border-radius: 50%; }
.cta-flex { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { margin: 0; font-family: "Fraunces", serif; font-size: 42px; line-height: 1.14; }
.cta-band p { margin: 8px 0 0; }
.cta-band .button { color: var(--charcoal); background: var(--ivory); border-color: var(--ivory); }

.site-footer { position: relative; overflow: hidden; padding: 78px 0 24px; color: #d8d6cf; background: linear-gradient(135deg, #202824, var(--charcoal) 62%); }
.site-footer:before { content: ""; position: absolute; right: -120px; top: -150px; width: 390px; height: 390px; border: 62px solid rgba(216, 163, 61, .08); border-radius: 50%; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.3fr .65fr 1fr; gap: 72px; }
.footer-brand .brand-mark { background: var(--terracotta); }
.footer-brand strong { color: var(--white); }
.footer-logo { width: 250px; height: 92px; padding: 6px; }
.footer-grid h3 { margin: 0 0 20px; color: #e7b968; font-family: "Fraunces", serif; font-size: 22px; }
.footer-about > p { max-width: 470px; margin: 22px 0; }
.footer-action { display: inline-flex; align-items: center; gap: 10px; color: #ffd08e; font-weight: 700; }
.footer-action span { font-size: 20px; transition: transform .2s; }
.footer-action:hover span { transform: translateX(5px); }
.footer-links a { display: flex; align-items: center; gap: 9px; width: max-content; margin: 8px 0; transition: color .2s, transform .2s; }
.footer-links a span { color: var(--terracotta); }
.footer-links a:hover { color: #ffd08e; transform: translateX(5px); }
.footer-contact > a, .footer-contact > p { display: flex; align-items: flex-start; gap: 13px; margin: 0 0 16px; }
.footer-contact small { display: block; color: #9faaa3; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-icon { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; color: #ffd08e; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 12px 4px 12px 4px; font-size: 14px; }
.footer-contact a:hover .footer-icon { color: var(--white); background: var(--terracotta); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .13); font-size: 12px; }
.menu-button { display: none; position: relative; z-index: 2; width: 46px; height: 46px; padding: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px 5px 14px 5px; cursor: pointer; }
.menu-button span { display: block; width: 23px; height: 2px; margin: 5px auto; background: var(--white); transition: transform .25s, opacity .2s; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1000px) {
    .menu-button { display: block; }
    .main-menu { position: absolute; top: calc(100% + 10px); left: 21px; right: 21px; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; color: var(--charcoal); background: rgba(255, 253, 249, .99); border: 1px solid var(--line); border-radius: 24px 8px 24px 8px; box-shadow: 0 25px 60px rgba(0,0,0,.24); visibility: hidden; opacity: 0; transform: translateY(-12px) scale(.98); transform-origin: top; transition: opacity .22s, transform .22s, visibility .22s; }
    .main-menu.open { visibility: visible; opacity: 1; transform: translateY(0) scale(1); }
    .main-menu a { padding: 12px 14px; }
    .main-menu a:not(.nav-cta):hover, .main-menu a:not(.nav-cta).active { color: var(--terracotta); background: var(--ivory); transform: translateX(4px); }
    .main-menu .nav-cta { margin-top: 5px; }
    .fieldwork-heading { grid-template-columns: 1fr; gap: 10px; }
    .fieldwork-heading > p { max-width: 650px; }
    .fieldwork-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 440px 245px; }
    .fieldwork-card-large { grid-column: 1 / 3; grid-row: auto; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { padding: 80px 32px; }
    .hero-copy:after { width: 90px; height: 90px; right: 26px; bottom: -46px; }
    .hero-media { height: 510px; margin: 0 28px 28px; border-radius: 90px 20px 90px 20px; }
    .intro-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
    .about-profile-heading { grid-template-columns: 1fr; gap: 25px; align-items: start; }
    .about-profile-copy { columns: 1; }
    .vision-mission-grid, .purpose-heading { grid-template-columns: 1fr; gap: 22px; }
    .purpose-list { grid-template-columns: 1fr; }
    .thematic-grid { grid-template-columns: repeat(2, 1fr); }
    .about-value-strip { grid-template-columns: repeat(2, 1fr); }
    .about-value-strip span:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
    .about-value-strip span:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .14); }
    .team-heading { grid-template-columns: 1fr; align-items: start; }
    .team-heading-note { max-width: 340px; }
    .team-grid { grid-template-columns: 1fr; }
    .team-modal {
        z-index: 100000;
        align-items: flex-start;
        padding: 104px 22px 22px;
    }
    .team-modal-panel {
        margin-top: 0;
        max-height: calc(100vh - 126px);
        max-height: calc(100dvh - 126px);
        grid-template-columns: 280px minmax(0, 1fr);
        border-radius: 34px 12px 34px 12px;
    }
    .team-modal-close {
        z-index: 100003;
        top: 12px;
        right: 12px;
    }
    .team-modal-photo-column { padding: 26px; }
    .team-modal-photo-frame { border-radius: 76px 20px 76px 20px; }
    .team-modal-content { padding: 52px 34px 36px; }
    .team-modal-content h3 { font-size: clamp(31px, 4.5vw, 42px); }
    .principles { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .gallery-item, .gallery-item:first-child { grid-column: span 6; }
    .gallery-item:first-child img { height: 365px; }
    .gallery-intro { grid-template-columns: 1fr; gap: 12px; }
    .service-gallery-grid .gallery-item, .service-gallery-grid .gallery-item:first-child, .service-gallery-grid .gallery-item-wide { grid-column: span 6; border-radius: 36px 12px 36px 12px; }
}

@media (max-width: 650px) {
    .container { width: min(100% - 28px, 1180px); }
    .section { padding: 72px 0; }
    .hero-media { height: 380px; margin: 0 14px 14px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .principles, .card-grid, .project-grid, .resource-grid, .partner-row, .form-grid { grid-template-columns: 1fr; }
    .nav-wrap { min-height: 76px; }
    .brand-logo { width: 180px; height: 58px; }
    .main-menu { top: calc(100% + 8px); left: 14px; right: 14px; max-height: calc(100vh - 96px); overflow-y: auto; }
    .fieldwork-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
    .fieldwork-card, .fieldwork-card-large { grid-column: auto; grid-row: auto; min-height: 310px; }
    .fieldwork-card-text { min-height: 245px; }
    .fieldwork-content { padding: 24px; }
    .fieldwork-card:not(.fieldwork-card-large) .fieldwork-content strong { font-size: 23px; }
    .about-profile-lead { padding: 23px 22px; font-size: 19px; }
    .vision-mission-grid { margin-bottom: 66px; }
    .vision-card, .mission-card { min-height: 0; padding: 30px 25px; border-radius: 32px 10px 32px 10px; }
    .vision-card h2, .mission-card h2 { font-size: 31px; }
    .purpose-list article { grid-template-columns: 42px 1fr; gap: 12px; padding: 20px 18px; }
    .purpose-list article > span { width: 40px; height: 40px; }
    .thematic-heading, .team-page-callout { flex-direction: column; align-items: flex-start; }
    .thematic-grid { grid-template-columns: 1fr; }
    .thematic-grid article { min-height: 145px; }
    .team-page-callout { padding: 31px 25px; border-radius: 32px 10px 32px 10px; }
    .team-page-callout h2 { font-size: 29px; }
    .about-value-strip { grid-template-columns: 1fr; border-radius: 28px 8px 28px 8px; }
    .about-value-strip span + span, .about-value-strip span:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
    .team-card { grid-template-columns: 1fr; }
    .team-photo-wrap { height: 330px; }
    .team-photo { min-height: 330px; }
    .team-modal {
        z-index: 100000;
        align-items: flex-start;
        justify-content: center;
        padding: 96px 10px 12px;
    }
    .team-modal-panel {
        display: block;
        width: 100%;
        margin-top: 0;
        max-height: calc(100vh - 108px);
        max-height: calc(100dvh - 108px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-radius: 28px 8px 28px 8px;
    }
    .team-modal-photo-column { padding: 22px; }
    .team-modal-photo-frame { max-width: 300px; margin: auto; aspect-ratio: 1 / 1; border-radius: 70px 18px 70px 18px; }
    .team-modal-photo-frame img.team-modal-photo-sourav { height: 142%; min-height: 142%; }
    .team-modal-expertise { justify-content: center; }
    .team-modal-content { padding: 32px 24px 30px; }
    .team-modal-close {
        position: sticky;
        z-index: 100003;
        top: 10px;
        right: auto;
        margin: 10px 10px -54px auto;
        box-shadow: 0 8px 22px rgba(0, 0, 0, .26);
    }
    .gallery-item, .gallery-item:first-child { grid-column: 1 / -1; border-radius: 34px 14px 34px 14px; }
    .gallery-item img, .gallery-item:first-child img { height: 310px; }
    .service-gallery-grid .gallery-item, .service-gallery-grid .gallery-item:first-child, .service-gallery-grid .gallery-item-wide { grid-column: 1 / -1; min-height: 330px; }
    .service-gallery-grid .gallery-item img, .service-gallery-grid .gallery-item:first-child img { min-height: 330px; }
    .service-gallery-grid .gallery-caption { padding: 25px 22px; }
    .service-gallery-grid .gallery-caption strong { font-size: 23px; }
    .gallery-service-cta { flex-direction: column; align-items: flex-start; padding: 30px 25px; }
    .gallery-service-cta h2 { font-size: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-about { grid-column: auto; }
    .footer-logo { width: 230px; height: 84px; }
    .footer-bottom, .cta-flex { flex-direction: column; align-items: flex-start; }
    .field.full { grid-column: auto; }
    .contact-form { padding: 27px; border-radius: 32px 10px 32px 10px; }
}
