/* ==========================================================================
   STGAME — stgame.site
   Plain CSS. No preprocessor, no build step, no framework.
   Dark-first: near-black canvas, restrained accent spectrum, no light theme.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens -- */

:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, sans-serif;
  --font-display: "Inter Tight", var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo,
    monospace;

  /* surfaces */
  --void: #04050a;
  --abyss: #070911;
  --carbon: #0b0f18;
  --graphite: #131826;
  --ash: #1e2436;

  /* text */
  --chalk: #eef1f7;
  --mist: #8b95ac;
  --fog: #5a6379;

  /* accents — one red family, derived from the brand red in the logo
     (#e40001). The lighter stops are lifted, because the brand red itself is
     a little dark for small text and hairline rules on a near-black canvas. */
  --ember-300: #ffc4b0;
  --ember-400: #ff9a7d;
  --flame-400: #ff4a38;
  --flame-500: #e40001;
  --flame-600: #b00008;
  --crimson-400: #ff7aa2;
  --crimson-500: #c2185b;

  --hairline: rgba(255, 255, 255, 0.075);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  --reveal-duration: 780ms;
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 78rem;
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background-color: var(--void);
  color: var(--chalk);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

/* The `hidden` attribute must win over the display rules above. */
[hidden] {
  display: none !important;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

code {
  font-family: var(--font-mono);
}

::selection {
  background: rgba(228, 0, 1, 0.4);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--flame-400);
  outline-offset: 3px;
  border-radius: 6px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.26);
  background-clip: content-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 90;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: var(--chalk);
  color: var(--void);
  font-size: 0.875rem;
  font-weight: 500;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* ------------------------------------------------------------- utilities -- */

.container-page {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  position: relative;
  padding-block: 6rem;
}

.section__rule {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
}

.glass {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.055) 0%,
    rgba(255, 255, 255, 0.018) 42%,
    rgba(255, 255, 255, 0.008) 100%
  );
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--hairline);
}

.text-aurora {
  background-image: linear-gradient(
    100deg,
    var(--ember-400) 0%,
    var(--flame-400) 52%,
    var(--flame-500) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.text-quiet-gradient {
  background-image: linear-gradient(180deg, #ffffff 0%, #dbe0ea 55%, #98a2b7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.grid-field {
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
}

.grid-field-sm {
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.032) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.032) 1px,
      transparent 1px
    );
  background-size: 34px 34px;
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mask-fade-x {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 12%,
    black 88%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 12%,
    black 88%,
    transparent
  );
}

.mask-fade-b {
  mask-image: linear-gradient(to bottom, black 52%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 52%, transparent 100%);
}

.hairline {
  border: 1px solid var(--hairline);
}

/* ------------------------------------------------------------- typography -- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 196, 176, 0.85);
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  height: 1px;
  width: 1.75rem;
  background: linear-gradient(90deg, transparent, var(--flame-400));
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fog);
}

.section-head__title {
  margin-top: 1.25rem;
  font-size: clamp(1.85rem, 4.2vw, 3.15rem);
  line-height: 1.08;
}

.section-head__lead {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------------------------------------------------------------- buttons -- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out,
    background-color 0.3s ease-out, border-color 0.3s ease-out,
    color 0.3s ease-out;
}

.btn--primary {
  background: linear-gradient(180deg, #ffffff 0%, #d9dee9 100%);
  color: var(--void);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 10px 30px -14px rgba(228, 0, 1, 0.7);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 40px -12px rgba(228, 0, 1, 0.9);
}

.btn--secondary {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.055) 0%,
    rgba(255, 255, 255, 0.018) 42%,
    rgba(255, 255, 255, 0.008) 100%
  );
  border: 1px solid var(--hairline);
  color: var(--chalk);
}
.btn--secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.07);
}

.btn--ghost {
  border: 1px solid transparent;
  color: var(--mist);
}
.btn--ghost:hover {
  border-color: var(--hairline);
  color: var(--chalk);
}

.btn--sm {
  height: 2.25rem;
  padding-inline: 1rem;
  font-size: 13px;
}
.btn--md {
  height: 2.75rem;
  padding-inline: 1.25rem;
  font-size: 14px;
}
.btn--lg {
  height: 3.25rem;
  padding-inline: 1.75rem;
  font-size: 15px;
}

.btn__arrow {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  transition: transform 0.3s ease-out;
}
.btn:hover .btn__arrow {
  transform: translateX(2px);
}

/* ----------------------------------------------------------------- header -- */

