/* BGAVS website. Palette is taken from the BGAVS logo (deep blue and lime green). */
:root {
  --blue: #0A5078;
  --blue-dark: #06344F;
  --blue-ink: #0B2A3C;
  --green: #A3CD39;
  --green-dark: #5E8A0E;
  --green-tint: #EEF5D9;
  --sand: #F5F3EA;
  --paper: #FFFFFF;
  --ink: #14232E;
  --muted: #55646F;
  --line: #E1E5DC;
  --marigold: #F2A93B;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(6, 52, 79, .09);
  --shadow-lg: 0 24px 60px rgba(6, 52, 79, .18);
  --head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--blue-ink); line-height: 1.18; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.15rem, 5.2vw, 3.7rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.55rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.1rem; margin-bottom: .2em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--blue-dark); color: #fff; padding: .7rem 1rem; z-index: 200; }
.skip-link:focus { left: .5rem; top: .5rem; }
.muted { color: var(--muted); }
.deva { font-family: 'Noto Sans Devanagari', var(--body); font-weight: 600; color: var(--green); letter-spacing: .01em; font-size: 1.05rem; margin-bottom: 1.6rem; }

/* ---------- buttons, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.55rem; border-radius: 999px; border: 2px solid transparent; font: 700 .98rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn-green { background: var(--green); color: var(--blue-ink); }
.btn-green:hover { background: #b4de49; color: var(--blue-ink); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark); }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }
.eyebrow-light { color: var(--green); }
.tag { display: inline-block; margin: 0 0 .9rem; padding: .3rem .85rem; border-radius: 999px; background: var(--green-tint); color: var(--green-dark); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.text-link, .card-link, .doc-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 1px; }
.text-link:hover, .card-link:hover, .doc-link:hover { border-bottom-color: var(--blue); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--blue-ink); }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--head); font-size: 1.45rem; letter-spacing: .06em; color: var(--blue); }
.brand-text small { font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav ul { display: flex; gap: .3rem; }
.nav li a { display: block; padding: .55rem .9rem; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--blue-ink); text-decoration: none; transition: background .2s, color .2s; }
.nav li a:hover { background: var(--green-tint); color: var(--blue-dark); }
.nav li a.is-active { background: var(--blue); color: #fff; }
.nav-cta { padding: .6rem 1.2rem; font-size: .92rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2.5px; border-radius: 2px; background: var(--blue-ink); transition: transform .3s, opacity .2s, top .3s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Warli divider ---------- */
.warli { height: 64px; overflow: hidden; color: var(--green); line-height: 0; }
.warli-svg { width: calc(100% + 120px); height: 64px; animation: warli-drift 22s linear infinite; }
@keyframes warli-drift { to { transform: translateX(-120px); } }
.warli-footer { color: rgba(255, 255, 255, .13); }
.warli-art { color: var(--green); margin: 0; }

/* ---------- hero ---------- */
.hero, .page-hero { position: relative; color: #fff; background:
    radial-gradient(900px 500px at 85% 10%, rgba(163, 205, 57, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(10, 80, 120, .9), transparent 70%),
    linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 100%); overflow: hidden; }
