:root {
  --red: #ED1C24;
  --red-dark: #C8121A;
  --charcoal: #252B2E;
  --navy: #102638;
  --steel: #697780;
  --white: #fff;
  --grey: #F3F5F6;
  --line: #DDE2E5;
  --header-h: 76px;
  --font: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--charcoal); background: var(--white); line-height: 1.65; font-size: 1.0625rem; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; color: var(--navy); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.container { width: min(1200px, 100% - 3rem); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 700 .95rem/1 var(--font); letter-spacing: .02em; padding: 1.05rem 1.7rem; border: 2px solid transparent; border-radius: 2px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { padding: .8rem 1.1rem; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: linear-gradient(90deg, var(--red) 0 120px, transparent 120px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { height: 56px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.75rem; }
.site-nav ul a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--charcoal); padding: .4rem 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.site-nav ul a:hover, .site-nav ul a.active { border-color: var(--red); color: var(--navy); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 820px); display: flex; align-items: center; color: #fff; background: var(--navy); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16,38,56,.95) 0%, rgba(16,38,56,.84) 38%, rgba(16,38,56,.35) 70%, rgba(16,38,56,.1) 100%); }
.hero-content { padding-block: 6rem; }
.hero-content > * { max-width: 46rem; }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.hero h1 span { display: block; position: relative; padding-bottom: 1.2rem; }
.hero h1 span::after { content: ""; position: absolute; left: 0; bottom: 0; width: 88px; height: 4px; background: var(--red); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 38rem; margin-bottom: 2.25rem; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 1.1rem; }
.eyebrow i { font-style: normal; opacity: .6; margin-inline: .4em; }
.eyebrow-light { color: #fff; }
.hero .eyebrow-light { color: rgba(255,255,255,.85); }
.section-dark .eyebrow-light { color: #ff6b70; }

/* Sections */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-grey { background: var(--grey); }
.section h2, .cta-band h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.lead { font-size: 1.2rem; color: var(--charcoal); }
.section-head .lead { margin-top: 1.25rem; color: var(--steel); }

/* Intro */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.intro h2 { margin-bottom: 1.5rem; }
.intro .lead, .intro .reveal > p:not(.eyebrow):not(.lead) { max-width: 46rem; }
.intro .values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 0; margin-top: 3rem; }
.intro .values li { flex-direction: column; gap: .6rem; border-bottom: 0; border-top: 3px solid var(--red); padding: 1.2rem 0 0; }
.values { margin-top: 2.25rem; border-top: 1px solid var(--line); }
.values li { display: flex; gap: 1.25rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.values .num { font-weight: 800; color: var(--red); font-size: .9rem; padding-top: .25rem; }
.values h3 { font-size: 1.15rem; margin-bottom: .15rem; }
.values p { margin: 0; color: var(--steel); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-top: 3px solid transparent; padding: 2rem 1.75rem; transition: border-color .25s, box-shadow .25s, transform .25s; }
.card:hover { border-top-color: var(--red); box-shadow: 0 14px 32px rgba(16,38,56,.1); transform: translateY(-4px); }
.icon { width: 48px; height: 48px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.5rem; transition: stroke .25s; }
.card:hover .icon { stroke: var(--red); }
.card h3 { font-size: 1.25rem; margin-bottom: .85rem; }
.card p { color: var(--steel); font-size: .98rem; margin: 0; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 2px; background: var(--line); }
.timeline li { position: relative; padding-top: 4rem; }
.step { position: absolute; top: 0; left: 0; width: 46px; height: 46px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-size: .9rem; border-bottom: 3px solid var(--red); }
.timeline h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.timeline p { color: var(--steel); margin: 0; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 340px; gap: 1rem; }
.tile { position: relative; overflow: hidden; background: var(--navy); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,38,56,.88) 0%, rgba(16,38,56,.15) 55%, rgba(16,38,56,.05) 100%); }
.tile span { position: absolute; z-index: 1; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; color: #fff; font-weight: 700; font-size: 1.2rem; padding-top: .8rem; line-height: 1.25; }
.tile span::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 3px; background: var(--red); transition: width .3s; }
.tile:hover img { transform: scale(1.04); }
.tile:hover span::before { width: 64px; }

/* Why */
.section-dark { background: var(--charcoal); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.15); }
.diff { padding: 2rem 1.75rem 1rem 0; position: relative; }
.diff::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 3px; background: var(--red); }
.diff + .diff { padding-left: 1.75rem; border-left: 1px solid rgba(255,255,255,.12); }
.diff + .diff::before { left: 1.75rem; }
.diff h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.diff p { color: rgba(255,255,255,.75); }
.statement { margin: clamp(3rem, 6vw, 5rem) 0 0; max-width: 52rem; font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.4; padding-left: 1.5rem; border-left: 4px solid var(--red); }