.scroll-progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  height: 1px;
  transform-origin: left;
  transform: scaleX(0);
  opacity: 0;
  transition: opacity 0.4s ease;
  background: linear-gradient(
    90deg,
    var(--flame-400),
    var(--flame-500),
    var(--crimson-400)
  );
}
.scroll-progress.is-scrolled {
  opacity: 1;
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
  margin-top: 0.75rem;
  padding-inline: 0.75rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  transition: background 0.5s ease-out, border-color 0.5s ease-out,
    box-shadow 0.5s ease-out;
}
.site-header.is-scrolled .nav-bar {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.055) 0%,
    rgba(255, 255, 255, 0.018) 42%,
    rgba(255, 255, 255, 0.008) 100%
  );
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--hairline);
  box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.75rem;
}
/* The long lockup is very wide (about 5.4:1), so fix the height and let the
   width follow rather than forcing it into a square. The lockup already
   contains the STGAME wordmark, so no separate text label is needed. */
.brand__mark {
  height: 1.65rem;
  width: auto;
  flex: 0 0 auto;
}
.footer-brand__lock {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.footer-brand__lock .brand__mark {
  height: 1.75rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.125rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 2.25rem;
  padding-inline: 0.875rem;
  border-radius: 999px;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  color: var(--mist);
  transition: color 0.3s ease;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--chalk);
}
.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0.875rem;
  bottom: -1px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
  background: linear-gradient(90deg, var(--flame-400), var(--flame-500));
}
.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  color: var(--mist);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--chalk);
}
.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-nav {
  display: none;
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 1rem;
}
.mobile-nav.is-open {
  display: block;
}
.mobile-nav__links {
  display: flex;
  flex-direction: column;
}
.mobile-nav__links a {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 15px;
  color: var(--mist);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mobile-nav__links a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--chalk);
}
.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hairline);
}
.mobile-nav__actions .btn {
  width: 100%;
}

/* ---------------------------------------------------------- ambient glow -- */

.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
}
.ambient-glow.is-active {
  opacity: 1;
}
.ambient-glow__blob {
  position: absolute;
  left: -380px;
  top: -380px;
  width: 760px;
  height: 760px;
  border-radius: 999px;
  will-change: transform;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 0, 0, 0.34) 0%,
    rgba(0, 0, 0, 0.17) 38%,
    rgba(0, 0, 0, 0.07) 58%,
    rgba(0, 0, 0, 0) 72%
  );
}

