:root {
  --background: #F7F8FA;
  --surface: #FFFFFF;
  --navy: #061B2D;
  --secondary: #5D6975;
  --accent: #3D6FA6;
  --border: #DCE3EA;
  --border-soft: rgba(220, 227, 234, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--navy);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 30;
  transform: translateY(-160%);
  padding: 0.65rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--navy);
}

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

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

.site-shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

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

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 148px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  color: var(--secondary);
  font-size: 0.86rem;
  font-weight: 560;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: var(--border);
}

.hero::before {
  top: 28%;
  right: 9%;
  width: min(38vw, 520px);
  height: 1px;
}

.hero::after {
  top: 18%;
  right: 16%;
  width: 1px;
  height: 55%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(6.5rem, 11vw, 10rem) 0 clamp(5.5rem, 8vw, 7.25rem);
}

.eyebrow,
.section-label {
  margin: 0 0 1.2rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.7rem, 5.1vw, 4.72rem);
  line-height: 1.08;
  font-weight: 540;
  letter-spacing: 0;
}

.hero-body {
  max-width: 720px;
  margin: 2rem 0 0;
  color: var(--secondary);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.72;
}

.hero-support {
  max-width: 720px;
  margin: 2.1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 620;
}

.section {
  padding: clamp(4.7rem, 8vw, 7rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 1.12;
  font-weight: 560;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.85rem;
  font-size: 1.04rem;
  line-height: 1.3;
  font-weight: 620;
}

.focus-section {
  background: var(--surface);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.focus-item {
  min-height: 240px;
  padding: clamp(1.45rem, 2.2vw, 2rem);
  border-right: 1px solid var(--border);
}

.focus-item:last-child {
  border-right: 0;
}

.item-index {
  display: block;
  margin-bottom: 2.4rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 680;
  letter-spacing: 0.1em;
}

.focus-item p,
.engineering-copy p,
.contact-details,
.site-footer {
  color: var(--secondary);
}

.focus-item p,
.engineering-copy p {
  margin: 0;
  line-height: 1.68;
}

.engineering-section {
  background: var(--background);
  border-block: 1px solid var(--border-soft);
}

.engineering-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(340px, 0.9fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.engineering-copy p {
  max-width: 560px;
  margin-top: 1.45rem;
}

.technical-visual {
  position: relative;
  min-height: 420px;
  border-left: 1px solid var(--border);
}

.technical-visual svg {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.visual-frame path {
  fill: none;
  stroke: rgba(6, 27, 45, 0.1);
  stroke-width: 1;
}

.contours path {
  fill: none;
  stroke: rgba(6, 27, 45, 0.15);
  stroke-width: 1;
}

.measurement path {
  fill: none;
  stroke: rgba(61, 111, 166, 0.42);
  stroke-width: 1.4;
}

.measurement circle {
  fill: var(--background);
  stroke: rgba(61, 111, 166, 0.52);
  stroke-width: 1.2;
}

.visual-notes {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 76px);
  border: 1px solid var(--border);
  color: #7A8794;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.visual-notes span {
  padding: 0.62rem 0.68rem;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.62);
}

.visual-notes span:last-child {
  border-right: 0;
}

.contact-section {
  background: var(--surface);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact-details {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.contact-details p {
  margin: 0;
}

.email-link {
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.2;
  font-weight: 560;
}

.contact-details dl {
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-details dt {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0.4rem 0 0;
  color: var(--navy);
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  padding: 1.35rem 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  align-items: center;
  font-size: 0.84rem;
}

.footer-logo {
  background: var(--surface);
}

.footer-logo img {
  width: 116px;
  height: auto;
}

.site-footer p {
  margin: 0.28rem 0;
}

.site-footer a {
  color: var(--navy);
}

@media (max-width: 900px) {
  .section-heading,
  .engineering-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .focus-item:last-child {
    border-bottom: 0;
  }

  .technical-visual {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 92px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.65rem;
  }

  .brand img {
    width: 132px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.84rem;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-inner {
    padding: 4.6rem 0 4.2rem;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .contact-details dl,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .technical-visual,
  .technical-visual svg {
    min-height: 320px;
  }

  .visual-notes {
    display: none;
  }
}