/* CTA */
.cta-band { background: var(--navy); isolation: isolate; color: #fff; padding-block: clamp(4rem, 8vw, 6.5rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red); }
.cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16,38,56,.96) 0%, rgba(16,38,56,.88) 55%, rgba(16,38,56,.7) 100%); }
.cta-band h2 { color: #fff; max-width: 40rem; margin-bottom: 1.25rem; }
.cta-band p { max-width: 42rem; color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 2rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-grid .lead { margin-top: 1.25rem; color: var(--steel); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; background: var(--grey); padding: clamp(1.5rem, 3vw, 2.5rem); border-top: 3px solid var(--red); }
.full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .4rem; color: var(--navy); }
.field label span[aria-hidden] { color: var(--red); }
.opt { font-weight: 500; color: var(--steel); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .85rem 1rem; border: 1px solid #b9c2c7; border-radius: 2px; background: #fff; color: var(--charcoal); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16,38,56,.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red-dark); }
.err { color: #B00E15; font-size: .85rem; font-weight: 600; margin: .35rem 0 0; min-height: 0; }
.err:empty { display: none; }
.privacy { font-size: .85rem; color: var(--steel); margin: 0; }
.status { margin: 0; padding: 0; font-weight: 600; }
.status:empty { display: none; }
.status { padding: 1rem 1.25rem; background: #fff; border-left: 4px solid var(--navy); }
.status.error { border-left-color: var(--red); }
.status.success { border-left-color: #1c7c3d; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding-top: 4rem; font-size: .95rem; border-top: 3px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 2fr 1.4fr; padding-top: 3rem; gap: 3rem; padding-bottom: 3rem; }
.logo-tile { display: inline-block; background: #fff; padding: .6rem 1rem; margin-bottom: 1.25rem; }
.logo-tile img { height: 64px; width: auto; }
.footer-brand p { max-width: 30rem; }
.footer-top { padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-top ul { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.footer-top li { margin: 0; }
.footer-top a { font-weight: 600; color: #fff; }
.footer-contact { font-style: normal; }
.footer-contact p { margin: 0 0 1rem; }
.fc-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .25rem; }
.footer-contact a { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; overflow-wrap: anywhere; }
.footer-contact a:hover { color: #fff; }
.site-footer h2 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer li { margin-bottom: .45rem; }
.site-footer nav a { text-decoration: none; transition: color .2s; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.5rem; }
.footer-bottom .credit { margin-top: .4rem; }
.footer-bottom .credit a { text-decoration: underline; }
.footer-bottom p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.6); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .site-nav ul { gap: 1.1rem; }
  .site-nav { gap: 1.25rem; }
}
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: flex; }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(16,38,56,.12); display: none; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-cta { text-align: center; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .intro .values { grid-template-columns: 1fr; gap: 0; }
  .intro .values li { border-top: 0; border-bottom: 1px solid var(--line); flex-direction: row; padding: 1.2rem 0; }
    .timeline { grid-template-columns: 1fr; gap: 2rem; padding-left: 0; }
  .timeline::before { top: 0; bottom: 0; left: 22px; right: auto; width: 2px; height: auto; }
  .timeline li { padding: 0 0 0 4.2rem; min-height: 46px; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .diff:nth-child(3) { padding-left: 0; border-left: 0; }
  .diff:nth-child(3)::before { left: 0; }
  .diff:nth-child(n+3) { margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); }
  .diff:nth-child(n+3)::before { top: -2px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(16,38,56,.94) 0%, rgba(16,38,56,.78) 60%, rgba(16,38,56,.45) 100%); }
  .hero-img { object-position: 80% center; }
}
@media (max-width: 720px) {
  .container { width: min(1200px, 100% - 2rem); }
  .cards, .form { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .diff-grid { grid-template-columns: 1fr; }
  .diff, .diff + .diff { padding: 1.75rem 0 1rem; border-left: 0; margin-top: 0 !important; }
  .diff + .diff { border-top: 1px solid rgba(255,255,255,.15); }
  .diff + .diff::before { left: 0; top: -2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .btn-row .btn { width: 100%; }
  .hero { min-height: 0; }
  .hero-content { padding-block: 4.5rem; }
  .hero-overlay { background: linear-gradient(180deg, rgba(16,38,56,.82) 0%, rgba(16,38,56,.88) 100%); }
  .eyebrow { letter-spacing: .1em; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Legal pages */
.legal-page .site-header::after { display: block; }
.legal-body { max-width: 46rem; }
.legal-body h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: .5rem; }
.legal-body h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.legal-body ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-body li { margin-bottom: .5rem; }
.legal-body a { color: var(--navy); text-decoration-color: var(--red); text-underline-offset: 3px; }
.legal-body .updated { color: var(--steel); font-size: .95rem; margin-bottom: 2rem; }
.legal-page .site-footer { padding-top: 0; }
.legal-page .footer-bottom { border-top: 0; }
.legal-page .footer-bottom .credit a, .privacy a { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.privacy a { color: var(--navy); }