/* ------------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 90svh;
  padding-block: 7rem 5rem;
  overflow: hidden;
}

.mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.mesh__blob {
  position: absolute;
  border-radius: 999px;
  will-change: transform;
}
.mesh__blob--a {
  left: -18%;
  top: -32%;
  width: clamp(24rem, 72vmax, 58rem);
  height: clamp(24rem, 72vmax, 58rem);
  animation: mesh-a 30s ease-in-out infinite;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(176, 0, 8, 0.55) 0%,
    rgba(176, 0, 8, 0.22) 38%,
    rgba(176, 0, 8, 0) 68%
  );
}
.mesh__blob--b {
  right: -22%;
  top: -12%;
  width: clamp(20rem, 62vmax, 50rem);
  height: clamp(20rem, 62vmax, 50rem);
  animation: mesh-b 36s ease-in-out infinite;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(176, 0, 8, 0.34) 0%,
    rgba(176, 0, 8, 0.12) 40%,
    rgba(176, 0, 8, 0) 70%
  );
}
.mesh__blob--c {
  bottom: -38%;
  left: 22%;
  width: clamp(22rem, 66vmax, 54rem);
  height: clamp(22rem, 66vmax, 54rem);
  animation: mesh-c 44s ease-in-out infinite;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(194, 24, 91, 0.36) 0%,
    rgba(194, 24, 91, 0.13) 42%,
    rgba(194, 24, 91, 0) 72%
  );
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
}

.hero__fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 13rem;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--void) 88%);
}

.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero__copy {
  min-width: 0;
}

.hero__visual {
  position: relative;
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 36px 90px -50px rgba(0, 0, 0, 0.85);
  aspect-ratio: 4 / 3;
  transform: none;
}

.hero__visual-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__visual-glow {
  position: absolute;
  inset: -25% -10% auto -10%;
  height: 75%;
  z-index: 0;
  background: radial-gradient(
    60% 60% at 50% 30%,
    rgba(228, 0, 1, 0.4),
    rgba(228, 0, 1, 0) 70%
  );
  filter: blur(22px);
  pointer-events: none;
}

.hero__visual-cap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--chalk);
  background: rgba(4, 5, 10, 0.6);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
}

.hero__status {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--flame-500);
  border-radius: 0 0.5rem 0.5rem 0;
  background: rgba(255, 255, 255, 0.025);
  max-width: 32rem;
}

.hero__status-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}

.hero__status-title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--chalk);
}

.hero__status-meta {
  margin-top: 0.25rem;
  font-size: 13px;
  color: var(--fog);
}

.hero__status-link {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.5rem 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--flame-400);
  text-decoration: none;
}

.hero__status-link:hover {
  color: var(--flame-500);
}

@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
  .hero__visual {
    transform: perspective(1400px) rotateY(-6deg) rotateX(1.5deg);
  }
}

.more-projects {
  max-width: 42rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
}

.pulse-dot {
  position: relative;
  display: flex;
  width: 0.375rem;
  height: 0.375rem;
}
.pulse-dot__ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--flame-400);
  animation: pulse-ring 3.4s ease-out infinite;
}
.pulse-dot__core {
  position: relative;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--flame-400);
}

.hero__eyebrow-text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mist);
}

.hero__title {
  margin-top: 1.75rem;
  max-width: 34rem;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  text-wrap: normal;
}

.hero__lead {
  margin-top: 1.75rem;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--mist);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.indicators {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 4rem;
  max-width: 48rem;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
}
.indicators li {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--hairline);
}
.indicators li:last-child {
  border-bottom: 0;
}
.indicator__value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
  color: var(--chalk);
  font-variant-numeric: tabular-nums;
}
.indicator__label {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--fog);
}

.hero__scroll {
  position: absolute;
  inset-inline: 0;
  bottom: 1.75rem;
  display: none;
  justify-content: center;
  pointer-events: none;
}
.hero__scroll span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--fog);
}
.hero__scroll svg {
  width: 1rem;
  height: 1rem;
  animation: bounce 2s infinite;
}

/* ----------------------------------------------------------- scroll reveal -- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--reveal-y, 24px), 0);
  transition: opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease);
}
.js [data-reveal="left"] {
  --reveal-y: 0px;
  transform: translate3d(28px, 0, 0);
}
.js [data-reveal="right"] {
  --reveal-y: 0px;
  transform: translate3d(-28px, 0, 0);
}
.js [data-reveal="down"] {
  --reveal-y: -22px;
}
.js [data-reveal="none"] {
  --reveal-y: 0px;
  transform: none;
}
.js [data-reveal][data-visible="true"] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ---------------------------------------------------------------- cards --- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--hairline);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.5s ease-out, border-color 0.5s ease-out,
    background-color 0.5s ease-out, box-shadow 0.5s ease-out;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 70px -45px rgba(228, 0, 1, 0.9);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ember-300);
}
.card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.card__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fog);
}
.card__title {
  margin-top: 1.75rem;
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--chalk);
}
.card__body {
  margin-top: 0.875rem;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}
.card__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.pill {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
}
.pill--plain {
  padding: 0.375rem 0.875rem;
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mist);
}

/* spotlight (pointer-tracked glow) */
.spotlight {
  position: relative;
}
.spotlight__glow,
.spotlight__ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-out;
}
.spotlight__glow {
  background: radial-gradient(
    340px circle at var(--spot-x, 50%) var(--spot-y, 0%),
    rgba(228, 0, 1, 0.2),
    transparent 72%
  );
}
.spotlight__ring {
  box-shadow: inset 0 0 0 1px rgba(228, 0, 1, 0.34);
}
.spotlight:hover .spotlight__glow,
.spotlight:hover .spotlight__ring {
  opacity: 1;
}

.br-sm {
  display: none;
}

