:root {
  --green: #03e7b0;
  --green-ink: #02b98d;
  --ink: #0b0d0c;
  --muted: #5f6a67;
  --bg: #ffffff;
  --tint: #f7f9fa;
  --line: #e6eae9;
  --nav-h: 68px;
  --font: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 28px;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
}
.brand img { height: 27px; width: auto; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500;
  letter-spacing: 0.01em; padding: 6px 2px; position: relative;
  transition: color 0.18s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--green); transition: right 0.22s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.nav-cta {
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 18px;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--ink); color: #fff; }

.ch-flag { display: inline-flex; margin-left: 4px; }
.ch-flag svg { width: 20px; height: 20px; border-radius: 3px; display: block; }
.ch-flag-sm svg { width: 16px; height: 16px; border-radius: 2px; }

.nav-toggle { display: none; }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("../assets/img/hero-robot.webp") right center / auto 100% no-repeat;
  opacity: 0.9;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 132px 28px 148px;
  max-width: 1120px; margin: 0 auto;
}
.eyebrow {
  margin: 0 0 22px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-ink);
}
h1 {
  margin: 0 0 26px;
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.04; letter-spacing: -0.03em; font-weight: 700;
}
h1 .hl { position: relative; white-space: nowrap; }
h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em;
  height: 0.16em; background: var(--green); z-index: -1;
}
.lede {
  margin: 0 0 38px; max-width: 560px;
  font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.55;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; box-shadow: 0 10px 26px rgba(11, 13, 12, 0.22); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--line); background: rgba(255,255,255,0.7); }
.btn-ghost:hover { border-color: var(--ink); }
.hero-note { margin: 46px 0 0; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--tint); }
.strip-inner { padding: 54px 28px; }
.strip-line { margin: 0 0 10px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.strip-line strong { color: var(--green-ink); }
.strip-sub { margin: 0; max-width: 760px; color: var(--muted); font-size: 16px; }

/* ---------- sections ---------- */
.section { padding: 104px 0; scroll-margin-top: calc(var(--nav-h) + 8px); }
.section-tint { background: var(--tint); }
.kicker {
  margin: 0 0 14px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-ink);
}
h2 {
  margin: 0 0 20px; font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; max-width: 720px;
}
.section > .wrap > p:not(.kicker) { color: var(--muted); max-width: 680px; }

/* cards */
.cards {
  margin-top: 52px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 24px 30px; position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 13, 12, 0.08);
  border-color: #d7dedc;
}
.card-dot {
  display: block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); margin-bottom: 18px;
}
.card h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* split sections */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.split-rev .split-text { order: 2; }
.split-rev .split-art { order: 1; }
.split-text p:not(.kicker) { color: var(--muted); font-size: 16.5px; max-width: 520px; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; }
.ticks li {
  position: relative; padding: 9px 0 9px 30px; font-size: 15.5px; color: var(--ink);
  border-top: 1px solid var(--line);
}
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 17px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}
.split-art {
  border-radius: 16px; min-height: 340px;
  background-color: var(--bg);
  background-repeat: no-repeat; background-position: center; background-size: cover;
  border: 1px solid var(--line);
}
.art-robot { background-image: url("../assets/img/hero-robot.webp"); }
.art-code { background-image: url("../assets/img/bg-software.webp"); }
.art-edu { background-image: url("../assets/img/edu-robot.webp"); }

/* ---------- contact ---------- */
#contact { background: var(--ink); color: #fff; }
#contact .kicker { color: var(--green); }
#contact h2 { color: #fff; }
.contact-lede { color: #a9b3b0 !important; margin-bottom: 54px !important; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person {
  border: 1px solid #242a28; border-radius: 14px; padding: 30px 26px;
  background: #101413;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.person:hover { border-color: #3a4340; transform: translateY(-3px); }
.person-name { margin: 0 0 6px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.person-role { margin: 0; font-size: 13.5px; color: #97a19e; letter-spacing: 0.02em; }
.person-line { margin: 10px 0 0; font-size: 14.5px; }
.person-line a { color: var(--green); text-decoration: none; border-bottom: 1px solid rgba(3, 231, 176, 0.35); }
.person-line a:hover { border-bottom-color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #8d9794; border-top: 1px solid #242a28; padding: 34px 0 26px; }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-inner img { filter: invert(1); opacity: 0.92; height: 21px; width: auto; }
.footer-mid { margin: 0; font-size: 13.5px; flex: 1; text-align: center; }
.footer-copy { margin: 22px 0 0; text-align: center; font-size: 12.5px; color: #6d7774; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-rev .split-text { order: 1; }
  .split-rev .split-art { order: 2; }
  .people { grid-template-columns: 1fr; }
  .hero-bg { background-size: auto 78%; background-position: right bottom; opacity: 0.55; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 4px;
    margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--ink); display: block; }
  .ch-flag { margin-left: 0; }
  .nav-inner { gap: 14px; }
  .mobile-menu {
    display: none; flex-direction: column; padding: 6px 28px 18px;
    border-top: 1px solid var(--line); background: #fff;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 12px 0; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line); }
  .hero-inner { padding: 84px 28px 96px; }
  .section { padding: 76px 0; }
  .cards { grid-template-columns: 1fr; }
}
