/* ==========================================================================
   ABCSA — design system do site público
   Cores da marca vêm de SiteSettings (variáveis definidas em base.html).
   ========================================================================== */

@font-face { font-family: "Jakarta"; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.7660bd9909fb.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("../fonts/plus-jakarta-sans-latin-wght-italic.b42e5d4de445.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.eb2486760f75.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-italic.701ae03b5183.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Material Symbols Outlined"; src: url("../unfold/fonts/material-symbols/Material-Symbols-Outlined.3d7864cf3b00.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: block; }

:root {
  --indigo: #3B3F75;
  --teal: #6D9AA8;
  --green: #53B04B;
  --ink: #1B1E3F;
  --ink-2: #474B6E;
  --muted: #6E7191;
  --paper: #F7F6F2;
  --paper-2: #EFEDE6;
  --white: #FFFFFF;
  --line: rgba(27, 30, 63, .12);
  --deep: #14173A;
  --grad: linear-gradient(115deg, var(--teal) 0%, var(--green) 100%);
  --grad-brand: linear-gradient(120deg, var(--indigo) 0%, var(--teal) 55%, var(--green) 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 20px 60px -24px rgba(20, 23, 58, .28);
  --shadow-sm: 0 8px 24px -12px rgba(20, 23, 58, .22);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --font-sans: "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font-sans); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 600; letter-spacing: -.02em; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.ms {
  font-family: "Material Symbols Outlined"; font-weight: 400; font-style: normal; font-size: 1.35em;
  line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap;
  direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 350, "GRAD" 0, "opsz" 24; vertical-align: middle;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; overflow-x: clip; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--dark { background: var(--deep); color: #E8E9F5; }
.section--indigo { background: var(--indigo); color: #fff; }
.section--paper2 { background: var(--paper-2); }
.section--white { background: #fff; }

/* ------------------------------------------------------------------ type */
.kicker {
  display: inline-flex; align-items: center; gap: .6em; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 1.2rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section--dark .kicker, .section--indigo .kicker, .on-dark .kicker { color: #9BD893; }
.display {
  font-family: var(--font-serif); font-weight: 420; font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 1.02; letter-spacing: -.035em; font-variation-settings: "opsz" 144, "SOFT" 30;
}
.h1 { font-family: var(--font-serif); font-weight: 420; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.04; letter-spacing: -.03em; font-variation-settings: "opsz" 144; }
.h2 { font-family: var(--font-serif); font-weight: 430; font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.08; letter-spacing: -.025em; font-variation-settings: "opsz" 120; }
.h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.section--dark .lead, .section--indigo .lead, .on-dark .lead { color: rgba(232, 233, 245, .78); }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; padding-right: .06em; }
.serif-italic { font-family: var(--font-serif); font-style: italic; }
.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--ink-2); }
.section--dark .prose p, .section--dark .prose li, .on-dark .prose p, .on-dark .prose li, .section--indigo .prose li { color: rgba(232,233,245,.82); }
.prose strong { color: var(--ink); font-weight: 700; }
.section--dark .prose strong, .on-dark .prose strong { color: #fff; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.8em; margin-bottom: .6em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7em; height: .7em; border-radius: 50%; background: var(--grad); }
.prose a { color: var(--indigo); text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; font-family: var(--font-serif); font-weight: 500; }

/* split text helper */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: .65em; padding: 1em 1.6em;
  border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 700; font-size: .95rem;
  border: 0; cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad);
  transform: translateY(101%); transition: transform .55s var(--ease); border-radius: inherit;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 34px -14px rgba(83, 176, 75, .7); }
.btn .ms { font-size: 1.2em; transition: transform .45s var(--ease); }
.btn:hover .ms { transform: translateX(4px); }
.btn--green { --bg: var(--green); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { color: #fff; }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px transparent; }
.btn--sm { padding: .7em 1.15em; font-size: .85rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--indigo); }
.link-arrow .ms { transition: transform .4s var(--ease); }
.link-arrow:hover .ms { transform: translateX(5px); }
.on-dark .link-arrow, .section--dark .link-arrow { color: #9BD893; }

/* ------------------------------------------------------------------ header */
.topbar { background: var(--deep); color: rgba(255,255,255,.72); font-size: .8rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; gap: 22px; align-items: center; }
.topbar__list a, .topbar__list span { display: inline-flex; gap: 6px; align-items: center; }
.topbar .ms { font-size: 1.1rem; color: var(--green); }

.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease), color .4s;
}
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-overlay { position: fixed; left: 0; right: 0; top: 38px; color: #fff; }
.header.is-solid { background: rgba(247, 246, 242, .86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line); color: var(--ink); top: 0; }
.header.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; }
.brand__sub { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-top: 4px; max-width: 210px; line-height: 1.25; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 2px; padding: 10px 14px; border-radius: 999px;
  font-size: .92rem; font-weight: 600; transition: background .3s, color .3s;
}
.nav__link .ms { font-size: 1.1rem; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__item:focus-within > .nav__link { background: rgba(127, 127, 160, .14); }
.nav__link.is-active { color: var(--green); }
.is-overlay .nav__link.is-active { color: #A8E29F; }
.nav__item:hover > .nav__link .ms { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 320px; padding: 10px;
  background: #fff; color: var(--ink); border-radius: 20px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.98); transform-origin: top center;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.dropdown a { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; transition: background .25s; }
.dropdown a:hover { background: var(--paper); }
.dropdown__icon { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--indigo); transition: background .3s, color .3s; }
.dropdown a:hover .dropdown__icon { background: var(--grad); color: #fff; }
.dropdown strong { display: block; font-size: .92rem; }
.dropdown small { color: var(--muted); font-size: .8rem; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(127,127,160,.16); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--deep); color: #fff; padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  overflow-y: auto; clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.menu-open .header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu > ul > li > a { display: block; padding: 16px 0; font-family: var(--font-serif); font-size: 1.9rem; }
.mobile-menu .sub { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; }
.mobile-menu .sub a { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: .9rem; }
.mobile-menu__foot { margin-top: 32px; display: grid; gap: 10px; color: rgba(255,255,255,.7); font-size: .95rem; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--deep); }
.hero__media { position: absolute; inset: -6% 0 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 70% at 85% 10%, rgba(83,176,75,.30), transparent 60%),
    linear-gradient(180deg, rgba(20,23,58,.55) 0%, rgba(20,23,58,.35) 35%, rgba(20,23,58,.92) 100%),
    linear-gradient(90deg, rgba(20,23,58,.75) 0%, rgba(20,23,58,0) 70%);
}
.hero__ribbons { position: absolute; inset: 0; pointer-events: none; opacity: .55; mix-blend-mode: screen; }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 120px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end; }
.hero h1 { max-width: 15ch; margin-bottom: 28px; }
.hero .lead { color: rgba(255,255,255,.82); margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__aside { display: grid; gap: 14px; }
.glass {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.hero__stat { padding: 20px 22px; display: flex; align-items: center; gap: 16px; }
.hero__stat strong { display: block; font-family: var(--font-serif); font-size: 2.2rem; font-weight: 450; line-height: 1; }
.hero__stat > div > span { font-size: .85rem; color: rgba(255,255,255,.72); }
.hero__stat .ms { font-size: 1.8rem; color: #A8E29F; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(83,176,75,.18); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cue 1.8s infinite var(--ease); }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* page hero (inner pages) */
.page-hero { position: relative; color: #fff; background: var(--deep); overflow: hidden; padding: calc(var(--header-h) + 38px + clamp(64px, 10vw, 130px)) 0 clamp(56px, 8vw, 100px); }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 115%; object-fit: cover; opacity: .38; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,58,.4), rgba(20,23,58,.95)), radial-gradient(60% 80% at 90% 0%, rgba(83,176,75,.35), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,.78); margin-top: 24px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .ms { font-size: 1rem; }

/* ------------------------------------------------------------------ marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding-block: 22px; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-serif); font-size: clamp(1.3rem, 2.3vw, 2rem); color: var(--ink); white-space: nowrap; }
.marquee__item .ms { color: var(--green); font-size: 1.2em; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ cards / grid */
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); flex-wrap: wrap; }
.section-head .lead { margin-top: 18px; }

.card { position: relative; background: #fff; border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px); box-shadow: 0 1px 0 var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); color: var(--indigo); margin-bottom: 22px; transition: background .5s var(--ease), color .5s, transform .6s var(--ease); }
.card__icon .ms { font-size: 1.7rem; }
.card:hover .card__icon { background: var(--grad); color: #fff; transform: rotate(-8deg) scale(1.05); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card--link::after { content: "arrow_outward"; font-family: "Material Symbols Outlined"; position: absolute; top: 26px; right: 26px; font-size: 1.4rem; color: var(--muted); transition: transform .5s var(--ease), color .3s; }
.card--link:hover::after { transform: translate(3px, -3px); color: var(--green); }

.highlights { position: relative; z-index: 5; margin-top: -70px; }
.highlights .card { padding: 26px 28px; }

/* about split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
.media-stack { position: relative; aspect-ratio: 5 / 5.4; }
.media-stack__a, .media-stack__b { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-stack__a { inset: 0 18% 14% 0; }
.media-stack__b { width: 52%; aspect-ratio: 4/4.6; right: 0; bottom: 0; border: 8px solid var(--paper); }
.media-stack img, .media img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__badge { position: absolute; left: -18px; bottom: 22%; z-index: 2; padding: 18px 22px; border-radius: 18px; background: var(--indigo); color: #fff; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
.media-stack__badge img { width: 40px; height: 40px; }
.media-stack__badge strong { display: block; font-size: 1rem; }
.media-stack__badge small { opacity: .7; font-size: .78rem; }
.media { border-radius: var(--radius); overflow: hidden; position: relative; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 9; }
[data-parallax] img { transform: scale(1.12); will-change: transform; }

/* ------------------------------------------------------------------ projects */
.projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.project-card {
  --c: var(--green); position: relative; min-height: 520px; border-radius: var(--radius); overflow: hidden;
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; isolation: isolate;
  transition: flex .8s var(--ease);
}
.project-card__img { position: absolute; inset: 0; z-index: -2; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,23,58,.05) 20%, rgba(20,23,58,.92) 85%); transition: background .6s; }
.project-card::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.project-card:hover::after { transform: scaleX(1); }
.project-card:hover .project-card__img img { transform: scale(1.08); }
.project-card__tag { position: absolute; top: 24px; left: 24px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.2); }
.project-card__tag .ms { font-size: 1.05rem; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; }
.project-card h3 { font-family: var(--font-serif); font-weight: 450; font-size: 2rem; margin-bottom: 10px; }
.project-card p { color: rgba(255,255,255,.78); font-size: .95rem; margin-bottom: 18px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .5s; }
.project-card:hover p, .project-card:focus-visible p { max-height: 160px; opacity: 1; }
.project-card .link-arrow { color: #fff; }

/* ------------------------------------------------------------------ stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.14); }
.stat { padding: 36px 28px 8px 0; border-right: 1px solid rgba(255,255,255,.14); padding-left: 28px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat .ms { color: #A8E29F; font-size: 1.8rem; margin-bottom: 26px; }
.stat__value { font-family: var(--font-serif); font-weight: 380; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; letter-spacing: -.04em; display: block; font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 14px; font-weight: 700; color: #fff; }
.stat__desc { display: block; margin-top: 6px; font-size: .88rem; color: rgba(232,233,245,.6); }
.section--paper2 .stats, .section--white .stats { border-color: var(--line); }
.section--paper2 .stat, .section--white .stat { border-color: var(--line); }
.section--paper2 .stat .ms { color: var(--green); }
.section--paper2 .stat__label { color: var(--ink); }
.section--paper2 .stat__desc { color: var(--muted); }

/* deco ribbons (background) */
.ribbon-bg { position: absolute; pointer-events: none; opacity: .5; }

/* ------------------------------------------------------------------ educa */
.educa { position: relative; border-radius: calc(var(--radius) + 10px); overflow: hidden; background: var(--indigo); color: #fff; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 520px; }
.educa__body { padding: clamp(36px, 6vw, 80px); position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.educa__media { position: relative; }
.educa__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.educa__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--indigo) 0%, rgba(59,63,117,.55) 18%, rgba(59,63,117,0) 60%); z-index: 1; }
.educa .prose p { color: rgba(255,255,255,.82); }
.educa .prose strong { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: .85rem; font-weight: 600; }
.chip .ms { color: #A8E29F; font-size: 1.1rem; }
.chip--light { background: var(--paper); border-color: var(--line); color: var(--ink-2); }
.chip--light .ms { color: var(--green); }

/* ------------------------------------------------------------------ map */
.presence { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.brmap { position: relative; width: 100%; }
.brmap svg { width: 100%; height: auto; overflow: visible; }
.brmap .st { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.22); stroke-width: .6; transition: fill .5s var(--ease); }
.brmap .st.is-on { fill: url(#mapGrad); stroke: rgba(255,255,255,.5); }
.brmap--light .st { fill: #E4E2DA; stroke: #fff; }
.brmap--light .st.is-on { stroke: #fff; }
.brmap .pin circle.core { fill: #fff; stroke: var(--green); stroke-width: 2.2; }
.brmap .pin.sede circle.core { stroke: var(--teal); fill: var(--indigo); }
.brmap .pin circle.pulse { fill: none; stroke: #A8E29F; stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s infinite var(--ease); }
.brmap .pin.sede circle.pulse { stroke: var(--teal); }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.brmap .pin { cursor: pointer; }
.brmap .pin:hover circle.core, .brmap .pin.is-active circle.core { fill: var(--green); }
.loc-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.presence__map { position: sticky; top: calc(var(--header-h) + 20px); }
.loc { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; row-gap: 4px; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); transition: background .3s, border-color .3s; cursor: default; }
.loc:hover, .loc.is-active { background: rgba(255,255,255,.07); border-color: rgba(168,226,159,.5); }
.loc__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(83,176,75,.2); flex: none; }
.loc__dot.sede { background: var(--teal); box-shadow: 0 0 0 4px rgba(109,154,168,.25); }
.loc strong { display: block; font-size: .98rem; color: #fff; }
.loc small { color: rgba(232,233,245,.6); font-size: .82rem; }
.loc__metric { grid-column: 2; font-size: .78rem; font-weight: 700; color: #A8E29F; white-space: nowrap; }
.legend { display: flex; gap: 18px; font-size: .82rem; color: rgba(232,233,245,.7); margin-top: 18px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }

/* ------------------------------------------------------------------ news */
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); height: 100%; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--paper-2); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card__meta { display: flex; gap: 12px; align-items: center; font-size: .78rem; color: var(--muted); font-weight: 600; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(83,176,75,.12); color: #2F7E29; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.post-card h3 { font-size: 1.12rem; line-height: 1.35; }
.post-card p { color: var(--muted); font-size: .93rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link-arrow { margin-top: auto; font-size: .9rem; }
.post-feature { display: grid; grid-template-columns: 1.3fr 1fr; background: #fff; border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.post-feature .post-card__img { aspect-ratio: auto; min-height: 380px; }
.post-feature__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.post-feature h2 { font-family: var(--font-serif); font-weight: 450; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.15; }

/* ------------------------------------------------------------------ CTA band */
.cta-band { position: relative; border-radius: calc(var(--radius) + 10px); padding: clamp(40px, 7vw, 96px); background: var(--grad-brand); color: #fff; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 18px 0 0; }
.cta-band__symbol { position: absolute; right: -60px; top: -40px; width: 380px; opacity: .12; filter: brightness(10); pointer-events: none; }

/* ------------------------------------------------------------------ forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 18px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  font-size: 1rem; outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.field label { position: absolute; left: 18px; top: 16px; color: var(--muted); font-size: 1rem; pointer-events: none; transition: transform .3s var(--ease), font-size .3s, top .3s, color .3s; }
.field input:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(83,176,75,.14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: .74rem; color: var(--green); font-weight: 700; }
.field .error { color: #C0392B; font-size: .8rem; margin-top: 4px; }
.on-dark .field input, .on-dark .field textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.on-dark .field label { color: rgba(255,255,255,.6); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); }
.contact-info { display: grid; gap: 14px; margin-top: 32px; }
.contact-info a, .contact-info div { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .5s var(--ease); }
.contact-info a:hover { background: rgba(255,255,255,.1); transform: translateX(4px); }
.contact-info .ms { color: #A8E29F; font-size: 1.6rem; }
.contact-info small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; }
.contact-info strong { font-weight: 600; }
.form-card { background: #fff; color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }

/* ------------------------------------------------------------------ values */
.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: v; }
.value { position: relative; padding: 30px 24px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), background .6s, color .6s; counter-increment: v; }
.value::before { content: "0" counter(v); position: absolute; top: 20px; right: 22px; font-family: var(--font-serif); font-size: 1rem; color: var(--muted); }
.value .ms { font-size: 2rem; color: var(--green); margin-bottom: 26px; display: block; }
.value h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.55rem; margin-bottom: 10px; }
.value p { font-size: .9rem; color: var(--muted); margin: 0; }
.value__more { font-size: .86rem; color: var(--ink-2); margin-top: 12px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .7s var(--ease), opacity .5s; }
.value:hover { transform: translateY(-8px); background: var(--indigo); color: #fff; }
.value:hover p, .value:hover .value__more, .value:hover::before { color: rgba(255,255,255,.78); }
.value:hover .value__more { max-height: 260px; opacity: 1; }
.value:hover .ms { color: #A8E29F; }

.purpose { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.purpose__card { padding: clamp(30px, 4vw, 52px); border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.purpose__card h3 { font-family: var(--font-serif); font-weight: 450; font-size: 2.2rem; margin: 12px 0 18px; }
.purpose__card .ms { font-size: 2.2rem; color: #A8E29F; }
.quote { font-family: var(--font-serif); font-weight: 380; font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.25; letter-spacing: -.02em; max-width: 26ch; }
.quote::before { content: "“"; display: block; font-size: 4em; line-height: .6; color: var(--green); margin-bottom: 12px; font-style: normal; }

/* ------------------------------------------------------------------ governance */
.board-group { margin-bottom: 56px; }
.board-group h3 { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-family: var(--font-serif); font-weight: 450; font-size: 1.8rem; }
.board-group h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.member { display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.avatar { flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad-brand); overflow: hidden; letter-spacing: .03em; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member strong { display: block; line-height: 1.3; }
.member small { color: var(--muted); }
.member--lead { padding: 28px; background: var(--indigo); color: #fff; border: 0; }
.member--lead .avatar { width: 76px; height: 76px; font-size: 1.3rem; background: var(--grad); }
.member--lead small { color: rgba(255,255,255,.7); }

/* ------------------------------------------------------------------ project detail */
.programs { display: grid; gap: 18px; }
.program { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.program__img { position: relative; min-height: 240px; }
.program__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.program__body { padding: clamp(24px, 3vw, 40px); }
.program__acr { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.program h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.7rem; margin-bottom: 12px; }
.objectives { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.objective { display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.objective .ms { color: var(--green); font-size: 1.6rem; }
.objective strong { display: block; font-size: 1rem; line-height: 1.4; }
.objective p { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 1; }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.aside-box { position: sticky; top: calc(var(--header-h) + 24px); padding: 30px; border-radius: var(--radius); background: var(--indigo); color: #fff; }

/* systems */
.system { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; scroll-margin-top: 120px; }
.system:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.system__icon { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; color: #fff; }
.system__icon .ms { font-size: 2.4rem; }
.system h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.8rem; }

/* transparency */
.doc-group { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.doc-group summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 22px 26px; cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.doc-group summary::-webkit-details-marker { display: none; }
.doc-group summary .ms:first-child { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--indigo); }
.doc-group summary .count { margin-left: auto; font-size: .8rem; color: var(--muted); font-weight: 600; }
.doc-group summary .chev { transition: transform .4s var(--ease); color: var(--muted); }
.doc-group[open] summary .chev { transform: rotate(180deg); }
.doc-list { list-style: none; margin: 0; padding: 0 14px 14px; }
.doc-list a { display: flex; align-items: center; gap: 14px; padding: 14px 14px; border-radius: 12px; transition: background .25s; font-size: .95rem; }
.doc-list a:hover { background: var(--paper); }
.doc-list .ms { color: #C0392B; }
.doc-list .ms.dl { margin-left: auto; color: var(--muted); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; transition: background .3s, color .3s, border-color .3s; }
.tab:hover { border-color: var(--green); }
.tab.is-active { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.notice { display: flex; gap: 18px; align-items: center; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, transform .4s var(--ease); }
.notice:hover { border-color: var(--green); transform: translateX(4px); }
.notice__kind { flex: none; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 6px 10px; border-radius: 8px; background: var(--paper-2); color: var(--indigo); }
.notice__kind.aquisicao { background: rgba(83,176,75,.14); color: #2F7E29; }
.notice__kind.edital { background: rgba(109,154,168,.18); color: #2E5F6E; }
.notice__title { font-size: .93rem; font-weight: 600; line-height: 1.4; }
.notice__date { margin-left: auto; color: var(--muted); font-size: .8rem; white-space: nowrap; }

/* page blocks */
.block-cta { text-align: center; }
.block-cta .h2 { margin-inline: auto; max-width: 22ch; }
.block-cta p { margin: 18px auto 30px; }

/* article */
.article { max-width: 760px; margin-inline: auto; }
.article__cover { border-radius: var(--radius); overflow: hidden; margin: -120px auto 48px; max-width: 1040px; position: relative; z-index: 3; box-shadow: var(--shadow); aspect-ratio: 16/9; background: var(--paper-2); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article .prose { font-size: 1.12rem; max-width: none; }
.article .prose p:first-child::first-letter { font-family: var(--font-serif); float: left; font-size: 4.2em; line-height: .85; padding: .08em .1em 0 0; color: var(--indigo); }
.share { display: flex; gap: 10px; align-items: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; transition: background .3s, color .3s; }
.icon-btn:hover { background: var(--indigo); color: #fff; }

.search { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px; border: 1px solid var(--line); max-width: 420px; }
.search input { flex: 1; border: 0; outline: 0; background: none; min-width: 0; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-weight: 600; padding: 0 12px; }
.pagination .is-current { background: var(--indigo); color: #fff; border-color: var(--indigo); }

/* ------------------------------------------------------------------ footer */
.footer { background: var(--deep); color: rgba(232,233,245,.7); padding-top: clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 64px; }
.footer h4 { color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 20px; }
.footer__about { font-size: .93rem; max-width: 36ch; }
.newsletter { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); margin-top: 16px; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0 14px; color: #fff; }
.newsletter input::placeholder { color: rgba(255,255,255,.45); }
.addresses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 32px 0; border-top: 1px solid rgba(255,255,255,.1); }
.address { display: flex; gap: 12px; font-size: .88rem; }
.address .ms { color: var(--green); }
.address strong { display: block; color: #fff; font-size: .9rem; }
.footer__giant { font-family: var(--font-serif); font-weight: 500; font-size: clamp(5rem, 22vw, 20rem); line-height: .78; letter-spacing: -.05em; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; margin-top: 10px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; flex-wrap: wrap; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* toasts */
.toasts { position: fixed; z-index: 80; right: 20px; bottom: 20px; display: grid; gap: 10px; }
.toast { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow); animation: toast-in .6s var(--ease) both, toast-out .6s var(--ease) 5s forwards; }
.toast .ms { color: #A8E29F; }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(20px); visibility: hidden; } }

.whatsapp { position: fixed; z-index: 40; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 30px -10px rgba(37,211,102,.7); transition: transform .5s var(--ease); }
.whatsapp:hover { transform: scale(1.08) rotate(-6deg); }
.whatsapp svg { width: 28px; height: 28px; }

/* progress line + cursor dot */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* preloader */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--deep); display: grid; place-items: center; }
.preloader img { width: 84px; }
.no-js .preloader, .is-preview .preloader { display: none; }

/* reveal defaults (JS sets initial state; this avoids flash) */
.js [data-reveal]:not(.is-in) { opacity: 0; }
.is-preview [data-reveal], .reduced [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: inline-block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__aside { grid-template-columns: repeat(3, 1fr); }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card { min-height: 420px; }
  .project-card p { max-height: none; opacity: 1; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value__more { max-height: none; opacity: 1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .topbar__list--right { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .presence, .contact-grid, .educa, .purpose, .post-feature, .cta-band { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .educa__media { min-height: 280px; order: -1; }
  .educa__media::before { background: linear-gradient(0deg, var(--indigo) 0%, rgba(59,63,117,0) 50%); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 28px 18px 18px !important; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .program { grid-template-columns: 1fr; }
  .program__img { min-height: 200px; }
  .system { grid-template-columns: auto 1fr; }
  .system .btn { grid-column: 1 / -1; justify-self: start; }
  .addresses { grid-template-columns: 1fr; }
  .hero__aside { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .hero__aside .hero__stat:nth-child(n+2) { display: none; }
  .highlights { margin-top: -40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .loc-list { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4, .projects, .values, .form .row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .header.is-overlay { top: 0; }
  .brand__sub { display: none; }
  .notice { flex-wrap: wrap; }
  .notice__date { margin-left: 0; }
  .media-stack__badge { left: 8px; }
  .page-hero { padding-top: calc(var(--header-h) + 64px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}
.gallery figure:last-child:nth-child(4), .gallery figure:last-child:nth-child(2) { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery figure:only-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