/* two-column card grid (what we build) */
.grid-2 {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

/* --------------------------------------------------------------- products -- */

.product {
  display: grid;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.product__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 1.5rem;
  background: var(--abyss);
}
.product__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}
.product__figure:hover .product__img {
  transform: scale(1.03);
}
.product__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 5, 10, 0.2) 0%,
    rgba(4, 5, 10, 0.04) 42%,
    rgba(4, 5, 10, 0.88) 100%
  );
}
.product__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem;
}
.product__logo {
  height: 2.25rem;
  width: auto;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(255, 122, 162, 0.3);
  border-radius: 999px;
  background: rgba(194, 24, 91, 0.12);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson-400);
}
.status-chip__dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--crimson-400);
}

.product__tagline {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 196, 176, 0.85);
}
.product__summary {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product__summary p {
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--mist);
}
.product__summary p:first-child {
  color: rgba(238, 241, 247, 0.9);
}
.product__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  background: var(--hairline);
}
.specs > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: var(--abyss);
}
.specs dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog);
}
.specs dd {
  margin: 0;
  text-align: right;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--chalk);
}

.product__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* ------------------------------------------------------------- character -- */

.character {
  display: grid;
  gap: 3rem;
}
.character__title {
  margin-top: 1.25rem;
  font-size: clamp(1.9rem, 4.4vw, 3.35rem);
  line-height: 1.08;
}
.character__desc {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--mist);
}
.character__role {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 196, 176, 0.85);
}
.traits {
  margin-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}
.traits > div {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--hairline);
}
.traits dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fog);
}
.traits dd {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

.turnaround {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid var(--hairline);
  border-radius: 1.5rem;
  background: radial-gradient(
    120% 100% at 50% 0%,
    #0d1a26 0%,
    #070b12 62%,
    #04060b 100%
  );
}
.turnaround__grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}
.turnaround__halo {
  position: absolute;
  left: 50%;
  top: 25%;
  width: 18rem;
  height: 18rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 74, 56, 0.16) 0%,
    rgba(255, 74, 56, 0) 70%
  );
}
.turnaround ul {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 0.75rem;
}
.turnaround li {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.turnaround img {
  width: 100%;
  max-width: 9rem;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}
.turnaround__floor {
  width: 100%;
  height: 1px;
  margin-top: 0.75rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
}
.turnaround__cap {
  margin-top: 0.625rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
}

/* ---------------------------------------------------------------- worlds -- */

.worlds {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.world {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 1.5rem;
  background: var(--abyss);
}
.world__media {
  position: relative;
  overflow: hidden;
}
.world__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}
.world:hover .world__media img {
  transform: scale(1.04);
}
.world__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 5, 10, 0.05) 0%,
    rgba(4, 5, 10, 0.55) 100%
  );
}
.world__body {
  padding: 1.75rem;
}
.world__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 196, 176, 0.85);
}
.world__name {
  margin-top: 0.75rem;
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--chalk);
}
.world__desc {
  margin-top: 0.625rem;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

/* -------------------------------------------------------------- features -- */

.features {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 1.75rem;
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.018);
  transition: transform 0.5s ease-out, border-color 0.5s ease-out,
    background-color 0.5s ease-out;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
}
.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ember-300);
}
.feature__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.feature__title {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--chalk);
}
.feature__body {
  margin-top: 0.625rem;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--mist);
}
.feature::after {
  content: "";
  position: absolute;
  inset-inline: 1.5rem;
  bottom: 0;
  height: 1px;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 74, 56, 0.6),
    transparent
  );
}
.feature:hover::after {
  opacity: 1;
}

/* --------------------------------------------------------------- gallery -- */

.gallery {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 1.5rem;
  background: var(--abyss);
}
.shot__media {
  overflow: hidden;
}
.shot__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}
.shot:hover .shot__media img {
  transform: scale(1.04);
}
.shot__cap {
  padding: 1rem 1.25rem;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mist);
}

/* ------------------------------------------------------------ technology -- */

.marquee {
  position: relative;
  margin-top: 3.5rem;
  padding-block: 0.5rem;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__item {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 3.5rem;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 1.5rem;
  background: var(--hairline);
}
.tech-col {
  padding: 1.75rem;
  background: var(--abyss);
  transition: background-color 0.5s ease;
}
.tech-col:hover {
  background: var(--carbon);
}
.tech-col__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fog);
}
.tech-col ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.tech-col__name {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--chalk);
}
.tech-col__dot {
  width: 0.375rem;
  height: 0.375rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 74, 56, 0.5);
  transition: background-color 0.5s ease;
}
.tech-col:hover .tech-col__dot {
  background: var(--flame-400);
}
.tech-col__note {
  margin-top: 0.375rem;
  padding-left: 1rem;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fog);
}
.tech-note {
  margin-top: 1.5rem;
  max-width: 48rem;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fog);
}

