:root {
  --bg: #0a0a0b;
  --surface: #121214;
  --surface-2: #19191c;
  --text: #f7f5fa;
  --muted: #a8a4ae;
  --line: rgba(255,255,255,.1);
  --purple: #a600ff;
  --purple-2: #d16bff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 0;
  right: 0;
}
.nav-shell {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 14px 0 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(16,16,18,.82);
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; }
.brand img { width: 37px; height: 37px; border-radius: 10px; object-fit: cover; }
.brand span em { color: var(--purple-2); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 30px; color: #d7d4dc; font-size: .93rem; }
.nav-links a:hover { color: #fff; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.panel-link { color: #d9d4df; padding: 11px 14px; font-size: .9rem; }
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #8f00ff, #be00ff);
  color: #fff;
  font-weight: 720;
  box-shadow: 0 10px 30px rgba(166,0,255,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pill-button:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(166,0,255,.35); }
.menu-button { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: #202024; color: #fff; }

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  padding: 150px 0 90px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: 600px;
  height: 600px;
  right: -130px;
  top: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(213,112,255,.78), rgba(151,0,255,.3) 38%, rgba(82,0,126,.08) 68%, transparent 72%);
  filter: blur(5px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 86%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--purple-2); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
h1 { margin: 24px 0 28px; max-width: 850px; font-size: clamp(3.55rem, 8.8vw, 7.7rem); line-height: .88; letter-spacing: -.075em; font-weight: 850; }
h1 .outline { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.48); }
.hero-copy { max-width: 590px; color: #c2bec7; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ghost-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: #e7e3ea; background: rgba(255,255,255,.035); }
.ghost-button:hover { background: rgba(255,255,255,.07); }
.hero-side { padding-bottom: 8px; }
.hero-note { border-left: 1px solid rgba(255,255,255,.2); padding-left: 24px; color: var(--muted); }
.hero-note strong { display: block; color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.scroll-label { margin-top: 66px; display: flex; gap: 14px; align-items: center; color: #87838d; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; }
.scroll-label i { width: 48px; height: 1px; background: #69666f; }

section { padding: 110px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-head h2 { margin: 12px 0 0; font-size: clamp(2.5rem, 5vw, 4.7rem); line-height: .98; letter-spacing: -.055em; }
.section-head p { max-width: 430px; margin: 0; color: var(--muted); }

.services { background: #0d0d0f; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.service-card { min-height: 260px; position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, #18181b, #111113); transition: border-color .25s ease, transform .25s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(189,64,255,.45); }
.service-card.large { grid-column: span 6; }
.service-card.small { grid-column: span 3; }
.service-icon { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(196,78,255,.35); border-radius: 16px; color: var(--purple-2); background: rgba(166,0,255,.08); }
.service-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.service-card h3 { margin: 52px 0 10px; font-size: 1.4rem; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--muted); max-width: 430px; }
.service-number { position: absolute; top: 28px; right: 28px; color: #5d5963; font-size: .8rem; letter-spacing: .13em; }
.service-card.large::after { content: ""; position: absolute; width: 170px; height: 170px; right: -65px; bottom: -80px; border-radius: 50%; background: var(--purple); filter: blur(60px); opacity: .22; }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 88px; align-items: center; }
.about-mark { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 38px; background: radial-gradient(circle at 50% 45%, #2c1637, #131315 62%); border: 1px solid var(--line); overflow: hidden; }
.about-mark::before { content: ""; position: absolute; inset: 10%; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; }
.about-mark img { width: 64%; height: 64%; object-fit: cover; border-radius: 32px; filter: drop-shadow(0 22px 45px rgba(166,0,255,.27)); }
.about-copy h2 { margin: 16px 0 24px; font-size: clamp(2.5rem, 4.8vw, 4.5rem); line-height: 1; letter-spacing: -.055em; }
.about-copy > p { color: #b8b4be; font-size: 1.08rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.value { padding: 19px; border: 1px solid var(--line); border-radius: 18px; background: #111113; }
.value strong { display: block; margin-bottom: 5px; }
.value span { color: var(--muted); font-size: .88rem; }

.contact { padding-top: 40px; }
.contact-panel { position: relative; overflow: hidden; border-radius: 36px; padding: 64px; background: linear-gradient(135deg, #8610c4, #b200f6 55%, #7020a0); }
.contact-panel::after { content: "R"; position: absolute; right: -30px; bottom: -100px; font-size: 27rem; line-height: 1; font-weight: 900; color: rgba(255,255,255,.09); }
.contact-panel h2 { position: relative; z-index: 1; max-width: 780px; margin: 0; font-size: clamp(2.7rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.06em; }
.contact-panel p { position: relative; z-index: 1; max-width: 600px; font-size: 1.08rem; color: rgba(255,255,255,.8); }
.contact-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.contact-button { display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 0 20px; border-radius: 999px; background: #fff; color: #16091c; font-weight: 760; }
.contact-button.dark { background: #18131b; color: #fff; }
.contact-button svg { width: 20px; height: 20px; fill: currentColor; }

footer { padding: 44px 0 34px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #85818a; font-size: .9rem; }
.footer-links { display: flex; gap: 22px; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu-button { display: inline-grid; place-items: center; }
  .nav-shell.open { height: auto; align-items: flex-start; flex-wrap: wrap; padding-bottom: 14px; }
  .nav-shell.open .nav-links { width: 100%; order: 4; display: grid; gap: 0; }
  .nav-shell.open .nav-links a { padding: 13px 4px; border-top: 1px solid var(--line); }
  .panel-link { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-side { max-width: 520px; }
  .service-card.large { grid-column: span 8; }
  .service-card.small { grid-column: span 4; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-mark { max-width: 560px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 26px, var(--max)); }
  .site-header { top: 8px; }
  .nav-shell { height: 62px; border-radius: 18px; }
  .brand span { font-size: .92rem; }
  .header-actions .pill-button { display: none; }
  .hero { padding: 128px 0 68px; min-height: auto; }
  .hero::before { width: 390px; height: 390px; right: -210px; top: 90px; }
  h1 { font-size: clamp(3.2rem, 18vw, 5rem); }
  .hero-copy { font-size: 1rem; }
  .hero-side { display: none; }
  .scroll-label { margin-top: 44px; }
  section { padding: 78px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card.large, .service-card.small { grid-column: auto; }
  .service-card { min-height: 238px; padding: 24px; }
  .service-card h3 { margin-top: 40px; }
  .values { grid-template-columns: 1fr; }
  .contact-panel { padding: 38px 24px; border-radius: 26px; }
  .contact-actions { display: grid; }
  .contact-button { justify-content: center; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

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