:root {
  --ink: #0d2029;
  --ink-soft: #496069;
  --night: #071820;
  --night-2: #0d2b36;
  --sky: #dcebf0;
  --paper: #f7f8f4;
  --white: #ffffff;
  --signal: #f2a33a;
  --signal-strong: #df8620;
  --line: rgba(13, 32, 41, .13);
  --radius: 22px;
  --shadow: 0 24px 70px rgba(7, 24, 32, .14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-compact { padding: 72px 0; }
.section-dark { color: var(--white); background: var(--night); }
.section-sky { background: #eaf2f5; }
.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--signal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { width: 28px; height: 2px; content: ""; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(46px, 7vw, 92px); }
h2 { margin-bottom: 24px; font-size: clamp(34px, 4.4vw, 62px); }
h3 { font-size: clamp(23px, 2.4vw, 32px); }
.lead { max-width: 760px; color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); }
.section-dark .lead { color: rgba(255,255,255,.7); }
.section-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 48px; }
.section-head > div:first-child { max-width: 720px; }
.muted { color: var(--ink-soft); }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(7,24,32,.96); box-shadow: 0 12px 40px rgba(0,0,0,.2); backdrop-filter: blur(14px); }
.nav-shell { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { min-width: 260px; display: flex; align-items: center; gap: 14px; }
.brand img { width: 50px; height: 50px; object-fit: cover; border-radius: 50%; filter: contrast(1.2); }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: 14px; letter-spacing: .03em; }
.brand-text span { margin-top: 5px; color: rgba(255,255,255,.6); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { position: relative; padding: 30px 0; color: rgba(255,255,255,.76); font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after { position: absolute; right: 0; bottom: 20px; left: 0; height: 2px; content: ""; background: var(--signal); }
.nav-contact { padding: 12px 18px !important; color: var(--night) !important; background: var(--signal); border-radius: 999px; }
.nav-contact::after { display: none; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; color: white; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 20px; height: 2px; margin: 4px auto; content: ""; background: currentColor; transition: transform .2s ease; }

.hero { position: relative; min-height: 780px; display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--night); }
.hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(5,20,27,.94) 0%, rgba(5,20,27,.68) 42%, rgba(5,20,27,.12) 78%), linear-gradient(0deg, rgba(5,20,27,.72), transparent 44%), url("images/hero-an2.jpg") center/cover no-repeat; transform: scale(1.01); }
.hero::after { position: absolute; inset: auto 0 0; height: 1px; content: ""; background: rgba(255,255,255,.25); }
.hero-content { position: relative; z-index: 1; padding: 190px 0 90px; }
.hero h1 { max-width: 900px; margin: 20px 0 26px; }
.hero-copy { max-width: 660px; margin-bottom: 36px; color: rgba(255,255,255,.78); font-size: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; min-height: 52px; padding: 0 24px; align-items: center; justify-content: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border: 1px solid transparent; border-radius: 999px; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--night); background: var(--signal); }
.button-primary:hover { background: #ffc165; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.button-dark { color: var(--white); background: var(--night); }
.hero-meta { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.2); }
.hero-stat { padding: 25px 28px 0 0; }
.hero-stat strong { display: block; font-size: 27px; letter-spacing: -.04em; }
.hero-stat span { color: rgba(255,255,255,.58); font-size: 13px; }

.page-hero { position: relative; min-height: 480px; display: grid; align-items: end; overflow: hidden; color: white; background: var(--night); }
.page-hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(5,20,27,.94), rgba(5,20,27,.55)), var(--page-image, url("images/an2-detail.jpg")) center/cover no-repeat; }
.page-hero-content { position: relative; z-index: 1; padding: 180px 0 72px; }
.page-hero h1 { max-width: 900px; margin: 18px 0 0; font-size: clamp(44px, 6vw, 76px); }
.page-hero p { max-width: 720px; margin-top: 24px; color: rgba(255,255,255,.72); font-size: 19px; }