/* --------------------------------------------------------------------- AI -- */

.ai-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid var(--hairline);
  border-radius: 1.75rem;
  background: linear-gradient(
    148deg,
    rgba(228, 0, 1, 0.14) 0%,
    rgba(6, 8, 14, 0.6) 44%,
    rgba(255, 74, 56, 0.1) 100%
  );
}
.ai-panel__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.7;
}
.ai-panel__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    circle at 18% 30%,
    rgba(4, 5, 10, 0.86) 0%,
    rgba(4, 5, 10, 0.55) 45%,
    rgba(4, 5, 10, 0.2) 100%
  );
}
.ai-panel__title {
  margin-top: 1.25rem;
  font-size: clamp(1.9rem, 4.4vw, 3.35rem);
  line-height: 1.08;
}
.ai-panel__copy {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 48rem;
}
.ai-panel__copy p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--mist);
}
.ai-panel__copy p:first-child {
  color: rgba(238, 241, 247, 0.9);
}

.ai-apps {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.ai-app {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.018);
  transition: transform 0.5s ease-out, border-color 0.5s ease-out,
    background-color 0.5s ease-out;
}
.ai-app:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
}
.ai-app__index {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--fog);
}
.ai-app__title {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--chalk);
}
.ai-app__body {
  margin-top: 0.625rem;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--mist);
}

/* ------------------------------------------------------------ philosophy -- */

.principles {
  display: grid;
  gap: 3rem;
  margin-top: 4rem;
}
.principle__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1;
}
.principle__title {
  margin-top: 1.75rem;
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--chalk);
}
.principle__body {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

/* ----------------------------------------------------------------- about -- */

.about {
  display: grid;
  gap: 3.5rem;
}
.about__title {
  margin-top: 1.25rem;
  font-size: clamp(1.9rem, 4.4vw, 3.35rem);
  line-height: 1.08;
}
.about__copy {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about__copy p {
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--mist);
}
.about__copy p:first-child {
  color: rgba(238, 241, 247, 0.9);
}

.about-facts {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  border-radius: 1.5rem;
}
.about-facts__mark {
  position: absolute;
  right: -1.5rem;
  top: -1.5rem;
  width: 10rem;
  height: 10rem;
  opacity: 0.06;
  pointer-events: none;
}
.about-facts dl {
  position: relative;
  margin: 0;
  border-top: 1px solid var(--hairline);
}
.about-facts dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--hairline);
}
.about-facts dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fog);
}
.about-facts dd {
  margin: 0;
  text-align: right;
  font-size: 15px;
  line-height: 1.4;
  color: var(--chalk);
}

/* --------------------------------------------------------- current focus -- */

.timeline {
  position: relative;
  margin-top: 4rem;
}
.timeline__rail {
  position: absolute;
  left: 6px;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 74, 56, 0.55) 0%,
    rgba(228, 0, 1, 0.5) 42%,
    rgba(194, 24, 91, 0.28) 74%,
    rgba(255, 255, 255, 0.06) 100%
  );
}
.timeline li {
  position: relative;
  padding: 0 0 2.5rem 2.5rem;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline__dot {
  position: absolute;
  left: 0;
  top: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: var(--void);
}
.timeline__dot span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--flame-400), var(--flame-500));
}
.timeline__row {
  display: grid;
  gap: 0.5rem;
}
.timeline__title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--chalk);
}
.timeline__title span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fog);
}
.timeline__body {
  font-size: 15px;
  line-height: 1.72;
  color: var(--mist);
}

/* --------------------------------------------------------------- contact -- */

.contact {
  display: grid;
  gap: 3.5rem;
}
.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.75rem;
}
.channel {
  padding: 1.25rem;
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.018);
  transition: transform 0.5s ease-out, border-color 0.5s ease-out,
    background-color 0.5s ease-out;
}
.channel:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
}
.channel__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--chalk);
}
.channel__body {
  margin-top: 0.375rem;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mist);
}

