@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --primary-blue: #246aa5 !important;
  --accent-green: #8fd438 !important;
  --light-gray: #eaf0f5 !important;
  --medium-gray: #677785 !important;
  --text-dark: #132f49 !important;
  --ink: #102f4a;
  --lime: #8fd438;
  --sand: #f5f7f8;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif !important; background: var(--sand); }
h1, h2, h3, h4, .logo-text { font-family: 'Manrope', sans-serif; letter-spacing: -.035em; }

nav {
  background: rgba(245,247,248,.95) !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(16,47,74,.14);
  padding: .85rem 1.5rem !important;
  backdrop-filter: blur(14px);
}
.nav-container { max-width: 1400px !important; }
.logo-icon { width: 42px !important; height: 42px !important; }
.logo-text { color: var(--ink) !important; font-size: 1.12rem !important; text-transform: uppercase; letter-spacing: .08em; }
.nav-links { gap: .35rem !important; }
.nav-links a { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: .65rem .85rem !important; }
.nav-links a:hover { color: var(--primary-blue) !important; background: rgba(36,106,165,.09); }

.hero {
  min-height: 82vh;
  padding: 8rem max(1.25rem, 6vw) 4rem !important;
  text-align: left !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background:
    linear-gradient(90deg, rgba(8,34,57,.92) 0%, rgba(8,34,57,.62) 55%, rgba(8,34,57,.2) 100%),
    url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=2200&q=88') center/cover !important;
}
.hero::before { content: 'LONG-TERM OWNERSHIP  /  ESSENTIAL SERVICES'; color: var(--lime); font-size: .73rem; font-weight: 700; letter-spacing: .17em; margin-bottom: 1.4rem; }
.hero h1 { max-width: 920px; font-size: clamp(3rem, 7.5vw, 7.2rem) !important; line-height: .94 !important; font-weight: 600; margin-bottom: 1.6rem !important; }
.hero p { max-width: 650px !important; margin: 0 0 2rem !important; font-size: clamp(1rem, 1.7vw, 1.35rem) !important; line-height: 1.55; }
.hero-buttons { justify-content: flex-start !important; }

.btn { border-radius: 0 !important; padding: .95rem 1.3rem !important; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; border: 1px solid transparent; }
.btn::after { content: '  ↗'; }
.btn-secondary { color: var(--ink) !important; }
.btn-outline { border-width: 1px !important; }

section { padding: clamp(5rem, 9vw, 9rem) max(1.25rem, 5vw) !important; }
.container { max-width: 1400px !important; }
.section-title { color: var(--ink) !important; font-size: clamp(2.2rem, 5vw, 5.4rem) !important; line-height: 1; text-align: left !important; max-width: 980px; }
.accent-line { margin: 1.4rem 0 2.25rem !important; width: 86px !important; height: 2px !important; }
.intro-text { text-align: left !important; margin: 0 0 4rem !important; max-width: 840px !important; font-size: clamp(1.05rem, 1.5vw, 1.35rem) !important; }
.section-light { background: var(--sand) !important; }
.section-gray { background: var(--ink) !important; color: white; }
.section-gray .section-title, .section-gray h4 { color: white !important; }
.section-gray p, .section-gray li { color: rgba(255,255,255,.84) !important; }
.section-gray .value-prop h4,
.section-gray .card h3,
.section-gray .process-step h3,
.section-gray .advantage-item h3 { color: white !important; }
.section-gray .card { background: rgba(255,255,255,.07) !important; color: white !important; }
.section-gray .card:hover { background: var(--primary-blue) !important; }

