:root {
  --bg: #071017;
  --bg-soft: #0f1720;
  --panel: rgba(14, 17, 24, 0.72);
  --panel-strong: rgba(18, 22, 31, 0.94);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef2f7;
  --muted: #97a7b8;
  --accent: #6ce2ff;
  --accent-2: #ffd280;
  --highlight: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(108, 226, 255, 0.16), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(255, 210, 128, 0.12), transparent 18%),
    linear-gradient(180deg, #061018 0%, #09131b 45%, #061018 100%);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(108, 226, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #061018 0%, #09131b 45%, #061018 100%);
  transition:
    opacity 800ms ease,
    visibility 800ms ease;
}

.site-intro.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.site-intro-mark {
  display: grid;
  justify-items: center;
  gap: 18px;
  animation: introRise 1.2s ease both;
}

.site-intro-name,
.site-intro-brand {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
}

.site-intro-name {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--highlight);
}

.site-intro-brand {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: var(--accent);
}

.site-intro-line {
  width: 140px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(108, 226, 255, 0), rgba(108, 226, 255, 0.95), rgba(255, 210, 128, 0));
  animation: introLine 1.1s ease both;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 3px 3px, 120px 120px;
}

.orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 14s ease-in-out infinite;
}

.orb-one {
  top: 90px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: rgba(140, 200, 255, 0.12);
}

.orb-two {
  right: -120px;
  top: 360px;
  width: 340px;
  height: 340px;
  background: rgba(255, 210, 128, 0.12);
  animation-duration: 18s;
}

.music-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 8, 12, 0.76);
  backdrop-filter: blur(12px);
}

.music-modal.is-hidden {
  display: none;
}

.music-modal-card {
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17, 20, 29, 0.95), rgba(11, 14, 19, 0.98));
  box-shadow: var(--shadow);
}

.music-modal-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.music-modal-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.music-modal-card p {
  color: var(--muted);
  line-height: 1.75;
}

.music-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 56px;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 900ms ease,
    transform 900ms ease;
}

body.is-loading .page-shell {
  opacity: 0;
  transform: translateY(20px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 13, 19, 0.72);
  backdrop-filter: blur(18px);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand,
.site-nav a,
.contact-links a,
.button {
  color: inherit;
  text-decoration: none;
}

.brand {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(108, 226, 255, 0.85), rgba(255, 210, 128, 0.55));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 226, 255, 0.28);
  background: rgba(108, 226, 255, 0.07);
}

.site-nav .nav-cta {
  border: 1px solid rgba(108, 226, 255, 0.28);
  background: rgba(108, 226, 255, 0.08);
  color: var(--highlight);
  font-weight: 700;
}

.site-nav .nav-cta:hover {
  border-color: rgba(108, 226, 255, 0.45);
  background: rgba(108, 226, 255, 0.14);
}

.site-nav a:hover,
.contact-links a:hover,
.button:hover {
  color: var(--highlight);
}

.button:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: end;
  padding: 42px 0 18px;
}

.eyebrow,
.panel-label,
.card-kicker,
.project-type {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.showcase-copy h2,
.contact-card h2 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 800;
}

.hero h1 span,
.section-heading h2,
.showcase-copy h2,
.contact-card h2 {
  display: block;
}

.hero h1 span {
  margin-top: 12px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: #d5ddee;
  background: linear-gradient(90deg, #d5ddee 0%, #ffffff 38%, #cfeeff 52%, #d5ddee 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShimmer 7s linear infinite;
}

.hero-text,
.glass-card p,
.project-card p,
.service-card p,
.process-card p,
.showcase-copy p,
.contact-card p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: 0.98rem;
}

.hero-mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-mini-points span,
.stack-list span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--highlight);
  font-size: 0.9rem;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.hero-mini-points span:hover,
.stack-list span:hover {
  transform: translateY(-3px);
  border-color: rgba(108, 226, 255, 0.24);
  background: rgba(108, 226, 255, 0.08);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hero-stat {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  animation: statFloat 6s ease-in-out infinite;
}

.hero-stat:nth-child(2) {
  animation-delay: 0.9s;
}

.hero-stat:nth-child(3) {
  animation-delay: 1.8s;
}

.hero-stat-value {
  display: block;
  margin-bottom: 8px;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--highlight);
}