.contact__email {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}
.contact__email a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.75rem;
  padding-block: 0.375rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--chalk);
  transition: color 0.3s ease;
}
.contact__email a:hover {
  color: var(--ember-300);
}
.contact__email a svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  color: var(--ember-300);
}
.contact__email-note {
  margin-top: 0.625rem;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fog);
}

/* ------------------------------------------------------------------ form -- */

.form-panel {
  padding: 1.75rem;
  border-radius: 1.5rem;
}
.form-grid {
  display: grid;
  gap: 1.25rem;
}
.field label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog);
}
.field .req {
  color: var(--ember-300);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.025);
  color: var(--chalk);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.field textarea {
  resize: vertical;
  min-height: 8rem;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--fog);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(228, 0, 1, 0.6);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 3px rgba(228, 0, 1, 0.18);
}
.field select {
  appearance: none;
  padding-right: 2.5rem;
}
.field option {
  background: var(--carbon);
  color: var(--chalk);
}
.select-wrap {
  position: relative;
}
.select-wrap svg {
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  color: var(--fog);
  pointer-events: none;
}
.field.has-error input,
.field.has-error textarea {
  border-color: rgba(251, 191, 36, 0.6);
}
.field__error {
  margin-top: 0.5rem;
  font-size: 13px;
  color: #fbbf24;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}
.form-note {
  max-width: 20rem;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fog);
}

.form-sent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem;
  border-radius: 1.5rem;
}
.form-sent__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 74, 56, 0.3);
  border-radius: 1rem;
  background: rgba(255, 74, 56, 0.1);
  color: var(--ember-300);
}
.form-sent__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.form-sent h3 {
  margin-top: 1.5rem;
  font-size: 1.4rem;
  color: var(--chalk);
}
.form-sent p {
  margin-top: 0.75rem;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}
.form-sent p.muted {
  margin-top: 0.75rem;
  font-size: 13.5px;
  color: var(--fog);
}
.form-sent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------------------------------------------------------------- footer -- */

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
}
.site-footer__grid {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
}
.site-footer__glow {
  position: absolute;
  left: 50%;
  bottom: -10rem;
  width: 46rem;
  height: 20rem;
  transform: translateX(-50%);
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(228, 0, 1, 0.18) 0%,
    rgba(228, 0, 1, 0) 70%
  );
}
.site-footer__inner {
  position: relative;
}
.site-footer__cols {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}
.footer-brand {
  max-width: 24rem;
}
.footer-brand__tagline {
  margin-top: 1.25rem;
  font-size: 15px;
  line-height: 1.65;
  color: var(--mist);
}
.footer-brand__desc {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 14px;
  line-height: 1.65;
  color: var(--fog);
}
.footer-col h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fog);
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
  margin-top: 1.25rem;
}
.footer-links a,
.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding-block: 0.375rem;
  font-size: 14px;
  color: var(--mist);
  transition: color 0.3s ease;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--chalk);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  margin-top: 1.25rem;
}
.footer-contact svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: var(--fog);
}
.footer-contact a:hover svg {
  color: var(--ember-300);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--hairline);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--fog);
}
.footer-bottom .domain {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

/* ------------------------------------------------------------ sub pages --- */

.page {
  position: relative;
  overflow: hidden;
  padding-block: 9rem 11rem;
}
.page__grid {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 24rem;
  opacity: 0.5;
  pointer-events: none;
}
.page__inner {
  position: relative;
  max-width: 48rem;
}
.page__title {
  margin-top: 1.25rem;
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  line-height: 1.08;
}
.page__lead {
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--mist);
}
.page-sections {
  margin-top: 3.5rem;
  border-top: 1px solid var(--hairline);
}
.page-sections > div {
  padding-block: 2rem;
  border-bottom: 1px solid var(--hairline);
}
.page-sections h2 {
  font-size: 1.15rem;
  color: var(--chalk);
}
.page-sections p {
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}
.page__box {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}
.page__box h2 {
  font-size: 15px;
  font-weight: 500;
  color: var(--chalk);
}
.page__box p {
  margin-top: 0.5rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}
.page__box a {
  color: var(--chalk);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}
