:root {
  --void: #06080d;
  --panel: rgba(13, 20, 30, 0.72);
  --panel-strong: rgba(17, 28, 42, 0.92);
  --text: #eef7f8;
  --muted: #8aa0a6;
  --cyan: #67f7ff;
  --mint: #8affc1;
  --amber: #f5c35b;
  --coral: #ff6b6b;
  --line: rgba(103, 247, 255, 0.2);
  --line-soft: rgba(238, 247, 248, 0.12);
  --glow: 0 0 44px rgba(103, 247, 255, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(103, 247, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(138, 255, 193, 0.12), transparent 26%),
    linear-gradient(135deg, #06080d 0%, #0b111b 48%, #05070b 100%);
  font-family: "IBM Plex Mono", monospace;
  line-height: 1.5;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

body::before {
  background-image:
    linear-gradient(rgba(103, 247, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 247, 255, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

body::after {
  background:
    linear-gradient(115deg, transparent 0 52%, rgba(103, 247, 255, 0.12) 52.2%, transparent 52.8%),
    linear-gradient(70deg, transparent 0 68%, rgba(138, 255, 193, 0.1) 68.2%, transparent 68.8%);
  opacity: 0.76;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient span {
  position: absolute;
  display: block;
  width: 34vmax;
  height: 34vmax;
  border: 1px solid rgba(103, 247, 255, 0.15);
  border-radius: 42%;
  opacity: 0.42;
  animation: drift 18s ease-in-out infinite;
}

.ambient span:nth-child(1) {
  top: -18vmax;
  left: -8vmax;
}

.ambient span:nth-child(2) {
  right: -16vmax;
  bottom: 8vmax;
  width: 28vmax;
  height: 28vmax;
  border-color: rgba(138, 255, 193, 0.14);
  animation-delay: -6s;
}

.ambient span:nth-child(3) {
  right: 20vw;
  bottom: -24vmax;
  width: 42vmax;
  height: 42vmax;
  border-color: rgba(245, 195, 91, 0.08);
  animation-delay: -11s;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.hero,
.section {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 18px;
  animation: reveal-down 700ms ease both;
}

.brand,
.nav-links,
.hero-actions,
.contact-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(103, 247, 255, 0.22), rgba(138, 255, 193, 0.08));
  box-shadow: var(--glow);
  color: var(--cyan);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.35rem;
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--cyan);
}

.nav-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(103, 247, 255, 0.08);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
  min-height: calc(100vh - 84px);
  padding: 54px 0 78px;
}

.hero-copy {
  animation: reveal-up 820ms 120ms ease both;
}

.eyebrow,
.project-kicker,
.card-label {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 830px;
  font-size: clamp(3.7rem, 9vw, 8.7rem);
  text-shadow: 0 0 34px rgba(103, 247, 255, 0.16);
}

.hero-text {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-actions,
.contact-links {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(103, 247, 255, 0.8);
  box-shadow: var(--glow);
}

.button.primary {
  color: #041014;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
}

.button.secondary {
  background: rgba(238, 247, 248, 0.04);
}

.studio-card {
  position: relative;
  min-height: 438px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(103, 247, 255, 0.13), transparent 42%),
    linear-gradient(20deg, rgba(138, 255, 193, 0.12), transparent 48%),
    var(--panel);
  box-shadow: var(--glow), inset 0 0 0 1px rgba(238, 247, 248, 0.04);
  backdrop-filter: blur(18px);
  animation: reveal-up 820ms 260ms ease both;
}

.studio-card::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(103, 247, 255, 0.13);
  border-radius: 6px;
  clip-path: polygon(0 0, 62% 0, 62% 22%, 100% 22%, 100% 100%, 0 100%);
}

.scanline {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(103, 247, 255, 0.16) 48%,
    transparent 52%,
    transparent 100%
  );
  transform: translateY(-100%);
  animation: scan 4.8s ease-in-out infinite;
}

.studio-card > *:not(.scanline) {
  position: relative;
  z-index: 1;
}

.studio-card h2 {
  position: relative;
  margin-top: 122px;
  font-size: clamp(3.5rem, 7vw, 6rem);
}

.studio-card p:not(.card-label) {
  position: relative;
  max-width: 320px;
  margin: 18px 0 24px;
  color: var(--muted);
}

.studio-card a,
.project-copy a,
.site-footer a {
  color: var(--cyan);
  font-weight: 600;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.28em;
}

.orbital {
  position: absolute;
  top: 30px;
  right: 28px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(103, 247, 255, 0.26);
  border-radius: 50%;
  animation: float 7s ease-in-out infinite;
}

.orbital span {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.orbital span:nth-child(1) {
  inset: 30px;
  border: 1px dashed rgba(138, 255, 193, 0.32);
}

.orbital span:nth-child(2) {
  width: 52px;
  height: 52px;
  top: 12px;
  left: 22px;
  background: var(--cyan);
  box-shadow: 0 0 32px rgba(103, 247, 255, 0.5);
}

.orbital span:nth-child(3) {
  width: 28px;
  height: 28px;
  right: 18px;
  bottom: 34px;
  background: var(--amber);
  box-shadow: 0 0 28px rgba(245, 195, 91, 0.45);
}

.section {
  padding: 76px 0;
}

.intro {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.intro p {
  max-width: 940px;
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.capabilities {
  padding-bottom: 28px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.capability-grid article {
  position: relative;
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(238, 247, 248, 0.08), transparent 42%),
    rgba(13, 20, 30, 0.58);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.capability-grid article::before {
  position: absolute;
  inset: auto 18px 18px auto;
  width: 92px;
  height: 92px;
  content: "";
  border: 1px solid rgba(103, 247, 255, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(103, 247, 255, 0.08);
}

.capability-grid article:hover,
.capability-grid article:focus-within {
  transform: translateY(-6px);
  border-color: rgba(103, 247, 255, 0.45);
  box-shadow: var(--glow);
}

.capability-grid span {
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

.capability-grid h3 {
  margin-top: 42px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.capability-grid p {
  max-width: 310px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2,
.contact h2 {
  max-width: 780px;
  font-size: clamp(2.5rem, 5.6vw, 5.4rem);
}

.project {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(238, 247, 248, 0.08), transparent),
    var(--panel);
  box-shadow: inset 0 0 0 1px rgba(238, 247, 248, 0.04);
  backdrop-filter: blur(16px);
}

.project:hover .phone-frame {
  transform: rotate(-1deg) translateY(-8px);
}

.project-media {
  display: grid;
  min-height: 440px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(103, 247, 255, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 45%, rgba(103, 247, 255, 0.18), transparent 31%),
    linear-gradient(135deg, rgba(255, 107, 107, 0.12), transparent),
    linear-gradient(315deg, rgba(138, 255, 193, 0.16), transparent 70%);
}

.phone-frame {
  width: min(250px, 70vw);
  padding: 12px;
  border: 1px solid rgba(238, 247, 248, 0.32);
  border-radius: 36px;
  background: #06080d;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.5), 0 0 42px rgba(103, 247, 255, 0.2);
  transform: rotate(-3deg);
  transition: transform 260ms ease;
}

.phone-top {
  width: 76px;
  height: 8px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(238, 247, 248, 0.22);
}

.phone-screen {
  min-height: 365px;
  padding: 28px 22px;
  border: 1px solid rgba(103, 247, 255, 0.18);
  border-radius: 25px;
  background:
    linear-gradient(rgba(103, 247, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(138, 255, 193, 0.26), transparent 25%),
    #08111a;
  background-size: 100% 22px, auto, auto;
}

.kanan-dot {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 74px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  box-shadow: 0 0 32px rgba(103, 247, 255, 0.36);
  animation: pulse 2.8s ease-in-out infinite;
}

.phone-screen h3 {
  color: var(--text);
  font-size: 2.5rem;
}

.phone-screen p {
  margin: 12px 0 28px;
  color: var(--muted);
}

.screen-lines {
  display: grid;
  gap: 10px;
}

.screen-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(103, 247, 255, 0.18);
}

.screen-lines span:nth-child(2) {
  width: 72%;
  background: rgba(138, 255, 193, 0.18);
}

.screen-lines span:nth-child(3) {
  width: 48%;
  background: rgba(245, 195, 91, 0.24);
}

.project-copy h3 {
  font-size: clamp(2.8rem, 5.4vw, 5.8rem);
}

.project-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.02rem;
}

.project-facts {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  border-top: 1px solid var(--line-soft);
}

.project-facts div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.project-facts dt {
  color: var(--muted);
  font-weight: 500;
}

.project-facts dd {
  margin: 0;
  font-weight: 600;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  padding-bottom: 92px;
}

.contact-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--glow);
}

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

.contact-panel .button.primary {
  border-color: transparent;
}

.contact-panel .button.secondary {
  color: var(--text);
  background: transparent;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(4deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(3vw, -2vh, 0) rotate(18deg);
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-down {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scan {
  0%,
  38% {
    transform: translateY(-100%);
  }

  62%,
  100% {
    transform: translateY(100%);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.94);
    opacity: 0.78;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero,
  .project,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .studio-card {
    min-height: 370px;
  }

  .studio-card h2 {
    margin-top: 92px;
  }

  .project-media {
    min-height: 370px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    display: grid;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    padding-inline: 8px;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 5rem);
  }

  .hero-actions .button,
  .contact-links .button {
    width: 100%;
  }

  .section {
    padding: 54px 0;
  }

  .project-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
