* {
  box-sizing: border-box;
}

:root {
  --bg: #070910;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #f5f7fb;
  --muted: #aab2c5;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #8b5cf6;
  --accent-2: #21d4fd;
  --good: #22c55e;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #182044 0, transparent 34%), var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 36px 36px;
}

.orb {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
  animation: drift 14s ease-in-out infinite alternate;
}

.orb-one {
  background: var(--accent);
  top: 8%;
  right: -160px;
}

.orb-two {
  background: var(--accent-2);
  bottom: -200px;
  left: -120px;
  animation-delay: -5s;
}

@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(30px,-40px,0) scale(1.12); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(7, 9, 16, 0.74);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 14px;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: white;
}

.section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 86px clamp(18px, 4vw, 36px);
}

.hero {
  min-height: 88vh;
  display: grid;
  align-items: center;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  padding-top: 70px;
}

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9fd8ff;
  font-size: 12px;
  font-weight: 800;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}

.hero-sub,
.section-heading p,
.about-section > p {
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid var(--line);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
}

.btn.secondary {
  background: rgba(255,255,255,0.06);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
}

.stats div,
.intro-card,
.project-card,
.workflow div,
.tool-groups div,
.about-section,
.contact-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.045));
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
}

.stats div {
  padding: 18px;
  border-radius: 22px;
}

.stats strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.portrait-wrap {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 38px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0,0,0,0.42);
  transform-style: preserve-3d;
}

.portrait-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,9,16,.72), transparent 42%);
}

.available {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(7,9,16,.72);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  font-weight: 800;
}

.available span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 20px var(--good);
}

.floating-card {
  position: absolute;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  font-weight: 800;
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
}

.card-a { top: 48px; left: -30px; }
.card-b { right: -24px; top: 210px; }
.card-c { left: 12px; bottom: 92px; }

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

.intro-card {
  padding: 28px;
  border-radius: 28px;
}

.icon {
  display: block;
  font-size: 34px;
  margin-bottom: 20px;
}

.intro-card p,
.project-card p,
.workflow p,
.tool-groups p {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 34px;
}

.project-grid {
  display: grid;
  gap: 22px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.96fr) 1.04fr;
  gap: 0;
  overflow: hidden;
  border-radius: 30px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,92,246,.55);
  background: linear-gradient(180deg, rgba(139,92,246,.12), rgba(255,255,255,0.045));
}

.project-video {
  position: relative;
  min-height: 360px;
  background: #111827;
}

.project-video iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.project-copy {
  padding: 30px;
}

.project-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.project-topline span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #cbd5e1;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}

.project-style {
  color: #9fd8ff !important;
  font-weight: 800;
  margin-bottom: 22px;
}

.project-points {
  display: grid;
  gap: 14px;
}

.project-points p {
  margin: 0;
}

.project-points strong {
  display: block;
  color: white;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.workflow div {
  padding: 22px;
  border-radius: 24px;
}

.workflow span {
  color: #9fd8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

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

.tool-groups div {
  padding: 24px;
  border-radius: 26px;
}

.about-section {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 40px;
  padding: 42px;
  border-radius: 34px;
}

.contact-section {
  text-align: center;
  padding: 58px 28px;
  border-radius: 38px;
}

.email-link {
  display: inline-flex;
  margin-top: 14px;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  color: transparent;
}

footer {
  position: relative;
  z-index: 1;
  padding: 30px 20px 50px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  nav { display: none; }
  .hero,
  .project-card,
  .about-section {
    grid-template-columns: 1fr;
  }
  .hero {
    gap: 34px;
    padding-top: 42px;
  }
  .hero-visual,
  .portrait-wrap,
  .portrait-wrap img {
    min-height: 460px;
    height: 460px;
  }
  .intro-grid,
  .workflow,
  .tool-groups,
  .stats {
    grid-template-columns: 1fr;
  }
  .floating-card {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }
  .section {
    padding: 56px 16px;
  }
  h1 {
    font-size: 46px;
  }
  .project-video,
  .project-video iframe {
    min-height: 260px;
  }
  .project-copy {
    padding: 22px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}
