:root {
  --ink: #002a52;
  --ink-2: #073b68;
  --ink-3: #0a477b;
  --paper: #f7f9fb;
  --white: #ffffff;
  --text: #172331;
  --muted: #607083;
  --line: rgba(0, 42, 82, 0.13);
  --blue-soft: #eaf1f7;
  --shadow: 0 24px 70px rgba(0, 42, 82, 0.14);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  border-radius: 12px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-shell {
  width: min(calc(100% - 40px), 1280px);
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { width: 172px; }
.brand img { width: 100%; height: 66px; object-fit: contain; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 34px); }
.site-nav a {
  position: relative;
  color: #304255;
  font-size: .93rem;
  font-weight: 650;
  transition: color .2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--ink);
  transition: right .25s ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-weight: 750;
  font-size: .9rem;
  box-shadow: 0 10px 24px rgba(0,42,82,.16);
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(820px, calc(100vh - 82px));
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.12), transparent 24%),
    linear-gradient(135deg, #001f3e 0%, #002a52 52%, #063e70 100%);
  color: var(--white);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.8), transparent 92%);
  mask-image: linear-gradient(to right, rgba(0,0,0,.8), transparent 92%);
}
.hero-ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  transform: rotate(-12deg);
  pointer-events: none;
}
.hero-ring-a { width: 760px; height: 270px; right: -170px; top: 120px; }
.hero-ring-b { width: 620px; height: 210px; right: -90px; top: 210px; }
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(50px, 7vw, 100px);
  align-items: center;
  padding: 90px 0 116px;
}
.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 800;
  color: rgba(255,255,255,.72);
}
.eyebrow.dark { color: var(--ink-3); }
.hero h1, .section h2, .contact-section h2 {
  margin: 0;
  letter-spacing: -.04em;
  line-height: 1.03;
}
.hero h1 { max-width: 750px; font-size: clamp(3rem, 6vw, 5.7rem); }
.hero-lead { max-width: 700px; margin: 28px 0 0; font-size: clamp(1.12rem, 1.7vw, 1.42rem); color: rgba(255,255,255,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--ink); background: var(--white); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.btn-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.btn-white { color: var(--ink); background: var(--white); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 48px; }
.fact {
  min-width: 150px;
  padding-left: 18px;
  border-left: 2px solid rgba(255,255,255,.32);
}
.fact strong { display: block; font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.1; }
.fact span { display: block; margin-top: 6px; color: rgba(255,255,255,.66); font-size: .88rem; }
.fact-wide { min-width: 280px; }
.fact-wide strong { font-size: 1.02rem; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.logo-stage {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1.48/1;
  display: grid;
  place-items: center;
  border-radius: 36px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 30px 80px rgba(0,0,0,.24);
  transform: rotate(-2.2deg);
}
.logo-stage::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(0,42,82,.13);
  border-radius: 27px;
}
.logo-stage img { position: relative; z-index: 2; width: 88%; }
.logo-halo {
  position: absolute;
  inset: -55px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 42%;
  transform: rotate(7deg);
}
.experience-card {
  position: absolute;
  right: -12px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  border-radius: 18px;
  background: #071c31;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
}
.experience-number { font-size: 2rem; line-height: 1; font-weight: 900; }
.experience-copy { max-width: 74px; font-size: .82rem; line-height: 1.15; color: rgba(255,255,255,.7); }
.scroll-cue {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 25px;
  width: 30px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  transform: translateX(-50%);
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  border-radius: 99px;
  background: var(--white);
  transform: translateX(-50%);
  animation: scrollDot 1.7s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100% { transform: translate(-50%,0); opacity:.5; } 50% { transform: translate(-50%,14px); opacity:1; } }

.section { padding: 112px 0; }
.section-light { background: var(--paper); }
.section-ink { background: #061d33; color: var(--white); }
.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(44px, 8vw, 105px); align-items: center; }
.section-heading h2, .contact-section h2 { color: var(--ink); font-size: clamp(2.45rem, 4.8vw, 4.5rem); }
.section-heading.centered { max-width: 820px; margin: 0 auto 52px; text-align: center; }
.section-ink .section-heading h2, .values-section .section-heading h2, .contact-section h2 { color: var(--white); }
.section-intro { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: 1.1rem; }
.section-intro.pale { color: rgba(255,255,255,.63); }
.centered .section-intro { margin-left: auto; margin-right: auto; }

.statement-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.statement-mark {
  position: absolute;
  right: -16px;
  top: -60px;
  font-size: 11rem;
  line-height: 1;
  font-weight: 950;
  color: rgba(0,42,82,.045);
}
.statement-card p { position: relative; z-index: 2; margin: 0; font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 720; }
.statement-card .statement-small { font-size: 1rem; font-weight: 620; color: var(--muted); }
.statement-line { width: 60px; height: 2px; margin: 28px 0; background: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.product-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.28); background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.035)); }
.product-index { color: rgba(255,255,255,.42); font-size: .8rem; letter-spacing: .16em; }
.product-icon { height: 150px; display: grid; place-items: center; }
.product-icon > span { display: block; }
.shape-round { width: 92px; height: 92px; border: 18px solid rgba(255,255,255,.82); border-radius: 50%; box-shadow: inset 0 0 0 5px rgba(0,42,82,.6), 0 16px 36px rgba(0,0,0,.22); }
.shape-metal { width: 120px; height: 72px; border-radius: 20px; background: linear-gradient(90deg, #b6c1cc 0 20%, #122d47 20% 80%, #b6c1cc 80%); box-shadow: 0 16px 36px rgba(0,0,0,.22); transform: rotate(-8deg); }
.shape-extruded { width: 132px; height: 34px; border-radius: 999px; border: 10px solid rgba(255,255,255,.83); box-shadow: 0 16px 36px rgba(0,0,0,.22); transform: rotate(14deg); }
.product-card h3 { margin: 8px 0 8px; font-size: 1.5rem; }
.product-card p { margin: 0; color: rgba(255,255,255,.62); }
.precision-band {
  margin-top: 22px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: .7fr 1fr 1.6fr;
  gap: 24px;
  align-items: center;
  border-radius: 22px;
  background: var(--white);
  color: var(--ink);
}
.precision-kicker { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 800; }
.precision-band strong { font-size: 1.4rem; }
.precision-note { color: var(--muted); font-size: .94rem; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  padding: clamp(34px, 5vw, 54px);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.mv-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  bottom: -120px;
  border: 34px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.mv-card.mission { color: var(--white); background: linear-gradient(145deg, var(--ink), #084a7d); }
.mv-card.vision { color: var(--text); background: var(--white); }
.mv-card.vision::after { border-color: rgba(0,42,82,.05); }
.mv-label { display: inline-flex; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; }
.mv-card.vision .mv-label { background: var(--blue-soft); color: var(--ink); }
.mv-card h3 { position: relative; z-index: 1; margin: 36px 0 18px; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.06; letter-spacing: -.035em; }
.mv-card p { position: relative; z-index: 1; margin: 0; max-width: 650px; font-size: 1.03rem; }
.mv-card.mission p { color: rgba(255,255,255,.75); }
.mv-card.vision p { color: var(--muted); }

.values-section { background: linear-gradient(145deg, #002a52, #071c31); color: var(--white); }
.values-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 8vw, 100px); align-items: start; }
.values-list { border-top: 1px solid rgba(255,255,255,.16); }
.value-row { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.value-no { padding-top: 5px; color: rgba(255,255,255,.36); font-size: .8rem; letter-spacing: .15em; }
.value-row h3 { margin: 0 0 8px; font-size: 1.4rem; }
.value-row p { margin: 0; color: rgba(255,255,255,.66); }

.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 850px; margin: 0 auto; }
.client-chip {
  min-height: 150px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(0,42,82,.08);
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 850;
  letter-spacing: -.03em;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  color: var(--white);
  background: #001d39;
}
.contact-pattern {
  position: absolute;
  inset: 0;
  opacity: .23;
  background-image:
    linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.06) 48% 50%, transparent 50% 100%);
  background-size: 55px 55px;
}
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 100px); align-items: center; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.67); font-size: 1.04rem; }
.contact-copy .btn { margin-top: 18px; }
.contact-card {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
}
.contact-card dl { margin: 0; }
.contact-card dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.contact-card dl > div:first-child { padding-top: 0; }
.contact-card dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-card dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; color: rgba(255,255,255,.47); font-weight: 850; }
.contact-card dd { margin: 0; color: rgba(255,255,255,.86); }

