:root {
  --navy: #0b1730;
  --navy-2: #1d3458;
  --orange: #f5822a;
  --pale: #e8eef8;
  --paper: #f8f9fc;
  --ink: #182b49;
  --muted: #65738a;
  --white: #fff;
  --line: #dce3ee;
  --font: "Arial Narrow", "Roboto Condensed", "Aptos Narrow", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); line-height: 1.55; }
a { color: inherit; }
.skip-link { position: absolute; left: -999px; top: 0; padding: .8rem; background: white; z-index: 100; }
.skip-link:focus { left: .5rem; }
.site-header { height: 82px; padding: 0 clamp(1.2rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--navy); color: white; position: sticky; top: 0; z-index: 50; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--orange); line-height: .9; font-weight: 800; font-size: 1.35rem; letter-spacing: -.04em; }
.brand-mark { font-size: 2.7rem; line-height: 1; font-weight: 400; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.site-nav a { color: white; text-decoration: none; font-size: .93rem; }
.site-nav a:hover, .footer-links a:hover { color: var(--orange); }
.site-nav .nav-cta { border: 1px solid var(--orange); padding: .7rem 1rem; color: white; }
.menu-toggle { display: none; background: transparent; color: white; border: 1px solid #53617a; padding: .6rem .8rem; }
.hero { background: var(--navy); position: relative; min-height: min(690px, 78vw); color: white; overflow: hidden; }
.hero-slides { min-height: inherit; position: relative; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; z-index: 0; pointer-events: none; transition: opacity 1.05s cubic-bezier(.22,.61,.36,1), visibility 1.05s; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; pointer-events: auto; }
/* Refined cross-dissolve: a slow, restrained image drift gives each change depth without a flashy wipe. */
.hero-image { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.055); transition: transform 5s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.hero-slide.active .hero-image { transform: scale(1); }
.image-it { background-image: url("assets/hero-it.jpg"); }
.image-power { background-image: url("assets/hero-power.jpg"); }
.image-security { background-image: url("assets/hero-security.jpg"); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,17,36,.95) 0%, rgba(10,25,49,.82) 46%, rgba(10,25,49,.18) 100%); }
.hero-copy { position: relative; z-index: 2; width: min(850px, 82%); padding: clamp(5rem, 12vw, 9rem) clamp(1.5rem, 8vw, 8rem) 8rem; }
.hero-slide.active .hero-copy { animation: hero-copy-enter .72s cubic-bezier(.22,.61,.36,1) both; }
@keyframes hero-copy-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow, .section-label, .card-index { color: var(--orange); text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; font-weight: 700; }
.hero h1, .hero h2 { font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: -.045em; max-width: 800px; margin: 1.2rem 0; font-weight: 700; }
.hero-subtitle { font-size: clamp(1.05rem, 2vw, 1.4rem); color: #e4e9f2; max-width: 590px; margin-bottom: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 0; padding: .95rem 1.3rem; font: inherit; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-orange { color: var(--navy); background: var(--orange); }
.carousel-controls { position: absolute; z-index: 5; right: clamp(1rem, 5vw, 5rem); bottom: 1.8rem; display: flex; align-items: center; gap: .75rem; }
.carousel-arrow, .pause-control { border: 1px solid rgba(255,255,255,.55); background: rgba(8,20,40,.6); color: white; width: 38px; height: 38px; cursor: pointer; }
.pause-control { width: auto; padding: 0 .7rem; font: inherit; font-size: .8rem; }
.carousel-dots { display: flex; gap: .5rem; align-items: center; }
.dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid white; background: transparent; padding: 0; cursor: pointer; }
.dot.active { background: var(--orange); border-color: var(--orange); width: 24px; border-radius: 8px; }
.section { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 7vw, 7rem); }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: -.035em; margin: .5rem 0 1.3rem; }
.intro-grid h2 { max-width: 580px; }
p { margin-top: 0; }
.lead { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.55; }
.text-link { display: inline-block; margin-top: .8rem; color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: .25rem; }
.values-grid { margin-top: 3.5rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.values-grid > div { padding: 1.5rem 1.4rem 0 0; }
.value-number { color: var(--orange); font-size: .78rem; letter-spacing: .1em; }
.values-grid h3 { margin: .4rem 0 .2rem; }
.values-grid p { color: var(--muted); margin: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2 { max-width: 650px; margin-bottom: 0; }
.section-heading > p { color: var(--muted); max-width: 350px; margin-bottom: .3rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.service-card { background: var(--paper); border: 1px solid var(--line); }
.service-image { height: 190px; background-color: var(--pale); background-size: cover; background-position: center; }
.service-it { background-image: url("assets/hero-it.jpg"); }
.service-power { background-image: url("assets/hero-power.jpg"); }
.service-security { background-image: url("assets/hero-security.jpg"); }
.service-body { padding: 1.6rem; }
.card-index { font-size: .7rem; }
.service-body h3 { font-size: 1.55rem; line-height: 1.15; margin: .7rem 0; }
.service-body p, .service-body li { color: var(--muted); }
.service-body ul { padding-left: 1.1rem; min-height: 115px; }
.service-body li { margin: .35rem 0; }
.process-section { background: var(--navy-2); color: white; }
.light-label { color: #ff9a4e; }
.process-section h2 { max-width: 600px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.process-grid > div { border-top: 1px solid #61718b; padding-top: 1.2rem; }
.process-grid span { color: var(--orange); font-size: .8rem; letter-spacing: .1em; }
.process-grid h3 { font-size: 1.5rem; margin: .5rem 0; }
.process-grid p { color: #d0d8e5; margin: 0; }
.sectors-section { background: white; }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sector-grid article { padding: 1.5rem; background: var(--pale); border-left: 3px solid var(--orange); }
.sector-grid h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.sector-grid p { margin: 0; color: var(--muted); }
.experience-band { background: var(--navy); color: white; }
.experience-content { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.experience-content h2 { max-width: 550px; }
.experience-content p { color: #d7dfeb; }
.small-note { font-size: .82rem; color: #aebbd0 !important; }
.contact-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 7vw, 7rem); background: var(--paper); }
.contact-copy h2 { max-width: 600px; }
.contact-copy > p:last-child { max-width: 540px; color: var(--muted); font-size: 1.1rem; }
.contact-details { border-top: 2px solid var(--orange); padding-top: 1.3rem; }
.contact-details > div { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.contact-details span { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--muted); margin-bottom: .2rem; }
.contact-details a:not(.button) { text-decoration: none; font-size: 1.1rem; }
.contact-details p { margin: 0; }
.contact-details .button { margin-top: 1.5rem; }
.site-footer { padding: 2.5rem clamp(1.25rem, 7vw, 7rem); background: #071124; color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: center; }
.footer-brand { justify-self: start; }
.site-footer > p { margin: 0; color: #d1d8e5; justify-self: end; }
.footer-links { display: flex; gap: 1.3rem; }
.footer-links a { text-decoration: none; font-size: .9rem; }
.site-footer small { justify-self: end; color: #aebbd0; }
@media (max-width: 900px) {
  .site-header { height: 74px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--navy); padding: 1rem 1.5rem 1.5rem; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; }
  .site-nav .nav-cta { text-align: center; margin-top: .5rem; }
  .hero { min-height: 630px; }
  .hero-copy { width: 95%; padding-top: 7rem; }
  .intro-grid, .experience-content, .contact-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; }
  .service-card:last-child .service-image { height: 230px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; row-gap: 1rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .5rem; }
}
@media (max-width: 560px) {
  .hero { min-height: 650px; }
  .hero-copy { padding: 6rem 1.3rem 7rem; width: 100%; }
  .hero h1, .hero h2 { font-size: 2.7rem; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,17,36,.93), rgba(10,25,49,.62)); }
  .carousel-controls { left: 1.25rem; right: auto; bottom: 1.3rem; }
  .service-grid, .sector-grid, .process-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p, .site-footer small { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero-image { transform: none !important; }
  .hero-slide.active .hero-copy { animation: none !important; }
}