@font-face {
  font-family: Manrope;
  src: url("manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #081217;
  --panel: #0c1a21;
  --line: #20333a;
  --text: #edf6f5;
  --muted: #a9bdc3;
  --accent: #73f5d6;
  --heading: "Space Grotesk", Manrope, system-ui, sans-serif;
  font: 1rem/1.6 Manrope, system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: #04261d; background: var(--accent); }

.shell {
  width: min(100% - 5rem, 80rem);
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 4;
  top: 1rem;
  left: 1rem;
  padding: .6rem 1rem;
  background: var(--accent);
  color: #04261d;
  transform: translateY(-180%);
}

.skip:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 2;
  background: #081217;
  border-bottom: 1px solid var(--line);
}

.header-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5rem;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .75rem;
  font: 700 1.1rem/.95 var(--heading);
  letter-spacing: .055em;
}

.brand img { width: 2.85rem; height: auto; }
.brand-sub {
  display: block;
  margin-top: .42rem;
  color: var(--accent);
  font-size: .73rem;
  letter-spacing: .37em;
}

.site-nav { display: flex; gap: clamp(1.25rem, 3vw, 3rem); }
.site-nav a {
  padding-block: .4rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 650;
}
.site-nav a:hover, .email:hover { color: var(--accent); }

.language { position: relative; justify-self: end; }
.language summary {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .75rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  cursor: pointer;
  list-style: none;
  font-size: .875rem;
  font-weight: 800;
}
.language summary::-webkit-details-marker { display: none; }
.language summary svg { width: 1rem; color: var(--accent); }
.language summary::after {
  content: "";
  width: .42rem;
  height: .42rem;
  margin: -.2rem .1rem 0 .2rem;
  border: solid var(--muted);
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.language[open] summary::after { transform: translateY(.2rem) rotate(225deg); }
.language summary:hover, .language[open] summary { border-color: #467169; }
.language ul {
  position: absolute;
  right: 0;
  min-width: 10.5rem;
  margin: .55rem 0 0;
  padding: .35rem;
  list-style: none;
  background: #102127;
  border: 1px solid #335354;
  border-radius: .45rem;
  box-shadow: 0 10px 24px #02090bc0;
}
.language li a { display: block; padding: .45rem .75rem; border-radius: .25rem; }
.language li a:hover, .language a[aria-current] { color: var(--accent); background: #1c3939; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 75% 65%, #103037 0%, #0a1a21 37%, var(--background) 72%);
}

.hero-layout {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 51vw, 47rem);
  padding-block: 5.25rem;
}

.hero-content { position: relative; z-index: 1; width: min(55%, 44rem); }
.hero-art {
  position: absolute;
  right: -5.5%;
  top: 50%;
  width: min(70%, 61rem);
  transform: translateY(-50%);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 66% 64% at 54% 50%, #000 48%, transparent 82%);
  mask-image: radial-gradient(ellipse 66% 64% at 54% 50%, #000 48%, transparent 82%);
}
.hero-art img { width: 100%; height: auto; }
.hero-content h1, .approach h2 { display: grid; }
.hero-content h1 {
  margin-top: 1.2rem;
  font: 700 clamp(3.2rem, 6.05vw, 6.35rem)/.98 var(--heading);
  letter-spacing: -.078em;
}
h1 em, h2 em { color: var(--accent); font-style: normal; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--accent);
  font: 650 .875rem/1.4 var(--heading);
  letter-spacing: .105em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.25rem; height: 1px; background: currentColor; }
.hero-copy {
  max-width: 30rem;
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  max-width: 100%;
  padding: .65rem 1.15rem;
  text-align: center;
  font-size: .94rem;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: .38rem;
  transition: background-color .18s, border-color .18s, color .18s;
}
.button-primary { color: #062820; background: var(--accent); }
.button-primary:hover { background: #a0ffe9; }
.button-secondary { border-color: #4a6570; background: #0a171ebd; }
.button-secondary:hover { color: var(--accent); border-color: var(--accent); }

.section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
h2 {
  margin-block: .8rem 0;
  font: 700 clamp(2.5rem, 5vw, 4.65rem)/1.01 var(--heading);
  letter-spacing: -.064em;
}
h3 { font: 650 clamp(1.25rem, 2.1vw, 1.6rem)/1.15 var(--heading); letter-spacing: -.035em; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.25rem, 2.7vw, 2rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: .65rem;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  margin-bottom: 1.45rem;
  border: 1px solid #28504c;
  border-radius: .4rem;
  background: #102d2c;
  color: var(--accent);
}
.service-icon svg { width: 1.4rem; }
.service p { margin-top: .85rem; margin-bottom: 1.35rem; color: var(--muted); }
.service ul {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: auto 0 0;
  padding: 1rem 0 0;
  width: 100%;
  border-top: 1px solid var(--line);
  list-style: none;
}
.service li {
  padding: .22rem .5rem;
  color: #c1d6db;
  background: #14262e;
  border-radius: .25rem;
  font-size: .875rem;
}

.approach { border-block: 1px solid var(--line); background: #0a171d; }
.approach-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); }
.section-copy { max-width: 32rem; margin-top: 1.25rem; color: var(--muted); font-size: 1.05rem; }
.steps {
  display: grid;
  gap: 1.35rem;
  margin: 0;
  padding-left: 1.8rem;
  list-style: decimal-leading-zero;
}
.steps li { padding: .15rem 0 1.35rem .7rem; border-bottom: 1px solid var(--line); }
.steps li::marker { font: 600 1rem var(--heading); color: var(--accent); }
.steps p { margin-top: .45rem; color: var(--muted); }

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  padding: clamp(1.65rem, 5vw, 4rem);
  background: radial-gradient(ellipse at 97% 95%, #143b39, #0d252b 70%);
  border: 1px solid #305552;
  border-radius: .7rem;
}
.contact-panel h2 { font-size: clamp(2.35rem, 4.8vw, 4.1rem); }
.contact-action { display: grid; justify-items: start; gap: .65rem; }
.email { color: #c2d5d9; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--line); }
.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  min-height: 6rem;
  padding-block: 1rem;
}
.site-footer small { color: var(--muted); font-size: .875rem; }

@media (max-width: 60rem) {
  .shell { width: calc(100% - 3.5rem); }
  .hero-content { width: 58%; }
  .hero-art { right: -7%; width: 70%; }
  .service-grid { gap: .8rem; }
}

@media (max-width: 46rem) {
  .shell { width: calc(100% - 2.5rem); }
  .hero-layout { min-height: auto; padding-block: 3.1rem .75rem; }
  .hero-content { width: 100%; }
  .hero-content h1 { font-size: clamp(3.2rem, 10.8vw, 5.4rem); }
  .hero-art {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% + 1.5rem);
    margin: -1rem -.75rem 0;
    transform: none;
  }
  .service-grid, .approach-layout { grid-template-columns: 1fr; }
  .service-grid { margin-top: 1.65rem; }
}

@media (max-width: 39rem) {
  .header-layout { grid-template-columns: 1fr auto; gap: 0 .6rem; padding-top: .85rem; }
  .site-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .7rem;
    padding-block: .3rem;
    border-top: 1px solid var(--line);
  }
  .contact-panel { display: block; }
  .contact-action { margin-top: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
