:root {
  --navy: #0e3856;
  --navy-dark: #09283e;
  --blue: #2e678f;
  --blue-pale: #dce9f0;
  --orange: #f1692b;
  --orange-dark: #ca4d16;
  --ink: #17232b;
  --muted: #58666f;
  --line: #d2dde3;
  --paper: #f5f3ee;
  --white: #ffffff;
  --max: 1180px;
  --shadow: 0 20px 60px rgba(14, 56, 86, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(14, 56, 86, .12);
}
.header-inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: inline-block; width: 280px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  padding: .55rem;
  font: inherit;
  font-weight: 700;
}
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a {
  text-decoration: none;
  color: var(--navy-dark);
  font-size: .92rem;
  font-weight: 700;
}
.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible { color: var(--orange-dark); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .7rem 1.1rem;
  border: 2px solid var(--orange);
  border-radius: 4px;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover, .button:focus-visible {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
}
.button-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--navy); border-color: var(--navy); color: var(--white); }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 90px 0; }
.section-compact { padding: 64px 0; }
.section-tint { background: var(--paper); }
.section-blue { background: var(--navy); color: var(--white); }
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--orange-dark);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-blue .eyebrow { color: #ff9a69; }
h1, h2, h3 { margin-top: 0; color: var(--navy-dark); line-height: 1.08; letter-spacing: -.025em; }
h1 { margin-bottom: 1.4rem; font-size: clamp(2.8rem, 6vw, 5.25rem); max-width: 880px; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { margin-bottom: .6rem; font-size: 1.2rem; }
.section-blue h1, .section-blue h2, .section-blue h3 { color: var(--white); }
.lead { max-width: 760px; font-size: 1.19rem; color: var(--muted); }
.section-blue .lead { color: #dce9f0; }
.section-heading { max-width: 820px; margin-bottom: 3rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero {
  overflow: hidden;
  padding: 78px 0 86px;
  background:
    linear-gradient(90deg, rgba(14, 56, 86, .045) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(14, 56, 86, .045) 1px, transparent 1px) 0 0 / 42px 42px,
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  align-items: center;
  gap: 64px;
}
.hero h1 { font-size: clamp(3rem, 5.7vw, 5.5rem); }
.hero-copy .lead { max-width: 670px; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px 24px 24px -18px;
  border: 2px solid var(--orange);
  border-radius: 18px;
  z-index: 0;
}
.hero-visual img { position: relative; z-index: 1; width: 100%; box-shadow: var(--shadow); border-radius: 18px; }

.stat-strip { background: var(--navy-dark); color: var(--white); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat {
  min-height: 112px;
  padding: 1.5rem 2rem;
  border-left: 1px solid rgba(255,255,255,.17);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat:last-child { border-right: 1px solid rgba(255,255,255,.17); }
.stat-number { color: #ff9a69; font-size: 2rem; font-weight: 850; line-height: 1; }
.stat-label { font-size: .92rem; line-height: 1.35; }

.two-column { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: start; }
.body-copy p:first-child { margin-top: 0; }
.body-copy p:last-child { margin-bottom: 0; }
.industry-list { display: grid; gap: 1rem; }
.industry-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
}
.industry-card p { margin: 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-card { padding: 2rem; background: var(--white); }
.feature-number { display: block; margin-bottom: 1.7rem; color: var(--orange-dark); font-size: .78rem; font-weight: 800; letter-spacing: .16em; }
.feature-card p { margin-bottom: 0; color: var(--muted); }

.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.data-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.data-table th, .data-table td { padding: 1.25rem 1.3rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table th { background: var(--navy); color: var(--white); font-size: .83rem; letter-spacing: .05em; text-transform: uppercase; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:nth-child(even) td { background: #f3f7f9; }

.material-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.material-card { min-height: 220px; padding: 2rem; border: 1px solid var(--line); background: var(--white); position: relative; overflow: hidden; }
.material-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -80px;
  bottom: -95px;
  border: 24px solid var(--blue-pale);
  border-radius: 50%;
}
.material-card h3, .material-card p { position: relative; z-index: 1; }
.material-card p { margin-bottom: 0; color: var(--muted); }

.connection-list { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid rgba(255,255,255,.2); }
.connection-item { min-height: 220px; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.2); }
.connection-item:last-child { border-right: 0; }
.connection-item h3 { min-height: 2.6em; font-size: 1rem; }
.connection-item p { margin: 0; color: #dce9f0; font-size: .9rem; }
.connection-icon { width: 42px; height: 42px; margin-bottom: 2.8rem; color: #ff9a69; }

.capability-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: capabilities; }
.capability {
  counter-increment: capabilities;
  padding: 1.65rem;
  border-top: 3px solid var(--orange);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(14,56,86,.07);
}
.capability::before { content: "0" counter(capabilities); display: block; margin-bottom: 2rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .15em; }
.capability p { margin: 0; color: var(--muted); }

.page-hero { padding: 72px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 940px; }
.breadcrumb { margin-bottom: 2.5rem; color: var(--muted); font-size: .85rem; }
.breadcrumb a { color: var(--navy); text-underline-offset: 3px; }

.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; align-items: start; }
.contact-card { padding: 2rem; background: var(--navy); color: var(--white); }
.contact-card h2, .contact-card h3 { color: var(--white); }
.contact-card a { color: var(--white); text-underline-offset: 4px; }
.contact-detail { padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-detail:first-of-type { padding-top: .4rem; }
.contact-detail:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-label { display: block; margin-bottom: .3rem; color: #ff9a69; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.inquiry-form { padding: 2rem; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.form-field { display: grid; gap: .42rem; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { color: var(--navy-dark); font-size: .84rem; font-weight: 800; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem .85rem;
  border: 1px solid #9eafb9;
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.form-field textarea { min-height: 190px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 3px solid rgba(46, 103, 143, .22); border-color: var(--blue); }
.form-required { color: var(--orange-dark); }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.4rem; }
.form-status { margin: 0; font-size: .9rem; font-weight: 700; }
.form-status[data-state="success"] { color: #236a3b; }
.form-status[data-state="error"] { color: #a33121; }
.inquiry-form button[disabled] { cursor: wait; opacity: .72; transform: none; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.form-note { color: var(--muted); font-size: .88rem; }

.cta { background: var(--orange); color: var(--white); }
.cta-inner { min-height: 280px; display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.cta h2 { max-width: 780px; margin: 0; color: var(--white); }
.cta .button { flex: 0 0 auto; background: var(--navy-dark); border-color: var(--navy-dark); }
.cta .button:hover, .cta .button:focus-visible { background: var(--white); border-color: var(--white); color: var(--navy-dark); }

.site-footer { padding: 56px 0 26px; background: #071e2e; color: #dce9f0; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .75fr; gap: 70px; padding-bottom: 45px; }
.footer-logo { width: 260px; margin-bottom: 1.5rem; filter: brightness(0) invert(1); opacity: .92; }
.footer-copy { max-width: 470px; margin: 0; color: #b8cad5; }
.footer-heading { margin: 0 0 1rem; color: #ff9a69; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: .65rem; }
.footer-links a { color: #dce9f0; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #9fb5c2; font-size: .82rem; }

.error-page { min-height: 72vh; display: grid; place-items: center; text-align: center; background: var(--paper); }
.error-code { margin: 0; color: var(--orange); font-size: clamp(5rem, 14vw, 10rem); font-weight: 900; line-height: .9; }

@media (max-width: 980px) {
  .hero-grid, .two-column, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 52px; }
  .hero-visual { max-width: 700px; }
  .two-column { gap: 38px; }
  .connection-list { grid-template-columns: repeat(2, 1fr); }
  .connection-item { border-bottom: 1px solid rgba(255,255,255,.2); }
  .connection-item:nth-child(even) { border-right: 0; }
  .connection-item:last-child { grid-column: 1 / -1; min-height: auto; }
  .capability-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .header-inner { min-height: 74px; }
  .brand { width: 230px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    padding: 1.2rem 20px 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(14,56,86,.1);
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav .button { width: 100%; }
  .hero { padding-top: 58px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual::before { inset: -10px 12px 12px -10px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat, .stat:last-child { border: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
  .feature-grid, .material-grid, .capability-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .inquiry-form { padding: 1.25rem; }
  .connection-list { grid-template-columns: 1fr; }
  .connection-item, .connection-item:nth-child(even) { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .connection-item:last-child { grid-column: auto; border-bottom: 0; }
  .connection-icon { margin-bottom: 1.5rem; }
  .cta-inner { min-height: 340px; align-items: flex-start; justify-content: center; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

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