:root {
  --ink: #061a31;
  --ink-2: #0a2745;
  --blue: #1178b8;
  --blue-light: #58b4e8;
  --gold: #d79d32;
  --paper: #fbfcfd;
  --mist: #eef5f8;
  --line: rgba(6, 26, 49, 0.15);
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(2, 19, 39, 0.12);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--max-width), calc(100% - 44px)); margin-inline: auto; }
.section { padding: 108px 0; }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; padding: 12px 16px; color: #fff; background: var(--ink); border-radius: 8px; transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 30; color: #fff; border-bottom: 1px solid rgba(255,255,255,.15); }
.header-inner { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.brand img { width: 38px; height: 46px; object-fit: cover; object-position: center; background: #fff; border-radius: 6px; }
.brand-name { font-size: 12px; letter-spacing: .15em; font-weight: 800; white-space: nowrap; }
.main-nav { display: flex; gap: 27px; align-items: center; font-size: 14px; font-weight: 650; }
.main-nav > a:not(.nav-cta) { opacity: .88; transition: opacity .2s ease; }
.main-nav > a:not(.nav-cta):hover { opacity: 1; }
.nav-cta { padding: 10px 15px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; transition: color .2s, background .2s; }
.nav-cta:hover { color: var(--ink); background: #fff; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.45); border-radius: 10px; background: rgba(255,255,255,.08); padding: 10px; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: #fff; transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 720px; display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: saturate(.8) contrast(1.04); }
.hero-overlay { background: linear-gradient(100deg, rgba(2,15,32,.92) 0%, rgba(2,19,38,.72) 42%, rgba(2,19,38,.32) 78%, rgba(2,19,38,.58) 100%), linear-gradient(0deg, rgba(1,11,24,.72) 0%, transparent 38%); }
.hero-content { position: relative; z-index: 2; padding: 160px 0 118px; max-width: 760px; }
.hero-logo-card { width: 126px; padding: 10px; background: #fff; border-radius: 10px; box-shadow: 0 18px 42px rgba(0,0,0,.24); margin-bottom: 30px; }
.hero-logo-card img { width: 100%; height: auto; }
.eyebrow { margin: 0 0 14px; color: rgba(255,255,255,.84); font-size: 12px; line-height: 1.1; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; }
.eyebrow-blue { color: var(--blue); }
.eyebrow-gold { color: #e4b45c; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(3rem, 6.2vw, 6.25rem); line-height: .98; letter-spacing: -.055em; font-weight: 800; }
h1 span { color: var(--blue-light); }
.hero-text { max-width: 590px; margin-bottom: 34px; color: rgba(255,255,255,.86); font-size: clamp(1rem, 1.6vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 13px; min-height: 50px; padding: 14px 20px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 780; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: #0d67a0; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.button-ghost:hover { background: rgba(255,255,255,.16); }
.hero-bottom-note { position: absolute; z-index: 2; bottom: 22px; right: max(22px, calc((100% - var(--max-width))/2)); display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.82); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-bottom-note span { display: inline-block; width: 36px; height: 1px; background: var(--gold); }

.intro { background: #fff; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: end; gap: 88px; }
h2 { margin-bottom: 0; font-size: clamp(2.25rem, 4vw, 4.3rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; }
.intro-copy { max-width: 480px; font-size: 18px; color: rgba(6,26,49,.76); }
.intro-copy p { margin-bottom: 19px; }
.text-link { display: inline-flex; margin-top: 10px; gap: 12px; color: var(--blue); font-size: 14px; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.section-tint { background: var(--mist); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .5fr); align-items: end; gap: 70px; margin-bottom: 44px; }
.section-heading > p { max-width: 370px; margin: 0 0 4px auto; color: rgba(6,26,49,.68); font-size: 17px; }
.narrow-heading { display: block; max-width: 760px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 270px; padding: 26px; overflow: hidden; border: 1px solid rgba(6,26,49,.1); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(6,26,49,.04); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-number { margin-bottom: 52px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .14em; }
.service-card h3 { max-width: 245px; margin-bottom: 12px; font-size: 24px; line-height: 1.05; letter-spacing: -.03em; }
.service-card p { max-width: 320px; margin: 0; color: rgba(6,26,49,.68); font-size: 15px; }
.service-arrow { position: absolute; right: 24px; bottom: 20px; color: var(--gold); font-size: 28px; }

.process { background: #fff; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; padding: 0; margin: 58px 0 0; list-style: none; counter-reset: steps; }
.timeline li { position: relative; padding-top: 58px; }
.timeline li::before { content: ""; position: absolute; top: 20px; left: 0; right: -25px; height: 1px; background: var(--line); }
.timeline li:last-child::before { right: 0; }
.timeline-marker { position: absolute; z-index: 1; top: 0; left: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #e3f3fc; font-size: 11px; font-weight: 850; }
.timeline h3 { margin-bottom: 10px; font-size: 22px; letter-spacing: -.025em; }
.timeline p { max-width: 310px; margin: 0; color: rgba(6,26,49,.68); }

.section-dark { color: #fff; background: var(--ink); }
.light-heading > p { color: rgba(255,255,255,.67); }
.video-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; grid-template-rows: 270px 270px; gap: 16px; }
.video-card { overflow: hidden; min-height: 0; border-radius: 14px; background: #0d2c4b; }
.video-card-featured { grid-row: span 2; }
.video-button { position: relative; width: 100%; height: 100%; display: block; border: 0; padding: 0; color: #fff; background: transparent; overflow: hidden; text-align: left; }
.video-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-button:hover img { transform: scale(1.05); }
.video-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1,14,28,.86), rgba(1,14,28,.04) 65%); }
.play-icon { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%,-50%); display: grid; place-items: center; padding-left: 3px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(6,26,49,.35); font-size: 15px; transition: background .2s, transform .2s; }
.video-button:hover .play-icon { background: var(--blue); transform: translate(-50%,-50%) scale(1.06); }
.video-label { position: absolute; bottom: 18px; left: 18px; right: 18px; display: grid; gap: 2px; font-size: 15px; font-weight: 750; }
.video-label em { color: rgba(255,255,255,.7); font-size: 12px; font-weight: 500; font-style: normal; }

.contact { background: linear-gradient(110deg, #eaf7fc 0%, #f9fcfe 52%, #fffaf0 100%); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, .92fr); gap: 100px; align-items: start; }
.contact-copy h2 { max-width: 570px; margin-bottom: 25px; }
.contact-copy > p:not(.eyebrow) { max-width: 490px; color: rgba(6,26,49,.72); font-size: 17px; }
.contact-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.contact-badges span { padding: 8px 11px; color: var(--ink-2); border: 1px solid rgba(17,120,184,.18); border-radius: 999px; background: rgba(255,255,255,.65); font-size: 13px; font-weight: 700; }
.contact-form { padding: 29px; border: 1px solid rgba(6,26,49,.12); border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; margin-bottom: 7px; color: var(--ink-2); font-size: 13px; font-weight: 750; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 13px; outline: none; color: var(--ink); border: 1px solid rgba(6,26,49,.18); border-radius: 7px; background: #fff; transition: border .2s, box-shadow .2s; }
.form-field textarea { resize: vertical; min-height: 116px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(6,26,49,.43); }
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(17,120,184,.13); }
.button-full { width: 100%; }
.form-status { min-height: 20px; margin: 12px 0 0; color: var(--ink-2); font-size: 13px; }
.form-status.error { color: #ac2828; }

.site-footer { color: rgba(255,255,255,.74); background: #041321; }
.footer-inner { min-height: 108px; display: flex; gap: 25px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand img { width: 42px; height: 49px; object-fit: cover; border-radius: 6px; background: #fff; }
.footer-brand div { display: grid; gap: 1px; }
.footer-brand strong { font-size: 13px; letter-spacing: .13em; }
.footer-brand span { color: rgba(255,255,255,.6); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer p { margin: 0; font-size: 12px; }

.video-modal { position: fixed; z-index: 100; inset: 0; display: none; align-items: center; justify-content: center; padding: 22px; }
.video-modal.is-open { display: flex; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); backdrop-filter: blur(5px); }
.video-modal-dialog { position: relative; z-index: 1; width: min(100%, 900px); max-height: min(90vh, 800px); }
.video-modal-dialog video { width: 100%; max-height: min(82vh, 740px); border-radius: 10px; background: #000; }
.modal-close { position: absolute; z-index: 2; top: -42px; right: 0; width: 32px; height: 32px; color: #fff; border: 0; border-radius: 50%; background: rgba(255,255,255,.13); font-size: 26px; line-height: 1; }

@media (max-width: 940px) {
  .section { padding: 82px 0; }
  .hero { min-height: 670px; }
  .hero-content { padding-bottom: 90px; }
  .split-layout, .contact-layout { gap: 48px; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .section-heading { gap: 35px; }
  .video-grid { grid-template-columns: 1.2fr 1fr; grid-template-rows: 220px 220px 220px; }
  .video-card-featured { grid-row: span 2; }
  .video-card:last-child { grid-column: span 2; }
}

@media (max-width: 720px) {
  .container { width: min(var(--max-width), calc(100% - 32px)); }
  .site-header { background: linear-gradient(180deg, rgba(1,16,31,.82), transparent); border-bottom: 0; }
  .header-inner { height: 74px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 74px; left: 16px; right: 16px; display: none; padding: 18px; border: 1px solid rgba(255,255,255,.17); border-radius: 12px; background: rgba(5,23,42,.96); box-shadow: 0 16px 42px rgba(0,0,0,.3); }
  .main-nav.is-open { display: grid; gap: 16px; }
  .main-nav .nav-cta { text-align: center; }
  .hero { min-height: 690px; }
  .hero-media video { object-position: 59% center; }
  .hero-content { padding: 125px 0 85px; }
  .hero-logo-card { width: 104px; margin-bottom: 23px; }
  .hero-bottom-note { left: 16px; right: auto; font-size: 10px; }
  .split-layout, .section-heading, .contact-layout { grid-template-columns: 1fr; gap: 27px; }
  .section-heading > p { margin: 0; }
  .service-grid, .timeline { grid-template-columns: 1fr; }
  .service-card { min-height: 224px; }
  .service-number { margin-bottom: 34px; }
  .timeline { gap: 25px; margin-top: 42px; }
  .timeline li { padding-top: 54px; }
  .timeline li::before { left: 20px; top: 0; bottom: -25px; width: 1px; height: auto; right: auto; }
  .timeline li:last-child::before { display: none; }
  .timeline-marker { top: 0; }
  .video-grid { grid-template-columns: 1fr; grid-template-rows: 360px 230px 230px 230px; }
  .video-card-featured, .video-card:last-child { grid-row: auto; grid-column: auto; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px; }
  .footer-inner { min-height: auto; padding: 26px 0; align-items: flex-start; flex-direction: column; gap: 18px; }
}

@media (max-width: 430px) {
  h1 { font-size: clamp(2.85rem, 14vw, 4rem); }
  h2 { font-size: clamp(2.1rem, 11vw, 3rem); }
  .brand-name { font-size: 11px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
}