.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.image-frame { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-frame img { width: 100%; height: 620px; object-fit: cover; }
.image-tag { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 15px 18px; color: white; background: rgba(7,24,32,.82); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; backdrop-filter: blur(12px); }
.feature-list { display: grid; gap: 4px; margin-top: 34px; border-top: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 20px 0; align-items: start; border-bottom: 1px solid var(--line); }
.feature-index { color: var(--signal-strong); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.feature-row strong { display: block; margin-bottom: 5px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 430px; display: flex; overflow: hidden; align-items: end; color: white; background: var(--night-2); border-radius: var(--radius); }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(5,20,27,.94), rgba(5,20,27,.08) 70%); }
.service-card:hover img { transform: scale(1.04); }
.service-card-content { position: relative; z-index: 1; padding: 28px; }
.service-card .number { color: var(--signal); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { margin: 10px 0 8px; }
.service-card p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }
.service-card.wide { grid-column: span 2; }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.capability { min-height: 260px; padding: 34px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.capability-icon { width: 48px; height: 48px; margin-bottom: 34px; display: grid; place-items: center; color: var(--signal-strong); background: #fff4e2; border-radius: 50%; font-weight: 900; }
.capability p { color: var(--ink-soft); }

.metric-strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.metric { padding: 46px; border-left: 1px solid rgba(255,255,255,.14); }
.metric:first-child { border-left: 0; }
.metric strong { display: block; margin-bottom: 4px; color: var(--signal); font-size: clamp(42px, 6vw, 72px); letter-spacing: -.055em; line-height: 1; }
.metric span { color: rgba(255,255,255,.62); }

.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline-row { display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.timeline-year { color: var(--signal-strong); font-size: 28px; font-weight: 850; letter-spacing: -.04em; }
.timeline-row h3 { margin-bottom: 10px; }

.leader-card { display: grid; grid-template-columns: .7fr 1.3fr; overflow: hidden; color: white; background: var(--night); border-radius: var(--radius); box-shadow: var(--shadow); }
.leader-visual { min-height: 430px; display: grid; place-items: center; background: linear-gradient(145deg, #173f4d, #071820); }
.leader-mark { width: 180px; height: 180px; padding: 24px; background: white; border-radius: 50%; }
.leader-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.leader-copy { padding: 58px; display: flex; flex-direction: column; justify-content: center; }
.leader-copy p { color: rgba(255,255,255,.66); }
.leader-role { color: var(--signal) !important; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.career-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.career-panel { padding: 46px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.career-panel.dark { color: white; background: var(--night); border-color: var(--night); }
.career-panel.dark p { color: rgba(255,255,255,.65); }
.role-chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.role-chip { padding: 10px 14px; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { padding: 44px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card.primary { color: white; background: var(--night); border-color: var(--night); }
.contact-card h3 { margin-bottom: 30px; }
.contact-line { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.primary .contact-line { border-color: rgba(255,255,255,.14); }
.contact-line span { color: var(--ink-soft); font-size: 13px; }
.primary .contact-line span { color: rgba(255,255,255,.5); }
.contact-line a, .contact-line strong { font-weight: 760; }
.map-link { min-height: 380px; display: flex; padding: 34px; align-items: end; overflow: hidden; color: white; background: linear-gradient(0deg, rgba(5,20,27,.9), rgba(5,20,27,.1)), url("images/an2-flight.jpg") center/cover no-repeat; border-radius: var(--radius); }
.map-link strong { display: block; font-size: 24px; }

.cta { position: relative; overflow: hidden; color: white; background: var(--night-2); border-radius: var(--radius); }
.cta::after { position: absolute; inset: 0 0 0 58%; content: ""; opacity: .35; background: url("images/engine-detail.jpg") center/cover; mask-image: linear-gradient(90deg, transparent, black 35%); }
.cta-inner { position: relative; z-index: 1; padding: 66px; }
.cta h2 { max-width: 760px; }
.cta p { max-width: 620px; color: rgba(255,255,255,.65); }

.site-footer { padding: 62px 0 28px; color: rgba(255,255,255,.68); background: #041116; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 60px; padding-bottom: 44px; }
.footer-brand { color: white; font-size: 20px; font-weight: 760; }
.footer-copy { max-width: 420px; margin-top: 14px; font-size: 14px; }
.footer-title { margin-bottom: 16px; color: white; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; font-size: 14px; }
.footer-links a:hover { color: var(--signal); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 84px 0 0; padding: 32px 20px; display: none; align-items: stretch; flex-direction: column; gap: 0; background: var(--night); }
  .menu-open .nav-links { display: flex; }
  .nav-links a { padding: 17px 8px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links a.active::after { display: none; }
  .nav-contact { margin-top: 20px; text-align: center; border-bottom: 0 !important; }
  .intro-grid, .career-grid, .leader-card { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .leader-visual { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 76px 0; }
  .brand { min-width: 0; }
  .brand-text span { display: none; }
  .brand-text strong { max-width: 185px; font-size: 12px; }
  .hero { min-height: 720px; }
  .hero-content { padding-top: 150px; }
  .hero-copy { font-size: 17px; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-stat { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .page-hero { min-height: 420px; }
  .section-head { display: block; }
  .service-grid, .capability-grid, .contact-grid, .metric-strip { grid-template-columns: 1fr; }
  .service-card.wide { grid-column: auto; }
  .service-card { min-height: 380px; }
  .metric { padding: 30px 0; border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .timeline-row { grid-template-columns: 1fr; gap: 8px; }
  .leader-copy, .career-panel, .contact-card, .cta-inner { padding: 32px 24px; }
  .image-frame img { height: 480px; }
  .contact-line { grid-template-columns: 1fr; gap: 5px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
