:root {
  --blue: #0057d0;
  --blue-dark: #0646a4;
  --navy: #0b1f3a;
  --yellow: #ffca29;
  --green: #27a66c;
  --ink: #17243a;
  --muted: #64748b;
  --cloud: #f3f6f9;
  --ice: #e8f1fb;
  --white: #ffffff;
  --line: #dbe3eb;
  --container: 1240px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Manrope", Arial, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
section[id] { scroll-margin-top: 72px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 18px; height: 18px; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: -60px; left: 18px; padding: 9px 14px; color: var(--white); background: var(--navy); font-weight: 700; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; z-index: 30; top: 0; left: 0; width: 100%; background: rgba(255,255,255,.88); border-bottom: 1px solid rgba(23,36,58,.08); backdrop-filter: blur(14px); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(18,41,72,.07); }
.nav-bar { display: flex; align-items: center; min-height: 72px; gap: 36px; }
.brand { width: 76px; height: 54px; margin-right: auto; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.desktop-nav { display: flex; gap: 28px; }
.desktop-nav a { color: #526174; font-size: 11px; font-weight: 600; }
.desktop-nav a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.language { border: 0; color: var(--blue); background: none; font-family: "DM Mono", monospace; font-size: 9px; cursor: pointer; }
.language span { margin-left: 8px; color: #9ca8b7; }
.jobs-link { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 9px 13px; color: var(--white); background: var(--navy); border-radius: 4px; font-size: 10px; font-weight: 700; }
.jobs-link:hover { background: var(--blue); }
.jobs-link svg { width: 15px; height: 15px; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.menu-toggle .close-icon { display: none; }
.site-header.menu-open .menu-icon { display: none; }
.site-header.menu-open .close-icon { display: block; }
.mobile-nav { display: none; }

.hero { position: relative; display: flex; height: 100vh; height: 100svh; min-height: 720px; flex-direction: column; justify-content: center; padding: 92px 0 25px; overflow: hidden; background: linear-gradient(180deg, var(--white), #f8fbff); }
.hero::before { content: ""; position: absolute; z-index: 0; inset: 0; opacity: .42; pointer-events: none; background-image: linear-gradient(rgba(0,87,208,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(0,87,208,.25) 1px, transparent 1px), radial-gradient(circle, rgba(0,87,208,.16) 1px, transparent 1.5px); background-position: center, center, 18px 18px; background-size: 52px 52px, 52px 52px, 104px 104px; mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent 82%); }
.hero::after { content: ""; position: absolute; z-index: 0; inset: 0; opacity: .035; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
.hero-copy { position: relative; z-index: 2; max-width: 830px; margin-inline: auto; text-align: center; }
.hiring-status { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 31px; padding: 7px 11px; color: #4a5b70; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 9px; font-weight: 600; }
.hiring-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(39,166,108,.1); }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-family: "DM Mono", monospace; font-size: 9px; font-weight: 500; letter-spacing: 0; }
.eyebrow-light { color: #c9d8e8; }
.hero h1, .identity-intro h2, .culture-heading h2, .opportunities-heading h2, .world-copy h2, .contact-layout h2 { margin: 0; font-size: 61px; font-weight: 700; letter-spacing: 0; line-height: 1.08; }
.hero h1 em, .identity-intro h2 em, .culture-heading h2 em, .opportunities-heading h2 em, .world-copy h2 em, .contact-layout h2 em { color: var(--blue); font-family: "Newsreader", Georgia, serif; font-weight: 500; }
.hero-lead { max-width: 660px; margin: 25px auto 31px; color: var(--muted); font-size: 15px; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 46px; padding: 11px 17px; border: 1px solid transparent; border-radius: 4px; font-size: 10px; font-weight: 700; transition: transform .2s var(--ease), color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--white); background: var(--navy); }
.button-primary:hover { background: var(--blue); }
.button-secondary { color: var(--ink); border-color: var(--line); background: var(--white); }
.button-secondary:hover { border-color: #b8c5d3; }
.portrait-collage { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; gap: 18px; max-width: 850px; margin-top: 35px; }
.portrait { position: relative; margin: 0; overflow: hidden; border-radius: 6px; background: var(--ice); box-shadow: 0 18px 40px rgba(28,58,95,.08); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: filter .35s ease, transform .7s var(--ease); }
.portrait:hover img { filter: saturate(1); transform: scale(1.035); }
.portrait-one, .portrait-three { aspect-ratio: 3 / 4; }
.portrait-two, .portrait-four { margin-top: 42px; aspect-ratio: 3 / 4; }
.portrait figcaption { position: absolute; right: 10px; bottom: 10px; padding: 5px 7px; color: var(--navy); background: var(--yellow); font-family: "DM Mono", monospace; font-size: 7px; }
.hero-orbit { position: absolute; z-index: 1; top: 54%; left: -110px; display: grid; place-items: center; width: 230px; height: 230px; color: rgba(0,87,208,.24); border: 1px solid rgba(0,87,208,.13); border-radius: 50%; font-family: "DM Mono", monospace; font-size: 7px; transform: rotate(-90deg); }

.section { padding: 120px 0; }
.identity-section { background: var(--cloud); }
.identity-intro { max-width: 900px; text-align: center; }
.identity-intro h2 { font-size: 49px; }
.identity-intro > p:last-child { max-width: 680px; margin: 25px auto 0; color: var(--muted); font-size: 14px; }
.identity-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 60px; }
.identity-values article { min-height: 225px; padding: 25px 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); transition: border-color .2s ease, transform .25s var(--ease), box-shadow .25s ease; }
.identity-values article:hover { border-color: #a7bfd9; box-shadow: 0 18px 35px rgba(21,62,108,.07); transform: translateY(-5px); }
.identity-values span { display: block; margin-bottom: 49px; color: var(--blue); font-family: "DM Mono", monospace; font-size: 9px; }
.identity-values h3 { margin: 0 0 9px; font-size: 17px; letter-spacing: 0; }
.identity-values p { margin: 0; color: var(--muted); font-size: 11px; }

.services-section { background: var(--white); }
.services-layout { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: 90px; }
.services-intro { position: sticky; top: 105px; }
.services-intro h2 { margin: 0; font-size: 45px; line-height: 1.08; }
.services-intro h2 em { color: var(--blue); font-family: "Newsreader", Georgia, serif; font-weight: 500; }
.services-intro > p:not(.eyebrow) { max-width: 450px; color: var(--muted); font-size: 13px; }
.services-photo { position: relative; height: 250px; margin-top: 34px; overflow: hidden; border-radius: 6px; background: var(--ice); }
.services-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: filter .35s ease, transform .7s var(--ease); }
.services-photo:hover img { filter: saturate(1); transform: scale(1.025); }
.services-photo span { position: absolute; right: 12px; bottom: 12px; padding: 6px 8px; color: var(--navy); background: var(--yellow); font-family: "DM Mono", monospace; font-size: 7px; }
.service-list { border-top: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 38px 1fr 72px; gap: 18px; min-height: 150px; padding: 27px 0; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.service-list article:hover { padding-inline: 18px; background: var(--cloud); }
.service-list article > span, .service-list article > b { color: var(--blue); font-family: "DM Mono", monospace; font-size: 8px; font-weight: 500; }
.service-list article > b { justify-self: end; color: #92a0b1; }
.service-list h3 { margin: 0 0 8px; font-size: 20px; }
.service-list p { max-width: 530px; margin: 0; color: var(--muted); font-size: 11px; }

.culture-section { color: var(--white); background: var(--navy); }
.culture-heading { display: flex; align-items: end; justify-content: space-between; gap: 70px; margin-bottom: 53px; }
.culture-heading h2 { color: var(--white); font-size: 53px; }
.culture-heading h2 em { color: var(--yellow); }
.culture-heading > p { max-width: 370px; margin: 0; color: #aebfd3; font-size: 13px; }
.culture-stage { display: grid; grid-template-columns: 150px 1.2fr .8fr; min-height: 530px; }
.culture-tabs { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.14); border-right: 0; }
.culture-tabs button { display: grid; grid-template-columns: 26px 1fr; align-items: center; min-height: 72px; padding: 0 16px; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); color: #8fa4bd; background: transparent; text-align: left; font-size: 10px; cursor: pointer; }
.culture-tabs button span { color: #66819f; font-family: "DM Mono", monospace; font-size: 7px; }
.culture-tabs button.is-active { color: var(--navy); background: var(--yellow); }
.culture-tabs button.is-active span { color: #675b1c; }
.culture-visual { position: relative; min-height: 530px; overflow: hidden; background: #173255; }
.culture-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: opacity .2s ease, filter .35s ease, transform .7s var(--ease); }
.culture-visual:hover img { filter: saturate(1); transform: scale(1.025); }
.culture-visual > span { position: absolute; bottom: 16px; left: 16px; padding: 7px 9px; color: var(--navy); background: var(--yellow); font-family: "DM Mono", monospace; font-size: 7px; }
.culture-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px 42px; background: #102b50; }
.culture-kicker { margin: 0 0 28px; color: var(--yellow); font-family: "DM Mono", monospace; font-size: 8px; }
.culture-copy h3 { margin: 0 0 17px; font-size: 26px; letter-spacing: 0; line-height: 1.25; }
.culture-copy > p:last-child { margin: 0; color: #aebfd3; font-size: 12px; }

.opportunities-section { background: var(--white); }
.opportunities-heading { display: flex; align-items: end; justify-content: space-between; gap: 70px; margin-bottom: 49px; }
.opportunities-heading h2 { font-size: 49px; }
.opportunities-heading > p { max-width: 330px; margin: 0; color: var(--muted); font-size: 12px; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.role-grid article { position: relative; min-height: 330px; padding: 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white); transition: border-color .2s ease, box-shadow .25s ease, transform .25s var(--ease); }
.role-grid article::before { content: ""; position: absolute; right: -55px; bottom: -55px; width: 140px; height: 140px; border-radius: 50%; background: var(--ice); transition: transform .4s var(--ease), background .25s ease; }
.role-grid article:hover { border-color: #9bb9db; box-shadow: 0 20px 38px rgba(18,55,98,.08); transform: translateY(-5px); }
.role-grid article:hover::before { background: var(--yellow); transform: scale(1.18); }
.role-top { display: flex; align-items: center; justify-content: space-between; }
.role-top span, .role-top b { color: var(--blue); font-family: "DM Mono", monospace; font-size: 7px; font-weight: 500; }
.role-top b { padding: 5px 7px; color: #728094; border: 1px solid var(--line); border-radius: 999px; }
.role-grid h3 { margin: 56px 0 12px; font-size: 22px; letter-spacing: 0; }
.role-grid article > p { max-width: 310px; color: var(--muted); font-size: 11px; }
.role-meta { display: flex; gap: 14px; margin-top: 29px; color: #8794a5; font-size: 9px; }
.role-grid article > a { position: absolute; z-index: 1; right: 18px; bottom: 18px; display: grid; place-items: center; width: 42px; height: 42px; color: var(--blue); border: 1px solid #b9cce2; border-radius: 50%; }
.role-grid article:hover > a { color: var(--navy); border-color: var(--yellow); background: var(--yellow); }
.prototype-note { margin-top: 14px; color: #96a1ae; font-size: 8px; }

.world-section { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.world-pattern { position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(rgba(255,255,255,.8) 1px, transparent 1px); background-size: 28px 28px; }
.world-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 90px; }
.world-copy h2 { color: var(--white); font-size: 51px; }
.world-copy h2 em { color: var(--yellow); }
.world-copy > p:not(.eyebrow) { max-width: 480px; color: #afc1d5; font-size: 13px; }
.world-location { display: flex; gap: 13px; margin-top: 34px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.world-location svg { color: var(--yellow); }
.world-location div { display: grid; }
.world-location strong { font-size: 11px; }
.world-location span { color: #8fa5bf; font-size: 9px; }
.world-map { position: relative; min-height: 470px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 6px; background-color: rgba(255,255,255,.035); background-image: url("../src/world-map.webp"); background-position: center; background-repeat: no-repeat; background-size: 88% auto; }
.map-route { position: absolute; top: 43%; left: 20%; width: 54%; height: 70px; border-top: 1px dashed var(--yellow); border-radius: 50%; transform: rotate(8deg); }
.map-pin { position: absolute; display: grid; grid-template-columns: 10px auto; gap: 4px 8px; font-family: "DM Mono", monospace; }
.map-pin i { grid-row: 1 / 3; align-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 7px rgba(255,202,41,.1); }
.map-pin b { font-size: 8px; font-weight: 500; }
.map-pin small { color: #7088a5; font-size: 7px; }
.pin-home { top: 54%; left: 73%; }
.pin-usa { top: 44%; left: 17%; }

.story-section { background: var(--cloud); }
.member-story { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white); box-shadow: 0 18px 42px rgba(19,53,91,.06); }
.member-photo { min-height: 560px; overflow: hidden; background: var(--ice); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: saturate(.72); }
.member-copy { display: flex; flex-direction: column; justify-content: center; padding: 65px; }
.member-copy blockquote { margin: 5px 0 27px; color: var(--ink); font-family: "Newsreader", Georgia, serif; font-size: 31px; font-style: italic; line-height: 1.35; }
.member-copy > p:not(.eyebrow) { color: var(--blue); font-size: 10px; font-weight: 700; }
.member-copy small { color: #8b98a8; font-weight: 400; }
.member-copy a { display: inline-flex; align-items: center; gap: 11px; align-self: flex-start; margin-top: 20px; padding-bottom: 6px; color: var(--blue); border-bottom: 1px solid currentColor; font-size: 10px; font-weight: 700; }
.member-copy a:hover svg { transform: translateX(5px); }
.member-copy a svg { transition: transform .2s ease; }

.contact-section { padding: 110px 0; text-align: center; background: var(--white); }
.contact-layout { max-width: 760px; }
.contact-layout h2 { font-size: 50px; }
.contact-layout > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.button-dark { margin-top: 17px; color: var(--white); background: var(--navy); }
.button-dark:hover { background: var(--blue); }

.site-footer { color: #9eb0c6; background: var(--navy); }
.footer-layout { display: grid; grid-template-columns: 1.2fr .7fr 1fr .7fr; gap: 55px; padding-top: 56px; padding-bottom: 48px; }
.footer-layout > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand img { width: 96px; height: 84px; object-fit: contain; }
.footer-layout span { margin-bottom: 12px; color: var(--yellow); font-family: "DM Mono", monospace; font-size: 8px; }
.footer-layout p, .footer-layout a, .footer-layout small { margin: 0 0 7px; font-size: 9px; }
.footer-layout a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; padding: 17px 0 20px; border-top: 1px solid rgba(255,255,255,.13); color: #7087a2; font-family: "DM Mono", monospace; font-size: 8px; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

@media (max-width: 900px) {
  .container { width: calc(100% - 42px); }
  .desktop-nav, .jobs-link { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { position: absolute; z-index: 2; top: 72px; right: 0; left: 0; display: grid; align-content: start; height: calc(100vh - 72px); padding: 27px 21px; visibility: hidden; opacity: 0; background: var(--white); transform: translateY(-12px); transition: visibility .2s, opacity .2s, transform .2s; }
  .site-header.menu-open .mobile-nav { visibility: visible; opacity: 1; transform: none; }
  .mobile-nav a { min-height: 56px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; }
  .hero { min-height: 820px; }
  .hero-orbit { display: none; }
  .identity-values { grid-template-columns: 1fr 1fr; }
  .services-layout { grid-template-columns: 1fr; gap: 55px; }
  .services-intro { position: static; }
  .culture-heading, .opportunities-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .culture-stage { grid-template-columns: 130px 1fr; }
  .culture-copy { grid-column: 1 / -1; }
  .role-grid { grid-template-columns: 1fr; }
  .role-grid article { min-height: 280px; }
  .world-layout { grid-template-columns: 1fr; gap: 55px; }
  .member-story { grid-template-columns: 1fr; }
  .member-photo { min-height: 470px; }
  .footer-layout { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 36px); }
  .nav-bar { min-height: 66px; }
  .brand { width: 64px; height: 46px; }
  .language span { display: none; }
  .mobile-nav { top: 66px; height: calc(100vh - 66px); }
  .hero { height: 100vh; height: 100svh; min-height: 620px; padding: 72px 0 14px; }
  .hiring-status { margin-bottom: 12px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero h1 { font-size: 32px; }
  .identity-intro h2, .services-intro h2, .culture-heading h2, .opportunities-heading h2, .world-copy h2, .contact-layout h2 { font-size: 38px; }
  .hero-lead { margin: 14px auto 18px; font-size: 12px; }
  .hero-actions { align-items: stretch; flex-direction: row; max-width: none; margin-inline: auto; gap: 8px; }
  .hero-actions .button { min-height: 42px; padding: 9px 12px; font-size: 9px; }
  .portrait-collage { display: flex; width: calc(100% - 18px); max-width: none; margin-top: 20px; margin-left: 18px; gap: 9px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .portrait { flex: 0 0 105px; aspect-ratio: 3 / 4; scroll-snap-align: start; }
  .portrait-two, .portrait-four { margin-top: 8px; }
  .portrait figcaption { right: 6px; bottom: 6px; }
  .section { padding: 80px 0; }
  .identity-values { grid-template-columns: 1fr; }
  .identity-values article { min-height: 190px; }
  .identity-values span { margin-bottom: 32px; }
  .services-photo { height: 230px; }
  .service-list article { grid-template-columns: 27px 1fr; min-height: 0; padding: 23px 0; }
  .service-list article > b { grid-column: 2; justify-self: start; margin-top: 6px; }
  .culture-stage { grid-template-columns: 1fr; }
  .culture-tabs { flex-direction: row; overflow-x: auto; border-right: 1px solid rgba(255,255,255,.14); }
  .culture-tabs button { min-width: 110px; }
  .culture-visual { min-height: 330px; }
  .culture-copy { grid-column: auto; padding: 36px 24px; }
  .role-grid article { min-height: 300px; }
  .world-map { min-height: 350px; }
  .world-map { background-size: 100% auto; }
  .pin-home { left: 66%; }
  .pin-usa { left: 7%; }
  .member-photo { min-height: 360px; }
  .member-copy { padding: 38px 24px; }
  .member-copy blockquote { font-size: 25px; }
  .contact-section { padding: 82px 0; }
  .footer-layout { grid-template-columns: 1fr; gap: 27px; }
  .footer-brand img { width: 82px; height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
