* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

:root {
  --bg: #08080B;
  --bg-raise: #0D0D12;
  --surface: #101017;
  --surface-2: #16161F;
  --border: rgba(255,255,255,.09);
  --border-2: rgba(255,255,255,.16);
  --text: #F2F3F7;
  --muted: #9CA1AF;
  --dim: #676D7C;
  --accent: #5865F2;
  --accent-hi: #7A85FF;
  --accent-soft: rgba(88,101,242,.15);
  --green: #3DDC97;
  --amber: #F0B34E;
  --nav-h: 74px;
  --pad-x: clamp(20px, 6vw, 72px);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; }
body { font-weight: 400; }
i, .nav-brand img, .hero-logo-wrap img, .card-media-placeholder img, .studio-float i {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.btn, .nav-link, .card-status, .card-tag, .eyebrow { user-select: none; -webkit-user-select: none; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(88,101,242,.8);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .18s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: scaleX(1); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn-primary { background: var(--text); color: #0A0A0D; }
.btn-primary::before { background: var(--accent); }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 30px rgba(88,101,242,.35); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost::before { background: rgba(255,255,255,.07); }
.btn-ghost:hover { border-color: rgba(255,255,255,.34); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  transition: color .2s;
}
.text-link:hover { color: var(--accent-hi); }
.text-link i { font-size: 12px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--nav-h);
  padding: 0 var(--pad-x);
  background: rgba(8,8,11,.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  background-size: 200% 100%;
  animation: navSheen 6s linear infinite;
  opacity: .6;
}
.nav-brand { display: inline-flex; align-items: center; gap: 13px; }
.nav-brand img { width: 36px; height: 36px; object-fit: contain; transition: transform .3s ease, filter .3s ease; }
.nav-brand:hover img { transform: scale(1.07); filter: drop-shadow(0 0 10px rgba(122,133,255,.55)); }
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .12em;
  white-space: nowrap;
  text-transform: uppercase;
}
.nav-wordmark em { font-style: normal; font-weight: 300; color: var(--muted); letter-spacing: .3em; }
.nav-wordmark--stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1;
  white-space: normal;
}
.nav-wordmark--stacked > span { display: block; }
.nav-wordmark--stacked em {
  display: block;
  font-size: 8px;
  font-weight: 400;
  line-height: 1;
  /* tuned so the line spans exactly the same width as "MIND CODE" above */
  letter-spacing: .5em;
  margin-right: -.5em;
}
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--muted);
  padding: 6px 2px;
  transition: color .2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  padding-left: 22px;
  border-left: 1px solid var(--border);
}
.nav-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border: 1px solid var(--border-2);
  color: var(--muted);
  font-size: 13px;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.nav-socials a:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border-2);
  padding: 11px 10px;
  cursor: pointer;
}
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform .25s, opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  padding: clamp(48px, 6vw, 80px) var(--pad-x);
  text-align: center;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% -10%, #14141c 0%, var(--bg) 62%);
}
.hero-grid {
  position: absolute;
  inset: -62px 0 0 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(74% 64% at 50% 34%, #000 28%, transparent 100%);
  -webkit-mask-image: radial-gradient(74% 64% at 50% 34%, #000 28%, transparent 100%);
  animation: gridPan 24s linear infinite;
  pointer-events: none;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 80% at 50% 40%, transparent 55%, rgba(0,0,0,.6) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-code {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: clamp(28px, 7vw, 96px);
  padding: 0 clamp(14px, 5vw, 78px);
  overflow: hidden;
  pointer-events: none;
  font-family: ui-monospace, 'SF Mono', 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
  font-size: 12.5px;
  line-height: 1.95;
  white-space: pre;
  color: var(--muted);
  opacity: .5;
  mask-image: radial-gradient(120% 78% at 50% 42%, transparent 0%, transparent 24%, #000 66%);
  -webkit-mask-image: radial-gradient(120% 78% at 50% 42%, transparent 0%, transparent 24%, #000 66%);
}
.hero-code-col { flex: 1 1 0; min-width: 0; overflow: hidden; }
.hero-code-col:nth-child(even) { opacity: .72; }
.hero-code-track {
  will-change: transform;
  animation: codeScroll var(--dur, 34s) linear infinite;
}
.hero-code-track .cline { overflow: hidden; text-overflow: clip; }
.hero-code .tk { color: var(--accent-hi); }   /* keywords */
.hero-code .tt { color: #57C7C0; }             /* types */
.hero-code .ts { color: var(--amber); }        /* strings */
.hero-code .tc { color: var(--dim); font-style: italic; } /* comments */
.hero-code .tn { color: var(--green); }        /* numbers */
.hero-inner { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.hero-logo-wrap { position: relative; margin-bottom: 34px; animation: floaty 7s ease-in-out infinite; }
.hero-glow {
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle, rgba(88,101,242,.3) 0%, transparent 68%);
  filter: blur(6px);
  animation: pulse 5s ease-in-out infinite;
}
.hero-logo-wrap img {
  position: relative;
  width: clamp(100px, 12.5vw, 142px);
  height: auto;
  filter: drop-shadow(0 26px 48px rgba(0,0,0,.7));
}
.hero .eyebrow { justify-content: center; animation: fadeUp .7s .15s cubic-bezier(.2,.7,.2,1) backwards; }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  max-width: 18ch;
}
.hero h1 span { display: inline-block; animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) backwards; }
.hero h1 span:nth-child(1) { animation-delay: .25s; }
.hero h1 span:nth-child(3) { animation-delay: .4s; }
.hero-sub {
  margin-top: 22px;
  max-width: 640px;
  font-size: clamp(15px, 1.6vw, 16.5px);
  line-height: 1.75;
  color: var(--muted);
  animation: fadeUp .8s .55s cubic-bezier(.2,.7,.2,1) backwards;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
  animation: fadeUp .8s .7s cubic-bezier(.2,.7,.2,1) backwards;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--muted);
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color .25s, color .25s;
  user-select: none;
  -webkit-user-select: none;
}
.hero-badge:hover { border-color: rgba(122,133,255,.5); color: var(--text); }
.hero-badge i { font-size: 13px; color: var(--accent-hi); }

.section { padding: clamp(70px, 8.5vw, 108px) var(--pad-x); max-width: 1240px; margin: 0 auto; }
main > .section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .35s;
}
.card::before, .card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  opacity: 0;
  transition: opacity .3s, transform .3s;
  z-index: 2;
  pointer-events: none;
}
.card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; transform: translate(6px, 6px); }
.card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; transform: translate(-6px, -6px); }
.card:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.card:hover::before, .card:hover::after { opacity: 1; transform: translate(0, 0); }
.card-media { position: relative; aspect-ratio: 3 / 2; background: var(--bg-raise); overflow: hidden; border-bottom: 1px solid var(--border); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .5s; }
.card:hover .card-media img { transform: scale(1.05); filter: saturate(1.1); }
.card-media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(88,101,242,.13), transparent 70%),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px);
}
.card-media-placeholder img { width: 72px; height: 72px; object-fit: contain; opacity: .45; }
.card-status {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 11px;
  backdrop-filter: blur(8px);
}
.card-status.available { background: rgba(61,220,151,.14); color: var(--green); border: 1px solid rgba(61,220,151,.4); }
.card-status.planned { background: rgba(240,179,78,.13); color: var(--amber); border: 1px solid rgba(240,179,78,.4); }
.card-body { display: flex; flex-direction: column; gap: 11px; padding: 20px 22px 22px; flex: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-tag {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  padding: 5px 10px;
}
.card h3 { font-size: 19px; font-weight: 700; }
.card-desc { font-size: 14px; line-height: 1.65; color: var(--muted); }
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  font-size: 12.5px;
  font-weight: 600;
}
.card-meta span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.card-meta .meta-rating { color: var(--amber); }
.card-meta .meta-fav { margin-left: auto; }
.card-meta .meta-fav i { color: #E5648C; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.card-price { font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.card-price small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--dim); letter-spacing: .05em; text-transform: uppercase; margin-top: 2px; }
.card .btn { padding: 11px 16px; font-size: 12px; }
.card-soon {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-grid { display: grid; gap: 20px; }
.project-card .card-media { aspect-ratio: 16 / 7; }
.project-meta { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

.studio-panel {
  position: relative;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(88,101,242,.05), transparent 40%),
    var(--surface);
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
}
.studio-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(115deg, transparent 40%, #000);
  -webkit-mask-image: linear-gradient(115deg, transparent 40%, #000);
  pointer-events: none;
}
.studio-panel > * { position: relative; }
.studio-float { position: absolute; inset: 0; pointer-events: none; }
.studio-float i {
  position: absolute;
  color: rgba(255,255,255,.07);
  filter: drop-shadow(0 0 24px rgba(88,101,242,.12));
}
.studio-float .float-a {
  right: clamp(60px, 12vw, 170px);
  top: 18%;
  font-size: clamp(70px, 9vw, 130px);
  animation: floaty 9s ease-in-out infinite;
}
.studio-float .float-b {
  right: clamp(16px, 4vw, 60px);
  bottom: 12%;
  font-size: clamp(54px, 7vw, 100px);
  animation: floaty 11s ease-in-out 1.6s infinite reverse;
}
/* small icons cascade diagonally between Unity (top right) and Steam (bottom right) */
.studio-float .float-c {
  right: clamp(210px, 23vw, 330px);
  top: 50%;
  font-size: clamp(28px, 3.8vw, 52px);
  animation: floaty 10s ease-in-out .8s infinite reverse;
}
.studio-float .float-d {
  right: clamp(280px, 30vw, 380px);
  top: 10%;
  font-size: clamp(32px, 4.2vw, 58px);
  animation: floaty 12s ease-in-out 2.2s infinite;
}
.studio-float .float-e {
  right: clamp(140px, 16vw, 240px);
  bottom: 10%;
  font-size: clamp(24px, 3.4vw, 46px);
  animation: floaty 9.5s ease-in-out 1.3s infinite;
}
.studio-copy .studio-body { margin-top: 0; }
.studio-copy h2 { max-width: 22ch; }
.studio-body { margin-top: 18px; font-size: 15.5px; line-height: 1.8; color: var(--muted); max-width: 62ch; }
.studio-links-label {
  margin-top: 28px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
}
.studio-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 14px; }


.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 14px 20px;
  border: 1px solid var(--border-2);
  font-weight: 600;
  font-size: 14px;
  transition: border-color .25s, background .25s;
}
.contact-email:hover { border-color: var(--accent); background: var(--accent-soft); }
.contact-email i { color: var(--accent-hi); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(24px, 3.4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.field-row { display: flex; gap: 16px; }
.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg-raise);
  border: 1px solid var(--border-2);
  padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239CA1AF' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: #E5484D; }
.support-fields { display: flex; flex-direction: column; gap: 18px; padding: 18px; border: 1px dashed var(--border-2); background: rgba(255,255,255,.02); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.captcha-slot:empty { display: none; }
.btn-submit { width: 100%; }
.btn-submit[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.form-status { font-size: 14px; font-weight: 600; min-height: 20px; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #E5484D; }
.form-status:empty { display: none; }

.footer { border-top: 1px solid var(--border); padding: clamp(48px, 6vw, 72px) var(--pad-x) 36px; background: var(--bg-raise); }
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  max-width: 1240px;
  margin: 0 auto 44px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer-brand img { width: 34px; height: 34px; object-fit: contain; }
.footer-blurb { font-size: 13.5px; line-height: 1.75; color: var(--muted); max-width: 34ch; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
  width: fit-content;
}
.footer-col a:hover { color: var(--text); }
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-2);
  color: var(--muted);
  font-size: 16px;
  transition: color .2s, border-color .2s, transform .2s, background .2s;
}
.footer-socials a:hover { color: #fff; border-color: var(--accent); transform: translateY(-2px); background: var(--accent-soft); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--dim);
}


.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.asset-grid .card.reveal:nth-child(2) { transition-delay: .1s; }
.asset-grid .card.reveal:nth-child(3) { transition-delay: .2s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}
@keyframes pulse {
  0%, 100% { opacity: .8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes gridPan {
  from { transform: translateY(0); }
  to { transform: translateY(62px); }
}
@keyframes navSheen {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes codeScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@media (max-width: 940px) {
  .contact-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .studio-float .float-c, .studio-float .float-d, .studio-float .float-e { opacity: .55; }
  .nav-burger { display: flex; }
  .nav-menu {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px var(--pad-x) 22px;
    background: rgba(8,8,11,.97);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 12px 4px; font-size: 13.5px; }
  .nav-socials {
    margin: 10px 0 0;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .nav-socials a { width: 38px; height: 38px; font-size: 14px; }
  .field-row { flex-direction: column; gap: 18px; }
}

@media (max-width: 760px) {
  .hero-code { font-size: 11px; opacity: .38; gap: clamp(20px, 6vw, 40px); }
  .hero-code-col:nth-child(n+3) { display: none; }
}
@media (max-width: 480px) {
  .footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .footer .nav-wordmark em { display: none; }
  .hero-code-col:nth-child(n+2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo-wrap, .hero-grid, .hero-glow, .nav::after, .studio-float i { animation: none; }
  .hero-code-track { animation: none; }
  .hero .eyebrow, .hero h1 span, .hero-sub, .hero-badges { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}
