:root {
  --ink: #102f35;
  --ink-deep: #082126;
  --teal: #08766f;
  --teal-bright: #26b7a6;
  --mist: #e7f0ed;
  --paper: #f5f4ee;
  --paper-bright: #fbfaf5;
  --acid: #d8ff4f;
  --muted: #64787b;
  --line: rgba(16, 47, 53, 0.18);
  --shell: 1240px;
  --header-height: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

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

input,
textarea { font: inherit; }

.shell {
  width: min(var(--shell), calc(100% - 64px));
  margin-inline: auto;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: height 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  height: 70px;
  border-color: var(--line);
  background: rgba(245, 244, 238, 0.92);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: block;
  width: 218px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}

.primary-nav > a:not(.nav-contact) {
  position: relative;
}

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

.primary-nav > a:hover::after,
.primary-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 10px 14px 10px 16px;
  border: 1px solid var(--ink);
  transition: color 180ms ease, background 180ms ease;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  color: var(--paper-bright);
  background: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(16, 47, 53, 0.055) 50%, transparent calc(50% + 1px)),
    radial-gradient(circle at 85% 45%, rgba(38, 183, 166, 0.13), transparent 31%),
    var(--paper);
}

.hero-inner {
  position: relative;
  min-height: 790px;
  padding-top: calc(var(--header-height) + 105px);
  padding-bottom: 90px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 930px;
}

.eyebrow,
.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: var(--teal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 5px rgba(38, 183, 166, 0.1);
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(68px, 8.2vw, 116px);
  font-weight: 500;
  letter-spacing: -0.072em;
  line-height: 0.88;
}

.hero h1 em {
  color: var(--teal);
  font-style: normal;
  font-weight: 700;
}

.hero-copy > p {
  max-width: 680px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 58px;
  padding: 0 18px 0 22px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button > span { font-size: 20px; }

.button:hover,
.button:focus-visible { transform: translateY(-2px); }

.button-dark {
  color: var(--paper-bright);
  background: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  color: var(--ink);
  background: var(--acid);
}

.text-link {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.text-link span { margin-left: 8px; }

.hero-mark {
  position: absolute;
  z-index: 1;
  top: 118px;
  right: -100px;
  width: min(49vw, 610px);
  opacity: 0.105;
  transform: rotate(-8deg);
}

.hero-mark::before {
  position: absolute;
  inset: 7%;
  content: "";
  border: 1px solid rgba(8, 118, 111, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(8, 118, 111, 0.025);
}

.hero-mark img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.section { padding: 118px 0; }

.scope-section { background: var(--paper-bright); }

.section-heading,
.technology-heading {
  display: grid;
  grid-template-columns: 0.48fr 1fr 0.72fr;
  gap: 52px;
  align-items: start;
  margin-bottom: 64px;
}

.section-heading h2,
.technology-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(44px, 5.1vw, 73px);
  font-weight: 500;
  letter-spacing: -0.056em;
  line-height: 0.98;
}

.section-heading h2 em,
.technology-heading h2 em {
  color: var(--teal);
  font-style: normal;
  font-weight: 700;
}

.section-heading > p,
.technology-heading > p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.scope-list {
  border-top: 1px solid var(--line);
}

.scope-list article {
  display: grid;
  grid-template-columns: 60px minmax(260px, 0.78fr) minmax(380px, 1.22fr);
  gap: 38px;
  align-items: center;
  min-height: 170px;
  padding: 26px 18px 26px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, background 180ms ease;
}

.scope-list article:hover {
  padding-left: 18px;
  background: var(--mist);
}

.scope-number,
.technology-code,
.technology-list small,
.delivery-steps > li > span,
.contact-card-top,
.contact-row small,
.contact-address small,
.footer-brand span,
.footer-legal,
.back-to-top {
  font-family: "IBM Plex Mono", monospace;
}

.scope-number {
  color: var(--teal);
  font-size: 11px;
}

.scope-list h3 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.scope-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.52;
}

.technology-section {
  position: relative;
  overflow: hidden;
  color: var(--paper-bright);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--ink-deep);
  background-size: 58px 58px;
}

.section-index-light { color: var(--teal-bright); }

.technology-heading h2 em { color: var(--acid); }

.technology-heading > p { color: rgba(255, 255, 255, 0.6); }

