:root {
    --blue: #00a3e0;
    --blue-dark: #0087bd;
    --navy: #102f42;
    --ink: #1c1c1c;
    --muted: #5c6770;
    --line: #e6e8eb;
    --paper: #f4f6f8;
    --gold: #8ea04b;
    --serif: "Source Serif 4", Georgia, serif;
    --sans: "Source Sans 3", "Segoe UI", sans-serif;
    --header: 78px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font-family: inherit; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
.skip-link {
    position: absolute; left: 1rem; top: -40px; background: var(--blue); color: #fff; padding: .4rem .7rem; z-index: 80;
}
.skip-link:focus { top: .5rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.demo-bar {
    background: var(--navy);
    color: #fff;
    font-size: .86rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: .45rem 1rem;
    text-align: center;
}
.demo-bar button { background: none; border: 0; color: #fff; font-size: 1.3rem; line-height: 1; }
.demo-bar.is-hidden { display: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    height: var(--header);
    border-bottom: 1px solid transparent;
}
.site-header.is-stuck { box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.header-inner {
    height: var(--header);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; min-width: max-content; }
.brand-mark {
    width: 34px; height: 34px; border-radius: 8px; background: var(--navy); color: var(--blue);
    display: grid; place-items: center; font-weight: 700;
}
.brand-word { font-weight: 700; letter-spacing: -0.03em; font-size: 1.35rem; color: var(--blue); }
.brand-word em { font-style: normal; color: var(--navy); font-weight: 600; }
.header-panel { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 1rem; }
.main-nav, .header-tools { display: flex; align-items: center; gap: 1.15rem; }
.main-nav > .nav-item > a, .header-tools > a, .loc-btn {
    text-decoration: none; color: #222; font-size: .98rem; font-weight: 600; background: none; border: 0; padding: 0;
}
.main-nav > .nav-item > a.active { color: var(--blue); }
.nav-item { position: relative; }
.drop {
    position: absolute; top: calc(100% + 18px); left: 0; min-width: 240px; background: #fff;
    box-shadow: 0 18px 40px rgba(16,47,66,.12); padding: .6rem 0; opacity: 0; visibility: hidden;
    transform: translateY(6px); transition: .18s ease; z-index: 30;
}
.drop a { display: block; padding: .45rem 1rem; text-decoration: none; font-size: .95rem; }
.drop a:hover { background: var(--paper); color: var(--blue); }
.nav-item:hover .drop, .nav-item:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.search-pill {
    display: flex; align-items: center; border: 1px solid #ddd; border-radius: 999px; padding: .15rem .7rem; background: #fff; min-width: 150px;
}
.search-pill button { border: 0; background: none; color: #444; }
.search-pill input { border: 0; width: 110px; outline: none; font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: none; }
.nav-toggle span { display: block; height: 2px; background: #222; margin: 6px 0; }
.loc-panel {
    display: none; position: absolute; left: 0; right: 0; top: var(--header); background: #fff;
    border-top: 1px solid var(--line); box-shadow: 0 18px 40px rgba(16,47,66,.08); max-height: 70vh; overflow: auto; padding: 1.4rem 0 1.8rem;
}
.loc-panel.open { display: block; }
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.5rem; }
.loc-grid h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.loc-grid a { display: block; text-decoration: none; padding: .15rem 0; }

.hero { position: relative; min-height: max(640px, calc(100vh - var(--header))); color: #fff; display: flex; align-items: flex-end; background-size: cover; background-position: center; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.12) 48%, rgba(0,0,0,.18)); }
.hero-copy { position: relative; z-index: 1; padding-bottom: 15rem; }
.hero-copy h1 { font-size: clamp(3rem, 6vw, 5.3rem); line-height: 1.02; font-weight: 500; margin: 0 0 .8rem; max-width: 920px; }
.hero-copy p { font-size: 1.15rem; max-width: 640px; margin: 0; }
.hero-pause {
    position: absolute; right: 1.4rem; bottom: 1.4rem; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(4px);
}

.intro-section { padding-top: .4rem; }
.tab-row { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.tab-row button {
    background: none; border: 0; padding: 1.25rem .5rem 1rem; font-weight: 600; color: #222; position: relative;
}
.tab-row button.active::after {
    content: ""; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 3px; background: var(--blue);
}
.intro-panel { display: none; }
.intro-panel.active { display: block; }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; padding: 3.2rem 0 4.2rem; }
.intro-copy p { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.35; margin-bottom: 1.1rem; }
.intro-media img { width: 100%; height: 460px; object-fit: cover; }

.btn-nat {
    display: inline-flex; align-items: center; gap: .35rem; background: var(--blue); color: #fff !important; text-decoration: none;
    border: 0; border-radius: 3px; padding: .72rem 1.05rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.btn-nat::after { content: "›"; font-size: 1rem; line-height: 1; }
.btn-nat:hover { background: var(--blue-dark); }

.help-wrap { background-size: cover; background-position: center; padding: 5.5rem 0; }
.help-layout { position: relative; min-height: 460px; }
.help-card {
    width: min(680px, 64%); background: var(--navy) url("../img/topo.svg") center/cover; color: #fff;
    padding: 3.2rem 3rem 3.3rem; position: relative; z-index: 2;
}
.help-card h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin: .8rem 0 1rem; }
.help-card p { color: rgba(255,255,255,.88); max-width: 460px; }
.rule { display: block; width: 48px; height: 3px; background: var(--gold); margin: .35rem 0 .2rem; }
.role-pop {
    margin-top: 1rem; background: #fff; color: var(--ink); padding: .4rem; max-height: 280px; overflow: auto;
}
.role-pop a { display: block; text-decoration: none; padding: .65rem .8rem; }
.role-pop a:hover { background: var(--paper); }
.role-pop strong { display: block; }
.role-pop span { display: block; color: var(--muted); font-size: .92rem; }
.help-floats { position: absolute; left: 56%; top: 42px; width: 48%; height: 360px; z-index: 3; }
.help-floats img { object-fit: cover; position: absolute; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.help-floats img:first-child { width: 280px; height: 210px; left: 0; top: 0; }
.help-floats img:last-child { width: 230px; height: 180px; right: 0; bottom: 0; }

.band { padding: 5rem 0; }
.band-tight { padding-top: 1rem; }
.band-paper { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.6rem; }
.section-head h2 { font-size: clamp(2rem, 3vw, 2.7rem); margin: 0; }
.section-head a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.section-head a:hover, .text-link:hover { color: var(--blue); }
.scroller { position: relative; }
.news-track, .project-track { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; scrollbar-width: none; }
.news-track::-webkit-scrollbar, .project-track::-webkit-scrollbar { display: none; }
.scroll-btn {
    position: absolute; top: 42%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.scroll-btn.prev { left: -12px; }
.scroll-btn.next { right: -12px; }
.news-card { flex: 0 0 340px; scroll-snap-align: start; min-height: 430px; background: #f3f5f7; }
.news-card a { display: flex; flex-direction: column; height: 100%; min-height: 430px; text-decoration: none; padding: 1.4rem 1.4rem 0; }
.news-card h3 { font-size: 1.7rem; line-height: 1.25; margin: .8rem 0; }
.news-card .by { color: var(--muted); font-size: .92rem; }
.news-photo { margin-top: auto; height: 180px; background-size: cover; background-position: center; margin-left: -1.4rem; margin-right: -1.4rem; }
.news-card.is-feature { background: var(--navy); color: #fff; }
.news-card.is-feature .by { color: rgba(255,255,255,.75); }
.news-card.is-feature .news-photo { display: none; }
.tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.dot-purple::before { background: #7b61c4; }
.dot-green::before { background: var(--gold); }

.project-card { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; min-height: 460px; flex: 0 0 72%; scroll-snap-align: start; }
.project-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s ease; }
.project-card:hover .bg { transform: scale(1.05); }
.project-card .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.05) 55%); }
.project-card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1.4rem 1.4rem; }
.project-card .eyebrow { display: block; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; margin-bottom: .35rem; }
.project-card strong { font-family: var(--serif); font-size: clamp(1.6rem, 2vw, 2.15rem); font-weight: 500; line-height: 1.2; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.project-card.tall { min-height: 420px; flex: none; }

.stats-band { padding: 1rem 0 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 1.2rem 1rem 1.4rem; border-top: 1px solid var(--line); }
.stats-grid strong { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 500; line-height: 1; }
.stats-grid span { display: block; color: var(--muted); margin-top: .45rem; }

.careers-band { position: relative; min-height: 460px; display: flex; align-items: center; background-size: cover; background-position: center; color: #fff; }
.careers-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,22,32,.78), rgba(8,22,32,.15)); }
.careers-copy { position: relative; z-index: 1; max-width: 640px; padding-top: 3rem; padding-bottom: 3rem; }
.careers-copy h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }

.owners-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.owners-grid h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.team-slide { display: none; margin: 0; background: var(--paper); padding: 1.6rem; }
.team-slide.active { display: block; }
.team-slide p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; }
.team-slide footer { display: flex; gap: .8rem; align-items: center; }
.team-slide img, .team-nav img, .people-grid img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.team-slide footer span { display: flex; flex-direction: column; font-size: .95rem; }
.team-nav { display: flex; gap: .6rem; overflow-x: auto; margin-top: 1.5rem; padding-bottom: .3rem; }
.team-nav button { border: 0; background: #fff; min-width: 110px; text-align: center; padding: .4rem; }
.team-nav button.active img { outline: 3px solid var(--blue); }
.team-nav span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-top: .35rem; }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.audience-card, .audience-grid article { background: #fff; text-decoration: none; padding: 1.4rem 1.3rem 1.3rem; border-top: 3px solid var(--blue); min-height: 180px; }
.audience-card h3, .audience-grid h2 { font-size: 1.45rem; margin-top: 0; }
.audience-grid.large article { background: var(--paper); }
.audience-grid article a { font-weight: 700; text-decoration: none; color: var(--blue); }

.page-hero { position: relative; min-height: 320px; display: flex; align-items: flex-end; background-size: cover; background-position: center; color: #fff; }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.2)); }
.page-hero-content { position: relative; z-index: 1; padding-bottom: 2.2rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin: .2rem 0 0; }
.kicker { letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; font-weight: 700; margin-bottom: .3rem; }

.prose h2 { font-size: 2rem; margin-top: 1.6rem; }
.prose h3 { font-size: 1.4rem; }
.prose p, .prose li { font-size: 1.05rem; }
.prose.narrow { max-width: 780px; }
.lede { font-size: 1.25rem; color: #333; }
.prose-layout, .detail-grid, .contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; }
.callout { background: #f7f4ea; border-left: 3px solid var(--gold); padding: .9rem 1rem; margin-bottom: 1.2rem; }
.side-card, .contact-aside, .apply-card, .related { background: var(--navy); color: #fff; }
.side-card img { width: 100%; height: 180px; object-fit: cover; }
.side-card div, .contact-aside, .apply-card, .related { padding: 1.4rem; }
.side-card a, .contact-aside a { color: #fff; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.value-grid article { background: #fff; padding: 1.3rem; }
.value-grid.tight { margin: 1.5rem 0 2rem; }
.value-grid span { color: var(--blue); font-weight: 700; }
.people-grid, .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card-grid.three { margin-top: 1rem; }
.people-grid article { background: var(--paper); }
.people-grid img { width: 100%; height: 240px; border-radius: 0; object-fit: cover; }
.people-grid h3, .people-grid p { margin: .6rem .9rem; }
.media-card { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); min-height: 100%; }
.media-card .thumb, .lead-story .thumb { display: block; height: 190px; background-size: cover; background-position: center; }
.media-card .body { padding: 1rem 1rem 1.2rem; }
.media-card h3 { font-size: 1.45rem; margin: .4rem 0; }
.lead-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.4rem; text-decoration: none; margin-bottom: 1.2rem; background: var(--paper); }
.lead-story .thumb { height: 100%; min-height: 280px; }
.lead-story > span:last-child { padding: 1.4rem 1.4rem 1.4rem 0; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.filters a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; font-size: .92rem; }
.filters a.on, .pager a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.job-list a { display: grid; grid-template-columns: 1.4fr .8fr auto; gap: 1rem; align-items: center; text-decoration: none; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.job-list small, .job-list em { color: var(--muted); font-style: normal; }
.region-title { margin: 1.4rem 0 .8rem; font-size: 1.8rem; }
.stack-form { display: grid; gap: .8rem; }
.stack-form label { display: grid; gap: .25rem; font-weight: 600; font-size: .92rem; }
.stack-form input, .stack-form textarea, .search-page input {
    border: 1px solid #d5d8dc; border-radius: 3px; padding: .7rem .8rem; font-weight: 400; font-size: 1rem;
}
.form-alert { background: #fff4f2; border: 1px solid #f0c9c2; padding: .7rem .9rem; margin-bottom: .8rem; }
.form-alert p { margin: 0; }
.related a, .result-list a { display: block; text-decoration: none; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.result-list a { border-bottom-color: var(--line); }
.result-list span { display: block; color: var(--muted); }
.search-page { display: flex; gap: .6rem; margin: 1rem 0 1.5rem; }
.search-page input { flex: 1; }
.pager { display: flex; gap: .4rem; margin-top: 1.4rem; }
.pager a { text-decoration: none; min-width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); }
.empty { color: var(--muted); }
.meta-line { color: var(--muted); letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; font-weight: 700; }

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 3.2rem 0 1.4rem; }
.site-footer h3 { font-family: var(--sans); font-size: .95rem; font-weight: 700; margin-bottom: .7rem; }
.site-footer a { display: block; text-decoration: none; padding: .18rem 0; color: #333; }
.site-footer a:hover { color: var(--blue); }
.news-form { display: flex; gap: .4rem; }
.news-form input { flex: 1; border: 1px solid #d5d8dc; border-radius: 3px; padding: .65rem .7rem; }
.news-form button { background: var(--blue); color: #fff; border: 0; border-radius: 3px; padding: 0 1rem; font-weight: 700; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; }
.footer-base p { color: var(--muted); margin: .2rem 0; }
.copy { font-size: .9rem; }
.socials { display: flex; gap: .5rem; align-items: flex-start; }
.socials a { width: 36px; height: 36px; display: grid !important; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.cookie-bar {
    position: fixed; left: 1rem; bottom: 1rem; max-width: 320px; background: #fff; border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0,0,0,.08); padding: .85rem 1rem; display: none; z-index: 50; font-size: .92rem;
}
.cookie-bar.show { display: block; }
.cookie-bar button { background: var(--navy); color: #fff; border: 0; padding: .45rem .8rem; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 1100px) {
    .nav-toggle { display: block; }
    .header-panel {
        display: none; position: absolute; top: var(--header); left: 0; right: 0; background: #fff;
        flex-direction: column; align-items: stretch; padding: .6rem 1.2rem 1.2rem; border-bottom: 1px solid var(--line);
        max-height: calc(100vh - var(--header)); overflow: auto;
    }
    .header-panel.open { display: flex; }
    .main-nav, .header-tools { flex-direction: column; align-items: flex-start; }
    .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 .4rem  .6rem; }
    .search-pill { width: 100%; }
    .search-pill input { width: 100%; }
    .intro-grid, .owners-grid, .prose-layout, .detail-grid, .contact-grid, .lead-story, .project-grid { grid-template-columns: 1fr; }
    .help-card { width: 100%; }
    .help-floats { position: relative; left: 0; top: 0; width: 100%; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .8rem; }
    .help-floats img { position: static; width: 100%; height: 160px; }
    .stats-grid, .audience-grid, .value-grid, .people-grid, .card-grid, .loc-grid { grid-template-columns: 1fr 1fr; }
    .project-card { flex-basis: 86%; }
    .lead-story > span:last-child { padding: 1rem; }
}
@media (max-width: 700px) {
    .stats-grid, .audience-grid, .value-grid, .people-grid, .card-grid, .loc-grid, .job-list a { grid-template-columns: 1fr; }
    .hero { min-height: 78vh; }
    .hero-copy h1 { font-size: 2.6rem; }
    .tab-row { grid-template-columns: 1fr; }
    .news-card { flex-basis: 86%; }
    .footer-base, .section-head, .search-page, .news-form { flex-direction: column; align-items: stretch; }
    .scroll-btn { display: none; }
}