.site-footer { padding: 30px 0; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 180px 1fr auto; gap: 28px; align-items: center; }
.footer-grid img { width: 170px; height: 68px; object-fit: contain; }
.footer-grid p { margin: 0; color: var(--muted); font-size: .88rem; }
.footer-grid a { color: var(--ink); font-weight: 800; font-size: .9rem; }

.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 900;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 42px rgba(0,0,0,.26); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

.reveal { opacity: 1; transform: none; }
.reveal.reveal-pending { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.25,1); }
.reveal.reveal-pending.visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 1020px) {
  .header-shell { grid-template-columns: 160px 1fr auto; }
  .brand { width: 154px; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: .82rem; }
  .hero-content { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 800px; }
  .hero-visual { min-height: 410px; }
  .logo-stage { width: min(78vw, 520px); }
  .split, .values-layout, .contact-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card:last-child { grid-column: 1 / -1; }
  .precision-band { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .header-shell { min-height: 74px; grid-template-columns: 1fr auto; gap: 12px; }
  .brand { width: 142px; }
  .brand img { height: 58px; }
  .header-cta { display: none; }
  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--blue-soft);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 3px; transition: transform .25s ease, opacity .25s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 20px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-125%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
    box-shadow: 0 24px 40px rgba(0,42,82,.08);
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .hero { min-height: auto; }
  .hero-content { padding: 64px 0 100px; }
  .hero h1 { font-size: clamp(2.8rem, 11vw, 4.8rem); }
  .hero-visual { min-height: 350px; }
  .experience-card { right: 4%; bottom: 6px; }
  .section { padding: 86px 0; }
  .mv-grid { grid-template-columns: 1fr; }
  .mv-card { min-height: auto; }
  .client-grid { grid-template-columns: 1fr; }
  .client-chip { min-height: 105px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 10px; }
}

