:root {
  --ink: #07111f;
  --ink-soft: #101d2d;
  --paper: #f4f6f2;
  --paper-bright: #fbfcf9;
  --line: #ccd3cd;
  --muted: #5b655f;
  --lime: #05c2d1;
  --lime-soft: #a1e5ea;
  --blue: #61d9e2;
  --white: #ffffff;
  --max: 1240px;
  --radius: 1.25rem;
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--max));
  margin: 1rem auto 0;
  padding: 0.75rem 0.8rem 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(7, 17, 31, 0.72);
  color: var(--white);
  backdrop-filter: blur(18px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(7, 17, 31, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  display: block;
  width: 2.7rem;
  height: 2.7rem;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 0.45rem;
  background: var(--lime);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name strong {
  font-size: 1.03rem;
  letter-spacing: 0.12em;
}

.brand-name small {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.site-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-nav .nav-cta {
  padding: 0.7rem 1rem;
  border-radius: 0.65rem;
  background: var(--lime);
  color: var(--ink);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(8.5rem, 13vw, 11rem) max(1.5rem, calc((100vw - var(--max)) / 2)) 2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(5, 194, 209, 0.2), transparent 27rem),
    var(--ink);
  color: var(--white);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.hero::after {
  position: absolute;
  right: -8rem;
  bottom: -14rem;
  width: 35rem;
  height: 35rem;
  border: 1px solid rgba(5, 194, 209, 0.24);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 5rem rgba(5, 194, 209, 0.025),
    0 0 0 11rem rgba(5, 194, 209, 0.018);
}

.hero-copy,
.brand-canvas,
.hero-foot {
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.8rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 1.6rem;
  height: 2px;
  background: var(--lime);
}

.eyebrow.dark {
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 1.8rem;
  font-size: clamp(3.25rem, 6.6vw, 6.8rem);
  font-weight: 620;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

h1 em {
  color: var(--lime);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-intro {
  max-width: 610px;
  margin-bottom: 2.3rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.8rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 750;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

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

.button svg,
.product-link svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0.75rem 2.5rem rgba(5, 194, 209, 0.18);
}

.text-link {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 650;
}

.text-link::after {
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  content: "";
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: scaleX(1);
}

.brand-canvas {
  position: absolute;
  top: 50%;
  right: max(1.5rem, calc((100vw - var(--max)) / 2));
  width: min(31vw, 390px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: var(--lime);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.3);
  transform: translateY(-44%) rotate(1deg);
}

.brand-canvas > img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.brand-canvas-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: #0d4153;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-foot {
  align-self: end;
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-foot p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100vw - var(--max)) / 2));
}

.section-dark {
  padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.85fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-heading .eyebrow {
  margin-top: 0.65rem;
}

.section-heading h2,
.approach-intro h2,
.about h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 4.4vw, 4.7rem);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1;
}

.section-heading > p:last-child {
  margin-top: 0.5rem;
  color: var(--muted);
}

.section-heading.light > p:last-child {
  color: rgba(255, 255, 255, 0.56);
}

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

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.2fr 1fr 1fr;
  min-height: 20rem;
  padding: 2.2rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.service-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper-bright);
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 300ms ease;
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-index {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
}

.service-copy {
  max-width: 660px;
}

.service-tag {
  margin-bottom: 0.65rem;
  color: #047987;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-copy h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 2.6vw, 2.8rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.service-copy > p:not(.service-tag) {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-copy ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.service-copy li {
  position: relative;
  padding: 0.75rem 0 0 1rem;
  border-top: 1px solid var(--line);
  color: #3d4741;
  font-size: 0.82rem;
  line-height: 1.45;
}

.service-copy li::before {
  position: absolute;
  top: 1.15rem;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.service-glyph {
  position: relative;
  align-self: center;
  justify-self: end;
  display: grid;
  width: 12rem;
  height: 12rem;
  place-items: center;
}

.service-glyph span {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.service-glyph span:nth-child(1) {
  width: 100%;
  height: 100%;
}

.service-glyph span:nth-child(2) {
  width: 65%;
  height: 65%;
  border-color: var(--lime);
}

.service-glyph span:nth-child(3) {
  width: 1rem;
  height: 1rem;
  border: 0;
  background: var(--lime);
  box-shadow: 0 0 0 0.45rem rgba(5, 194, 209, 0.2);
}

.product-stage {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(5, 194, 209, 0.12), transparent 45%),
    var(--ink-soft);
}

.product-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-main {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(3rem, 8vw, 8rem);
  min-height: 25rem;
  padding: clamp(2rem, 5vw, 5rem);
}

.product-copy > p:first-child {
  margin-bottom: 0.8rem;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-copy h3 {
  max-width: 650px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.product-copy > p:last-child {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.55);
}

.impact-grid {
  align-self: center;
  display: grid;
  gap: 0.7rem;
}

.impact-grid article {
  position: relative;
  min-height: 8rem;
  padding: 1.25rem 1.25rem 1.2rem 4.1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.025);
}

.impact-grid article:first-child {
  border-color: rgba(5, 194, 209, 0.35);
  background: rgba(5, 194, 209, 0.07);
}

.impact-grid article::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--lime);
  content: "";
}