.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 3rem; align-items: center; padding-bottom: 2.5rem; }
.hero h1, .page-hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--green); }
.lead { font-size: 1.18rem; line-height: 1.65; color: rgba(255, 255, 255, .88); max-width: 40rem; }
.hero .btn-row { margin-top: .4rem; }
.hero-art { position: relative; height: clamp(360px, 42vw, 540px); }
.arch { position: absolute; right: 0; top: 0; width: 80%; height: 100%; margin: 0; border-radius: 999px 999px 26px 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid rgba(255, 255, 255, .92); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.orb { position: absolute; margin: 0; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.orb img { width: 100%; height: 100%; object-fit: cover; }
.orb-a { left: 0; bottom: 8%; width: 42%; aspect-ratio: 1; }
.orb-a img { object-position: 52% 40%; }
.hero-badge { position: absolute; left: 6%; top: 6%; width: 108px; height: 108px; border-radius: 50%; background: var(--green); color: var(--blue-ink); display: grid; place-content: center; text-align: center; box-shadow: 0 12px 26px rgba(0, 0, 0, .25); transform: rotate(-8deg); }
.hero-badge strong { font-family: var(--head); font-size: 2.3rem; line-height: 1; }
.hero-badge span { font-size: .7rem; font-weight: 800; line-height: 1.2; letter-spacing: .03em; }
.page-hero { padding-top: clamp(3rem, 7vw, 5rem); }
.page-hero .wrap { padding-bottom: 1.5rem; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-bottom: 1.4rem; }

/* ---------- stats ---------- */
.stats { padding: 3rem 0; border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: .5rem 1.6rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-n { display: block; font-family: var(--head); font-weight: 600; font-size: clamp(2.3rem, 4.2vw, 3.3rem); line-height: 1.05; color: var(--blue); }
.stat-l { display: block; margin-top: .45rem; font-size: .93rem; line-height: 1.5; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sand { background: var(--sand); }
.section-blue { background: linear-gradient(160deg, var(--blue-dark), var(--blue)); color: #fff; }
.section-blue h2 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: 2.6rem; }
.section-head p { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split-media { grid-template-columns: 1.15fr .85fr; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem 1.5rem; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green); }
.card p { color: var(--muted); font-size: .98rem; flex: 1; }
.card-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--green-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card-link { align-self: flex-start; font-size: .94rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(200px, 24vw, 300px); gap: 1rem; }
.shot { position: relative; margin: 0; grid-column: span 5; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.shot.wide { grid-column: span 7; }
.shot-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.1rem .9rem; color: #fff; font-size: .9rem; font-weight: 600; background: linear-gradient(transparent, rgba(6, 30, 46, .82)); pointer-events: none; }

/* places */
.section-head-light p { color: rgba(255, 255, 255, .8); }
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem 1.6rem; }
.places li { padding: .4rem 0 .4rem 1.1rem; border-left: 3px solid var(--green); }
.places strong { display: block; font-family: var(--head); font-size: 1.4rem; font-weight: 600; color: #fff; }
.places span { color: rgba(255, 255, 255, .78); font-size: .96rem; line-height: 1.5; display: block; }
.places-note { margin: 2rem 0 0; color: rgba(255, 255, 255, .7); font-size: .95rem; }

.chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.3rem; }
.chips li { padding: .6rem 1.15rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: .94rem; color: var(--blue-ink); }
.chips-soft li { background: #fff; font-weight: 600; }

.cta { background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(163, 205, 57, .35), transparent 70%); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 36rem; }

/* ---------- about ---------- */
.media { margin: 0; }
.media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.media figcaption { margin-top: .7rem; font-size: .88rem; color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; counter-reset: step; }
.timeline li { position: relative; background: #fff; border-radius: var(--radius); padding: 1.6rem 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--green); }
.timeline h3 { font-size: 1.15rem; }
.timeline p { color: var(--muted); font-size: .96rem; margin: 0; }
.tl-tag { display: inline-block; margin-bottom: .8rem; font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--blue); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.vm-card { padding: clamp(1.6rem, 3vw, 2.5rem); border-radius: var(--radius); }
.vm-blue { background: var(--blue); color: #fff; }
.vm-green { background: var(--green); color: var(--blue-ink); }
.vm-text { font-family: var(--head); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; margin: 0; }
.vm-green .eyebrow { color: var(--blue-dark); }
.objectives { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }
.objectives li { display: flex; gap: 1rem; align-items: flex-start; }
.objectives span { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--green-tint); color: var(--green-dark); font-weight: 800; display: grid; place-items: center; font-family: var(--head); }
.objectives p { margin: 0; padding-top: .15rem; }
.group-h { margin: 2.2rem 0 1rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; color: var(--green-dark); font-family: var(--body); font-weight: 800; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.1rem; }
.person { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--head); font-weight: 600; font-size: 1.1rem; display: grid; place-items: center; letter-spacing: .02em; }
.avatar-green { background: var(--green); color: var(--blue-ink); }
.person .role { margin: 0; font-weight: 700; font-size: .9rem; color: var(--green-dark); line-height: 1.4; }
.person .bio { margin: .5rem 0 0; font-size: .92rem; color: var(--muted); line-height: 1.55; }
.checks li { position: relative; padding: .75rem 0 .75rem 2.2rem; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2A3C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 72% no-repeat; }

/* ---------- our work ---------- */
.jump { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.jump-inner { display: flex; gap: .4rem; overflow-x: auto; padding: .65rem 0; scrollbar-width: none; }
.jump-inner::-webkit-scrollbar { display: none; }
.jump a { flex: none; padding: .5rem 1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--blue-ink); background: var(--sand); }
.jump a:hover { background: var(--green); }
.program-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.program-flip .program-text { order: 2; }
.program-flip .program-side { order: 1; }
.program-text h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--body); font-weight: 800; color: var(--green-dark); margin: 1.6rem 0 .8rem; }
.ticks li { position: relative; padding: .35rem 0 .35rem 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2A3C' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.support { margin-top: 1.4rem; font-size: .93rem; color: var(--muted); font-style: italic; }
.callout { margin-top: 1.8rem; padding: 1.4rem 1.5rem; background: #fff; border-left: 5px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.callout h3 { margin-top: 0; }
.callout p { margin: 0; font-size: .98rem; }
.program-side { display: grid; gap: 1.2rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.1rem 1rem; }
.section-sand .facts div { border-color: transparent; }
.facts strong { display: block; font-family: var(--head); font-size: 2rem; line-height: 1.1; color: var(--blue); }
.facts span { display: block; margin-top: .3rem; font-size: .86rem; line-height: 1.4; color: var(--muted); }
.media-news img { box-shadow: 0 6px 20px rgba(0, 0, 0, .12); border: 1px solid var(--line); }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-bottom: 1.6rem; }
.mini { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.mini img, .mini-art { width: 100%; height: 210px; object-fit: cover; }
.mini-art { background: linear-gradient(160deg, var(--blue-dark), var(--blue)); display: grid; place-items: center; overflow: hidden; }
.mini > div:last-child { padding: 1.4rem 1.4rem 1.5rem; }
.mini h3 { font-size: 1.15rem; }
.mini p { margin: 0; color: var(--muted); font-size: .95rem; }
.learn { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.learn h3 { font-size: 1.12rem; padding-top: .9rem; border-top: 3px solid var(--green); }
.learn p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- reports and contact ---------- */
.regs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.reg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.2rem; display: flex; flex-direction: column; transition: box-shadow .25s, border-color .25s; }
.reg:hover { box-shadow: var(--shadow); border-color: var(--green); }
.reg-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .45rem; min-height: 28px; }
.reg-label { margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); }
.reg-value { margin: 0 0 .5rem; font-family: var(--head); font-weight: 600; font-size: 1.25rem; overflow-wrap: anywhere; color: var(--blue); line-height: 1.2; word-break: break-word; }
.reg-note { margin: 0 0 .9rem; font-size: .9rem; color: var(--muted); line-height: 1.5; flex: 1; }
.doc-link { align-self: flex-start; font-size: .88rem; }
.copy { flex: none; border: 1.5px solid var(--line); background: var(--sand); color: var(--blue-ink); font: 700 .72rem/1 var(--body); padding: .4rem .65rem; border-radius: 999px; cursor: pointer; transition: background .2s, border-color .2s; }
.copy:hover { background: var(--green-tint); border-color: var(--green); }
.copy.is-done { background: var(--green); border-color: var(--green); }
.library { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.lib-group { background: #fff; border-radius: var(--radius); padding: 1.5rem 1.4rem 1rem; border: 1px solid var(--line); }
.lib-group h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.lib-group li { border-top: 1px solid var(--line); }
.lib-group li a { display: flex; align-items: center; gap: .9rem; padding: .85rem .4rem; text-decoration: none; color: var(--ink); border-radius: 12px; transition: background .2s; }
.lib-group li a:hover { background: var(--green-tint); }
.lib-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--green-tint); color: var(--blue); display: grid; place-items: center; }
.lib-text strong { display: block; font-size: .98rem; line-height: 1.3; }
.lib-text small { display: block; color: var(--muted); font-size: .8rem; margin-top: .1rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.office { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.office h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.office address { font-style: normal; color: var(--muted); margin-bottom: .5rem; }
.office p { margin-bottom: .4rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(1.4rem, 3vw, 2.3rem); box-shadow: var(--shadow); }
.form h3 { margin-bottom: 1rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; margin-bottom: .35rem; font-weight: 700; font-size: .9rem; color: var(--blue-ink); }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; font: 500 1rem var(--body); color: var(--ink); background: var(--sand); border: 2px solid transparent; border-radius: 14px; transition: border-color .2s, background .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field input.is-bad, .field textarea.is-bad { border-color: #C0392B; background: #FFF6F5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 1rem 0 0; font-weight: 600; font-size: .96rem; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #1E6B32; background: #E7F5EA; padding: .8rem 1rem; border-radius: 12px; }
.form-msg.err { color: #9B2C20; background: #FDECEA; padding: .8rem 1rem; border-radius: 12px; }
.form .btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-dark); color: rgba(255, 255, 255, .8); margin-top: 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1.2fr; gap: 2.5rem; padding: 2.5rem 0 3rem; }
.footer-brand img { width: 128px; height: auto; margin-bottom: 1rem; }
.footer-brand p { margin-bottom: .8rem; max-width: 22rem; }
.footer-h { font-family: var(--body); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--green); margin-bottom: 1rem; font-weight: 800; }
.footer-list li { margin-bottom: .45rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: .6rem; }
.footer-line { margin-bottom: .3rem; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .14); padding: 1.3rem 0 1.6rem; font-size: .84rem; color: rgba(255, 255, 255, .62); }
.footer-legal p { margin: 0 0 .3rem; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5, 25, 38, .92); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 1.5rem; gap: .9rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 78vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox p { color: #fff; margin: 0; font-weight: 600; text-align: center; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--blue-ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(2), .js .stats-grid .reveal:nth-child(2), .js .timeline .reveal:nth-child(2) { transition-delay: .08s; }
.js .cards .reveal:nth-child(3), .js .stats-grid .reveal:nth-child(3), .js .timeline .reveal:nth-child(3) { transition-delay: .16s; }
.js .cards .reveal:nth-child(4), .js .stats-grid .reveal:nth-child(4), .js .timeline .reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .warli-svg { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .shot img, .btn, .card { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .regs { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .learn { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; left: 0; right: 0; top: var(--header-h); flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 1.25rem 1.6rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(6, 52, 79, .15); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav li a { padding: .95rem 1rem; font-size: 1.05rem; border-radius: 14px; }
  .nav-cta { padding: 1rem; font-size: 1rem; }
  .hero-grid, .split, .split-media, .program-grid, .contact-grid { grid-template-columns: 1fr; }
  .program-flip .program-text, .program-flip .program-side { order: initial; }
  .hero-art { height: 380px; max-width: 520px; margin-inline: auto; width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .places { grid-template-columns: 1fr 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .mini { flex-direction: row; }
  .mini img, .mini-art { width: 42%; height: auto; min-height: 190px; }
  .vm, .objectives, .library { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .shot, .shot.wide { grid-column: span 1; }
}
@media (max-width: 600px) {
  body { font-size: 1.03rem; }
  .wrap { width: min(1180px, 100% - 2rem); }
  .brand-text small { display: none; }
  .cards, .regs, .timeline, .learn, .places, .field-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: .3rem .9rem; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero-art { height: 320px; }
  .hero-badge { width: 88px; height: 88px; }
  .hero-badge strong { font-size: 1.9rem; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .mini { flex-direction: column; }
  .mini img, .mini-art { width: 100%; height: 200px; min-height: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .people { grid-template-columns: 1fr; }
}
