:root {
  --blue: #38b6ff;
  --blue-deep: #1494e0;
  --purple: #5d17eb;
  --purple-ink: #3b0d9c;
  --ink: #14082b;
  --muted: #5c5670;
  --paper: #f4f6f8;
  --white: #ffffff;
  --line: rgba(20, 8, 43, 0.1);
  --shadow: 0 24px 60px rgba(20, 8, 43, 0.12);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

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

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: var(--white);
  padding: 8px 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand-bati { color: var(--blue); }
.brand-pouye { color: var(--purple); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.nav a:hover { color: var(--purple); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(93, 23, 235, 0.25);
}

.btn-primary:hover { background: var(--purple-ink); }

.btn-ghost {
  background: var(--white);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.4rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(20, 8, 43, 0.82) 0%, rgba(20, 8, 43, 0.35) 55%, rgba(56, 182, 255, 0.28) 100%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  padding: 80px 0 96px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 36ch;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.stats {
  background: var(--ink);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 0;
}

.stats strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  color: var(--blue);
}

.section { padding: 88px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--purple);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h2 {
  margin: 0 0 12px;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card h3 {
  margin: 0 0 8px;
  font-family: "Syne", sans-serif;
}

.card p { margin: 0; color: var(--muted); }

.project {
  background: var(--paper);
}

.project-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.project-copy p { color: var(--muted); }

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.gallery-main { min-height: 360px; }
.gallery-side { display: grid; gap: 12px; }

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.value {
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f7f2ff, #ffffff);
  border: 1px solid var(--line);
}

.value span {
  display: inline-block;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--purple);
  color: var(--white);
  font-weight: 800;
  text-align: center;
  line-height: 42px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  padding: 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--ink), #2a1570);
  color: var(--white);
}

.contact-box h2 { color: var(--white); }
.contact-box p { color: rgba(255, 255, 255, 0.78); }

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list a,
.contact-list p {
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav.open { display: flex; }

  .stats-grid,
  .cards,
  .values,
  .project-layout,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .gallery { grid-template-columns: 1fr; }
  .gallery-main { min-height: 240px; }
}
