:root {
  --ink: #0b2030;
  --ink-soft: #334b58;
  --paper: #f5f7f2;
  --white: #ffffff;
  --line: #cfdbd9;
  --blue: #005d73;
  --blue-deep: #08364a;
  --blue-black: #061c29;
  --orange: #f26a2e;
  --lime: #cbe856;
  --shell: min(1180px, calc(100% - 40px));
  --shadow: 0 30px 70px rgba(5, 31, 43, .14);
}

.preview-banner {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  align-items: baseline;
  justify-content: center;
  padding: .55rem 20px;
  background: var(--orange);
  color: #fff;
  font-size: .82rem;
  text-align: center;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.shell { width: var(--shell); margin-inline: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(207, 219, 217, .8);
  background: rgba(245, 247, 242, .94);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo { width: 44px; height: auto; }

.brand-type {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: .035em;
}

.brand-type span { color: var(--blue); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
}

.main-nav a {
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:not(.nav-cta) { position: relative; }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--orange);
  transition: right .2s ease;
}
.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta):focus-visible::after { right: 0; }

.nav-cta {
  padding: 10px 17px;
  color: #fff;
  background: var(--ink);
}

.nav-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 79% 18%, rgba(203, 232, 86, .18), transparent 30%),
    linear-gradient(125deg, #f7f9f4 0%, #edf3ef 100%);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding-block: clamp(64px, 9vh, 110px) 60px;
}

.hero-layout > *,
.hero-copy {
  min-width: 0;
  max-width: 100%;
}

.eyebrow,
.kicker {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow span::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
}

h1, h2, h3, p { overflow-wrap: break-word; }

h1, h2 {
  margin: 0;
  line-height: .98;
  letter-spacing: -.045em;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 6.2vw, 5.8rem);
}

h1 em, h2 em {
  color: var(--blue);
  font-family: Georgia, serif;
  font-weight: 500;
}

.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 13px 19px;
  font-weight: 750;
  text-decoration: none;
  border: 0;
  font-size: .96rem;
  font-family: inherit;
  cursor: pointer;
}

.button-primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 14px 28px rgba(242, 106, 46, .22);
}

.text-link {
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.button:focus-visible,
.text-link:focus-visible,
.nav-toggle:focus-visible,
.main-nav a:focus-visible,
.site-footer a:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.hero-photo {
  position: relative;
  margin: 0;
  box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1500 / 710; object-fit: cover; }
.hero-photo figcaption {
  padding: 10px 14px;
  color: #fff;
  background: var(--blue-deep);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero-foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 30px;
  color: var(--ink-soft);
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-foot p { margin: 0; white-space: nowrap; }
.hero-foot span { width: 100%; height: 1px; background: var(--line); }

.section { padding-block: clamp(80px, 11vw, 140px); }

.section-heading {
  display: grid;
  grid-template-columns: .55fr 1.3fr .85fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
  margin-bottom: 60px;
}

.section-heading h2,
.workflow h2,
.team-copy h2,
.contact h2 {
  font-size: clamp(2.5rem, 4.6vw, 4.6rem);
}

.section-heading > p:last-child,
.team-copy > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.service-list { border-top: 1px solid var(--line); }
.service-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.service-number {
  margin: 7px 0 0;
  color: var(--orange);
  font: 800 .76rem/1 monospace;
}
.service-item h3 { margin: 0 0 8px; font-size: clamp(1.3rem, 2.2vw, 2rem); }
.service-item p:not(.service-number) { max-width: 720px; margin: 0; color: var(--ink-soft); }
.service-arrow { margin-top: 2px; font-size: 1.6rem; color: var(--blue); }

.equipment {
  color: #fff;
  background: var(--blue-black);
}

.equipment .shell {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(45px, 7vw, 100px);
}

.kicker.light { color: var(--lime); }
.equipment-intro h2 em { color: var(--lime); }
.equipment-intro > p:last-child { margin-top: 30px; color: #afc1c8; }

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18);
}

.equipment-card {
  min-height: 260px;
  padding: 30px;
  background: #092636;
}

.equipment-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 40px;
  border: 1px solid rgba(255,255,255,.34);
  color: var(--lime);
  font: 800 .78rem/1 monospace;
}

