/* ==========================================================================
   ATERN public site
   Palette taken from the ATERN logo: navy globe (#18306C) and leaf green
   (#48B43C). Buttons use a slightly deeper green so white text stays readable.
   Sections: tokens · base · layout · type · buttons · header · hero ·
   components · sections · footer · inner pages · forms · responsive.
   ========================================================================== */

:root {
    --navy-950: #0b1733;
    --navy-900: #0f1f45;
    --navy-800: #142a5c;
    --navy-700: #18306c;   /* logo navy */
    --navy-600: #24438a;
    --navy-200: #c9d3e6;
    --navy-100: #e1e7f2;
    --navy-50: #f2f5fa;

    --green-700: #246d21;
    --green-600: #2d8429;  /* buttons and links */
    --green-500: #48b43c;  /* logo green: icons, accents */
    --green-400: #78c030;  /* logo lime: highlights on navy */
    --green-50: #eef7ec;

    --ink: #14213d;
    --text: #4b5565;
    --muted: #6b778b;
    --line: #e3e8f0;
    --bg: #ffffff;
    --bg-alt: #f5f7fb;

    --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --wrap: 1200px;
    --gutter: 24px;
    --section: 100px;
    --radius: 12px;
    --radius-sm: 8px;
    --header-h: 84px;

    --shadow-sm: 0 1px 2px rgba(15, 31, 69, .06);
    --shadow: 0 1px 2px rgba(15, 31, 69, .05), 0 10px 28px -10px rgba(15, 31, 69, .16);
    --shadow-lg: 0 2px 6px rgba(15, 31, 69, .06), 0 24px 48px -18px rgba(15, 31, 69, .28);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); color: var(--ink); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--green-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-700); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green-500); outline-offset: 2px; }
::selection { background: var(--navy-700); color: #fff; }
[hidden] { display: none !important; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy-700); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-alt); }
.section--flush-top { padding-top: 0; }
.section--tight { padding-block: calc(var(--section) * .6); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head__main { max-width: 640px; }
.section-head p { margin: 14px 0 0; font-size: 17px; color: var(--muted); }
.section-head--center { display: block; text-align: center; max-width: 720px; margin-inline: auto; }
.section-head--center .label { justify-content: center; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green-600);
}
.label::before { content: ''; width: 28px; height: 2px; background: var(--green-500); }
.label--light { color: var(--green-400); }
.label--light::before { background: var(--green-400); }

.h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; }
.h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1.2; letter-spacing: -0.02em; }
.h3 { font-size: 1.25rem; }
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); }
.h2 + .lead { margin-top: 18px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn .icon { width: 17px; height: 17px; }
.btn--primary { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.btn--primary:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.btn--navy { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn--outline { background: transparent; border-color: var(--navy-700); color: var(--navy-700); }
.btn--outline:hover { background: var(--navy-700); color: #fff; }
.btn--light { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--navy-800); }
.btn--white { background: #fff; border-color: #fff; color: var(--navy-800); }
.btn--white:hover { background: var(--green-50); border-color: var(--green-50); color: var(--navy-800); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--green-600); }
.more .icon { width: 16px; height: 16px; transition: transform .2s; }
.more:hover .icon, .card:hover .more .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Top bar and header
   -------------------------------------------------------------------------- */

.topbar { background: var(--navy-900); color: var(--navy-200); font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; margin: 0; padding: 0; list-style: none; }
.topbar li { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { width: 15px; height: 15px; color: var(--green-400); }
.topbar a { color: var(--navy-200); }
.topbar a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(15, 31, 69, .2); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; flex: none; color: var(--navy-700); text-decoration: none; }
.brand:hover { color: var(--navy-700); }
.brand img { height: 54px; width: auto; }
.brand__name { display: block; font-family: var(--font-head); font-size: 24px; font-weight: 800; letter-spacing: .06em; line-height: 1; color: var(--navy-700); }
.brand__tag { display: block; margin-top: 5px; font-size: 11.5px; line-height: 1.35; color: var(--muted); max-width: 30ch; }

.nav { display: flex; align-items: stretch; height: 100%; margin-left: auto; }
.nav a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-800);
}
.nav a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--green-500); transform: scaleX(0); transition: transform .25s; }
.nav a:hover { color: var(--green-600); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--green-600); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; color: var(--navy-800); cursor: pointer; transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--green-500); color: var(--green-600); }
.icon-btn.nav-toggle { display: none; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(11, 23, 51, .5); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
    width: min(360px, calc(100vw - 56px));
    display: flex; flex-direction: column; gap: 20px;
    padding: 20px 24px 28px;
    background: #fff;
    box-shadow: -10px 0 40px rgba(11, 23, 51, .25);
    transform: translateX(105%);
    transition: transform .3s ease;
    overflow-y: auto;
}
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.drawer__top .brand img { height: 42px; }
.drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--navy-800); }
.drawer nav a[aria-current="page"] { color: var(--green-600); }
.drawer nav .icon { color: var(--muted); width: 16px; height: 16px; }
.drawer__contact { margin-top: auto; display: grid; gap: 10px; font-size: 14.5px; }
.drawer__contact a, .drawer__contact span { display: flex; align-items: center; gap: 10px; color: var(--text); }
.drawer__contact .icon { color: var(--green-500); }
body.nav-open { overflow: hidden; }
body.nav-open .drawer { transform: none; }
body.nav-open .drawer-backdrop { opacity: 1; visibility: visible; }