@media (max-width: 620px) {
  .wrap, .header-shell { width: min(calc(100% - 28px), var(--max)); }
  .hero-content { gap: 34px; }
  .hero-lead { font-size: 1.08rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-facts { display: grid; grid-template-columns: 1fr; }
  .fact, .fact-wide { min-width: 0; }
  .hero-visual { min-height: 275px; }
  .logo-stage { width: 100%; border-radius: 24px; }
  .logo-stage::before { border-radius: 17px; }
  .logo-halo { display: none; }
  .experience-card { right: 6px; bottom: -12px; padding: 12px 15px; }
  .experience-number { font-size: 1.6rem; }
  .scroll-cue { display: none; }
  .section { padding: 72px 0; }
  .section-heading h2, .contact-section h2 { font-size: clamp(2.25rem, 11vw, 3.5rem); }
  .product-grid { grid-template-columns: 1fr; }
  .product-card:last-child { grid-column: auto; }
  .product-card { min-height: 300px; }
  .mv-card { padding: 30px 26px; border-radius: 24px; }
  .value-row { grid-template-columns: 42px 1fr; }
  .contact-card dl > div { grid-template-columns: 1fr; gap: 6px; }
  .contact-section { padding: 78px 0; }
  .wa-float { width: 54px; height: 54px; }
}
