:root {
  --ink: #11171a;
  --ink-soft: #4c565a;
  --paper: #edf0ed;
  --signal: #75e0c6;
  --signal-deep: #135f58;
  --night: #0b1115;
  --hero-fog: rgba(5, 10, 13, 0.53);
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --max: 1180px;
  --radius: 3px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

::selection {
  color: var(--night);
  background: var(--signal);
}

.arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

a:hover .arrow {
  transform: translate(2px, -2px);
}

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

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  color: #f5f7f6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.top.is-scrolled {
  color: var(--ink);
  background: rgba(237, 240, 237, 0.88);
  border-color: rgba(17, 23, 26, 0.12);
  backdrop-filter: blur(18px);
}

.top-inner {
  width: min(var(--max), calc(100% - 3rem));
  min-height: 4.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.34rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.84rem;
  font-weight: 500;
}

.nav a:not(.nav-cta) {
  opacity: 0.76;
  transition: opacity 180ms ease;
}

.nav a:not(.nav-cta):hover {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 0.8rem 0.58rem 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.nav-cta:hover {
  color: var(--night);
  background: var(--signal);
  border-color: var(--signal);
}

.lang-toggle {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font: 600 0.7rem/1 var(--body);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.lang-toggle:hover {
  color: var(--night);
  background: var(--signal);
  border-color: var(--signal);
}

.lang-toggle:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.top.is-scrolled .nav-cta {
  border-color: rgba(17, 23, 26, 0.25);
}

.top.is-scrolled .lang-toggle {
  border-color: rgba(17, 23, 26, 0.25);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #f4f7f8;
}

.hero-media,
.hero-veil {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-drift 22s ease-in-out infinite alternate;
  filter: saturate(0.72) contrast(1.06);
}

.hero-veil {
  background:
    linear-gradient(180deg, rgba(5, 10, 13, 0.2) 0%, var(--hero-fog) 64%, rgba(5, 10, 13, 0.88) 100%),
    linear-gradient(90deg, rgba(5, 10, 13, 0.68) 0%, rgba(5, 10, 13, 0.18) 62%, rgba(5, 10, 13, 0.28) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto;
  padding: 8rem 0 6.8rem;
}

.brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.8rem, 10.4vw, 8.6rem);
  font-weight: 800;
  line-height: 0.75;
  letter-spacing: -0.064em;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.6fr);
  grid-template-areas:
    "title lede"
    "actions lede";
  align-items: end;
  column-gap: 3rem;
  row-gap: 0;
  margin-top: 2.3rem;
}