.impact-grid article > span {
  position: absolute;
  top: 1.45rem;
  left: 1.25rem;
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.impact-grid h4 {
  margin: 0 0 0.45rem;
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.impact-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.84rem;
  line-height: 1.5;
}

.product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  padding: 1rem 1.5rem;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
}

.approach {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.approach-intro {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.approach-grid {
  border-top: 1px solid var(--line);
}

.approach-card {
  display: grid;
  grid-template-columns: 0.18fr 0.85fr 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line);
}

.approach-card > span {
  color: #047987;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
}

.approach-card h3 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.approach-card p {
  margin: 0;
  color: var(--muted);
}

.about {
  padding: 1rem max(1rem, calc((100vw - var(--max) - 1rem) / 2)) clamp(5rem, 9vw, 9rem);
}

.about-block {
  padding: clamp(2rem, 6vw, 6rem);
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.3rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(5, 194, 209, 0.2), transparent 30rem),
    var(--ink);
  color: var(--white);
}

.about h2 {
  max-width: 850px;
  margin-bottom: 3.5rem;
}

.about-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 7vw, 7rem);
  max-width: 1000px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.04rem;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.about-facts div {
  padding-top: 1.5rem;
}

.about-facts strong,
.about-facts span {
  display: block;
}

.about-facts strong {
  color: var(--lime);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.about-facts span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100vw - var(--max)) / 2));
}

.contact-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 1.8rem 0 2.4rem;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.contact-details {
  display: grid;
  align-content: start;
  margin: 0;
  border-top: 1px solid var(--line);
  font-style: normal;
}

.contact-details div {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-details .location-line {
  display: block;
}

.contact-details .location-line p {
  white-space: nowrap;
}

.contact-details span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details a,
.contact-details p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 3rem;
  align-items: end;
  padding: 3rem max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.brand-footer .brand-name small {
  color: rgba(255, 255, 255, 0.45);
}

.footer-note p {
  margin: 0.2rem 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.footer-links a:hover {
  color: var(--lime);
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .brand-canvas {
    top: auto;
    right: 1.5rem;
    bottom: 4.75rem;
    width: 10rem;
    opacity: 0.82;
    transform: none;
  }

  .brand-canvas-caption {
    display: none;
  }

  .hero-copy {
    max-width: 900px;
  }

  .section-heading {
    grid-template-columns: 0.7fr 1.6fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

  .service-card {
    grid-template-columns: 0.15fr 1fr;
  }

  .service-glyph {
    display: none;
  }

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

  .approach-intro {
    position: static;
  }
}

@media (max-width: 780px) {
  .site-header {
    width: calc(100% - 2rem);
    margin-top: 0.7rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-content: center;
    gap: 0.35rem;
    border: 0;
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 1.2rem;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(0.2rem) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-0.2rem) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: -0.75rem -1rem auto;
    z-index: 2;
    display: grid;
    gap: 0;
    padding: 6.5rem 1.5rem 1.5rem;
    border-radius: 0 0 1rem 1rem;
    background: var(--ink);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .site-nav .nav-cta {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 0;
    text-align: center;
  }

  .hero {
    min-height: 48rem;
    padding-top: 9rem;
  }

  .brand-canvas {
    right: 1rem;
    bottom: 1rem;
    width: 7.5rem;
    opacity: 0.55;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-foot {
    display: none;
  }

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

  .section-heading {
    display: block;
  }

  .section-heading h2,
  .approach-intro h2,
  .about h2,
  .contact h2 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .section-heading > p:last-child {
    margin-top: 1.5rem;
  }

  .service-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 0;
    padding: 2.4rem 0;
  }

  .service-copy ul {
    grid-template-columns: 1fr;
  }

  .product-main {
    grid-template-columns: 1fr;
  }

  .approach-card {
    grid-template-columns: 0.15fr 1fr;
  }

  .approach-card p {
    grid-column: 2;
  }

  .about-copy,
  .contact {
    grid-template-columns: 1fr;
  }

  .about-facts {
    gap: 1rem;
  }

  .about-facts strong {
    font-size: 2rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 480px) {
  .brand-name small {
    display: none;
  }

  .hero {
    min-height: 44rem;
  }

  .button {
    width: 100%;
  }

  .product-main {
    padding: 2rem 1.25rem;
  }

  .about {
    padding-right: 0.6rem;
    padding-left: 0.6rem;
  }

  .about-block {
    padding: 2rem 1.35rem;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-facts div {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