.page__box a:hover {
  color: var(--ember-300);
}
.back-link {
  display: inline-flex;
  margin-top: 2.5rem;
  font-size: 14px;
  color: var(--mist);
  transition: color 0.3s ease;
}
.back-link:hover {
  color: var(--chalk);
}

.notfound {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 100svh;
  padding-block: 8rem;
}
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 600;
  line-height: 1;
}
.notfound__title {
  margin-top: 1.5rem;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  color: var(--chalk);
}
.notfound__lead {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--mist);
}
.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* ------------------------------------------------------------ animations -- */

@keyframes mesh-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(6%, -4%, 0) scale(1.12);
  }
  66% {
    transform: translate3d(-5%, 5%, 0) scale(0.94);
  }
}
@keyframes mesh-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1.05);
  }
  40% {
    transform: translate3d(-7%, 6%, 0) scale(0.92);
  }
  75% {
    transform: translate3d(5%, -5%, 0) scale(1.14);
  }
}
@keyframes mesh-c {
  0%,
  100% {
    transform: translate3d(-2%, 2%, 0) scale(0.98);
  }
  50% {
    transform: translate3d(4%, -6%, 0) scale(1.16);
  }
}
@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
@keyframes pulse-ring {
  0% {
    transform: scale(0.85);
    opacity: 0.5;
  }
  70%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(-12%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes node-fade {
  0%,
  100% {
    opacity: 0.12;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-rise {
  animation: hero-rise 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--rise-delay, 0ms);
}

.node-pulse {
  animation: node-fade 5.5s ease-in-out infinite;
  animation-delay: var(--node-delay, 0ms);
}
.route-dashes {
  stroke-dasharray: 0.012 0.02;
  animation: route-dash 7s linear infinite;
}
@keyframes route-dash {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -0.032;
  }
}

/* -------------------------------------------------------------- responsive */

@media (min-width: 640px) {
  .container-page {
    padding-inline: 2rem;
  }
  .br-sm {
    display: inline;
  }
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 5rem;
  }
  .section {
    padding-block: 8rem;
  }
  .hero {
    padding-block: 7.5rem 5rem;
  }
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }
  .indicators {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 5rem;
  }
  .indicators li {
    padding-inline: 1.5rem;
    border-bottom: 0;
    border-right: 1px solid var(--hairline);
  }
  .indicators li:last-child {
    border-right: 0;
  }
  .hero__scroll {
    display: flex;
  }
  .specs {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .field--full {
    grid-column: 1 / -1;
  }
  .form-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .worlds,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .features,
  .ai-apps {
    grid-template-columns: repeat(2, 1fr);
  }
  .card,
  .form-panel,
  .form-sent {
    padding: 2rem;
  }
  .turnaround {
    padding: 2rem;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .page {
    padding-block: 11rem 13rem;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .nav-actions {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }

  .product {
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
  }
  .character {
    grid-template-columns: 1fr 1.25fr;
    align-items: center;
    gap: 4rem;
  }
  .about {
    grid-template-columns: 1.15fr 1fr;
    gap: 5rem;
  }
  .contact {
    grid-template-columns: 1fr 1.05fr;
    gap: 4rem;
  }
  .principles {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .principle {
    padding-inline: 2.5rem;
  }
  .principle:first-child {
    padding-left: 0;
  }
  .principle:last-child {
    padding-right: 0;
  }
  .principle + .principle {
    border-left: 1px solid var(--hairline);
  }
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ai-apps {
    grid-template-columns: repeat(4, 1fr);
  }
  .timeline li {
    padding-left: 3.5rem;
    padding-bottom: 3rem;
  }
  .timeline__row {
    grid-template-columns: minmax(0, 20rem) 1fr;
    column-gap: 3rem;
  }
  .timeline__body {
    padding-top: 0.125rem;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .site-footer__cols {
    grid-template-columns: 1.4fr 1fr 1fr;
    padding-block: 5rem;
  }
  .page-sections > div {
    padding-block: 2rem;
  }
}

@media (min-width: 1280px) {
  .container-page {
    padding-inline: 2.5rem;
  }
  .section {
    padding-block: 10rem;
  }
  .character {
    gap: 4rem;
  }
  .about {
    gap: 5rem;
  }
  .principle {
    padding-inline: 3.5rem;
  }
}

/* ---------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-rise {
    animation: none;
  }
}
