:root {
  --bg: #070b12;
  --bg-soft: #0d1422;
  --text: #f6f8ff;
  --muted: rgba(246, 248, 255, .68);
  --line: rgba(255, 255, 255, .12);
  --card: rgba(255, 255, 255, .075);
  --accent: #8aefff;
  --accent-2: #ff9a5c;
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(122, 97, 255, .28), transparent 30rem),
    radial-gradient(circle at 82% 20%, rgba(138, 239, 255, .18), transparent 28rem),
    radial-gradient(circle at 78% 85%, rgba(255, 154, 92, .18), transparent 30rem),
    var(--bg);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { color: var(--muted); line-height: 1.7; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: 5;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  max-width: var(--max);
  margin: 18px auto 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 11, 18, .72);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 80px rgba(0, 0, 0, .22);
}

.brand, .nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07101d;
  background: linear-gradient(135deg, var(--accent), #fff, var(--accent-2));
  font-size: 13px;
}

.nav { gap: 8px; }
.nav a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: .25s ease;
}
.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 2px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 86px);
}

.eyebrow, .section-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; letter-spacing: -.06em; line-height: .96; }
h1 { max-width: 780px; font-size: clamp(52px, 7.3vw, 104px); }
h2 { font-size: clamp(38px, 5vw, 72px); }
h3 { font-size: 28px; }

.lead {
  max-width: 650px;
  margin: 26px 0 0;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: #07101d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #ffffff 46%, var(--accent-2));
}
.button.ghost {
  background: rgba(255, 255, 255, .06);
}
.button.large { min-width: 260px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}
.stats div, .service-grid article, .process, .contact, .about-grid {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .18);
}
.stats div {
  padding: 18px;
  border-radius: 22px;
}
.stats strong {
  display: block;
  font-size: 34px;
  letter-spacing: -.06em;
}
.stats span {
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}
.hero-visual img {
  width: 100%;
  border-radius: 44px;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, .38));
  transform: rotate(1.5deg);
}
.floating-card {
  position: absolute;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(7, 11, 18, .72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}
.floating-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.floating-card strong {
  display: block;
  margin-top: 4px;
  font-size: 21px;
}
.card-a { left: -10px; top: 18%; }
.card-b { right: -10px; bottom: 14%; }

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 42px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
}
.portrait {
  border-radius: 24px;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}
.about-grid p { font-size: 19px; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.tags span {
  padding: 10px 13px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-head p { font-size: 18px; }

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.065);
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}
.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(138, 239, 255, .34);
  background: rgba(255,255,255,.095);
}
.project-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}
.project-card div { padding: 20px; }
.project-card p {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-grid article {
  min-height: 250px;
  padding: 24px;
  border-radius: var(--radius);
}
.service-grid span {
  color: var(--accent-2);
  font-weight: 900;
}
.service-grid h3 {
  margin-top: 46px;
  font-size: 30px;
}
.service-grid p { margin-bottom: 0; }

.process {
  padding: 34px;
  border-radius: var(--radius);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 34px;
}
.timeline div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.055);
}
.timeline b {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
}
.timeline span {
  color: var(--muted);
  line-height: 1.45;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(138,239,255,.12), rgba(255,154,92,.10)),
    rgba(255,255,255,.075);
}
.contact p { margin-bottom: 0; font-size: 18px; }

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 18px 42px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .site-header { width: calc(100% - 28px); }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 72px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(7, 11, 18, .94);
    backdrop-filter: blur(20px);
  }
  .nav a { padding: 15px 16px; }
  body.nav-open .nav { display: flex; }

  .hero, .about-grid, .contact {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 60px; min-height: auto; }
  .projects, .service-grid, .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid { padding: 18px; }
  .portrait { max-height: 540px; width: 100%; }
  .contact { align-items: flex-start; }
}

@media (max-width: 620px) {
  .section { padding: 62px 14px; }
  .stats, .projects, .service-grid, .timeline {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 48px; }
  .hero-actions, .contact, .footer {
    flex-direction: column;
    align-items: stretch;
  }
  .button { width: 100%; }
  .card-a, .card-b {
    position: static;
    margin-top: 10px;
  }
}