/* Requested information sections use a clean white canvas. */
.section-gray.requested-white-section {
  background: #ffffff !important;
  color: var(--ink) !important;
}
.section-gray.requested-white-section .section-title,
.section-gray.requested-white-section h3,
.section-gray.requested-white-section h4 {
  color: var(--ink) !important;
}
.section-gray.requested-white-section p,
.section-gray.requested-white-section li {
  color: #425565 !important;
}
.section-gray.requested-white-section .value-props,
.section-gray.requested-white-section .cards-grid {
  background: rgba(36,106,165,.15) !important;
}
.section-gray.requested-white-section .value-prop,
.section-gray.requested-white-section .card {
  background: #ffffff !important;
  border-color: rgba(36,106,165,.16) !important;
}
.section-gray.requested-white-section .card:hover {
  background: #eaf0f5 !important;
}

.cards-grid { gap: 1px !important; background: rgba(16,47,74,.18); }
.card { border-radius: 0 !important; box-shadow: none !important; text-align: left !important; padding: clamp(2rem, 4vw, 4rem) !important; }
.card:hover { transform: none !important; background: var(--lime); }
.card-icon, .value-prop-icon { filter: none; overflow: hidden; background: var(--light-gray); }
.card-icon { width: 100%; height: 190px; margin: -1rem 0 1.5rem !important; }
.card-icon img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-icon img { transform: scale(1.045); }
.value-prop-icon { width: 104px; height: 88px; flex: 0 0 104px !important; }
.value-prop-icon img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s ease; }
.value-prop:hover .value-prop-icon img { transform: scale(1.06); }
.blog-image { overflow: hidden !important; padding: 0 !important; background: var(--ink) !important; }
.blog-image img { width: 100%; height: 100%; min-height: 190px; display: block; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.blog-card:hover .blog-image img { transform: scale(1.055); }
.contact-icon { width: 72px !important; height: 64px !important; overflow: hidden; flex: 0 0 72px !important; background: var(--light-gray); }
.contact-icon img { width: 100%; height: 100%; display: block; object-fit: cover; }
.contact-icon:not(:has(img)) { display: grid; place-items: center; font-size: 2rem; background: #ffffff; border: 1px solid rgba(36,106,165,.16); }
.card h3 { color: var(--ink) !important; font-size: 1.7rem !important; }

.value-props { gap: 1px !important; background: rgba(255,255,255,.18); }
.value-prop { border-radius: 0 !important; box-shadow: none !important; padding: 2.25rem !important; background: transparent !important; border-bottom: 1px solid rgba(16,47,74,.14); }
.section-gray .value-prop { border-color: rgba(255,255,255,.16); }
.value-prop h4 { color: var(--ink) !important; font-size: 1.35rem !important; }

.impact-strip { background: var(--lime); color: var(--ink); padding: 0 max(1.25rem, 5vw) !important; }
.impact-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.impact-item { padding: 2.4rem 1.5rem; border-right: 1px solid rgba(16,47,74,.24); }
.impact-item:first-child { border-left: 1px solid rgba(16,47,74,.24); }
.impact-item strong { display: block; font: 600 clamp(2rem,4vw,4.5rem)/1 'Manrope'; letter-spacing: -.06em; }
.impact-item span { text-transform: uppercase; font-size: .7rem; letter-spacing: .13em; font-weight: 700; }

.film-section { position: relative; min-height: 70vh; padding: 0 !important; overflow: hidden; display: grid; place-items: end start; background: #0b2943; }
.film-section video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.film-section::after { content:''; position:absolute; inset:0; background: linear-gradient(0deg,rgba(8,34,57,.94),rgba(8,34,57,.06) 72%); }
.film-copy { position: relative; z-index: 1; color: white; padding: clamp(2rem,6vw,6rem); max-width: 900px; }
.film-copy .kicker { color: var(--lime); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; }
.film-copy h2 { font-size: clamp(2.5rem,6vw,6rem); line-height: .98; margin: 1rem 0; }
.film-copy p { max-width: 620px; font-size: 1.15rem; }

.cta-section { background: var(--lime) !important; color: var(--ink) !important; text-align: left !important; }
.cta-section h2 { font-size: clamp(2.6rem,6vw,6rem) !important; line-height: .95; max-width: 900px; }
.cta-section p { margin: 1.5rem 0 2rem !important; max-width: 640px !important; }
.cta-section .btn-secondary { background: var(--ink) !important; color: white !important; }
.cta-section .btn-outline { border-color: var(--ink) !important; color: var(--ink) !important; }
footer { background: #09263e !important; padding: 4rem max(1.25rem,5vw) 2rem !important; }

@media (max-width: 767px) {
  .hero { min-height: 76vh; padding-top: 7rem !important; }
  .impact-grid { grid-template-columns: repeat(2,1fr); }
  .impact-item:nth-child(3) { border-left: 1px solid rgba(16,47,74,.24); }
  .nav-links { background: var(--sand); padding-bottom: 1rem; }
  .nav-toggle { color: var(--ink) !important; }
  .value-prop-icon { width: 84px; height: 72px; flex-basis: 84px !important; }
}

/* Refined interaction layer */
body { opacity: 1; transition: opacity .24s ease; }
body.page-leaving { opacity: 0; }
.page-progress {
  position: fixed; inset: 0 0 auto; height: 3px; z-index: 2000;
  transform: scaleX(0); transform-origin: left; background: var(--lime);
  box-shadow: 0 0 18px rgba(143,212,56,.48); pointer-events: none;
}
nav { transition: padding .3s ease, background .3s ease, box-shadow .3s ease; }
nav.nav-scrolled { padding-top: .55rem !important; padding-bottom: .55rem !important; box-shadow: 0 14px 40px rgba(16,47,74,.1) !important; }
.nav-links a { position: relative; }
.nav-links a::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-active { color: var(--primary-blue) !important; }
.btn { position: relative; overflow: hidden; isolation: isolate; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease !important; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(16,47,74,.18); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .back-to-top:focus-visible, .film-control:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }

.js-enhanced .reveal-item { opacity: 0; transform: translateY(24px); transition: opacity .75s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms), transform .75s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms); }
.js-enhanced .reveal-item.is-revealed { opacity: 1; transform: translateY(0); }
.interactive-surface { --tilt-x: 0deg; --tilt-y: 0deg; transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transition: transform .2s ease, background .3s ease, box-shadow .3s ease !important; position: relative; overflow: hidden; }
.interactive-surface::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--glow-x,50%) var(--glow-y,50%), rgba(143,212,56,.17), transparent 38%); transition: opacity .3s ease; }
.interactive-surface:hover::after { opacity: 1; }

