﻿:root {
  --ink: #17211f;
  --muted: #65716d;
  --paper: #f5f2eb;
  --panel: #ffffff;
  --line: #d8d2c6;
  --green: #0f7668;
  --green-dark: #0a5149;
  --blue: #244a73;
  --coral: #cf5f47;
  --gold: #b8903f;
  --shadow: 0 22px 70px rgba(23, 33, 31, 0.16);
}

@property --orbit-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.card-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  display: inline-block;
  color: var(--green);
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  animation: icon-pulse 5.6s ease-in-out infinite;
}
.card-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.card-title h3 { margin-bottom: 0; }

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 5vw, 72px);
  color: #fff;
  transition: background .25s ease, box-shadow .25s ease;
}
.topbar.is-elevated { background: rgba(23, 33, 31, .94); box-shadow: 0 16px 50px rgba(0,0,0,.18); }
.brand img { width: 156px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 18px); font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.nav a { opacity: .84; }
.nav a + a::before { content: "·"; margin-right: clamp(8px, 1.4vw, 18px); color: rgba(255,255,255,.42); }
.nav a:hover, .nav a:focus-visible { opacity: 1; color: #8de0cf; }
.language-switch { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; background: rgba(255,255,255,.08); }
.mobile-language { display: none; }
.language-switch button { min-width: 34px; height: 30px; border: 0; border-radius: 6px; color: rgba(255,255,255,.72); background: transparent; font: inherit; font-size: .78rem; font-weight: 900; cursor: pointer; }
.language-switch button:hover, .language-switch button:focus-visible, .language-switch button.is-active { color: #10201d; background: #8de0cf; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.42); border-radius: 8px; background: transparent; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: #fff; }

.hero { position: relative; min-height: 100vh; overflow: hidden; color: #fff; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 17, 20, .9), rgba(10, 17, 20, .62) 46%, rgba(10, 17, 20, .28)),
    linear-gradient(180deg, rgba(10, 17, 20, .18), rgba(10, 17, 20, .48));
}
.hero-inner {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(260px, .7fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: 112px clamp(20px, 5vw, 72px) 52px;
}
.hero-copy { max-width: 820px; }
.eyebrow { margin: 0 0 14px; color: var(--coral); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hero .eyebrow { color: #8de0cf; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(3.5rem, 9vw, 8.5rem); line-height: .9; letter-spacing: 0; }
h2 { margin-bottom: 0; font-size: clamp(2rem, 4.7vw, 4.8rem); line-height: 1; letter-spacing: 0; }
h3 { margin-bottom: 10px; line-height: 1.2; }
.lead { max-width: 680px; color: rgba(255,255,255,.86); font-size: clamp(1.1rem, 2vw, 1.38rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 8px; padding: 12px 20px; font-weight: 900; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn.primary { border-color: var(--green); background: var(--green); color: #fff; }
.hero .btn.primary { border-color: #8de0cf; background: #8de0cf; color: #10201d; }
.btn.secondary { color: #fff; background: rgba(255,255,255,.08); }
.profile-panel { align-self: end; max-width: 420px; display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 18px; border: 1px solid rgba(255,255,255,.26); border-radius: 8px; background: rgba(9,18,16,.42); backdrop-filter: blur(14px); }
.portrait { width: 96px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.profile-panel strong, .profile-panel span { display: block; }
.profile-panel span { color: rgba(255,255,255,.76); font-size: .95rem; }

.section { padding: clamp(62px, 9vw, 124px) clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(300px, 1.15fr); gap: clamp(28px, 7vw, 92px); }
.flow { color: var(--muted); font-size: 1.08rem; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.facts span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: #fff; color: var(--ink); font-weight: 800; font-size: .9rem; }
.section-heading { max-width: 860px; margin-bottom: 34px; }
.section-heading.wide { max-width: 1040px; }
.skills-section { background: #fff; }
.skills-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.skills-grid article { min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.skills-grid p, .services-list p, .project-card p, .solve-grid p, .product-grid p { color: var(--muted); margin-bottom: 0; }
.solve-section { background: var(--paper); }
.solve-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.skills-grid article,
.solve-grid article,
.named-products article,
.product-grid article,
.project-card,
.services-list article {
  position: relative;
  animation: card-in .55s ease both;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.skills-grid article:hover,
.solve-grid article:hover,
.named-products article:hover,
.product-grid article:hover,
.project-card:hover,
.services-list article:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 46px rgba(23, 33, 31, .14);
}
.has-orbit {
  position: relative;
  overflow: hidden;
}
.has-orbit::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--orbit-angle),
    transparent 0deg,
    transparent 292deg,
    rgba(141, 224, 207, .08) 306deg,
    rgba(141, 224, 207, .48) 320deg,
    rgba(78, 218, 200, .96) 334deg,
    rgba(141, 224, 207, .76) 348deg,
    transparent 360deg
  );
  filter: drop-shadow(0 0 9px rgba(141, 224, 207, .82)) drop-shadow(0 0 18px rgba(141, 224, 207, .42));
  opacity: .9;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: shooting-border var(--shooting-duration, 7.8s) linear infinite;
  animation-delay: var(--shooting-delay, 0s);
}
.has-orbit::before {
  content: none;
}
.skills-grid article:nth-child(2),
.solve-grid article:nth-child(2),
.named-products article:nth-child(2),
.product-grid article:nth-child(2),
.project-grid article:nth-child(2),
.services-list article:nth-child(2) { animation-delay: .06s; }
.skills-grid article:nth-child(3),
.solve-grid article:nth-child(3),
.named-products article:nth-child(3),
.product-grid article:nth-child(3),
.project-grid article:nth-child(3),
.services-list article:nth-child(3) { animation-delay: .12s; }
.skills-grid article:nth-child(4),
.solve-grid article:nth-child(4),
.named-products article:nth-child(4),
.product-grid article:nth-child(4),
.project-grid article:nth-child(4),
.services-list article:nth-child(4) { animation-delay: .18s; }
.skills-grid article:nth-child(5),
.named-products article:nth-child(5),
.product-grid article:nth-child(5),
.project-grid article:nth-child(5),
.services-list article:nth-child(5) { animation-delay: .24s; }
.skills-grid article:nth-child(6),
.named-products article:nth-child(6),
.project-grid article:nth-child(6),
.services-list article:nth-child(6) { animation-delay: .3s; }
.skills-grid article:nth-child(7),
.named-products article:nth-child(7) { animation-delay: .36s; }
.skills-grid article:nth-child(8),
.named-products article:nth-child(8) { animation-delay: .42s; }
.solve-grid article { min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.solve-grid h3 { font-size: 1.35rem; }
.products-section { background: #fff; }
.intro-copy { max-width: 900px; margin: -12px 0 34px; color: var(--muted); font-size: 1.08rem; }
.named-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 42px; }
.named-products article { min-height: 280px; padding: 26px; border-radius: 8px; background: #17211f; color: #fff; }
.named-products .card-icon, .services-list .card-icon { color: #8de0cf; }
.named-products span { display: inline-block; margin-bottom: 18px; color: #8de0cf; font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.named-products p { margin-bottom: 0; color: rgba(255,255,255,.72); }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.product-grid article { min-height: 320px; padding: 28px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.product-grid span { display: inline-block; margin-bottom: 18px; color: var(--green-dark); font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.ecosystem-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(23,33,31,.96), rgba(10,81,73,.92) 52%, rgba(36,74,115,.88)),
    #17211f;
  color: #fff;
}
.ecosystem-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 82px 82px;
  opacity: .32;
}
.ecosystem-section > * { position: relative; }
.ecosystem-section .eyebrow { color: #8de0cf; }
.ecosystem-section .intro-copy { color: rgba(255,255,255,.72); }
.ecosystem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.ecosystem-grid article {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 58px rgba(0,0,0,.18);
  overflow: hidden;
}
.ecosystem-card-link,
.store-toggle {
  width: 100%;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
}
.ecosystem-card-link { transition: transform .22s ease, background .22s ease; }
.ecosystem-card-link:hover,
.ecosystem-card-link:focus-visible { transform: translateY(-4px); background: rgba(255,255,255,.05); }
.store-toggle {
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.store-toggle:hover,
.store-toggle:focus-visible { background: rgba(255,255,255,.05); }
.ecosystem-grid .card-icon { color: #8de0cf; }
.ecosystem-grid p { color: rgba(255,255,255,.72); margin-bottom: 22px; }
.ecosystem-grid span {
  margin-top: auto;
  color: #8de0cf;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.store-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  padding: 0 26px 26px;
}
.store-logo-grid[hidden] { display: none; }
.store-logo-grid a {
  min-height: 226px;
  display: grid;
  grid-template-rows: 136px auto;
  align-items: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  transition: transform .2s ease, background .2s ease;
}
.store-logo-grid a:hover,
.store-logo-grid a:focus-visible { transform: translateY(-3px); background: rgba(255,255,255,.15); }
.store-logo-grid img {
  max-width: 100%;
  max-height: 128px;
  justify-self: center;
  object-fit: contain;
  border-radius: 7px;
  filter: saturate(.94) contrast(1.02);
}
.store-logo-grid strong {
  color: #fff;
  font-size: .82rem;
  line-height: 1.2;
  text-align: center;
}
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.project-card { min-height: 390px; display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.project-card.featured { grid-column: span 2; }
.project-card picture { display: block; width: 100%; }
.project-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #d8d2c6; }
.project-card div { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; }
.project-card span { color: var(--gold); font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.project-more {
  margin-top: auto;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 12px 0 2px;
  color: var(--green-dark);
  background: transparent;
  font: inherit;
  font-size: .92rem;
  font-weight: 900;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.project-more:hover,
.project-more:focus-visible {
  color: var(--green);
}
.project-more:focus-visible { outline: 3px solid rgba(15,118,104,.2); outline-offset: 3px; }
.project-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.project-modal.is-open { display: flex; }
.project-modal-backdrop { position: absolute; inset: 0; background: rgba(10,17,20,.72); backdrop-filter: blur(8px); }
.project-modal-dialog { position: relative; width: min(960px, 100%); max-height: min(860px, calc(100vh - 40px)); overflow: auto; border: 1px solid rgba(216,210,198,.88); border-radius: 8px; padding: clamp(26px, 4vw, 46px); background: rgba(255,255,255,.96); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.project-modal-close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.project-modal-summary { max-width: 780px; color: var(--muted); font-size: 1.08rem; }
.project-detail-grid { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 18px; margin: 30px 0; }
.project-detail-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.project-detail-grid h3 { font-size: 1.05rem; }
.project-detail-grid p, .project-detail-grid ul { margin-bottom: 0; color: var(--muted); }
.project-detail-grid ul { padding-left: 18px; }
.project-modal-link[hidden] { display: none; }
.body-lock { overflow: hidden; }
.services-section { background: #17211f; color: #fff; }
.services-section .eyebrow { color: #8de0cf; }
.services-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.16); }
.services-list article { min-height: 230px; padding: 26px; background: #17211f; }
.services-list p { color: rgba(255,255,255,.72); }
.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(340px, .85fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(15, 118, 104, .08), rgba(36, 74, 115, .08) 44%, rgba(255,255,255,.92)),
    repeating-linear-gradient(90deg, rgba(23,33,31,.035) 0 1px, transparent 1px 72px),
    #fff;
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.64), transparent 34%, rgba(255,255,255,.42));
}
.contact-section > * { position: relative; }
.contact-copy p { color: var(--muted); }
.contact-lead { margin: 26px 0 34px; max-width: 680px; }
.contact-copy a { color: var(--green-dark); font-weight: 900; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.contact-tile { min-height: 104px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.72); backdrop-filter: blur(10px); transition: transform .22s ease, box-shadow .22s ease; }
.contact-tile .card-title { align-items: center; margin-bottom: 10px; }
.contact-tile:hover, .contact-tile:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 42px rgba(23,33,31,.12); }
.contact-tile span, .contact-status-card span { color: var(--muted); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.contact-tile strong, .contact-status-card strong { display: block; color: var(--ink); line-height: 1.25; }
.contact-panel { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: rgba(245,242,235,.86); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.contact-status-card { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; margin-bottom: 18px; padding: 18px; border-radius: 8px; background: #17211f; color: #fff; }
.contact-status-card .card-icon { color: #8de0cf; }
.contact-status-card span { color: #8de0cf; }
.contact-status-card strong { color: #fff; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: var(--muted); font-weight: 800; }
.contact-form label span { font-size: .9rem; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; font: inherit; color: var(--ink); background: var(--paper); }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(15,118,104,.18); border-color: var(--green); }
.contact-form button { width: max-content; }
.form-status { min-height: 24px; margin: 0; color: var(--green-dark); font-weight: 800; }
.footer { display: flex; justify-content: space-between; gap: 16px; padding: 28px clamp(20px, 5vw, 72px); color: var(--muted); }

@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes icon-pulse {
  0%, 100% { transform: scale(1); opacity: .86; }
  50% { transform: scale(1.045); opacity: 1; }
}

@keyframes shooting-border {
  0% { --orbit-angle: 0deg; opacity: 0; }
  8% { opacity: .9; }
  88% { opacity: .9; }
  100% { --orbit-angle: 360deg; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .has-orbit::before,
  .has-orbit::after {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-inner, .split, .contact-section { grid-template-columns: 1fr; }
  .profile-panel { align-self: auto; }
  .skills-grid, .services-list, .solve-grid, .product-grid, .named-products, .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .topbar { height: 68px; }
  .brand img { width: 132px; }
  .nav-toggle { display: block; order: 3; }
  .nav { position: absolute; inset: 68px 14px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border-radius: 8px; background: rgba(23,33,31,.98); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a + a::before { content: none; }
  .nav a { padding: 13px 10px; }
  .desktop-language { display: none; }
  .mobile-language { display: flex; margin: 10px 8px 4px; justify-content: space-between; }
  .mobile-language button { flex: 1; }
  .hero-inner { padding-top: 96px; }
  h1 { font-size: 3.4rem; }
  .skills-grid, .services-list, .project-grid, .solve-grid, .product-grid, .named-products, .ecosystem-grid { grid-template-columns: 1fr; }
  .store-logo-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; }
  .project-detail-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-form button { width: 100%; }
}