.cutoff-selector {
  padding: 0 0 62px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.cutoff-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.cutoff-topline span:last-child { text-align: right; }

.cutoff-control {
  position: relative;
  height: 38px;
  margin: 0;
}

.cutoff-control::before,
.cutoff-control::after {
  position: absolute;
  top: 18px;
  left: 0;
  height: 1px;
  content: "";
}

.cutoff-control::before {
  right: 0;
  background: rgba(255, 255, 255, 0.28);
}

.cutoff-control::after { display: none; }

.cutoff-range {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 38px;
  margin: 0;
  cursor: grab;
  appearance: none;
  background: transparent;
}

.cutoff-range:active { cursor: grabbing; }
.cutoff-range:focus { outline: 0; }
.cutoff-range::-webkit-slider-runnable-track { height: 1px; background: transparent; }
.cutoff-range::-moz-range-track { height: 1px; background: transparent; }

.cutoff-range::-webkit-slider-thumb {
  width: 13px;
  height: 13px;
  margin-top: -6px;
  border: 3px solid var(--ink-deep);
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 1px var(--acid);
  appearance: none;
}

.cutoff-range::-moz-range-thumb {
  width: 7px;
  height: 7px;
  border: 3px solid var(--ink-deep);
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 1px var(--acid);
}

.cutoff-ticks {
  position: absolute;
  top: 14px;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
}

.cutoff-ticks span {
  width: 9px;
  height: 9px;
  border: 1px solid var(--teal-bright);
  border-radius: 50%;
  background: var(--ink-deep);
}

.technology-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.technology-card {
  position: relative;
  display: flex;
  min-height: 145px;
  padding: 18px 16px;
  flex-direction: column;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.58);
  text-align: left;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.technology-card::after {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.technology-card small {
  margin-bottom: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
}

.technology-card strong {
  color: inherit;
  font-size: 35px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.technology-card span { margin-top: 8px; font-size: 13px; }

.technology-card:hover { color: white; background: rgba(255, 255, 255, 0.04); }

.technology-card.is-active {
  color: var(--ink-deep);
  background: var(--acid);
}

.technology-card.is-active::after { background: var(--ink-deep); }


.delivery-section { background: var(--paper); }

.delivery-heading { margin-bottom: 56px; }

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.delivery-steps li {
  min-height: 310px;
  padding: 27px 27px 30px;
  border-left: 1px solid var(--line);
}

.delivery-steps li:first-child { border-left: 0; }

.delivery-steps > li > span {
  display: inline-block;
  margin-bottom: 90px;
  color: var(--teal);
  font-size: 10px;
}

.delivery-steps h3 {
  margin: 0 0 12px;
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.delivery-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-section {
  padding: 115px 0;
  color: var(--paper-bright);
  background: var(--teal);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 92px;
  align-items: stretch;
}

.contact-copy h2 { font-size: clamp(52px, 6.2vw, 86px); }

.contact-copy h2 span { color: var(--acid); }

.contact-copy > p {
  max-width: 600px;
  margin: 29px 0 35px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 18px;
}

.button-acid {
  color: var(--ink);
  background: var(--acid);
}

.button-acid:hover,
.button-acid:focus-visible {
  color: var(--paper-bright);
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.contact-card {
  padding: 27px;
  color: var(--ink);
  background: var(--paper-bright);
  box-shadow: 18px 18px 0 rgba(8, 33, 38, 0.2);
}

.contact-card-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.contact-card-top span:last-child { color: var(--teal); }

.contact-form {
  display: grid;
  gap: 21px;
  padding-top: 25px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.contact-form label em {
  font-style: normal;
  opacity: 0.7;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus { border-bottom-color: var(--teal); }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(83, 105, 109, 0.62); }

.contact-form .is-invalid {
  border-bottom-color: #b3352d;
  background: rgba(179, 53, 45, 0.04);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 57px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  color: var(--paper-bright);
  background: var(--ink);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.form-submit:hover,
.form-submit:focus-visible {
  color: var(--ink);
  background: var(--acid);
}

.form-note {
  margin: -10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.form-status {
  display: none;
  padding: 14px;
  border: 1px solid rgba(13, 119, 116, 0.25);
  color: var(--ink);
  background: rgba(13, 119, 116, 0.07);
  font-size: 12px;
  line-height: 1.5;
}

.form-status.is-visible { display: block; }

.form-status a {
  border-bottom: 1px solid currentColor;
  color: var(--teal);
  font-weight: 700;
}

.contact-direct {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row small,
.contact-address small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.contact-row strong {
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.contact-row > span { font-size: 24px; }

.contact-address { padding-top: 25px; }

.contact-address p { margin: 7px 0 0; font-size: 17px; }

.site-footer {
  padding: 35px 0;
  color: rgba(255, 255, 255, 0.66);
  background: var(--ink-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.4fr auto;
  gap: 40px;
  align-items: end;
}

.footer-brand { display: grid; gap: 7px; }

.footer-brand strong {
  color: var(--paper-bright);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.footer-brand span,
.footer-legal,
.back-to-top { font-size: 9px; }

.footer-legal { display: flex; flex-wrap: wrap; gap: 7px 18px; }

.back-to-top {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

@media (max-width: 1050px) {
  .hero h1 { font-size: clamp(64px, 9vw, 88px); }
  .hero-mark { right: -150px; width: 58vw; }

  .section-heading,
  .technology-heading { grid-template-columns: 0.35fr 1fr; }

  .section-heading > p,
  .technology-heading > p { grid-column: 2; }

  .scope-list article {
    grid-template-columns: 50px minmax(200px, 0.72fr) 1fr;
    gap: 28px;
  }

  .contact-grid { gap: 50px; }
}

@media (max-width: 780px) {
  :root { --header-height: 70px; }

  .shell { width: min(100% - 36px, var(--shell)); }
  .brand-logo { width: 184px; }

  .menu-toggle { display: block; cursor: pointer; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper-bright);
    box-shadow: 0 24px 50px rgba(16, 47, 53, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav a { padding: 15px 10px; border-bottom: 1px solid var(--line); }
  .nav-contact { margin-top: 8px; border: 1px solid var(--ink); }

  .hero,
  .hero-inner { min-height: 760px; }

  .hero-inner {
    padding-top: 126px;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: clamp(54px, 15.5vw, 72px);
    line-height: 0.92;
  }

  .hero-copy > p { margin-top: 31px; font-size: 18px; }

  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .text-link { align-self: flex-start; }

  .hero-mark {
    top: 200px;
    right: -180px;
    width: 430px;
    opacity: 0.07;
  }

  .section { padding: 88px 0; }

  .section-heading,
  .technology-heading { display: block; margin-bottom: 45px; }

  .section-heading h2,
  .technology-heading h2 { font-size: 47px; }

  .section-heading > p,
  .technology-heading > p { margin-top: 23px; }

  .scope-list article {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 13px 8px;
    min-height: 0;
    padding: 28px 0;
  }

  .scope-list article:hover { padding-left: 0; background: transparent; }
  .scope-list h3 { font-size: 25px; }
  .scope-list p { grid-column: 2; }

  .cutoff-selector { padding-bottom: 38px; }
  .cutoff-topline { font-size: 7px; }
  .cutoff-topline strong { font-size: 8px; }
  .cutoff-control { margin-inline: 4px; }
  .technology-cards { grid-template-columns: repeat(4, 1fr); }
  .technology-card { min-height: 92px; padding: 12px 8px; }
  .technology-card small { margin-bottom: 10px; }
  .technology-card strong { font-size: 25px; }
  .technology-card span { display: none; }
  .technology-card::after { right: 8px; bottom: 9px; width: 5px; height: 5px; }

  .delivery-steps { grid-template-columns: 1fr; }
  .delivery-steps li { min-height: 0; padding: 26px 0; border-top: 1px solid var(--line); border-left: 0; }
  .delivery-steps li:first-child { border-top: 0; }
  .delivery-steps > li > span { margin-bottom: 35px; }

  .contact-section { padding: 88px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy h2 { font-size: 56px; }
  .contact-card { padding: 22px; box-shadow: 9px 9px 0 rgba(8, 33, 38, 0.2); }
  .form-grid { grid-template-columns: 1fr; }
  .contact-direct { align-items: flex-start; flex-direction: column; }
  .contact-row strong { font-size: 17px; }

  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-legal { grid-column: 1 / -1; grid-row: 2; }
  .back-to-top { grid-column: 2; grid-row: 1; }
}

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