:root {
  color-scheme: dark;
  --bg: #04060a;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --muted: #9398a5;
  --text: #f4f5f9;
  --blue: #2196f3;
  --blue-2: #548cff;
  --amber: #f59e0b;
  --purple: #a94ff6;
  --shadow: 0 0 60px -10px rgba(84, 140, 255, 0.38);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    var(--bg);
  background-size: 60px 60px, 60px 60px, auto;
  color: var(--text);
}

body.is-ready .reveal-item {
  animation: fade-up 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.is-ready .hero-content .reveal-item:nth-child(1) {
  animation-delay: 60ms;
}

body.is-ready .hero-content .reveal-item:nth-child(2) {
  animation-delay: 140ms;
}

body.is-ready .hero-content .reveal-item:nth-child(3) {
  animation-delay: 220ms;
}

body.is-ready .hero-content .reveal-item:nth-child(4) {
  animation-delay: 300ms;
}

body.is-ready .hero-content .reveal-item:nth-child(5) {
  animation-delay: 380ms;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  overflow: hidden;
}

.container {
  width: min(1232px, calc(100vw - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(4, 6, 10, 0.74);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
}

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

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue) 0%, #1976d2 100%);
  color: #030306;
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.brand-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
}

.brand-text span {
  color: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 20px;
}

.site-nav a,
.inline-link,
.footer-list li {
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover,
.inline-link:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.16) 50%, transparent 70%);
  transform: translateX(-140%);
  opacity: 0;
}

.button.primary {
  position: relative;
  overflow: hidden;
  border: none;
  color: #fff;
  background: linear-gradient(128deg, #2196f3 0%, #1976d2 100%);
  box-shadow: var(--shadow);
}

.button.primary:hover::after {
  opacity: 1;
  animation: button-sheen 800ms ease;
}

.button.ghost {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.button.small {
  min-height: 36px;
  padding: 0 18px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}

.hero-section {
  position: relative;
  min-height: 1100px;
  display: grid;
  align-items: center;
  padding: 5px 0 140px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 6, 10, 0.5) 0%, rgba(4, 6, 10, 0.95) 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.55;
}

.hero-orb-left {
  width: 460px;
  height: 460px;
  top: -160px;
  left: 18%;
  background: rgba(84, 140, 255, 0.22);
  animation: orb-float-left 15s ease-in-out infinite alternate;
}

.hero-orb-right {
  width: 420px;
  height: 420px;
  right: -80px;
  top: 34%;
  background: rgba(169, 79, 246, 0.22);
  animation: orb-float-right 17s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: grid;
  place-items: center;
}

.pill,
.glass-card,
.accordion-item,
.portfolio-card,
.cta-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #8cb7ff, #2f7fe4);
  box-shadow: 0 0 18px rgba(84, 140, 255, 0.45);
}

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

h1,
h2,
.brand-text,
.footer-title,
.portfolio-card h3 {
  font-family: "Space Grotesk", sans-serif;
}