.hero-stat-label {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.magnetic-button {
  will-change: transform;
}

.button-primary {
  color: #04121a;
  background: linear-gradient(135deg, #d5fbff 0%, #73ddf4 100%);
  box-shadow: 0 18px 50px rgba(108, 226, 255, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-3px) scale(1.01);
}

.hero-panel,
.glass-card,
.project-card,
.service-card,
.process-card,
.stack-panel,
.contact-card,
.showcase-card {
  background: linear-gradient(180deg, rgba(17, 20, 29, 0.88), rgba(11, 14, 19, 0.92));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel,
.glass-card,
.project-card,
.service-card,
.process-card,
.stack-panel,
.contact-card {
  padding: 26px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.hero-panel {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 210, 128, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(17, 20, 29, 0.9), rgba(11, 14, 19, 0.94));
}

.hero-photo-wrap {
  position: relative;
  margin-bottom: 22px;
  padding: 10px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(108, 226, 255, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: -20% auto auto -20%;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(108, 226, 255, 0.16), transparent 70%);
  animation: glowSweep 8s ease-in-out infinite;
}

.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  object-fit: cover;
  animation: portraitFloat 7s ease-in-out infinite;
  transform-origin: center top;
}

.glass-card:hover,
.project-card:hover,
.service-card:hover,
.process-card:hover,
.contact-card:hover,
.stack-panel:hover,
.hero-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 226, 255, 0.22);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.showcase-card,
.now-card,
.shot-card,
.company-card {
  position: relative;
  overflow: hidden;
}

.showcase-card::before,
.now-card::before,
.shot-card::before,
.company-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(108, 226, 255, 0.09), transparent 70%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.showcase-card:hover::before,
.now-card:hover::before,
.shot-card:hover::before,
.company-card:hover::before {
  opacity: 1;
}

.panel-block + .panel-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.panel-meta {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-block strong {
  font-size: 1.2rem;
  line-height: 1.4;
}

.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin: 0 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(108, 226, 255, 0.24);
  background: rgba(108, 226, 255, 0.06);
  color: var(--highlight);
  animation: badgePulse 4.2s ease-in-out infinite;
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #7ef3c3;
  box-shadow: 0 0 0 0 rgba(126, 243, 195, 0.55);
  animation: dotPulse 2.6s ease-out infinite;
}

.section {
  padding-top: 56px;
}

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

.section-heading h2,
.showcase-copy h2,
.contact-card h2 {
  max-width: 14ch;
  font-size: clamp(1.95rem, 4vw, 3.4rem);
}

.showcase-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  overflow: hidden;
}

.showcase-frame {
  min-height: 280px;
  border-radius: 26px;
  padding: 14px;
  background:
    radial-gradient(circle at top, rgba(108, 226, 255, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(7, 10, 16, 0.92), rgba(4, 6, 9, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.frame-bar {
  width: 88px;
  height: 10px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.frame-screen {
  height: calc(100% - 22px);
  min-height: 220px;
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.95), rgba(8, 10, 15, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.screen-line {
  height: 14px;
  width: 52%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(108, 226, 255, 0.82), rgba(255, 255, 255, 0.05));
}

.screen-line-wide {
  width: 72%;
  margin-bottom: 22px;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.screen-panel {
  height: 120px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.screen-panel.active {
  background:
    radial-gradient(circle at top, rgba(108, 226, 255, 0.2), transparent 36%),
    rgba(255, 255, 255, 0.04);
}

.screen-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.screen-stats span {
  height: 42px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-grid,
.service-grid,
.process-grid,
.why-grid,
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.now-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  padding: 30px;
  background: linear-gradient(135deg, rgba(108, 226, 255, 0.14), rgba(11, 14, 19, 0.95));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.now-details p {
  margin-top: 0;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}

.availability-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #7ef3c3;
  box-shadow: 0 0 12px rgba(126, 243, 195, 0.8);
}

.glass-card h3,
.project-card h3,
.service-card h3,
.process-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.featured-card {
  background:
    linear-gradient(180deg, rgba(108, 226, 255, 0.12), rgba(11, 14, 19, 0.95)),
    linear-gradient(180deg, rgba(17, 20, 29, 0.88), rgba(11, 14, 19, 0.92));
}

.project-list {
  display: grid;
  gap: 18px;
}

.project-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: center;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.project-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--highlight);
  font-size: 0.82rem;
}

.service-card,
.process-card {
  min-height: 230px;
}

.why-card,
.skill-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(17, 20, 29, 0.88), rgba(11, 14, 19, 0.92));
  box-shadow: var(--shadow);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.why-card:hover,
.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 226, 255, 0.22);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.why-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 999px;
  border: 1px solid rgba(108, 226, 255, 0.22);
  background: rgba(108, 226, 255, 0.08);
  color: var(--highlight);
  font-weight: 800;
}

.why-card h3,
.skill-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.why-card p,
.skill-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.skill-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.skill-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(108, 226, 255, 0.18), rgba(255, 210, 128, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--highlight);
  font-weight: 800;
  font-size: 1rem;
}

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

.testimonial-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
  transition:
    transform 220ms ease,
    border-color 220ms ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 128, 0.22);
}