/* Search panel */
.search-panel { position: fixed; inset: 0; z-index: 80; background: rgba(11, 23, 51, .6); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.search-panel.is-open { opacity: 1; visibility: visible; }
.search-panel__box { width: calc(100% - 32px); max-width: 680px; margin: 14vh auto 0; padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.search-panel__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.search-panel__top h2 { font-size: 20px; }
.search-form { display: flex; gap: 10px; }
.search-form .input { flex: 1; }
.search-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.chip { display: inline-flex; padding: 5px 12px; border-radius: 6px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--navy-800); font-size: 13.5px; font-weight: 500; }
.chip:hover { border-color: var(--green-500); color: var(--green-600); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { position: relative; display: flex; align-items: center; min-height: 640px; color: #fff; background: var(--navy-900); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; margin: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(11, 23, 51, .92) 0%, rgba(15, 31, 69, .82) 40%, rgba(15, 31, 69, .35) 75%, rgba(15, 31, 69, .15) 100%);
}
.hero__content { position: relative; z-index: 2; width: 100%; padding-block: 96px 150px; }
.hero__text { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .lead { color: rgba(255, 255, 255, .85); margin-bottom: 34px; max-width: 580px; }
.hero__caption { position: absolute; z-index: 2; right: var(--gutter); bottom: 110px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.hero__caption .icon { width: 14px; height: 14px; }

/* Three discipline boxes overlapping the bottom of the hero */
.highlights { position: relative; z-index: 3; margin-top: -88px; }
.highlights__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.highlight { display: flex; gap: 18px; padding: 32px 30px; color: var(--text); border-bottom: 3px solid transparent; transition: background-color .2s, border-color .2s; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight:hover { background: var(--navy-50); border-bottom-color: var(--green-500); color: var(--text); }
.highlight__icon { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--green-50); color: var(--green-600); }
.highlight__icon .icon { width: 26px; height: 26px; }
.highlight h3 { font-size: 18px; margin-bottom: 6px; }
.highlight p { font-size: 14.5px; line-height: 1.6; margin-bottom: 10px; }
.highlight .more { font-size: 14px; }

/* --------------------------------------------------------------------------
   Components
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: box-shadow .25s, transform .25s, border-color .25s; }
a.card:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-50); margin: 0; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.card:hover .card__img img { transform: scale(1.05); }
.card__badge { position: absolute; left: 16px; top: 16px; padding: 5px 10px; border-radius: 6px; background: var(--navy-700); color: #fff; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card__tag { margin-bottom: 8px; font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); }
.card__title { font-size: 19px; line-height: 1.35; margin-bottom: 10px; color: var(--ink); transition: color .2s; }
a.card:hover .card__title { color: var(--navy-600); }
.card__text { font-size: 15px; line-height: 1.65; margin-bottom: 18px; }
.card__meta { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.card__meta .icon { width: 15px; height: 15px; color: var(--green-500); }
.card .more { margin-top: auto; }

/* Checklist with green ticks */
.checklist { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.checklist li { position: relative; padding-left: 32px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5 10 16.5 18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Photo with experience badge */
.photo-badge { position: relative; }
.photo-badge__img { aspect-ratio: 4 / 3.6; border-radius: var(--radius); overflow: hidden; margin: 0; box-shadow: var(--shadow); }
.photo-badge__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-badge__badge { position: absolute; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; max-width: 280px; padding: 18px 22px; border-radius: var(--radius); background: var(--navy-700); color: rgba(255, 255, 255, .85); box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.4; }
.photo-badge__badge b { font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1; color: var(--green-400); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

/* Statistics band */
.stats-band { background: var(--navy-800); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 56px 28px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); }
.stat__value { font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 800; line-height: 1; color: #fff; }
.stat__value::after { content: ''; display: block; width: 36px; height: 3px; margin: 16px auto 14px; background: var(--green-400); border-radius: 3px; }
.stat__label { font-size: 15px; line-height: 1.5; color: var(--navy-200); max-width: 240px; margin-inline: auto; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step { position: relative; padding: 32px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s, border-color .25s; }
.step:hover { box-shadow: var(--shadow); border-color: transparent; }
.step__num { display: block; margin-bottom: 18px; font-family: var(--font-head); font-size: 44px; font-weight: 800; line-height: 1; color: var(--navy-100); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; line-height: 1.6; }

/* Team */
.member { align-items: center; padding: 34px 24px 28px; text-align: center; }
.member__avatar { width: 112px; height: 112px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: var(--navy-700); color: #fff; font-family: var(--font-head); font-size: 32px; font-weight: 700; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--green-500); }
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 18px; margin-bottom: 4px; }
.member__role { font-size: 14px; font-weight: 600; color: var(--green-600); margin-bottom: 12px; }
.member__cred { font-size: 13.5px; font-weight: 500; line-height: 1.5; color: var(--ink); margin-bottom: 10px; }
.member__body { display: flex; flex-direction: column; align-items: center; flex: 1; }
.member__bio { font-size: 14.5px; line-height: 1.6; margin-bottom: 16px; }
.member .more { margin-top: auto; justify-content: center; font-size: 14px; }


/* Call to action band */
.cta-band { position: relative; overflow: hidden; color: #fff; background: var(--navy-900); }
.cta-band__bg { position: absolute; inset: 0; margin: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(15, 31, 69, .86); }
.cta-band__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; padding-block: 80px; }
.cta-band__inner > div:first-child { flex: 1 1 520px; }
.cta-band h2 { color: #fff; max-width: 620px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 14px 0 0; max-width: 620px; font-size: 17px; }

/* Partners & associations: slow right-to-left logo strip */
.partners { padding-block: 72px; background: #fff; overflow: hidden; }
.partners--alt { background: var(--bg-alt); }
.partners .section-head { margin-bottom: 36px; }
.marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-duration, 50s) linear infinite; }
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 20px; margin: 0; padding: 8px 20px 8px 0; list-style: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile { display: flex; align-items: center; gap: 14px; height: 88px; padding: 14px 24px 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy-800); transition: border-color .2s, box-shadow .2s; }
a.logo-tile:hover, a.logo-tile:focus-visible { color: var(--navy-800); border-color: var(--green-500); box-shadow: var(--shadow); }
.logo-tile img { height: 54px; width: auto; max-width: 210px; object-fit: contain; flex: none; }
.logo-tile__name { max-width: 190px; font-family: var(--font-head); font-size: 14px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
    .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .marquee__track { animation: none !important; }
    .marquee__group[aria-hidden="true"] { display: none; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--navy-950); color: #aab6cc; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.2fr); gap: 48px; padding-block: 72px 56px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__tag { color: #8e9bb4; }
.footer-brand p { max-width: 42ch; font-size: 15.5px; line-height: 1.75; }
.footer-follow { margin-top: 26px; }
.footer-follow h2 { margin-bottom: 14px; font-size: 15px; color: #fff; }
.footer-col h2 { position: relative; margin-bottom: 26px; padding-bottom: 14px; font-size: 18px; color: #fff; }
.footer-col h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--green-500); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: #aab6cc; }
.footer-col a:hover { color: var(--green-400); }
.footer-contact li { display: flex; gap: 12px; line-height: 1.5; }
.footer-contact .icon { margin-top: 3px; color: var(--green-400); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.socials a { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .2s, transform .2s; }
.socials a:hover { background: var(--green-600); color: #fff; transform: translateY(-2px); }
.socials a:focus-visible { outline: 2px solid var(--green-500); outline-offset: 3px; }
.social-icon { width: 22px; height: 22px; }
.footer-bottom-bar { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px; font-size: 14px; }
.footer-bottom a { color: #aab6cc; }
.footer-bottom a:hover { color: #fff; }

/* Back to top button */
.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--green-600);
    color: #fff;
    box-shadow: 0 8px 24px -6px rgba(15, 31, 69, .4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s, visibility .25s, transform .25s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-700); }
.to-top .icon { width: 22px; height: 22px; stroke-width: 2.2; }

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */

.page-banner { position: relative; overflow: hidden; color: #fff; background: var(--navy-900); }
.page-banner__bg { position: absolute; inset: 0; margin: 0; }
.page-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 23, 51, .94) 0%, rgba(15, 31, 69, .84) 55%, rgba(15, 31, 69, .7) 100%); }
.page-banner__inner { position: relative; z-index: 2; padding-block: 76px 72px; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; max-width: 22ch; }
.page-banner .lead { color: rgba(255, 255, 255, .82); margin: 16px 0 0; max-width: 680px; font-size: 17px; }
.page-banner__grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; color: var(--navy-200); }
.crumbs li + li::before { content: '›'; margin-right: 8px; color: var(--green-400); }
.crumbs a { color: var(--navy-200); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.detail-figure { margin: 0 0 32px; }
.detail__img { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.detail__img img { width: 100%; height: 100%; object-fit: cover; }
.caption { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.detail .lead + .prose { margin-top: 24px; }
.caption .icon { width: 14px; height: 14px; color: var(--green-500); }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }

.widget { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.widget__title { position: relative; margin-bottom: 20px; padding-bottom: 12px; font-size: 19px; }
.widget__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--green-500); }
.widget--navy { background: var(--navy-700); border-color: var(--navy-700); color: rgba(255, 255, 255, .82); }
.widget--navy .widget__title { color: #fff; }
.widget--navy .widget__title::after { background: var(--green-400); }
.widget--navy p { font-size: 15px; }
.widget .actions { margin-top: 20px; }

.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts div:first-child { padding-top: 0; }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; color: var(--text); }

.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--bg-alt); font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--navy-800); transition: background-color .2s, color .2s; }
.side-links a:hover { background: var(--green-600); color: #fff; }
.side-links .icon { width: 15px; height: 15px; flex: none; }

/* Long-form content */
.prose { font-size: 16.5px; line-height: 1.8; color: var(--text); }
.prose p { margin: 0 0 1.2em; }
.prose h3 { font-size: 22px; margin: 1.6em 0 .6em; color: var(--ink); }
.prose h3:first-child { margin-top: 0; }
.prose ul { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 32px; line-height: 1.6; }
.prose li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5 10 16.5 18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.prose a { word-break: break-word; font-weight: 500; }
.prose > *:last-child { margin-bottom: 0; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter { padding: 10px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-family: var(--font-head); font-size: 14.5px; font-weight: 600; color: var(--navy-800); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.filter:hover { border-color: var(--green-500); color: var(--green-600); }
.filter[aria-pressed="true"] { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.filter__count { margin-left: 4px; opacity: .7; font-weight: 500; }

/* Research list */
.pub { display: grid; grid-template-columns: 220px minmax(0, 1fr); flex-direction: row; }
.pub + .pub { margin-top: 24px; }
.pub .card__img { aspect-ratio: auto; height: 100%; min-height: 170px; }
.pub .card__body { padding: 26px 30px; }

/* --------------------------------------------------------------------------
   Forms & contact
   -------------------------------------------------------------------------- */

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field label .muted { font-weight: 400; color: var(--muted); }
.input { display: block; width: 100%; padding: 13px 16px; border: 1px solid #d6dce6; border-radius: var(--radius-sm); background: #fff; font-size: 15.5px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: #9aa5b6; }
.input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(24, 48, 108, .1); }
textarea.input { min-height: 160px; resize: vertical; }
select.input { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318306c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.field--error .input { border-color: #d92d20; }
.field__error { margin-top: 6px; font-size: 14px; color: #d92d20; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__foot p { margin: 0; font-size: 14px; color: var(--muted); max-width: 40ch; }

.notice { position: relative; display: flex; gap: 12px; padding: 16px 48px 16px 18px; margin-bottom: 24px; border-radius: var(--radius-sm); background: var(--green-50); border: 1px solid #c9e6c3; color: var(--green-700); }
.notice strong { display: block; color: var(--ink); }
.notice p { font-size: 15px; color: var(--text); }
.notice .icon { margin-top: 3px; }
.notice__close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.notice--error { background: #fef3f2; border-color: #fbd0cc; color: #d92d20; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-item__icon { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--green-50); color: var(--green-600); }
.contact-item__icon .icon { width: 22px; height: 22px; }
.contact-item h3 { font-size: 17px; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 15px; color: var(--text); }
.contact-item a:hover { color: var(--green-600); }
.hours { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; }
.form-card { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.map { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }

/* Search results & credits */
.results-group + .results-group { margin-top: 56px; }
.results-group h2 { margin-bottom: 20px; font-size: 24px; }
.result { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; margin-bottom: 14px; }
.result h3 { font-size: 18px; margin-bottom: 6px; }
.result p { font-size: 15px; margin: 0; }
.result .icon { color: var(--green-600); }
.empty { padding: 56px 24px; text-align: center; border: 1px dashed #cdd5e1; border-radius: var(--radius); background: var(--bg-alt); }
.empty h2 { font-size: 24px; margin-bottom: 10px; }
.empty .chip { margin: 4px; }

.credits { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1px solid var(--line); }
.credits th, .credits td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.credits th { background: var(--navy-700); color: #fff; font-family: var(--font-head); font-size: 14px; font-weight: 700; }
.credits img { width: 104px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.credits strong { display: block; color: var(--ink); }

/* Fade-in on scroll (enabled by site.js) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
    .nav a { padding: 0 11px; font-size: 14.5px; }
    .nav a::after { left: 11px; right: 11px; }
    .brand__tag { display: none; }
}

@media (max-width: 1023px) {
    :root { --section: 80px; --header-h: 72px; }
    .nav, .header-actions .btn { display: none; }
    .icon-btn.nav-toggle { display: inline-grid; }
    .header-actions { margin-left: auto; }
    .topbar__hours { display: none; }

    .hero { min-height: 560px; }
    .hero__content { padding-block: 80px 130px; }
    .hero__caption { display: none; }
    .highlights__grid { grid-template-columns: minmax(0, 1fr); }
    .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }

    .two-col, .detail, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .aside { position: static; }
    .grid--3, .grid--4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
    .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

@media (max-width: 767px) {
    :root { --section: 64px; --gutter: 18px; }
    body { font-size: 15.5px; }
    .topbar { display: none; }
    .brand img { height: 46px; }
    .brand__name { font-size: 21px; }

    .hero { min-height: 0; }
    .hero::before { background: linear-gradient(180deg, rgba(11, 23, 51, .85) 0%, rgba(15, 31, 69, .88) 100%); }
    .hero__content { padding-block: 64px 120px; }
    .hero .actions .btn { flex: 1 1 100%; }
    .highlight { padding: 24px 22px; }

    .grid--3, .grid--4, .grid--2, .steps, .form-row, .checklist { grid-template-columns: minmax(0, 1fr); }
    .stats { grid-template-columns: minmax(0, 1fr); }
    .stat { padding: 36px 20px; }
    .stat + .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
    .photo-badge__badge { right: 12px; bottom: 12px; padding: 14px 16px; }
    .photo-badge__badge b { font-size: 32px; }
    .pub { grid-template-columns: minmax(0, 1fr); }
    .pub .card__img { aspect-ratio: 16 / 9; min-height: 0; }
    .form-card { padding: 26px 20px; }
    .footer-top { grid-template-columns: minmax(0, 1fr); }
    .logo-tile { height: 76px; padding: 12px 18px 12px 14px; }
    .logo-tile img { height: 44px; }
    .credits thead { display: none; }
    .credits tr { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 4px 14px; padding: 14px; border-bottom: 1px solid var(--line); }
    .credits td { padding: 0; border: 0; }
    .credits td:first-child { grid-row: span 3; }
    .credits img { width: 88px; }
    .result { padding: 18px; }
    .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* Discipline cards (About) reuse the step card with an icon */
.card.step .highlight__icon { margin-bottom: 20px; }
.two-col .lead + p { margin-top: 16px; }
.contact-info .h2 { margin-bottom: 8px; }
.contact-item__wide { flex: 1; }
.search-form--page { max-width: 680px; margin-bottom: 48px; }
.result .card__tag { display: block; }

/* Shown to signed-in admins only while no social links are set */
.footer-admin-hint { margin-top: 18px; padding: 10px 12px; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 8px; font-size: 13px; color: #c5d0e3; }
.footer-admin-hint a { color: #9bdc8c; text-decoration: underline; }
