:root {
  --white: #ffffff;
  --navy: #061b3d;
  --navy-deep: #031833;
  --text: #10213e;
  --muted: #52627a;
  --teal: #008687;
  --teal-dark: #006f75;
  --line: #b9dadd;
  --line-soft: #dce8eb;
  --grid: rgba(0, 134, 135, 0.09);
  --content: 1400px;
  --gutter: clamp(24px, 4.5vw, 72px);
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  min-height: 104px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
}

.brand {
  width: fit-content;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(28px, 2.45vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}

.primary-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.primary-nav a,
.contact-link,
.footer-nav a {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.primary-nav a::after,
.contact-link::after,
.footer-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.contact-link:hover::after,
.contact-link:focus-visible::after,
.footer-nav a:hover::after,
.footer-nav a:focus-visible::after {
  transform: scaleX(1);
}

.contact-link {
  justify-self: end;
  color: var(--teal-dark);
}

.hero {
  display: grid;
  grid-template-columns: 51% 49%;
  min-height: 736px;
  border-bottom: 1px solid var(--line-soft);
}

.hero-copy {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 78px var(--gutter) 118px;
  background: var(--white);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
}

.hero h1 {
  max-width: 660px;
  color: var(--navy);
  font-size: clamp(58px, 5vw, 78px);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.hero-content > p {
  max-width: 660px;
  margin-top: 34px;
  color: var(--text);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3vw, 54px);
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 40px;
  border: 1px solid transparent;
  font-size: 18px;
  font-weight: 650;
  line-height: 1;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease,
    transform 180ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--teal);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 8px;
  border-bottom: 2px solid var(--teal);
  color: var(--teal-dark);
  font-size: 18px;
  font-weight: 650;
}

.text-action svg,
.row-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

.text-action:hover svg,
.text-action:focus-visible svg,
.row-link:hover svg,
.row-link:focus-visible svg {
  transform: translateX(4px);
}

.hero-media {
  min-width: 0;
  min-height: 736px;
  overflow: hidden;
  background: #e7f1f4;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.measurement {
  pointer-events: none;
}

.measurement::before,
.measurement::after,
.measure-line,
.measure-cross::before,
.measure-cross::after {
  position: absolute;
  background: rgba(0, 134, 135, 0.45);
  content: "";
}

.measurement-hero {
  position: absolute;
  right: 5%;
  bottom: 0;
  left: 0;
  height: 124px;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 28px,
    var(--grid) 29px,
    transparent 30px
  );
  border-bottom: 1px solid rgba(0, 134, 135, 0.55);
}

.measurement-hero::before {
  bottom: 0;
  left: 13%;
  width: 1px;
  height: 60px;
}

.measurement-hero::after {
  right: 13%;
  bottom: 0;
  width: 1px;
  height: 106px;
}

.measure-line {
  height: 1px;
}

.measure-line-long {
  right: 1%;
  bottom: 45px;
  width: 32%;
}

.measure-line-short {
  right: 20%;
  bottom: 82px;
  width: 16%;
}

.measure-cross {
  position: absolute;
  width: 12px;
  height: 12px;
}

.measure-cross::before {
  top: 5px;
  left: 0;
  width: 12px;
  height: 1px;
}

.measure-cross::after {
  top: 0;
  left: 5px;
  width: 1px;
  height: 12px;
}

.cross-one {
  right: 8%;
  bottom: 38px;
}

.cross-two {
  right: 34%;
  bottom: 77px;
}

.section-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(360px, 1fr);
  column-gap: clamp(38px, 4vw, 70px);
  padding: 86px var(--gutter) 94px;
  overflow: hidden;
}

.section-intro {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  width: min(900px, 70%);
  margin-bottom: 52px;
}