.testimonial-card p {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.8;
}

.testimonial-name {
  display: block;
  margin-top: 18px;
  font-weight: 700;
  color: var(--highlight);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.shot-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(17, 20, 29, 0.88), rgba(11, 14, 19, 0.92));
  box-shadow: var(--shadow);
}

.shot-card-live {
  grid-column: span 1;
}

.shot-video {
  display: block;
  width: 100%;
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: #05090d;
  object-fit: cover;
}

.shot-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: #05090d;
  object-fit: contain;
}

.shot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.shot-header a {
  color: var(--highlight);
  text-decoration: none;
  font-weight: 700;
}

.shot-label {
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.shot-placeholder {
  display: grid;
  align-content: end;
  min-height: 260px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top, rgba(108, 226, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(8, 14, 22, 0.96), rgba(6, 9, 14, 0.98));
}

.shot-placeholder-brand {
  background:
    radial-gradient(circle at 20% 10%, rgba(108, 226, 255, 0.18), transparent 22%),
    radial-gradient(circle at 80% 15%, rgba(255, 210, 128, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(8, 14, 22, 0.96), rgba(6, 9, 14, 0.98));
}

.shot-placeholder span {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.shot-placeholder strong {
  margin-top: 12px;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--highlight);
}

.shot-caption {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.stack-panel {
  padding: 30px;
}

.stack-icons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.stack-icon {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.stack-icon span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(108, 226, 255, 0.18), rgba(255, 210, 128, 0.12));
  color: var(--highlight);
  font-weight: 800;
}

.stack-icon strong {
  font-size: 0.95rem;
  color: var(--highlight);
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.company-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.company-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.company-video {
  margin-top: 22px;
}

.company-actions {
  margin-top: 24px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metric-row div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.metric-value,
.process-number {
  display: block;
  margin-bottom: 8px;
  color: var(--highlight);
  font-size: 1.65rem;
  font-weight: 800;
}

.metric-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-card {
  position: relative;
  overflow: hidden;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--highlight);
}

.form-field span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(238, 242, 247, 0.45);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(140, 200, 255, 0.6);
  box-shadow: 0 0 0 2px rgba(140, 200, 255, 0.12);
}

.form-field-wide {
  grid-column: span 2;
}

.contact-card::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(108, 226, 255, 0.2), transparent 70%);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 24px;
}

.contact-links a {
  color: var(--highlight);
  font-weight: 700;
}

.site-footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-copy {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 800ms ease,
    transform 800ms ease;
}

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

@keyframes orbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(14px, -18px, 0) scale(1.05);
  }
}

@keyframes portraitFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes titleShimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes statFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(108, 226, 255, 0);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 24px rgba(108, 226, 255, 0.12);
    transform: translateY(-2px);
  }
}

@keyframes dotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(126, 243, 195, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(126, 243, 195, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(126, 243, 195, 0);
  }
}

@keyframes glowSweep {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.5;
  }
  50% {
    transform: translate3d(120px, 80px, 0);
    opacity: 0.9;
  }
}

@keyframes introRise {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes introLine {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .hero,
  .showcase-card,
  .about-grid,
  .service-grid,
  .why-grid,
  .skills-grid,
  .screenshots-grid,
  .stack-icons,
  .company-layout,
  .now-card,
  .process-grid,
  .testimonial-grid,
  .project-card {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .section-heading h2,
  .showcase-copy h2,
  .contact-card h2 {
    max-width: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }

  .header-tools {
    width: 100%;
    display: block;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .music-modal-actions {
    flex-direction: column;
  }

  .hero {
    padding-top: 18px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .hero-actions,
  .contact-links,
  .site-footer,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .form-field-wide {
    grid-column: span 1;
  }

  .button {
    width: 100%;
  }

  .metric-row,
  .screen-grid,
  .screen-stats {
    grid-template-columns: 1fr;
  }

  .showcase-frame {
    min-height: auto;
  }

  .shot-card-live {
    grid-column: span 1;
  }

  .shot-video {
    min-height: 220px;
  }

  .shot-image {
    max-height: 260px;
  }
}
