@font-face {
  font-family: Roboto;
  src: url("/assets/roboto.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Roboto, system-ui, sans-serif;
  color: #102c41;
  background: #f8fafb;
  --navy: #102c41;
  --deep: #091d2d;
  --accent: #bd263b;
  --accent-hover: #a91f32;
  --muted: #486070;
  --wash: #ecf2f4;
  --line: #cbd7df;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { line-height: 1.6; }
img { display: block; max-width: 100%; }
button, input, summary { font: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .28em; }
button:focus-visible, summary:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #2385bd; outline-offset: 4px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 100px; }

.wrap { width: min(1180px, calc(100% - clamp(36px, 8vw, 112px))); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px; background: white; color: var(--navy); transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header { position: sticky; z-index: 10; top: 0; background: #f8fafb; color: var(--navy); }
.marketing .site-header { margin-bottom: -90px; color: white; background: #0a20283d; }
.marketing .site-header.scrolled { background: #f8fafb; color: var(--navy); box-shadow: 0 1px 0 #0b28331c; }
.header-inner { display: flex; min-height: 90px; align-items: center; justify-content: space-between; gap: 20px; width: min(1400px, calc(100% - clamp(36px, 8vw, 112px))); margin-inline: auto; }
.brand { display: inline-flex; gap: 10px; align-items: center; padding: 8px 13px; border-radius: 7px; color: var(--navy); background: #fff; font-size: 16px; text-decoration: none; line-height: .96; letter-spacing: -.055em; white-space: nowrap; }
.brand strong { font-size: 23px; font-weight: 850; }
.brand-mark { width: 27px; height: 32px; flex: 0 0 auto; background: var(--accent); clip-path: polygon(48% 0, 100% 0, 69% 39%, 94% 39%, 22% 100%, 38% 55%, 7% 55%); }
.desktop-nav { display: flex; gap: clamp(16px, 3vw, 42px); align-items: center; }
.desktop-nav a, .mobile-nav a { font-weight: 700; font-size: 14px; text-decoration: none; }
.desktop-nav a:hover, .mobile-nav a:hover { text-decoration: underline; }
.nav-jobs { display: inline-flex; gap: 11px; border: 1px solid currentColor; border-radius: 6px; padding: 9px 15px; }
.nav-jobs span { color: #ff7890; }
.scrolled .nav-jobs span, .info .nav-jobs span { color: var(--accent); }
.nav-jobs[aria-current="page"] { background: white; color: var(--navy); }
.mobile-nav { display: none; }

.hero { position: relative; isolation: isolate; color: #fff; background: var(--deep); min-height: max(630px, 92svh); display: grid; align-content: center; overflow: clip; }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% 48%; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0b2233ee, #0c293db0 36%, #0e283b32 76%), linear-gradient(0deg, #081b2cce 0%, transparent 33%); }
.hero-inner { padding-block: 136px 114px; }
.eyebrow { margin-bottom: 13px; font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { color: #f4f8fd; }
.hero h1 { max-width: 12ch; font-size: clamp(3.25rem, 7vw, 6.6rem); font-weight: 820; letter-spacing: -.065em; line-height: .98; }
.hero-intro { max-width: 37ch; margin-block: 23px 28px; color: #f3f7fb; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.hero-bottom { position: absolute; bottom: 26px; justify-self: center; display: flex; justify-content: space-between; gap: 10px; }
.hero-bottom a { display: inline-flex; gap: 8px; align-items: center; color: white; font-size: .83rem; font-weight: 700; text-decoration: none; }
.hero-bottom a:hover { text-decoration: underline; }
.hero-jobs { min-height: min(680px, 84svh); }
.hero-jobs .hero-photo { object-position: center 42%; }
.hero-jobs .hero-inner { padding-bottom: 68px; }
.hero-jobs::before { background: linear-gradient(90deg, #0b2233ef, #09283db0 39%, #0f283b37 79%); }

.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 52px; padding: 13px 19px; color: white; background: var(--accent); border: 1px solid transparent; border-radius: 6px; font-weight: 720; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.button:hover { background: var(--accent-hover); transform: translateY(-2px); }
.button span { font-size: 1.18rem; line-height: 1; }
.full { width: 100%; }

.section { padding-block: clamp(66px, 8.4vw, 122px); }
.section-head { margin-bottom: clamp(26px, 4vw, 51px); }
.section h2, .career-band h2, .info h1 { font-size: clamp(2.2rem, 4.2vw, 4.35rem); letter-spacing: -.055em; line-height: 1.04; }
.section-head > p:last-child:not(.eyebrow), .split > div > p:not(.eyebrow) { max-width: 41ch; margin-top: 18px; color: var(--muted); font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 4vw, 54px); }
.service { border-top: 1px solid var(--line); padding-top: 19px; }
.service h3, .vacancy h3 { font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.13; letter-spacing: -.025em; margin-top: 14px; }
.service p, .vacancy p:not(.eyebrow) { margin-top: 10px; color: var(--muted); }
.project-section { background: var(--wash); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 7vw, 95px); align-items: center; }
.feature-photo { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--line); }
.text-link { margin-top: 24px; display: inline-flex; gap: 10px; font-weight: 750; }
.text-link span { color: var(--accent); }
.career-band { background: var(--navy); color: white; padding-block: clamp(45px, 7vw, 88px); }
.career-band > .wrap { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.career-band h2 { max-width: 20ch; }
.career-band p:not(.eyebrow) { margin-top: 14px; color: #e2eaf0; }
.career-band .button { flex: 0 0 auto; }

.vacancy { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-block: 1px solid var(--line); padding: 27px 0; }
.vacancy .eyebrow { color: var(--accent); }
.vacancy h3 { margin-top: 0; }
.vacancy p { max-width: 54ch; }
.vacancy .button { flex: 0 0 auto; }
.benefits { display: grid; gap: 12px; margin-top: 24px; padding-left: 20px; }
.benefits li { padding-left: 3px; }
.benefits li::marker { color: var(--accent); }

.site-footer { padding-block: 38px; background: var(--deep); color: white; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-inner p, .footer-inner nav { font-size: .86rem; }
.info-content { padding-block: 70px 100px; }
.info-content p { max-width: 65ch; }
.info-content > p:not(.eyebrow) { margin-top: 18px; }
.info-content h2 { margin-top: 32px; font-size: 1.65rem; }

.funnel { min-height: 100svh; display: flex; flex-direction: column; background: var(--wash); }
.funnel-header { min-height: 74px; display: grid; place-items: center; border-bottom: 1px solid var(--line); background: white; }
.funnel-header .brand { padding: 0; }
.funnel main { flex: 1; display: grid; align-content: start; }
.funnel-shell { width: min(100% - 32px, 550px); margin-inline: auto; margin-top: clamp(15px, 5vh, 44px); margin-bottom: 20px; background: white; border-radius: var(--radius); overflow: clip; }
.funnel-shell section { padding: clamp(21px, 5vw, 38px); }
.funnel-shell h1 { margin-bottom: 14px; font-size: clamp(1.9rem, 6.2vw, 2.85rem); line-height: 1.05; letter-spacing: -.05em; }
.funnel-shell p:not(.eyebrow) { color: var(--muted); }
.funnel-shell .eyebrow { color: var(--accent); }
.funnel-shell .job-meta { font-weight: 750; margin-bottom: 13px; }
.funnel-photo { width: 100%; height: clamp(125px, 24vh, 205px); object-fit: cover; object-position: center 48%; border-radius: 6px; margin-bottom: 21px; }
.funnel .full { margin-top: 22px; min-height: 54px; }
.under-button { margin-top: 8px; font-size: .8rem; text-align: center; }
.funnel-footer { display: flex; justify-content: center; gap: 16px; margin-block: 10px 20px; font-size: .8rem; color: var(--muted); }

.choices { display: grid; gap: 9px; margin-top: 24px; }
.choices button { display: block; min-height: 51px; padding: 12px 15px; border: 1px solid var(--line); background: #f4f8fa; color: var(--navy); text-align: left; border-radius: 6px; font-weight: 690; }
.choices button:hover, .choices button[aria-pressed="true"] { border-color: var(--navy); background: #e6eef3; }
.back { margin-top: 17px; min-height: 42px; padding: 0 4px; background: transparent; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
#application { margin-top: 18px; }
.notice { background: var(--wash); padding: 10px 12px; margin-bottom: 16px; border-radius: 5px; font-size: .88rem; }
#application label { display: grid; gap: 5px; margin-top: 13px; font-weight: 650; }
#application input { width: 100%; min-height: 46px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 5px; color: var(--navy); background: #fcfdfe; }
.success-mark { display: grid; place-items: center; background: var(--wash); border-radius: 50%; color: var(--navy); width: 42px; height: 42px; margin-bottom: 16px; font-size: 1.3rem; font-weight: 800; }

@media (max-width: 690px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; height: 2px; width: 24px; background: currentColor; }
  .mobile-nav nav { background: var(--deep); color: white; position: absolute; top: 72px; right: 0; left: 0; padding: 13px 18px 21px; display: grid; gap: 9px; }
  .mobile-nav nav a { padding: 10px; }
  .header-inner { min-height: 72px; }
  .marketing .site-header { margin-bottom: -72px; }
  .marketing .site-header:has(.mobile-nav[open]) { background: var(--deep); color: white; }
  .hero { min-height: max(595px, 84svh); }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.3rem); }
  .hero-inner { padding-top: 112px; padding-bottom: 96px; }
  .hero-photo { object-position: 67% center; }
  .hero-jobs { min-height: max(510px, 75svh); }
  .hero-jobs .hero-photo { object-position: 58% center; }
  .hero::before { background: linear-gradient(90deg, #0a2438e3, #0c2a3d76), linear-gradient(0deg, #091f32b3, transparent 45%); }
  .service-grid, .split { grid-template-columns: 1fr; }
  .team-section .feature-photo { grid-row: 1; }
  .vacancy, .career-band > .wrap, .footer-inner { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .page-enter main { animation: page-in 900ms ease both; }
  .page-enter .site-header, .page-enter .site-footer { animation: fade-in 900ms ease both; }
  .funnel-shell .step-enter { animation: step-in 210ms ease-out both; }
  .mobile-nav[open] nav { animation: menu-in 500ms ease both; }
  @keyframes page-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
  @keyframes step-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
}