.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1200; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: var(--ink); color: white; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, visibility .25s; box-shadow: 0 14px 35px rgba(16,47,74,.22); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-blue); transform: translateY(-3px); }
.film-control { position: absolute; z-index: 3; right: clamp(1.25rem,4vw,4rem); bottom: clamp(1.25rem,4vw,4rem); padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.5); background: rgba(8,34,57,.52); color: white; font: 600 .7rem/1 'DM Sans'; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(10px); transition: background .25s ease, border-color .25s ease; }
.film-control:hover { background: var(--primary-blue); border-color: var(--lime); }

.industry-visual { position: relative; height: clamp(340px,52vw,720px); margin: 0; overflow: hidden; background: var(--ink); isolation: isolate; }
.industry-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.015); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .35s ease; }
.industry-visual:hover img { transform: scale(1.045); }
.industry-visual-shade { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(8,34,57,.9),rgba(8,34,57,.05) 68%); }
.industry-visual figcaption { position: absolute; z-index: 2; left: max(1.25rem,6vw); right: max(1.25rem,6vw); bottom: clamp(2rem,6vw,5rem); color: white; display: grid; gap: .9rem; }
.industry-visual-sector { color: var(--lime); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.industry-visual strong { max-width: 900px; font: 600 clamp(1.8rem,4.2vw,4.5rem)/1.02 'Manrope'; letter-spacing: -.045em; }
.industry-visual img[src=""] { opacity: 0; }

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