.section-label {
  margin-bottom: 20px;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.section-intro h2,
.process h2,
.closing h2 {
  color: var(--navy);
  font-size: clamp(44px, 4vw, 62px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.section-summary {
  max-width: 780px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.measurement-solutions {
  position: absolute;
  top: 0;
  right: 0;
  width: 37%;
  height: 260px;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.75;
}

.measurement-solutions .measure-line-long {
  right: 0;
  bottom: 86px;
  width: 72%;
}

.measurement-solutions .measure-line-short {
  right: 18%;
  bottom: 140px;
  width: 36%;
}

.measurement-solutions .cross-one {
  right: 12%;
  bottom: 80px;
}

.measurement-solutions .cross-two {
  right: 54%;
  bottom: 134px;
}

.solution-list {
  align-self: stretch;
  border-top: 1px solid var(--line);
}

.solution-row {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 150px;
  border-bottom: 1px solid var(--line);
}

.solution-number {
  align-self: stretch;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
  color: var(--teal-dark);
  font-family: var(--serif);
  font-size: 66px;
  font-variant-numeric: lining-nums;
  line-height: 1;
}

.solution-copy {
  padding: 26px 30px 26px 36px;
}

.solution-copy h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.solution-copy p {
  max-width: 600px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.row-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 4px 18px 18px;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}

.solutions-media {
  align-self: stretch;
  min-height: 600px;
  overflow: hidden;
  background: #eaf3f7;
}

.solutions-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.process {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-color: var(--navy-deep);
  background-image: linear-gradient(rgba(0, 134, 135, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 134, 135, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.process-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 86px var(--gutter) 108px;
}

.process-heading {
  width: min(820px, 80%);
}

.process h2 {
  color: var(--white);
}

.process-heading > p {
  max-width: 700px;
  margin-top: 20px;
  color: #d6e2eb;
  font-size: 19px;
  line-height: 1.6;
}

.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 74px;
  padding-top: 52px;
}

.process-rail::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--teal);
  content: "";
}

.process-rail::after {
  position: absolute;
  top: -5px;
  right: 0;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--teal);
  border-right: 1px solid var(--teal);
  content: "";
  transform: rotate(45deg);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
}

.process-node {
  position: absolute;
  top: -59px;
  left: 44px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: var(--navy-deep);
}

.process-number {
  color: #19a3aa;
  font-family: var(--serif);
  font-size: 62px;
  line-height: 0.95;
}

.process-step > div {
  padding-left: 22px;
  border-left: 1px solid rgba(31, 171, 176, 0.75);
}

.process-step h3 {
  font-size: 21px;
  line-height: 1.2;
}

.process-step p {
  margin-top: 9px;
  color: #d4e2ea;
  font-size: 15px;
  line-height: 1.55;
}

.closing {
  position: relative;
  display: flex;
  min-height: 470px;
  align-items: center;
  overflow: hidden;
  padding: 82px var(--gutter) 76px;
  border-bottom: 1px solid var(--line-soft);
}

.closing-copy {
  position: relative;
  z-index: 2;
  width: min(820px, 67%);
}

.closing-copy > p {
  max-width: 610px;
  margin: 22px 0 28px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.55;
}

.closing .button {
  min-height: 58px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  max-width: 760px;
  margin-top: 24px;
  color: var(--text);
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
}

.contact-details span {
  flex-basis: 100%;
}

.contact-details a {
  color: var(--teal-dark);
  border-bottom: 1px solid var(--line);
}

.contact-details a:hover,
.contact-details a:focus-visible {
  border-bottom-color: var(--teal);
}

.closing small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.measurement-closing {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  width: 38%;
  height: 78%;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 34px 34px;
}

.measurement-closing .measure-line-long {
  right: 0;
  bottom: 92px;
  width: 76%;
}

.measurement-closing .measure-line-short {
  right: 18%;
  bottom: 146px;
  width: 42%;
}

.measurement-closing .cross-one {
  right: 4%;
  bottom: 86px;
}

.measurement-closing .cross-two {
  right: 57%;
  bottom: 140px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  min-height: 152px;
  padding: 30px var(--gutter);
  background: var(--white);
}

.footer-brand {
  font-size: 28px;
}

.footer-brand-wrap p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-nav a:last-child {
  color: var(--teal-dark);
}

:focus-visible {
  outline: 3px solid rgba(0, 134, 135, 0.38);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 54% 46%;
  }

  .hero-copy {
    padding-top: 64px;
  }

  .hero h1 {
    font-size: clamp(52px, 6.5vw, 72px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  }

  .solution-row {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .solution-number {
    font-size: 56px;
  }

  .solution-copy {
    padding-right: 12px;
  }

  .row-link {
    grid-column: 2;
    padding: 0 0 20px 36px;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-node {
    left: 8px;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 78px;
  }

  .brand {
    font-size: 27px;
  }

  .contact-link {
    font-size: 15px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    min-height: 590px;
    padding-top: 72px;
    padding-bottom: 118px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(48px, 11vw, 66px);
  }

  .hero-content > p {
    max-width: 610px;
    font-size: 18px;
  }

  .hero-media {
    min-height: 520px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    padding-top: 72px;
    padding-bottom: 0;
  }

  .section-intro {
    width: 100%;
    margin-bottom: 42px;
  }

  .measurement-solutions {
    width: 48%;
    opacity: 0.45;
  }

  .solutions-media {
    min-height: 500px;
    margin: 56px calc(var(--gutter) * -1) 0;
  }

  .process-inner {
    padding-top: 74px;
    padding-bottom: 82px;
  }

  .process-heading {
    width: 100%;
  }

  .process-rail {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 64px;
  }

  .process-rail::before,
  .process-rail::after,
  .process-node {
    display: none;
  }

  .process-step {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .closing-copy {
    width: 100%;
  }

  .measurement-closing {
    right: -14%;
    width: 62%;
    opacity: 0.55;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 24px 34px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 72px;
  }

  .brand {
    font-size: 24px;
  }

  .hero-copy {
    min-height: 600px;
    padding-top: 64px;
  }

  .hero h1 {
    font-size: 47px;
    line-height: 1.01;
  }

  .hero-content > p {
    margin-top: 26px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .button {
    min-height: 58px;
    width: 100%;
    padding: 0 26px;
    font-size: 17px;
  }

  .text-action {
    font-size: 17px;
  }

  .hero-media {
    min-height: 390px;
  }

  .hero-media img {
    object-position: 59% center;
  }

  .section-intro h2,
  .process h2,
  .closing h2 {
    font-size: 40px;
  }

  .section-summary,
  .process-heading > p,
  .closing-copy > p {
    font-size: 17px;
  }

  .solution-row {
    grid-template-columns: 70px minmax(0, 1fr);
    min-height: 172px;
  }

  .solution-number {
    align-items: flex-start;
    padding-top: 28px;
    font-size: 42px;
  }

  .solution-copy {
    padding: 28px 0 12px 22px;
  }

  .solution-copy h3 {
    font-size: 18px;
  }

  .solution-copy p {
    font-size: 15px;
  }

  .row-link {
    padding: 0 0 26px 22px;
  }

  .solutions-media {
    min-height: 410px;
  }

  .process-rail {
    grid-template-columns: 1fr;
    gap: 46px;
    margin-top: 54px;
    padding-top: 0;
  }

  .process-step {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .process-number {
    font-size: 48px;
  }

  .closing {
    min-height: 520px;
    padding-top: 68px;
  }

  .closing h2 {
    font-size: 41px;
  }

  .measurement-closing {
    top: 0;
    right: -40%;
    width: 86%;
    opacity: 0.34;
  }

  .footer-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