.hero-content h1 {
  margin-top: 32px;
  max-width: 840px;
  font-size: clamp(3.6rem, 6vw, 6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-content h1 span,
.section-head h2 span,
.centered-title span,
.cta-panel h2 span {
  background: linear-gradient(113deg, var(--blue-2) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  margin-top: 28px;
  max-width: 700px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

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

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 36px;
  background: linear-gradient(109deg, #6799ff 0%, #ffc96d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.float-card {
  position: absolute;
  z-index: 1;
  width: 180px;
  height: 130px;
  border-radius: 24px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: card-drift 6s ease-in-out infinite;
}

.float-card-left {
  top: 240px;
  left: max(40px, calc(50% - 640px));
  transform: rotate(-8deg);
}

.float-card-right {
  top: 354px;
  right: max(40px, calc(50% - 640px));
  transform: rotate(6deg);
  animation-duration: 7.2s;
  animation-delay: 0.5s;
}

.float-bar,
.float-line,
.float-pill {
  display: block;
  border-radius: 999px;
}

.float-bar.short {
  width: 48px;
  height: 8px;
  background: linear-gradient(135deg, #548cff 0%, #ac45ff 100%);
}

.float-bar.wide {
  width: 80px;
  height: 8px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.float-panel {
  display: block;
  margin-top: 13px;
  width: 100%;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(156deg, rgba(84, 140, 255, 0.4) 0%, rgba(169, 79, 246, 0.3) 100%);
}

.logo-mini-marquee {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(156deg, rgba(84, 140, 255, 0.2) 0%, rgba(169, 79, 246, 0.16) 100%),
    rgba(10, 14, 22, 0.9);
}

.logo-mini-marquee::before,
.logo-mini-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18px;
  z-index: 1;
}

.logo-mini-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(12, 16, 25, 0.95), rgba(12, 16, 25, 0));
}

.logo-mini-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(12, 16, 25, 0.95), rgba(12, 16, 25, 0));
}

.logo-mini-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.mini-logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: rgba(244, 245, 249, 0.82);
  white-space: nowrap;
  opacity: 0;
  animation: mini-logo-pop 9.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.mini-logo::before {
  content: "";
  position: absolute;
  width: 74px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.mini-logo::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  margin-left: -44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #64a7ff 0%, #8e63ff 100%);
  box-shadow: 0 0 14px rgba(84, 140, 255, 0.35);
}

.mini-logo.logo-from-left {
  animation-delay: 0s;
}

.mini-logo.logo-from-right {
  animation-delay: 2.4s;
}

.mini-logo.logo-from-top {
  animation-delay: 4.8s;
}

.mini-logo.logo-from-bottom {
  animation-delay: 7.2s;
}

.logo-from-left {
  --mini-start-x: -38px;
  --mini-start-y: 0px;
}

.logo-from-right {
  --mini-start-x: 38px;
  --mini-start-y: 0px;
}

.logo-from-top {
  --mini-start-x: 0px;
  --mini-start-y: -28px;
}

.logo-from-bottom {
  --mini-start-x: 0px;
  --mini-start-y: 28px;
}

.float-pill {
  width: 40px;
  height: 32px;
  background: #2196f3;
}

.logo-pill-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.logo-pill-stage .mini-logo {
  font-size: 8px;
  letter-spacing: 0.8px;
}

.logo-pill-stage .mini-logo::before,
.logo-pill-stage .mini-logo::after {
  display: none;
}

.float-line {
  margin-left: 52px;
  background: rgba(255, 255, 255, 0.12);
}

.float-line.medium {
  width: 74px;
  height: 6px;
  margin-top: -23px;
}

.float-line.short {
  width: 50px;
  height: 6px;
  margin-top: 4px;
}

.float-panel.compact {
  height: 48px;
  margin-top: 16px;
  background: linear-gradient(163deg, rgba(169, 79, 246, 0.4) 0%, rgba(84, 140, 255, 0.2) 100%);
}

.float-panel.compact .mini-logo::before {
  width: 84px;
  height: 24px;
}

.section {
  position: relative;
  padding: 136px 0;
}

.section-kicker {
  color: var(--blue-2);
  font-size: 12px;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-kicker.centered,
.centered-title,
.cta-copy,
.cta-note {
  text-align: center;
}

.logo-strip {
  padding: 78px 0;
  background: rgba(11, 13, 20, 0.34);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.logo-marquee {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  color: rgba(244, 245, 249, 0.4);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 700;
  animation: logo-glow 7s ease-in-out infinite;
}

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

.section-head h2,
.centered-title {
  font-size: clamp(2.5rem, 4.4vw, 3.75rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-head h2 {
  max-width: 720px;
}

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

.glass-card,
.portfolio-card,
.accordion-item {
  border-radius: 28px;
}

.service-card {
  padding: 30px 30px 28px;
  min-height: 220px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover,
.portfolio-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(84, 140, 255, 0.2);
}

.service-icon,
.mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  box-shadow: var(--shadow);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.service-card h3 {
  margin-top: 26px;
  font-size: 20px;
}

.service-card p,
.studio-copy p,
.process-step p,
.testimonial-card p,
.footer-copy,
.cta-copy {
  color: var(--muted);
  line-height: 1.65;
}

.service-card p {
  margin-top: 14px;
  font-size: 14px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1.05fr;
  gap: 18px;
  grid-auto-rows: 160px;
}

.portfolio-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 54%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  transition: transform 180ms ease, border-color 180ms ease;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(4, 6, 10, 0.72) 100%);
}

.portfolio-card > * {
  position: relative;
  z-index: 1;
}

.portfolio-card.tall {
  grid-row: span 2;
}

.portfolio-card.short {
  grid-row: span 1;
}

.portfolio-label {
  color: #6b7280;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: auto;
}

.portfolio-card h3 {
  position: absolute;
  left: 24px;
  bottom: 22px;
  font-size: 18px;
}

.studio-section {
  background: rgba(11, 13, 20, 0.3);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.studio-copy h2 {
  font-size: clamp(2.35rem, 4vw, 3.55rem);
  line-height: 1.18;
}

.studio-copy p:last-child {
  margin-top: 20px;
  max-width: 470px;
}

.accordion-list {
  display: grid;
  gap: 14px;
}

.accordion-item {
  padding: 0 22px;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease;
}

.accordion-trigger {
  width: 100%;
  min-height: 72px;
  background: transparent;
  border: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.accordion-item:hover {
  border-color: rgba(84, 140, 255, 0.16);
  transform: translateY(-2px);
}

.accordion-item p {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  transition: max-height 200ms ease, padding-bottom 200ms ease;
  padding-bottom: 0;
}

.accordion-item.is-open p {
  max-height: 72px;
  padding-bottom: 20px;
}

.process-section {
  padding-top: 154px;
}

.centered-title {
  max-width: 740px;
  margin: 0 auto 56px;
}

.centered-title.compact {
  max-width: 780px;
  margin-top: 0;
  margin-bottom: 18px;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  position: relative;
}

.process-row::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, rgba(84, 140, 255, 0.3), rgba(169, 79, 246, 0.3), rgba(245, 158, 11, 0.3));
}

.process-step {
  position: relative;
  text-align: center;
  padding-top: 8px;
}

.step-badge {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.9), rgba(84, 140, 255, 0.55));
  border: 1px solid rgba(84, 140, 255, 0.28);
  color: #dce7ff;
  font-size: 11px;
  font-weight: 700;
  animation: pulse-soft 4.2s ease-in-out infinite;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.process-step p {
  font-size: 13px;
}

.testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card {
  padding: 28px 28px 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.stars {
  margin-bottom: 18px;
  color: #73a8ff;
  letter-spacing: 2px;
  font-size: 13px;
}

.testimonial-card p {
  font-size: 15px;
}

.person {
  margin-top: 22px;
}

.person strong {
  display: block;
  font-size: 15px;
}

.person span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.cta-section {
  padding-top: 108px;
  padding-bottom: 128px;
}

.cta-panel {
  position: relative;
  padding: 58px 24px 72px;
  border-radius: 40px;
  overflow: hidden;
}

.cta-panel .section-kicker {
  margin-bottom: 10px;
}

.cta-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.45;
}

.cta-glow-left {
  width: 260px;
  height: 160px;
  left: -50px;
  bottom: -30px;
  background: rgba(169, 79, 246, 0.54);
  animation: cta-glow-left 10s ease-in-out infinite alternate;
}

.cta-glow-right {
  width: 360px;
  height: 220px;
  top: -40px;
  right: 12%;
  background: rgba(84, 140, 255, 0.26);
  animation: cta-glow-right 12s ease-in-out infinite alternate;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-copy {
  max-width: 560px;
  margin: 0 auto;
  font-size: 20px;
}

.cta-note {
  margin-top: 20px;
  color: rgba(147, 152, 165, 0.7);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.site-footer {
  background: rgba(11, 13, 20, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 48px;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-copy {
  max-width: 360px;
  font-size: 14px;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.footer-title {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  margin-top: 52px;
  min-height: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.reveal-section .reveal-item,
.reveal-section .section-kicker,
.reveal-section h2,
.reveal-section .inline-link,
.reveal-section .studio-copy p,
.reveal-section .centered-title,
.reveal-section .cta-copy,
.reveal-section .cta-note,
.reveal-section .logo-marquee {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-section.is-visible .reveal-item,
.reveal-section.is-visible .section-kicker,
.reveal-section.is-visible h2,
.reveal-section.is-visible .inline-link,
.reveal-section.is-visible .studio-copy p,
.reveal-section.is-visible .centered-title,
.reveal-section.is-visible .cta-copy,
.reveal-section.is-visible .cta-note,
.reveal-section.is-visible .logo-marquee {
  opacity: 1;
  transform: translateY(0);
}

.reveal-section.is-visible .reveal-item:nth-child(1) { transition-delay: 60ms; }
.reveal-section.is-visible .reveal-item:nth-child(2) { transition-delay: 120ms; }
.reveal-section.is-visible .reveal-item:nth-child(3) { transition-delay: 180ms; }
.reveal-section.is-visible .reveal-item:nth-child(4) { transition-delay: 240ms; }
.reveal-section.is-visible .reveal-item:nth-child(5) { transition-delay: 300ms; }
.reveal-section.is-visible .reveal-item:nth-child(6) { transition-delay: 360ms; }

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

@keyframes orb-float-left {
  from {
    transform: translate3d(-18px, 0, 0) scale(0.98);
  }
  to {
    transform: translate3d(22px, 24px, 0) scale(1.04);
  }
}

@keyframes orb-float-right {
  from {
    transform: translate3d(0, -12px, 0) scale(1);
  }
  to {
    transform: translate3d(-24px, 16px, 0) scale(1.06);
  }
}

@keyframes card-drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes pulse-soft {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(84, 140, 255, 0.18);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(84, 140, 255, 0);
  }
}

@keyframes logo-glow {
  0%,
  100% {
    opacity: 0.62;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes button-sheen {
  from {
    transform: translateX(-140%);
  }
  to {
    transform: translateX(140%);
  }
}

@keyframes cta-glow-left {
  from {
    transform: translate3d(-12px, 10px, 0) scale(0.96);
  }
  to {
    transform: translate3d(18px, -6px, 0) scale(1.05);
  }
}

@keyframes cta-glow-right {
  from {
    transform: translate3d(0, 0, 0) scale(0.98);
  }
  to {
    transform: translate3d(-22px, 18px, 0) scale(1.08);
  }
}

@keyframes mini-logo-pop {
  0% {
    opacity: 0;
    transform: translate(var(--mini-start-x), var(--mini-start-y)) scale(0.92);
  }
  10%,
  22% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  32%,
  100% {
    opacity: 0;
    transform: translate(calc(var(--mini-start-x) * -0.45), calc(var(--mini-start-y) * -0.45)) scale(0.97);
  }
}

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

  .reveal-section .reveal-item,
  .reveal-section .section-kicker,
  .reveal-section h2,
  .reveal-section .inline-link,
  .reveal-section .studio-copy p,
  .reveal-section .centered-title,
  .reveal-section .cta-copy,
  .reveal-section .cta-note,
  .reveal-section .logo-marquee {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .container {
    width: min(1232px, calc(100vw - 32px));
  }

  .site-nav,
  .nav-row > .button.small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav.is-open {
    display: grid;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    padding: 16px;
    gap: 14px;
    border-radius: 22px;
    background: rgba(8, 11, 17, 0.96);
    border: 1px solid var(--border);
  }

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

  .float-card {
    display: none;
  }

  .hero-stats,
  .process-row,
  .service-grid,
  .studio-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-content h1 {
    font-size: 3.25rem;
  }

  .hero-copy,
  .cta-copy {
    font-size: 17px;
  }

  .hero-stats,
  .service-grid,
  .testimonial-grid,
  .process-row,
  .studio-grid,
  .footer-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 26px;
  }

  .section,
  .process-section,
  .cta-section {
    padding: 96px 0;
  }

  .portfolio-card.tall,
  .portfolio-card.short {
    grid-row: span 1;
    min-height: 220px;
  }

  .section-head,
  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }

  .centered-title,
  .section-head h2,
  .studio-copy h2 {
    font-size: 2.5rem;
  }

  .cta-panel {
    padding: 50px 18px 56px;
    border-radius: 28px;
  }

  .footer-bottom {
    padding: 18px 0;
  }
}