.card-meta { margin: 0 0 10px; color: #82a4b0; font: 750 .7rem/1.3 monospace; letter-spacing: .1em; }
.equipment-card h3 { margin: 0 0 12px; font-size: 1.24rem; }
.equipment-card > p:last-child { margin: 0; color: #b9c8ce; font-size: .93rem; }
.equipment-note { background: var(--lime); color: var(--ink); }
.equipment-note .card-meta,
.equipment-note > p:last-child { color: #40522a; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.project-card { border: 1px solid var(--line); background: var(--white); }
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-body { padding: 24px; }
.project-body h3 { margin: 0 0 14px; font-size: 1.35rem; }
.project-body .card-meta { color: var(--blue); }
.project-body dl { margin: 0; }
.project-body dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.project-body dt { color: var(--ink-soft); font-weight: 700; font-size: .85rem; }
.project-body dd { margin: 0; font-size: .9rem; }

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.workflow-steps li { display: grid; gap: 6px; }
.workflow-steps b { color: var(--orange); font: 800 .76rem/1 monospace; }
.workflow-steps h3 { margin: 4px 0 0; font-size: 1.2rem; }
.workflow-steps p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

.team-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(55px, 9vw, 140px);
}
.team-copy > p:last-child { margin-top: 22px; }
.team-ai-link { color: var(--ink-soft); font-size: .95rem; }
.team-ai-link a { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.role-stack { border-top: 1px solid var(--line); }
.role-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.role-card > span { color: var(--orange); font: 800 .72rem/1.5 monospace; }
.role-card h3 { margin: 0 0 7px; font-size: 1.35rem; }
.role-card p { margin: 0; color: var(--ink-soft); }

.contact {
  padding-block: clamp(80px, 10vw, 125px);
  color: #fff;
  background: var(--blue);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}
.contact h2 { max-width: 750px; }
.contact-copy { max-width: 670px; margin: 28px 0 24px; color: #d0e5e8; font-size: 1.08rem; }
.contact-panel { padding: 30px; border: 1px solid rgba(255,255,255,.32); background: rgba(5,40,54,.18); }
.contact-label { margin: 0 0 20px; color: var(--lime); font: 800 .7rem/1 monospace; letter-spacing: .14em; }
.contact-panel dl { margin: 0; }
.contact-panel dl > div { display: grid; grid-template-columns: 95px 1fr; gap: 18px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.2); }
.contact-panel dt { color: #acd0d7; }
.contact-panel dd { margin: 0; font-weight: 700; }
.contact-panel dd a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-hint { margin: 20px 0 0; color: #c8e0e4; font-size: .8rem; line-height: 1.55; }

.demo-form { display: grid; gap: 16px; max-width: 560px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-size: .86rem; font-weight: 700; color: #d0e5e8; }
.form-row input, .form-row textarea {
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(5,40,54,.35);
  color: #fff;
  font: inherit;
  font-size: .95rem;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #9dc0c6; }
.demo-form .button { justify-self: start; }
.form-status { margin: 0; min-height: 1.2em; font-weight: 700; color: var(--lime); font-size: .9rem; }
.form-preview {
  margin: 0;
  padding: 14px;
  background: rgba(3,26,36,.55);
  border: 1px solid rgba(255,255,255,.25);
  color: #d0e5e8;
  font-size: .82rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.site-footer { color: #d0dce1; background: var(--blue-black); }
.footer-inner { min-height: 110px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 30px; padding-block: 24px; }
.footer-brand .brand-type { color: #fff; }
.footer-brand .brand-type span { color: var(--lime); }
.footer-inner p { margin: 0; text-align: center; font-size: .76rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: .8rem; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { text-decoration: underline; }
.footer-inner > a:last-child { font-size: .85rem; text-decoration: none; }

@media (max-width: 920px) {
  .hero-layout,
  .equipment .shell,
  .team-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .hero-layout { gap: 44px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading .kicker { margin-bottom: 0; }
  .section-heading > p:last-child { max-width: 650px; }
  .equipment-intro { max-width: 670px; }
  .contact-panel { max-width: 650px; }
  .project-grid { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 1180px); }
  html { scroll-padding-top: 70px; }
  .header-inner { min-height: 68px; }
  .nav-toggle {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle span[aria-hidden="true"] { width: 24px; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span[aria-hidden="true"]:first-of-type { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span[aria-hidden="true"]:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    inset: 68px 0 auto;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px 14px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 28px rgba(5,31,43,.12);
  }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 14px 10px; }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .main-nav .nav-cta { margin-top: 7px; text-align: center; }
  h1 { font-size: clamp(2.6rem, 12.5vw, 4.2rem); }
  .hero-layout { padding-block: 60px 40px; }
  .hero-copy { width: 100%; }
  .service-item { grid-template-columns: 44px 1fr; gap: 14px; }
  .service-arrow { display: none; }
  .equipment-grid { grid-template-columns: 1fr; }
  .equipment-card { min-height: 220px; }
  .equipment-icon { margin-bottom: 28px; }
  .workflow-steps { grid-template-columns: 1fr; gap: 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  :root { --shell: min(calc(100% - 28px), 362px); }
  .shell { margin-left: 14px; margin-right: auto; }
  .brand-type { font-size: 1rem; }
  .brand-logo { width: 36px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .project-card img { aspect-ratio: 16 / 11; }
}

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