.hero h1 {
  grid-area: title;
  margin: 0;
  max-width: 14ch;
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.lede {
  grid-area: lede;
  align-self: end;
  margin: 0 0 0.15rem;
  max-width: 34ch;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  color: rgba(244, 247, 248, 0.77);
}

.cta-row {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  gap: 1.5rem;
  color: var(--night);
  background: var(--signal);
}

.btn-primary:hover {
  background: #93ead5;
}

.btn-ghost {
  color: #f4f7f8;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(244, 247, 248, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(244, 247, 248, 0.85);
}

.hero-index {
  position: absolute;
  right: max(1.5rem, calc((100% - var(--max)) / 2));
  bottom: 1.35rem;
  z-index: 3;
  display: flex;
  gap: 1.3rem;
  color: rgba(244, 247, 248, 0.58);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-index span {
  display: inline-flex;
  gap: 0.38rem;
}

.hero-index b {
  color: var(--signal);
  font-weight: 600;
}

.section {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.eyebrow {
  margin: 0;
  color: var(--signal-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2,
.contact-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.section-head p:not(.eyebrow) {
  max-width: 40ch;
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.section-head.light h2 {
  color: #eef5f4;
}

.section-head.light p:not(.eyebrow) {
  color: rgba(238, 245, 244, 0.68);
}

.split {
  display: grid;
}

.split.quad {
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(17, 23, 26, 0.12);
  border: 1px solid rgba(17, 23, 26, 0.12);
}

.lane {
  min-height: 25rem;
  padding: 1.6rem;
  background: var(--paper);
  transition: color 240ms ease, background-color 240ms ease;
}

.lane:hover {
  color: #eef5f3;
  background: var(--signal-deep);
}

.lane-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7.5rem;
}

.lane-num {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
}

.lane-symbol {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(17, 23, 26, 0.16);
  border-radius: 50%;
  transition: transform 240ms ease, border-color 240ms ease, background-color 240ms ease;
}

.lane:hover .lane-symbol {
  transform: rotate(45deg);
  color: var(--night);
  background: var(--signal);
  border-color: var(--signal);
}

.lane h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.lane p {
  max-width: 34ch;
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  transition: color 240ms ease;
}

.lane:hover p {
  color: rgba(238, 245, 243, 0.72);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.34rem 0.65rem;
  border: 1px solid rgba(17, 23, 26, 0.15);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 240ms ease;
}

.lane:hover .tags li {
  border-color: rgba(238, 245, 243, 0.22);
}

.band {
  width: 100%;
  max-width: none;
  padding: clamp(5rem, 9vw, 8rem) 0;
  color: #eef5f4;
  background:
    radial-gradient(700px 450px at 85% 20%, rgba(38, 100, 94, 0.55), transparent 65%),
    var(--night);
}

.band-inner {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.band .section-head {
  display: block;
  margin: 0;
}

.band .section-head .eyebrow {
  margin-bottom: 2.6rem;
  color: var(--signal);
}

.steps {
  align-self: start;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 3.3rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 1.65rem 0 2.1rem;
  border-top: 1px solid rgba(238, 245, 244, 0.18);
}

.step-num {
  color: var(--signal);
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.steps h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.65rem;
  letter-spacing: -0.025em;
}

.steps p {
  max-width: 42ch;
  margin: 0.45rem 0 0;
  color: rgba(238, 245, 244, 0.67);
}

.step-meta {
  padding-top: 0.22rem;
  color: rgba(238, 245, 244, 0.44);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact {
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(5rem, 9vw, 7rem);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 9vw, 8rem);
  padding: clamp(2rem, 5vw, 4rem);
  color: #eef5f3;
  background:
    radial-gradient(580px 350px at 95% 0%, rgba(117, 224, 198, 0.19), transparent 68%),
    var(--signal-deep);
}

.contact-panel .eyebrow {
  margin-bottom: clamp(3rem, 10vw, 8rem);
  color: var(--signal);
}

.contact-panel h2 {
  font-size: clamp(3.4rem, 7vw, 6.5rem);
}

.contact-action {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.contact-action > p:first-child {
  max-width: 34ch;
  margin: 0 0 2.5rem;
  color: rgba(238, 245, 243, 0.72);
  font-size: 1.05rem;
}

.mail-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(238, 245, 243, 0.32);
  border-bottom: 1px solid rgba(238, 245, 243, 0.32);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mail-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--night);
  background: var(--signal);
  border-radius: 50%;
  transition: transform 180ms ease;
}

.mail-link:hover .mail-arrow {
  transform: rotate(45deg);
}

.address {
  margin: 1.6rem 0 0;
  color: rgba(238, 245, 243, 0.56);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  border-top: 1px solid rgba(17, 23, 26, 0.12);
}

.footer a {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.reveal {
  opacity: 1;
  transform: translateY(18px);
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.js .reveal {
  opacity: 0;
}

.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 190ms; }
.delay-3 { animation-delay: 280ms; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

.scroll-reveal {
  opacity: 1;
  transform: translateY(22px);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .scroll-reveal {
  opacity: 0;
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .hero {
    min-height: min(100svh, 47.5rem);
  }

  .top-inner {
    width: calc(100% - 2rem);
    min-height: 4rem;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .nav {
    gap: 0.55rem;
  }

  .nav-cta {
    padding-inline: 0.72rem;
    font-size: 0.78rem;
  }

  .lang-toggle {
    width: 2.35rem;
    height: 2.35rem;
  }

  .top:not(.is-scrolled) {
    background: rgba(11, 17, 21, 0.48);
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
  }

  .top:not(.is-scrolled) .nav-cta {
    background: rgba(11, 17, 21, 0.34);
    border-color: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(10px);
  }

  .hero-copy {
    width: calc(100% - 2rem);
    padding: 5.5rem 0 4rem;
  }

  .brand {
    max-width: none;
    font-size: clamp(3.6rem, 16.5vw, 4.2rem);
    line-height: 0.86;
    letter-spacing: -0.07em;
    white-space: nowrap;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "lede"
      "actions";
    gap: 0;
    margin-top: 1.65rem;
  }

  .lede {
    max-width: 30ch;
    margin-top: 1.1rem;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 1.5rem;
  }

  .btn {
    width: 100%;
    padding-inline: 0.8rem;
  }

  .hero-index {
    display: none;
  }

  .section,
  .band-inner,
  .footer {
    width: min(var(--max), calc(100% - 2rem));
  }

  .band {
    width: 100%;
  }

  .section {
    padding: 3.75rem 0;
  }

  .split,
  .split.quad,
  .section-head,
  .band-inner,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 1.1rem;
    margin-bottom: 2.5rem;
  }

  .section-head h2 {
    font-size: clamp(2.35rem, 11vw, 2.85rem);
  }

  .lane {
    min-height: 0;
    padding: 1.35rem;
  }

  .lane-top {
    margin-bottom: 3.2rem;
  }

  .lane h3 {
    font-size: 1.8rem;
  }

  .lane p {
    font-size: 0.94rem;
  }

  .tags {
    margin-top: 1.2rem;
  }

  .band {
    padding: 4.5rem 0;
  }

  .band-inner {
    gap: 3rem;
  }

  .band .section-head .eyebrow {
    margin-bottom: 1.35rem;
  }

  .steps li {
    grid-template-columns: 2.5rem 1fr;
    padding: 1.35rem 0 1.55rem;
  }

  .steps h3 {
    font-size: 1.45rem;
  }

  .steps p {
    font-size: 0.92rem;
  }

  .step-meta {
    grid-column: 2;
    padding-top: 0.3rem;
  }

  .contact-panel {
    gap: 2.75rem;
    padding: 1.75rem;
  }

  .contact-panel .eyebrow {
    margin-bottom: 2.25rem;
  }

  .contact-panel h2 {
    font-size: clamp(3.2rem, 15vw, 4rem);
  }

  .contact-action > p:first-child {
    margin-bottom: 2rem;
    font-size: 0.96rem;
  }

  .address {
    font-size: 0.85rem;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

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

  .reveal,
  .hero-media img {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
