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

@font-face {
  font-family: "IBM Plex Mono";
  src: url("ibm-plex-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #14211b;
  --deep: #101c19;
  --surface: #fafbf8;
  --tint: #edf1eb;
  --text: #4a5850;
  --muted-light: #c2cec6;
  --accent: #d2e9ab;
  --accent-deep: #3c5e3e;
  --rule: #d7dfd6;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --sans: Manrope, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  font-family: var(--sans);
  background: var(--surface);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 3.8vw, 3.55rem); font-weight: 800; letter-spacing: -.055em; }
h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.04em; }
address { font-style: normal; }
::selection { color: var(--deep); background: var(--accent); }

.shell { width: min(calc(100% - var(--gutter) * 2), 78rem); margin-inline: auto; }
.section { padding-block: clamp(4.25rem, 7vw, 6.25rem); }
.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent-deep);
  font: 500 .72rem/1.5 var(--mono);
  letter-spacing: .105em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  inset: .75rem auto auto .75rem;
  z-index: 10;
  padding: .6rem 1rem;
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 1;
  color: #f5f7f0;
  background: var(--deep);
  border-bottom: 1px solid #ffffff1a;
}
.header-inner {
  min-height: 5.25rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; flex: none; align-items: center; gap: .75rem; }
.brand-name { font-weight: 800; font-size: 1.15rem; line-height: 1.02; letter-spacing: -.04em; }
.brand-name span {
  display: block;
  margin-top: .3rem;
  color: var(--muted-light);
  font: 500 .59rem/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  gap: clamp(1.25rem, 3.1vw, 2.8rem);
  align-items: center;
  color: #dbe3dc;
  font-size: .875rem;
  font-weight: 700;
}
.site-nav > a { display: inline-flex; gap: .5rem; align-items: center; min-height: 2.65rem; }
.site-nav > a:hover { color: var(--accent); }
.site-nav .nav-contact {
  padding-inline: 1rem;
  border: 1px solid #ffffff39;
  border-radius: .4rem;
  color: #f5f7f0;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.site-nav .nav-contact:hover { background: var(--accent); color: var(--deep); border-color: var(--accent); }
.arrow {
  width: 1rem;
  height: 1rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  isolation: isolate;
  background: var(--deep);
  color: #f4f7ee;
}
.hero-inner { padding-block: clamp(5rem, 9vw, 8.125rem); }
.hero-image {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 22%;
  opacity: .82;
  mask-image: linear-gradient(90deg, transparent, #000 15%);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 55%; }
.hero-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, var(--deep), #101c19e8 19%, #101c199e 45%, #101c192e 78%, #101c1924),
    linear-gradient(0deg, #101c196b, transparent 40%);
}
.hero-eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.45rem; color: var(--accent); }
.hero-eyebrow::before { width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; content: ""; }
.hero h1 {
  font-size: clamp(3.25rem, 6.35vw, 5.75rem);
  font-weight: 800;
  letter-spacing: -.06em;
  word-spacing: .018em;
  line-height: 1.01;
  text-wrap: initial;
}
.hero h1 span { display: block; color: var(--accent); }
.hero-copy { max-width: 32rem; margin-top: 1.5rem; color: #dce4dc; font-size: clamp(1rem, 1.5vw, 1.12rem); }
.button {
  display: inline-flex;
  min-height: 3.15rem;
  padding: .7rem 1.06rem;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  border: 1px solid transparent;
  border-radius: .4rem;
  font-size: .9rem;
  font-weight: 800;
  transition: background-color .18s ease, border-color .18s ease;
}
.primary { color: var(--deep); background: var(--accent); }
.primary:hover { background: #e6f4cf; border-color: #e6f4cf; }
.primary:focus-visible { outline-color: #edf7db; }
.hero .button { margin-top: 2rem; }

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr);
  align-items: end;
  gap: .95rem 2rem;
  margin-bottom: clamp(1.8rem, 3.75vw, 3.25rem);
}
.section-intro p { max-width: 31rem; color: var(--text); }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--rule);
}
.expertise-item { padding: 2rem clamp(1.25rem, 3vw, 2.4rem) 2.15rem 0; }
.expertise-item + .expertise-item { padding-left: clamp(1.15rem, 3vw, 2.4rem); border-left: 1px solid var(--rule); }
.expertise-item:last-child { padding-right: 0; }
.capability-icon {
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 1.25rem;
  place-items: center;
  color: #355641;
  background: #e8eee3;
  border-radius: .55rem;
}
.capability-icon svg { width: 1.8rem; height: 1.8rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.expertise-item p { max-width: 23rem; margin-top: .8rem; color: var(--text); font-size: .96rem; }

.technology { background: var(--tint); border-block: 1px solid #e1e8df; }
.stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.9rem, 1.6vw, 1.35rem);
}
.stack-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.25rem, 2vw, 1.65rem);
  background: var(--surface);
  border: 1px solid #d9e3d8;
  border-radius: .65rem;
  box-shadow: 0 2px 3px #14211b06;
}
.stack-card h3 { font-size: 1.22rem; letter-spacing: -.035em; }
.stack-area {
  margin-top: .4rem;
  color: var(--accent-deep);
  font: 500 .68rem/1.4 var(--mono);
  letter-spacing: .035em;
  text-transform: uppercase;
}
.stack-marks { display: flex; gap: .55rem; margin-bottom: .15rem; }
.stack-mark {
  display: grid;
  width: 3.125rem;
  height: 3.125rem;
  place-items: center;
  border: 1px solid;
  border-radius: .6rem;
}
.swift-mark { background: #fceee8; border-color: #f1dcd3; }
.kotlin-mark { background: #f1ebfe; border-color: #e5dcf8; }
.python-mark { background: #e9f1f7; border-color: #d9e5ef; }
.node-mark { background: #ebf4e7; border-color: #dbe9d7; }
.protocol-mark { color: #315a55; background: #e8f0ed; border-color: #d7e7e2; }
.protocol-mark svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stack-description { color: var(--text); font-size: .93rem; }

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(2rem, 6.5vw, 6.5rem);
  align-items: start;
}
.about-copy { max-width: 35rem; }
.about-copy p { margin-top: 1rem; color: var(--text); }
.about-copy h2 + p { margin-top: 1.35rem; color: var(--ink); font-size: 1.12rem; }
.priorities h3 { margin-bottom: 1.1rem; }
.priorities dl { border-bottom: 1px solid var(--rule); }
.priorities dl > div { padding-block: .85rem; border-top: 1px solid var(--rule); }
.priorities dt { font-size: .98rem; font-weight: 800; }
.priorities dd { margin-top: .2rem; color: var(--text); font-size: .94rem; }

.contact { color: #f4f7ee; background: #172720; }
.contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.65rem 2rem;
  padding-block: clamp(3.35rem, 6.5vw, 5.5rem);
}
.contact p:last-child { margin-top: .8rem; color: var(--muted-light); }
.email-button { font-size: 1rem; }

.site-footer { background: var(--deep); color: var(--muted-light); border-top: 1px solid #ffffff1a; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: .9rem 1.25rem;
  padding-block: 1.9rem;
  font-size: .8rem;
}
.legal-name { color: #f4f7ee; font-size: .72rem; font-weight: 800; letter-spacing: .035em; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem 1.25rem; justify-self: end; }
.footer-links a:hover { color: var(--accent); }
.back-to-top { display: inline-flex; align-items: center; gap: .4rem; }

@media (max-width: 1050px) {
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr auto; }
  .copyright { grid-column: 1; grid-row: 2; }
  .footer-links { grid-column: 2; grid-row: 1 / 3; }
}

@media (max-width: 800px) {
  .section-intro, .about { grid-template-columns: 1fr; }
  .hero-image { inset: 0; opacity: .68; mask-image: none; }
  .hero-image::after {
    background:
      linear-gradient(90deg, #101c19ed, #101c198c 55%, #101c1947),
      linear-gradient(0deg, #101c19ba, transparent 75%);
  }
}

@media (max-width: 720px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-item, .expertise-item + .expertise-item { padding: 1.35rem 0; }
  .expertise-item + .expertise-item { border-left: 0; border-top: 1px solid var(--rule); }
  .expertise-item { display: grid; grid-template-columns: auto 1fr; column-gap: .85rem; align-items: start; }
  .capability-icon { grid-row: span 2; margin: 0; }
  .expertise-item p { margin-top: .45rem; }
}

@media (max-width: 540px) {
  .header-inner { display: block; padding-top: .85rem; }
  .brand img { width: 2.15rem; height: 2.15rem; }
  .site-nav { justify-content: space-between; gap: .55rem; margin-top: .4rem; font-size: .79rem; }
  .site-nav > a { min-height: 2.65rem; }
  .site-nav .nav-contact { padding: 0; border: 0; color: var(--accent); }
  .site-nav .nav-contact:hover { background: transparent; color: #ffffff; }
  .hero h1 { font-size: clamp(2.6rem, 9.45vw, 3.35rem); }
  .hero-eyebrow { margin-bottom: 1.1rem; font-size: .66rem; }
  .hero-inner { padding-block: 4.25rem; }
  .hero-copy { margin-top: 1.25rem; }
  .hero .button { margin-top: 1.5rem; }
  .stack { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1; grid-row: auto; justify-content: flex-start; justify-self: start; }
}

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