:root {
  --ink: #142234;
  --muted: #556476;
  --blue: #2058df;
  --line: #dce2e9;
  --paper: #f6f8fa;
  --mono: "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body { margin: 0; color: var(--ink); background: white; font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; cursor: pointer; }
button { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #6396ff; outline-offset: 4px; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure, ol, dl, dd { margin: 0; }
.icon { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1296px, calc(100% - clamp(80px, 10vw, 156px))); margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 12px; z-index: 15; padding: 9px 14px; background: white; color: var(--blue); }
.skip:focus { top: 8px; }
.site-header { position: relative; z-index: 4; background: #fff; }
.header-inner { height: 76px; display: flex; align-items: center; }
.brand { display: inline-flex; gap: 11px; align-items: center; width: fit-content; flex: none; }
.brand-mark { width: 43px; height: 43px; }
.brand-name { display: grid; gap: 5px; color: #17263c; }
.brand-name strong { font-size: 24px; line-height: 1; letter-spacing: .08em; font-weight: 750; }
.brand-name small { font-family: var(--mono); letter-spacing: .115em; font-size: 10px; line-height: 1; font-weight: 600; }
.main-nav { display: flex; align-items: stretch; gap: clamp(23px, 3vw, 47px); height: 100%; margin-left: auto; }
.main-nav a { position: relative; display: flex; align-items: center; font-size: 14px; font-weight: 550; color: #425065; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--blue); }
.main-nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue); }
.header-end { display: flex; gap: 12px; align-items: center; padding-left: 28px; margin-left: 29px; border-left: 1px solid var(--line); }
.review-status { display: flex; gap: 8px; align-items: center; color: #586579; font-size: 12px; letter-spacing: .02em; white-space: nowrap; }
.review-status i { width: 7px; height: 7px; background: #2a826d; border-radius: 100%; box-shadow: 0 0 0 3px #eaf3ef; }
.menu-button { display: none; }
.action { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 18px; border-radius: 5px; border: 1px solid transparent; font: 620 15px/1.3 var(--sans); appearance: none; }
.action.primary { color: #fff; background: #265fe8; }
.action.primary:hover { background: #1b4fc9; }
.menu-button, .dialog-close { display: inline-grid; place-items: center; }
.section-kicker { display:flex; align-items:center; gap:10px; font:650 10px/1.4 var(--mono); }
.workflow { border-bottom: 1px solid var(--line); }
.workflow-inner { display: flex; align-items: center; min-height: 91px; gap: 30px; }
.workflow-label { flex: none; padding-right: 33px; border-right: 1px solid var(--line); font-size: 16px; line-height: 1.5; font-weight: 680; }
.workflow-label span { display: block; color: #7c8797; font: 10px/1.7 var(--mono); letter-spacing: .12em; }
.workflow ol { list-style: none; padding: 0; flex: 1; display: flex; align-items: center; justify-content: space-between; }
.workflow li { display: flex; align-items: center; gap: 10px; color: #36465b; font-weight: 590; font-size: 14px; }
.workflow li .icon { width: 24px; height: 24px; color: #345ea7; stroke-width: 1.5; }
.workflow li:not(:last-child)::after { content: ""; display: block; width: 7px; height: 7px; margin-left: clamp(4px, 1.35vw, 23px); border-top: 1px solid #bdc8d5; border-right: 1px solid #bdc8d5; transform: rotate(45deg); }
.section { padding-block: 52px; }
.research-section, .credentials-section { background: #f6f8fa; }
.section-kicker { color: #3e5c8b; font-size: 10px; letter-spacing: .16em; }
.section-kicker::before { content: ""; width: 18px; height: 2px; background: var(--blue); }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-top: 7px; margin-bottom: 23px; gap: 20px; }
.section h2 { font-size: clamp(29px,2.45vw,38px); line-height: 1.3; font-weight: 720; letter-spacing: -.045em; }
.section-heading p, .qual-note { color: var(--muted); font-size: 14px; line-height: 1.8; }
.photo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.photo-card .open-photo { position: relative; display: block; width: 100%; padding: 0; border: none; border-radius: 5px; overflow: hidden; background-color: #e8ecf0; }
.photo-card img { width: 100%; height: auto; }
.zoom-icon { position: absolute; right: 9px; bottom: 9px; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 4px; background: rgba(16,29,47,.7); color: white; }
.zoom-icon .icon { width: 15px; height: 15px; }
.photo-card figcaption { display: flex; align-items: center; gap: 11px; margin-top: 13px; font-size: 16px; font-weight: 620; }
.process-num { color: #587091; font: 11px var(--mono); border-right: 1px solid var(--line); padding-right: 11px; }
.source { display: flex; align-items: center; gap: 7px; margin-top: 24px; font-size: 12px; line-height: 1.7; color: #657387; }
.source .icon { width: 15px; height: 15px; }
.qual-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 11%; align-items: start; }
.qual-layout h2 { margin: 8px 0 13px; }
.qual-note { max-width: 345px; }
.qual-list { border-top: 1px solid #cbd4df; }
.qual-row { display: flex; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid #d5dde6; }
.qual-row .icon { color: #607187; }
.qual-row h3 { font-size: 16px; font-weight: 580; }
.pending { margin-left: auto; font-size: 11px; background: #e7ebf0; color: #535e70; padding: 3px 8px; border-radius: 3px; }
footer { background: #101e30; color: #d6dfec; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 8%; padding-block: 42px 32px; }
.footer-brand .brand-name { color: #f0f5ff; }
.footer-brand .brand-mark path { fill:#87a9ff; }
.footer-brand .brand-mark path:nth-child(2) { fill:#527de2; }
.footer-top > div > p { font-size: 13px; color: #b3c0d1; margin-top: 15px; }
.contact { justify-self: end; width: min(100%,380px); }
.contact h2 { font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.email-link { display: inline-flex; gap: 8px; align-items: center; color: #f0f5ff; font-size: 16px; }
.email-link .icon { width: 14px; height: 14px; }
.files-list { margin-top: 12px; font-size: 12px; line-height: 1.7; color: #bdc9d9; }
.files-list summary { list-style: none; display: flex; width: fit-content; align-items: center; gap: 5px; }
.files-list summary::-webkit-details-marker { display: none; }
.files-list .icon { width: 12px; height: 12px; }
.files-list[open] .icon { transform: rotate(180deg); }
.files-list div { margin-top: 10px; }
.files-list p + p { margin-top: 6px; }
.footer-bottom { border-top: 1px solid #334257; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding-block: 17px; font-size: 11px; color: #adbbce; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom .icon { width: 13px; height: 13px; }
dialog { box-sizing: border-box; width: min(440px,calc(100% - 36px)); max-height: calc(100dvh - 40px); padding: 25px; border: 1px solid #c6d0dd; border-radius: 10px; background: white; color: var(--ink); box-shadow: 0 20px 90px #08152850; }
dialog::backdrop { background: rgba(6,15,28,.66); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-close, .menu-button { background: transparent; color: var(--ink); }
.dialog-close { border-color: var(--line); width: 38px; height: 38px; }
.dialog-close .icon { width: 17px; height: 17px; }
.sim-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 20px 0 14px; background: #e9effc; border-radius: 7px; color: var(--blue); }
.sim-icon .icon { width: 28px; height: 28px; }
dialog h2 { font-size: 25px; letter-spacing: -.035em; }
dialog p { margin: 12px 0; font-size: 14px; color: var(--muted); line-height: 1.8; }
.sim-status { border-block: 1px solid var(--line); margin: 19px 0 22px; padding: 9px 0; }
.sim-status div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13px; color: #556477; }
.sim-status dd { color: var(--ink); }
#photo-dialog { width: min(836px,calc(100% - 36px)); padding: 17px; }
#photo-dialog h2 { font-size: 18px; }
#enlarged { width: 100%; height: auto; border-radius: 3px; margin-top: 12px; }
#photo-dialog p { margin: 9px 0 0; font-size: 12px; }
.menu-button { display: none; }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .workflow-inner { gap: 21px; }
  .workflow-label { padding-right: 21px; }
  .workflow li { gap: 6px; font-size: 13px; }
  .workflow li:not(:last-child)::after { margin-left: 5px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { height: 62px; justify-content: space-between; }
  .brand-mark { width: 36px; height: 36px; }
  .brand { gap: 8px; }
  .brand-name { gap: 4px; }
  .brand-name strong { font-size: 20px; }
  .brand-name small { font-size: 8px; }
  .header-end { padding: 0; margin: 0; border: none; gap: 15px; }
  .review-status { font-size: 11px; }
  .menu-button { display: grid; border: 0; width: 40px; height: 42px; margin-right: -8px; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; height: auto; padding: 7px 20px 14px; border-block: 1px solid var(--line); background: #fff; box-shadow: 0 10px 20px #101e3010; }
  .main-nav.is-open { display: grid; gap: 0; }
  .main-nav a { padding-block: 13px; }
  .main-nav a[aria-current]::after { display: none; }
  .workflow-inner { min-height: 82px; }
  .workflow-label { display: none; }
  .workflow ol { align-items: flex-start; }
  .workflow li { position: relative; flex: 1; flex-direction: column; gap: 6px; font-size: 12px; }
  .workflow li:not(:last-child)::after { position: absolute; top: 12px; right: -1px; width: 5px; height: 5px; margin: 0; }
  .workflow li .icon { width: 21px; height: 21px; }
  .section { padding-block: 38px; }
  .section-heading { align-items: start; flex-direction: column; gap: 5px; margin-bottom: 16px; }
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 12px; }
  .qual-layout { grid-template-columns: 1fr; gap: 20px; }
  .qual-note { max-width: none; }
  .section-heading p, .qual-note { font-size: 13px; }
}
@media (max-width: 520px) {
  .action { padding-inline: 13px; font-size: 14px; gap: 7px; min-height: 45px; }
  .action .icon { width: 18px; height: 18px; }
  .photo-card figcaption { font-size: 14px; gap: 7px; margin-top: 8px; }
  .process-num { padding-right: 7px; }
  .source { align-items: start; font-size: 11px; }
  .source .icon { margin-top: 2px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .contact { justify-self: start; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .action { padding-inline: 10px; }
  .workflow li { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ATS application spread */
.application-hero {
  position: relative;
  color: #f6f9ff;
  background-color: #101e32;
  background-image: radial-gradient(ellipse at 84% 8%, #304c6c 0, transparent 55%),
    linear-gradient(115deg, #0e1c2f, #172c46);
  isolation: isolate;
}
.application-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, #a8c5ec0a 1px, transparent 1px), linear-gradient(#a8c5ec0a 1px, transparent 1px);
  background-size: 42px 42px;
}
.hero-layout { padding-block: clamp(38px, 3.8vw, 62px); display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: clamp(26px, 4.2vw, 74px); }
.hero-layout > * { min-width: 0; }
.case-eyebrow { display: inline-flex; align-items: center; gap: 11px; color: #d1e0f2; font-size: 13px; letter-spacing: .06em; font-weight: 600; }
.case-eyebrow > span:first-child { display: block; width: 25px; height: 3px; background: #6996ff; }
.eyebrow-divider { width: 1px; height: 12px; background: #7792ab; }
.case-copy h1 { margin: 20px 0 16px; font-size: clamp(38px, 4.3vw, 69px); font-weight: 730; line-height: 1.18; letter-spacing: -.055em; }
.case-copy h1 em { color: #9dbdff; font-style: normal; }
.case-intro { max-width: 34em; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.85; color: #d1dce9; }
.case-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.case-actions .action { min-height: 46px; }
.engineering { color: #edf3fc; background: #243851; border-color: #71849d; }
.engineering:hover { background: #344963; }
.engineering .icon { width: 16px; height: 16px; }
.sim-link { display: inline-flex; align-items: center; gap: 6px; color: #dce8fb; background: transparent; padding: 0 5px; min-height: 44px; border: 0; font-size: 14px; font-weight: 570; }
.sim-link span { font-weight: 450; font-size: 11px; color: #c1cee0; border: 1px solid #566b83; border-radius: 3px; padding: 1px 4px; }
.sim-link .icon { width: 18px; height: 18px; }
.sim-link:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.case-hint, .gallery-note { font-size: 11px; line-height: 1.6; color: #b9c8db; }
.case-hint { margin-top: 11px; }
.exhibit-grid { display: grid; grid-template-columns: 2.16fr 1fr; grid-template-rows: repeat(2,minmax(0,1fr)); gap: 10px; aspect-ratio: 1.55; }
.exhibit { display: grid; grid-template-rows: minmax(0,1fr) auto; overflow: hidden; border-radius: 5px; background: #e9edf2; min-height: 0; min-width: 0; }
.exterior { grid-row: span 2; }
.exhibit .view-image { position: relative; display: block; padding: 0; border: 0; width: 100%; min-height: 0; background: #e4e8ee; overflow: hidden; }
.exhibit img { width: 100%; height: 100%; object-fit: cover; }
.exterior img { object-fit: contain; }
.overview img { object-position: 50% 54%; }
.panel img { object-position: 50% 50%; }
.exhibit figcaption { display: flex; align-items: center; min-height: 31px; padding: 5px 10px; gap: 8px; font-size: 12px; font-weight: 600; color: #253850; background: #f5f7fa; }
.exhibit figcaption::before { content: ""; width: 12px; height: 2px; background: #4474c9; }
.exhibit-zoom { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 25px; height: 25px; background: #182e4778; color: #fff; border-radius: 3px; }
.exhibit-zoom .icon { width: 13px; height: 13px; }
.exhibit .view-image:hover .exhibit-zoom { background: #203954; }
.gallery-note { margin-top: 10px; }
.research-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.research-card { display: grid; grid-template-columns: 1.14fr 1fr; min-height: 172px; border: 1px solid #d7e0e9; border-radius: 6px; background: white; overflow: hidden; }
.research-figure { display: grid; place-items: center; min-width: 0; background-color: #e6ecee; background-image: linear-gradient(90deg,#7f939d18 1px,transparent 1px),linear-gradient(0deg,#7f939d18 1px,transparent 1px); background-size: 20px 20px; }
.research-figure.motor { background-color: #e6eaf3; }
.research-figure img { width: 100%; height: auto; }
.research-text { padding: 20px 18px; align-self: center; }
.research-text span { display: inline-flex; align-items: center; gap: 6px; color: #526780; font-size: 11px; }
.research-text span::before { content: ""; width: 5px; height: 5px; border: 1px solid #5a7695; }
.research-text h3 { font-size: 21px; font-weight: 650; letter-spacing: -.035em; margin: 7px 0; }
.research-text p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.dialog-close { border: 1px solid var(--line); border-radius: 4px; }
#enlarged { max-height: calc(100vh - 176px); max-height: calc(100dvh - 176px); object-fit: contain; }
.exhibit .view-image:focus-visible, .open-photo:focus-visible { outline-offset: -3px; }
@media (min-width: 1600px) { .hero-layout { gap: 64px; } }
@media (min-width: 761px) and (max-width: 1030px) {
  .hero-layout { gap: 26px; grid-template-columns: 1.08fr 1fr; }
  .case-actions { gap: 6px; }
  .case-actions .action { padding: 0 12px; font-size: 13px; gap: 6px; }
  .sim-link { font-size: 12px; padding: 0; }
  .case-copy h1 { font-size: clamp(37px,4.5vw,47px); }
  .exhibit-grid { gap: 7px; aspect-ratio: 1.38; }
  .exhibit figcaption { font-size: 11px; gap: 4px; padding-inline: 7px; }
  .research-card { grid-template-columns: 1fr; }
  .research-figure { height: 142px; }
  .research-figure img { height: 100%; object-fit: contain; }
}
@media (max-width: 760px) {
  .hero-layout { grid-template-columns: 1fr; gap: 22px; padding-block: 28px 20px; }
  .case-copy h1 { font-size: clamp(35px, 6.8vw, 49px); margin: 14px 0 10px; }
  .case-intro { max-width: 45em; font-size: 14px; line-height: 1.72; }
  .case-actions { margin-top: 15px; gap: 8px; }
  .case-actions .action { min-height: 44px; padding: 0 13px; font-size: 14px; gap: 6px; }
  .case-hint { margin-top: 6px; }
  .case-gallery { width: 100%; max-width: 565px; }
  .exhibit-grid { gap: 7px; aspect-ratio: 1.73; }
  .gallery-note { margin-top: 7px; }
  .research-grid { gap: 12px; }
  .research-card { grid-template-columns: 1fr; }
  .research-figure { min-height: 118px; }
  .research-text { padding: 15px; }
}
@media (max-width: 520px) {
  .case-eyebrow { font-size: 11px; gap: 8px; }
  .case-copy h1 { font-size: clamp(32px,8.9vw,43px); }
  .hero-layout { gap: 17px; padding-block: 21px 15px; }
  .case-actions { gap: 5px; }
  .case-actions .action { padding-inline: 10px; font-size: 13px; }
  .case-actions .action .icon { width: 15px; height: 15px; }
  .sim-link { gap: 4px; font-size: 13px; padding: 0 3px; }
  .sim-link .icon { width: 15px; height: 15px; }
  .sim-link span { font-size: 10px; }
  .exhibit figcaption { font-size: 10px; min-height: 22px; padding: 3px 6px; gap: 4px; }
  .exhibit figcaption::before { width: 6px; }
  .exhibit-zoom { width: 18px; height: 18px; top: 5px; right: 5px; }
  .exhibit-zoom .icon { width: 10px; height: 10px; }
  .exhibit-grid { aspect-ratio: 1.67; gap: 5px; }
  .gallery-note { font-size: 10px; }
  .research-grid { grid-template-columns: 1fr; }
  .research-card { grid-template-columns: 1.04fr 1fr; min-height: 132px; }
  .research-text { padding: 13px; }
  .research-text h3 { font-size: 18px; margin-block: 4px; }
}
@media (max-width: 360px) {
  .case-actions .action { padding-inline: 8px; gap: 4px; font-size: 12px; }
  .case-actions { gap: 4px; }
  .case-actions .sim-link { font-size: 12px; }
  .sim-link .icon { display:none; }
}

.ats-pager { display: flex; align-items: center; gap: 7px; margin-top: 10px; }
.ats-pager[hidden] { display: none; }
.ats-pager span { margin-right: auto; color: var(--muted); font: 12px var(--sans); }
.ats-pager button { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; background: white; font-size: 13px; }
.ats-pager button:hover { color: var(--blue); background: #f3f6fb; }
#photo-dialog:has(.ats-pager:not([hidden])) #enlarged { max-height: calc(100vh - 230px); max-height: calc(100dvh - 230px); }
