:root {
  --bg: #f5f3ef;
  --ink: #1f331b;
  --bubble: #ffffff;
  --bubble-text: #273129;
  --status-green: #34c759;
  /* Button tokens (light) */
  --button-bg: #2a3d2f;
  /* deep green */
  --button-text: #ffffff;
  --button-border: rgba(255, 255, 255, 0.25);
  --button-shine: rgba(255, 255, 255, 0.09);
  /* ~20% of original 0.45 */
  /* Input tokens (light) */
  --input-border: rgba(0, 0, 0, 0.08);
  --input-text: #1f331b;
  --input-placeholder: rgba(0, 0, 0, 0.2);
  --input-label: rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] {
  --bg: #1a1f1b;
  --ink: #e8e6e2;
  --bubble: #2a3d2f;
  --bubble-text: #d4d2ce;
  --status-green: #30d158;
  /* Button tokens (dark) — reversed */
  --button-bg: #ffffff;
  --button-text: #2a3d2f;
  --button-border: rgba(0, 0, 0, 0.12);
  --button-shine: rgba(255, 255, 255, 0.13);
  /* ~20% of original 0.65 */
  /* Input tokens (dark) */
  --input-border: rgba(255, 255, 255, 0.08);
  --input-text: #fff;
  --input-placeholder: rgba(255, 255, 255, 0.2);
  --input-label: rgba(255, 255, 255, 0.5);
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.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;
}
html,
body {
  height: 100%;
}
@media (min-width: 701px) {
  html,
  body {
    min-width: 400px;
    min-height: 600px;
  }
}
body {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  color: var(--ink);
  background: var(--bg) url("img/BG.gif") repeat;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow: hidden;
}
[data-theme="dark"] body {
  background: var(--bg) url("img/BG-dark.gif") repeat;
}
.stage {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 33px;
  position: relative;
  overflow: hidden;
}
/* Logo container */
.logo-container {
  position: relative;
  width: 100%;
  max-width: 587px;
  /* Maintain original max size */
  /* Create aspect ratio using :after pseudo-element */
}
.logo-container:after {
  content: "";
  display: block;
  padding-top: 73%;
  /* 429/587 ≈ 73% aspect ratio */
}
/* Logo theme switching */
.logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  transition: opacity 0.3s ease;
  object-fit: contain;
  /* Ensure logos scale properly within container */
}
.logo.logo-light {
  opacity: 1;
  pointer-events: auto;
}
[data-theme="dark"] .logo.logo-light {
  opacity: 0;
  pointer-events: none;
}
.logo.logo-dark {
  opacity: 0;
  pointer-events: none;
}
[data-theme="dark"] .logo.logo-dark {
  opacity: 1;
  pointer-events: auto;
}
.logo.logo-fallback {
  display: none;
  object-fit: contain;
}
.logo.logo-fallback.logo-light-fallback {
  opacity: 1;
  pointer-events: auto;
}
[data-theme="dark"] .logo.logo-fallback.logo-light-fallback {
  opacity: 0;
  pointer-events: none;
}
.logo.logo-fallback.logo-dark-fallback {
  opacity: 0;
  pointer-events: none;
}
[data-theme="dark"] .logo.logo-fallback.logo-dark-fallback {
  opacity: 1;
  pointer-events: auto;
}
.lockup {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}
body.no-transition .home-scene-track,
body.no-transition .home-scene-track::before,
body.no-transition .home-scene-track::after,
body.no-transition .scene-affordance,
body.no-transition .scene-affordance__dot,
body.no-transition .scene-affordance__line,
body.no-transition .scene-origin-mark,
body.no-transition .scene-origin-mark__line,
body.no-transition .scene-origin-mark__dot,
body.no-transition .lockup,
body.no-transition .client-logo-grid,
body.no-transition .contact-scene-content {
  transition: none !important;
}
/* Homepage scene transition */
.home-scene-shell {
  width: 100%;
  min-height: 100vh;
  isolation: isolate;
  --scene-w: max(400px, 100vw);
  --scene-h: max(600px, 100vh);
  --scene-dot-size: 10px;
  --scene-line-size: 1px;
  --scene-ink: var(--ink);
  --scene-forward-offset: clamp(220px, 26vw, 300px);
  --scene-forward-line: calc(var(--scene-w) / 2 - var(--scene-forward-offset));
  --scene-back-reach: clamp(108px, 10vw, 116px);
  --scene-mobile-offset: clamp(190px, 24vh, 262px);
}
.home-scene-track {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  width: calc(var(--scene-w) * 3);
  height: var(--scene-h);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
body.home-scene-transitioning .home-scene-track {
  transition: transform 4000ms cubic-bezier(0.19, 1, 0.22, 1);
}
body[data-home-scene="2"] .home-scene-track {
  transform: translate3d(calc(var(--scene-w) * -1), 0, 0);
}
body[data-home-scene="3"] .home-scene-track {
  transform: translate3d(calc(var(--scene-w) * -2), 0, 0);
}
.home-scene {
  position: relative;
  display: grid;
  flex: 0 0 var(--scene-w);
  width: var(--scene-w);
  height: var(--scene-h);
  place-items: center;
  overflow: visible;
}
.lockup,
.client-logo-grid {
  will-change: transform;
}
.scene-affordance {
  position: absolute;
  top: 50%;
  left: calc(50% + var(--scene-forward-offset));
  z-index: 3;
  display: block;
  width: var(--scene-forward-line);
  height: 44px;
  padding: 0;
  margin: -22px 0 0;
  background: transparent;
  border: 0;
  color: var(--scene-ink);
  cursor: e-resize;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(10px, 0, 0);
  transition: opacity 850ms cubic-bezier(0.25, 0.1, 0.25, 1), transform 850ms cubic-bezier(0.19, 1, 0.22, 1);
}
.scene-affordance:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 10px;
}
body.home-scene-affordance-ready .scene-affordance--forward {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}
body.home-scene-2-affordance-ready .scene-affordance--clients {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}
@keyframes scene-dot-pulse {
  0%,
  100% {
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
  50% {
    transform: translate3d(-50%, -50%, 0) scale(0.55);
  }
}
@keyframes scene-dot-pulse-right {
  0%,
  100% {
    transform: translate3d(50%, -50%, 0) scale(1);
  }
  50% {
    transform: translate3d(50%, -50%, 0) scale(0.55);
  }
}
.scene-affordance__dot,
.scene-origin-mark__dot {
  position: absolute;
  width: var(--scene-dot-size);
  height: var(--scene-dot-size);
  border-radius: 50%;
  background: currentColor;
}
.scene-affordance__dot {
  top: 50%;
  left: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.72);
  opacity: 0;
  transition: opacity 720ms ease, transform 900ms cubic-bezier(0.19, 1, 0.22, 1);
}
body.home-scene-affordance-ready .scene-affordance--forward .scene-affordance__dot {
  opacity: 1;
  animation: scene-dot-pulse 1.8s ease-in-out infinite;
}
body.home-scene-2-affordance-ready .scene-affordance--clients .scene-affordance__dot {
  opacity: 1;
  animation: scene-dot-pulse 1.8s ease-in-out infinite;
}
.scene-affordance__line {
  position: absolute;
  top: 50%;
  left: 0;
  width: calc(100% + var(--scene-back-reach));
  height: var(--scene-line-size);
  background: currentColor;
  transform: translate3d(0, -50%, 0) scaleX(0);
  transform-origin: left center;
  opacity: 0.82;
  transition: transform 1050ms 360ms cubic-bezier(0.25, 1, 0.5, 1);
}
body.home-scene-affordance-ready .scene-affordance--forward .scene-affordance__line {
  transform: translate3d(0, -50%, 0) scaleX(1);
}
body.home-scene-2-affordance-ready .scene-affordance--clients .scene-affordance__line {
  transform: translate3d(0, -50%, 0) scaleX(1);
}
.scene-affordance--clients {
  left: auto;
  right: -100px;
  width: calc(var(--scene-back-reach) + 100px);
}
.scene-affordance--clients .scene-affordance__line {
  width: 100%;
}
.scene-origin-mark {
  position: absolute;
  top: 50%;
  left: -100px;
  z-index: 2;
  width: calc(var(--scene-back-reach) + 100px);
  height: 44px;
  margin-top: -22px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--scene-ink);
  cursor: w-resize;
  opacity: 0;
  pointer-events: none;
}
.scene-origin-mark:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 10px;
}
.scene-origin-mark.revealed {
  opacity: 1;
  pointer-events: auto;
}
body.home-scene-transitioning .scene-origin-mark {
  transition: opacity 700ms 420ms ease;
}
body.home-scene-transitioning .scene-origin-mark__line {
  transition: transform 850ms 520ms cubic-bezier(0.25, 1, 0.5, 1);
}
.scene-origin-mark__line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: var(--scene-line-size);
  background: currentColor;
  transform: translate3d(0, -50%, 0) scaleX(0);
  transform-origin: right center;
  opacity: 0.82;
}
.scene-origin-mark.revealed .scene-origin-mark__line {
  transform: translate3d(0, -50%, 0) scaleX(1);
}
.scene-origin-mark__dot {
  top: 50%;
  right: 0;
  transform: translate3d(50%, -50%, 0);
}
.scene-origin-mark.revealed .scene-origin-mark__dot {
  animation: scene-dot-pulse-right 1.8s ease-in-out infinite;
}
/* Landing entrance (direct-load on scene 3) */
@keyframes landing-dot-in {
  0% {
    transform: translate3d(50%, -50%, 0) scale(0);
  }
  100% {
    transform: translate3d(50%, -50%, 0) scale(1);
  }
}
@keyframes landing-line-in {
  0% {
    transform: translate3d(0, -50%, 0) scaleX(0);
  }
  100% {
    transform: translate3d(0, -50%, 0) scaleX(1);
  }
}
.scene-origin-mark.landing-entrance {
  opacity: 1;
  pointer-events: auto;
}
.scene-origin-mark.landing-entrance .scene-origin-mark__dot {
  transform: translate3d(50%, -50%, 0) scale(0);
  animation: none;
}
.scene-origin-mark.landing-entrance .scene-origin-mark__line {
  transform: translate3d(0, -50%, 0) scaleX(0);
}
.scene-origin-mark.landing-entrance.revealed .scene-origin-mark__dot {
  animation: landing-dot-in 500ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.scene-origin-mark.landing-entrance.revealed .scene-origin-mark__line {
  animation: landing-line-in 900ms 500ms cubic-bezier(0.25, 1, 0.5, 1) both;
}
.scene-origin-mark.landing-entrance.revealed .scene-origin-mark__dot.pulse-ready {
  animation: scene-dot-pulse-right 1.8s ease-in-out infinite;
}
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(88px, 1fr));
  align-items: center;
  justify-items: center;
  width: min(78vw, 860px);
  gap: clamp(28px, 4.5vh, 44px) clamp(28px, 4vw, 48px);
}
.client-logo {
  display: block;
  width: clamp(100px, 10vw, 144px);
  max-height: 60px;
  object-fit: contain;
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.985);
  transition: opacity 820ms cubic-bezier(0.22, 1, 0.36, 1), transform 920ms cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
}
body[data-home-scene="2"] .client-logo {
  opacity: 0.94;
  transform: translate3d(0, 0, 0) scale(1);
}
body[data-home-scene="2"] .client-logo:nth-child(1) {
  transition-delay: 170ms;
}
body[data-home-scene="2"] .client-logo:nth-child(2) {
  transition-delay: 214ms;
}
body[data-home-scene="2"] .client-logo:nth-child(3) {
  transition-delay: 258ms;
}
body[data-home-scene="2"] .client-logo:nth-child(4) {
  transition-delay: 302ms;
}
body[data-home-scene="2"] .client-logo:nth-child(5) {
  transition-delay: 346ms;
}
body[data-home-scene="2"] .client-logo:nth-child(6) {
  transition-delay: 390ms;
}
body[data-home-scene="2"] .client-logo:nth-child(7) {
  transition-delay: 434ms;
}
body[data-home-scene="2"] .client-logo:nth-child(8) {
  transition-delay: 478ms;
}
body[data-home-scene="2"] .client-logo:nth-child(9) {
  transition-delay: 522ms;
}
body[data-home-scene="2"] .client-logo:nth-child(10) {
  transition-delay: 566ms;
}
body[data-home-scene="2"] .client-logo:nth-child(11) {
  transition-delay: 610ms;
}
body[data-home-scene="2"] .client-logo:nth-child(12) {
  transition-delay: 654ms;
}
body[data-home-scene="2"] .client-logo:nth-child(13) {
  transition-delay: 698ms;
}
body[data-home-scene="2"] .client-logo:nth-child(14) {
  transition-delay: 742ms;
}
body[data-home-scene="2"] .client-logo:nth-child(15) {
  transition-delay: 786ms;
}
body[data-home-scene="2"] .client-logo:nth-child(16) {
  transition-delay: 830ms;
}
body[data-home-scene="2"] .client-logo:nth-child(17) {
  transition-delay: 874ms;
}
body[data-home-scene="2"] .client-logo:nth-child(18) {
  transition-delay: 918ms;
}
body[data-home-scene="2"] .client-logo:nth-child(19) {
  transition-delay: 962ms;
}
body[data-home-scene="2"] .client-logo:nth-child(20) {
  transition-delay: 1006ms;
}
body[data-home-scene="2"] .client-logo:nth-child(21) {
  transition-delay: 1050ms;
}
body[data-home-scene="2"] .client-logo:nth-child(22) {
  transition-delay: 1094ms;
}
body[data-home-scene="2"] .client-logo:nth-child(23) {
  transition-delay: 1138ms;
}
body[data-home-scene="2"] .client-logo:nth-child(24) {
  transition-delay: 1182ms;
}
body[data-home-scene="2"] .client-logo:nth-child(25) {
  transition-delay: 1226ms;
}
/* ========== CONTACT SCENE ========== */
.contact-scene-content {
  max-width: 620px;
  padding: 0 40px;
  will-change: transform;
}
.contact-scene-content > *,
.contact-heading-line {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 820ms cubic-bezier(0.22, 1, 0.36, 1), transform 920ms cubic-bezier(0.19, 1, 0.22, 1);
}
.contact-scene-content > .contact-heading {
  opacity: 1;
  transform: none;
  transition: none;
}
body[data-home-scene="3"] .contact-scene-content > *,
body[data-home-scene="3"] .contact-heading-line {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
body[data-home-scene="3"] .contact-heading-line:nth-child(1) {
  transition-delay: 200ms;
}
body[data-home-scene="3"] .contact-heading-line:nth-child(2) {
  transition-delay: 1000ms;
}
body[data-home-scene="3"] .contact-heading-line:nth-child(3) {
  transition-delay: 1800ms;
}
body[data-home-scene="3"] .contact-scene-content > *:nth-child(2) {
  transition-delay: 2600ms;
}
body[data-home-scene="3"] .contact-scene-content > *:nth-child(3) {
  transition-delay: 2900ms;
}
body[data-home-scene="3"] .contact-scene-content > *:nth-child(4) {
  transition-delay: 3200ms;
}
body[data-home-scene="3"] .contact-scene-content > *:nth-child(5) {
  transition-delay: 3500ms;
}
body[data-home-scene="3"] .contact-scene-content > *:nth-child(6) {
  transition-delay: 3500ms;
}
body[data-home-scene="3"] .contact-scene-content > *:nth-child(7) {
  transition-delay: 3800ms;
}
.contact-heading {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 28px;
  color: var(--ink);
  font-family: "Helvetica", "Arial", sans-serif;
}
.contact-heading-line {
  display: block;
}
.contact-body {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 24px;
  opacity: 0.8;
}
.contact-tagline {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 24px;
  opacity: 0.8;
}
.contact-services,
.internal-links {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.contact-email {
  display: inline-block;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  font-family: "Helvetica", "Arial", sans-serif;
}
body[data-home-scene="3"] .contact-email {
  transition: opacity 0.2s ease;
}
@media (hover: hover) {
  body[data-home-scene="3"] .contact-email:hover {
    opacity: 0.7;
  }
}
.back-to-site {
  display: block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.45;
  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.03em;
  transition: opacity 0.2s ease;
}
@media (hover: hover) {
  .back-to-site:hover {
    opacity: 0.8;
  }
}
.home-scene--contact {
  padding: 0 calc(var(--scene-back-reach) + 30px);
}
@media (min-width: 701px) and (max-width: 800px) {
  .client-logo-grid {
    grid-template-columns: repeat(4, minmax(78px, 1fr));
    width: min(62vw, 480px);
    gap: clamp(20px, 3vh, 32px) clamp(14px, 2vw, 24px);
  }
  .client-logo:nth-child(5n) {
    display: none;
  }
}
.topbar {
  position: fixed;
  top: 20px;
  right: 20px;
  left: auto;
  z-index: 1000;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--ink);
  opacity: 0;
  transition: opacity 1000ms ease;
  font-family: "IBM Plex Mono", monospace;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.topbar.visible {
  opacity: 0.95;
}
.topbar span {
  display: inline-block;
}
.separator {
  opacity: 0.25;
}
.wave span {
  animation: bob 900ms ease-in-out;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}
@keyframes toast-attention {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  12% {
    transform: translate3d(0, -7px, 0) scale(1.018) rotate(0deg);
  }
  24% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  38% {
    transform: translate3d(-5px, 0, 0) scale(1) rotate(-1deg);
  }
  52% {
    transform: translate3d(5px, 0, 0) scale(1) rotate(1deg);
  }
  66% {
    transform: translate3d(-3px, 0, 0) scale(1) rotate(-0.6deg);
  }
  80% {
    transform: translate3d(2px, 0, 0) scale(1) rotate(0.4deg);
  }
}
.toast {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--bubble-text);
  border-radius: 150px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06), 0 8px 25px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: translateY(100px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), border-radius 0.3s 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform-origin: 50% 100%;
  width: 100%;
  max-width: 390px;
  overflow: hidden;
}
.toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.toast.show.attention {
  animation: toast-attention 950ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
[data-theme="dark"] .toast {
  background: rgba(42, 61, 47, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 8px 25px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.toast-header {
  display: flex;
  align-items: center;
  padding: 12px 18px 12px 12px;
  gap: 12px;
  width: 100%;
}
.toast-header .avatar-wrap {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  top: 1px;
  left: 3px;
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
}
.status-dot {
  position: absolute;
  right: -2px;
  bottom: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--status-green);
  border: 2.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(52, 199, 89, 0.4);
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.toast-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.toast-title {
  grid-area: 1 / 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre;
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1), filter 220ms ease;
  will-change: opacity, transform, filter;
}
.toast-title a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--ink);
}
@media (hover: hover) {
  .toast-title a:hover {
    opacity: 0.7;
  }
}
@media (max-width: 480px) {
  .toast-title {
    font-size: 12px;
  }
}
.toast-message {
  grid-area: 2 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  font-size: 10px;
  line-height: 1.4;
  color: var(--bubble-text);
  opacity: 0.375;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre;
}
.toast-message > span {
  grid-area: 1 / 1;
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre;
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1), filter 220ms ease;
  will-change: opacity, transform, filter;
}
.toast-message a {
  color: inherit;
  text-decoration: none;
}
@media (hover: hover) {
  .toast-message a:hover {
    text-decoration: underline;
  }
}
@media (max-width: 480px) {
  .toast-message {
    font-size: 10px;
  }
}
.contact-pill {
  flex-shrink: 0;
  background: var(--button-bg);
  color: var(--button-text);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 16px;
  font-size: 10px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  border: 1px solid var(--button-border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  cursor: pointer;
  font-weight: bold;
  font-family: "IBM Plex Mono";
  /* subtle shine sweep */
}
.contact-pill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 55%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, var(--button-shine) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 650ms ease;
  pointer-events: none;
}
@media (hover: hover) {
  .contact-pill:hover {
    transform: translateY(-1px) scale(1.015);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  }
  .contact-pill:hover::after {
    left: 130%;
  }
}
.contact-pill:active {
  transform: translateY(0) scale(0.995);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.contact-pill:focus-visible {
  outline: 2px solid rgba(48, 209, 88, 0.6);
  outline-offset: 2px;
}
/* Close Button Styles */
.close-btn {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1f331b;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #ffffff;
}
.close-btn.hidden {
  display: none;
}
@media (hover: hover) {
  .close-btn:hover {
    transform: scale(1.05);
  }
}
.close-btn:active {
  transform: scale(0.95);
}
[data-theme="dark"] .close-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #000000;
}
@media (hover: hover) {
  [data-theme="dark"] .close-btn:hover {
    background: #ffffff;
  }
}
.close-btn svg {
  width: 12px;
  height: 12px;
}
.close-btn svg path {
  fill: currentColor;
}
/* Contact and Success Container */
.contact-success-container {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-success-container.expanded {
  max-height: 520px;
  /* Large enough to accommodate both contact form and success screen */
  transition: max-height 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Contact Form Styles */
.contact-form {
  width: 100%;
  padding: 0 12px;
  border-top: 1px solid var(--input-border);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-form.expanded {
  max-height: 520px;
  padding: 12px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), padding 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-field {
  margin-bottom: 16px;
  position: relative;
}
.form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 500;
  color: var(--input-label);
  font-family: "IBM Plex Mono", monospace;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--input-border);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--input-text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  transition: all 0.25s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--input-placeholder);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border: 1px solid rgba(0, 0, 0, 0.3);
}
.contact-form input.error,
.contact-form textarea.error {
  border-color: #ff0000;
  background: rgba(255, 0, 0, 0.05);
}
[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .contact-form input:focus,
[data-theme="dark"] .contact-form textarea:focus {
  border: 1px solid rgba(255, 255, 255, 0.2);
}
[data-theme="dark"] .contact-form input.error,
[data-theme="dark"] .contact-form textarea.error {
  border-color: #ff0000;
  background: rgba(255, 0, 0, 0.08);
}
.contact-form textarea {
  resize: none;
  min-height: 64px;
  max-height: 64px;
  border-radius: 10px;
  font-family: "IBM Plex Mono", monospace;
}
.recaptcha-terms {
  font-size: 8px;
  color: var(--input-label);
  text-align: left;
  margin: 12px 0 16px 0;
  line-height: 1.4;
}
.recaptcha-terms a {
  color: var(--ink);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
@media (hover: hover) {
  .recaptcha-terms a:hover {
    opacity: 1;
    text-decoration: underline;
  }
}
.error-message {
  display: block;
  color: #ff0000;
  font-size: 10px;
  margin-top: 6px;
  margin-left: 4px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.25s ease;
  font-family: "IBM Plex Mono", monospace;
}
.error-message.show {
  opacity: 1;
  transform: translateY(0);
}
.submit-btn {
  margin-top: 4px;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}
/* Success Screen Styles */
.success-screen {
  width: 100%;
  padding: 0 20px;
  text-align: center;
  border-top: 1px solid var(--input-border);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(20px);
  /* start pushed down */
  transition: max-height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), padding 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-direction: column;
}
.success-screen.show {
  max-height: 520px;
  padding: 60px 20px 40px 20px;
  opacity: 1;
  transform: translateY(0);
  /* animates upward */
  border-radius: 0;
}
.success-screen svg {
  fill: var(--ink);
  transition: fill 0.3s ease;
  max-width: 280px;
  width: 100%;
  height: auto;
}
[data-theme="dark"] .success-screen svg {
  fill: white;
}
.success-image-placeholder {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: rgba(52, 199, 89, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(52, 199, 89, 0.3);
}
[data-theme="dark"] .success-image-placeholder {
  background: rgba(48, 209, 88, 0.15);
  border-color: rgba(48, 209, 88, 0.25);
}
.success-message {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.5;
  font-family: "IBM Plex Mono", monospace;
}
/* Toast expansion for form */
.toast.expanded {
  flex-direction: column;
  align-items: stretch;
  border-radius: 14px;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), border-radius 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.toast.expanded.attention {
  animation: none;
}
/* Crossfade the Toast header copy between collapsed and expanded states */
.toast .open,
.toast .closed {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 3px, 0);
  filter: blur(2px);
  transition-delay: 0ms;
}
.toast .closed {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 90ms;
}
.toast.expanded .open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 90ms;
}
.toast.expanded .closed,
.toast .toast-title.closed.is-text-changing {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -3px, 0);
  filter: blur(2px);
  transition-delay: 0ms;
}
/* Theme Toggle */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}
@media (hover: hover) {
  .theme-toggle:hover {
    transform: scale(1.05);
  }
}
.toggle-switch {
  width: 60px;
  height: 32px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}
[data-theme="dark"] .toggle-switch {
  background: rgba(42, 61, 47, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.toggle-knob {
  width: 26px;
  height: 26px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 3px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme="dark"] .toggle-knob {
  transform: translateX(28px);
  background: #2a3d2f;
}
.toggle-icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.toggle-icon path,
.toggle-icon circle,
.toggle-icon rect {
  fill: currentColor;
}
/* Toggle icon theme switching */
.moon-icon {
  display: block;
}
.moon-icon path,
.moon-icon circle,
.moon-icon rect {
  fill: var(--ink);
}
[data-theme="dark"] .moon-icon {
  display: none;
}
.sun-icon {
  display: none;
}
.sun-icon path,
.sun-icon circle,
.sun-icon rect {
  fill: #f5f3ef;
}
[data-theme="dark"] .sun-icon {
  display: block;
}
@media (max-width: 700px) {
  .home-scene-shell {
    --scene-w: 100vw;
    --scene-h: 100vh;
    --scene-dot-size: 10px;
    --scene-mobile-offset: clamp(150px, 20vh, 210px);
    --scene-forward-line: calc(100vh - (50vh + var(--scene-mobile-offset)));
  }
  .home-scene-track {
    flex-direction: column;
    width: var(--scene-w);
    height: calc(var(--scene-h) * 3);
  }
  .home-scene {
    flex-basis: var(--scene-h);
  }
  .home-scene--contact {
    padding: 0;
  }
  body[data-home-scene="2"] .home-scene-track {
    transform: translate3d(0, calc(var(--scene-h) * -1), 0);
  }
  body[data-home-scene="3"] .home-scene-track {
    transform: translate3d(0, calc(var(--scene-h) * -2), 0);
  }
  .scene-affordance {
    top: calc(50% + var(--scene-mobile-offset));
    left: 50%;
    width: 44px;
    height: var(--scene-forward-line);
    margin: 0 0 0 -22px;
    transform: translate3d(0, 10px, 0);
    cursor: s-resize;
  }
  body.home-scene-affordance-ready .scene-affordance--forward {
    transform: translate3d(0, 0, 0);
  }
  .scene-affordance--clients {
    top: auto;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 44px;
    height: clamp(40px, 5vh, 60px);
    margin: 0 0 0 -22px;
  }
  body.home-scene-2-affordance-ready .scene-affordance--clients {
    transform: translate3d(0, 0, 0);
  }
  .scene-affordance__dot {
    top: 0;
    left: 50%;
    transform: translate3d(-50%, -50%, 0) scale(0.72);
  }
  body.home-scene-affordance-ready .scene-affordance--forward .scene-affordance__dot {
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
  body.home-scene-2-affordance-ready .scene-affordance--clients .scene-affordance__dot {
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
  .scene-affordance__line,
  .scene-origin-mark__line {
    display: none;
  }
  .home-scene-track::before {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(var(--scene-h) / 2 + var(--scene-mobile-offset));
    bottom: calc(var(--scene-h) * 2 - clamp(40px, 5vh, 60px));
    width: var(--scene-line-size);
    background: var(--scene-ink);
    opacity: 0;
    transform: translate3d(-50%, 0, 0) scaleY(0);
    transform-origin: center top;
    z-index: 2;
    pointer-events: none;
    transition: opacity 850ms cubic-bezier(0.25, 0.1, 0.25, 1), transform 1050ms 360ms cubic-bezier(0.25, 1, 0.5, 1);
  }
  body.home-scene-affordance-ready .home-scene-track::before {
    opacity: 0.82;
    transform: translate3d(-50%, 0, 0) scaleY(1);
  }
  .home-scene-track::after {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(var(--scene-h) * 2 - clamp(40px, 5vh, 60px));
    bottom: calc(var(--scene-h) - clamp(40px, 5vh, 60px));
    width: var(--scene-line-size);
    background: var(--scene-ink);
    opacity: 0;
    transform: translate3d(-50%, 0, 0) scaleY(0);
    transform-origin: center top;
    z-index: 2;
    pointer-events: none;
    transition: opacity 850ms cubic-bezier(0.25, 0.1, 0.25, 1), transform 1050ms 360ms cubic-bezier(0.25, 1, 0.5, 1);
  }
  body.home-scene-2-affordance-ready .home-scene-track::after {
    opacity: 0.82;
    transform: translate3d(-50%, 0, 0) scaleY(1);
  }
  .scene-origin-mark {
    top: 0;
    left: 50%;
    width: 44px;
    height: clamp(40px, 5vh, 60px);
    margin: 0 0 0 -22px;
    cursor: n-resize;
  }
  @keyframes scene-line-stretch-v {
    0% {
      transform: translate3d(-50%, 0, 0) scaleY(1);
    }
    18% {
      transform: translate3d(-50%, 0, 0) scaleY(1.03);
    }
    50% {
      transform: translate3d(-50%, 0, 0) scaleY(0.97);
    }
    72% {
      transform: translate3d(-50%, 0, 0) scaleY(1.01);
    }
    100% {
      transform: translate3d(-50%, 0, 0) scaleY(1);
    }
  }
  body.home-scene-transitioning .home-scene-track::before,
  body.home-scene-transitioning .home-scene-track::after {
    animation: scene-line-stretch-v 1800ms cubic-bezier(0.25, 0.1, 0.25, 1) both;
  }
  body.home-scene-transitioning .scene-origin-mark {
    transition: none;
  }
  @keyframes scene-dot-pulse-bottom {
    0%,
    100% {
      transform: translate3d(-50%, 0, 0) scale(1);
    }
    50% {
      transform: translate3d(-50%, 0, 0) scale(0.55);
    }
  }
  .scene-origin-mark__dot {
    top: auto;
    right: auto;
    bottom: calc(var(--scene-dot-size) / -2);
    left: 50%;
    transform: translate3d(-50%, 0, 0);
  }
  .scene-origin-mark.revealed .scene-origin-mark__dot {
    animation: scene-dot-pulse-bottom 1.8s ease-in-out infinite;
  }
  @keyframes landing-dot-in-mobile {
    0% {
      transform: translate3d(-50%, 0, 0) scale(0);
    }
    100% {
      transform: translate3d(-50%, 0, 0) scale(1);
    }
  }
  .scene-origin-mark.landing-entrance .scene-origin-mark__dot {
    transform: translate3d(-50%, 0, 0) scale(0);
  }
  .scene-origin-mark.landing-entrance.revealed .scene-origin-mark__dot {
    animation: landing-dot-in-mobile 500ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }
  .scene-origin-mark.landing-entrance.revealed .scene-origin-mark__dot.pulse-ready {
    animation: scene-dot-pulse-bottom 1.8s ease-in-out infinite;
  }
  .client-logo-grid {
    grid-template-columns: repeat(3, minmax(78px, 1fr));
    width: min(84vw, 420px);
    gap: clamp(42px, 5.4vh, 58px) clamp(22px, 8vw, 42px);
  }
  .client-logo {
    width: clamp(76px, 24vw, 108px);
    max-height: 46px;
    transform: translate3d(0, 10px, 0) scale(0.986);
  }
  .client-logo:nth-child(4),
  .client-logo:nth-child(5),
  .client-logo:nth-child(7),
  .client-logo:nth-child(14),
  .client-logo:nth-child(17),
  .client-logo:nth-child(18),
  .client-logo:nth-child(22) {
    display: none;
  }
  .client-logo:nth-child(1) {
    order: 1;
  }
  .client-logo:nth-child(2) {
    order: 2;
  }
  .client-logo:nth-child(3) {
    order: 3;
  }
  .client-logo:nth-child(11) {
    order: 4;
  }
  .client-logo:nth-child(23) {
    order: 5;
  }
  .client-logo:nth-child(6) {
    order: 6;
  }
  .client-logo:nth-child(25) {
    order: 7;
  }
  .client-logo:nth-child(8) {
    order: 8;
  }
  .client-logo:nth-child(9) {
    order: 9;
  }
  .client-logo:nth-child(10) {
    order: 10;
  }
  .client-logo:nth-child(15) {
    order: 11;
  }
  .client-logo:nth-child(21) {
    order: 12;
  }
  .client-logo:nth-child(12) {
    order: 13;
  }
  .client-logo:nth-child(13) {
    order: 14;
  }
  .client-logo:nth-child(16) {
    order: 15;
  }
  .client-logo:nth-child(19) {
    order: 16;
  }
  .client-logo:nth-child(20) {
    order: 17;
  }
  .client-logo:nth-child(24) {
    order: 18;
  }
  body[data-home-scene="2"] .client-logo:nth-child(1) {
    transition-delay: 170ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(2) {
    transition-delay: 214ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(3) {
    transition-delay: 258ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(11) {
    transition-delay: 302ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(23) {
    transition-delay: 346ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(6) {
    transition-delay: 390ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(25) {
    transition-delay: 434ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(8) {
    transition-delay: 478ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(9) {
    transition-delay: 522ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(10) {
    transition-delay: 566ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(15) {
    transition-delay: 610ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(21) {
    transition-delay: 654ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(12) {
    transition-delay: 698ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(13) {
    transition-delay: 742ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(16) {
    transition-delay: 786ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(19) {
    transition-delay: 830ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(20) {
    transition-delay: 874ms;
  }
  body[data-home-scene="2"] .client-logo:nth-child(24) {
    transition-delay: 918ms;
  }
  body[data-home-scene="2"] .toast,
  body[data-home-scene="2"] .theme-toggle,
  body[data-home-scene="2"] .topbar,
  body[data-home-scene="3"] .toast,
  body[data-home-scene="3"] .theme-toggle,
  body[data-home-scene="3"] .topbar {
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .contact-scene-content {
    padding: 0 28px;
    text-align: center;
  }
}
@media (max-width: 700px) and (max-height: 700px) {
  .client-logo:nth-child(19),
  .client-logo:nth-child(20),
  .client-logo:nth-child(24) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-scene-track {
    display: block;
    width: var(--scene-w);
    height: var(--scene-h);
    transform: none !important;
    transition: none;
  }
  .home-scene {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 420ms ease;
  }
  .home-scene--intro {
    opacity: 1;
  }
  body[data-home-scene="2"] .home-scene--intro {
    opacity: 0;
  }
  body[data-home-scene="2"] .home-scene--clients {
    opacity: 1;
  }
  body[data-home-scene="3"] .home-scene--intro,
  body[data-home-scene="3"] .home-scene--clients {
    opacity: 0;
  }
  body[data-home-scene="3"] .home-scene--contact {
    opacity: 1;
  }
  .scene-affordance,
  .scene-affordance__dot,
  .scene-affordance__line,
  .scene-origin-mark,
  .scene-origin-mark__line,
  .client-logo,
  .lockup,
  .client-logo-grid,
  .contact-scene-content {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    transform: none;
  }
  .scene-affordance__dot {
    transform: translate3d(-50%, -50%, 0);
    animation: none !important;
  }
  .scene-origin-mark__dot {
    transform: translate3d(50%, -50%, 0);
    animation: none !important;
  }
  .client-logo {
    transform: none !important;
  }
  .toast.show.attention {
    animation: none !important;
  }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .scene-origin-mark__dot {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (max-width: 600px) {
  .theme-toggle {
    top: 24px;
    left: 24px;
    bottom: auto;
    right: auto;
  }
  .topbar {
    position: absolute;
    top: 32px;
    right: 30px;
    font-size: 11px;
  }
  .topbar span:nth-child(-n + 12) {
    display: none;
  }
  .toast {
    width: calc(100% - 40px);
    max-width: none;
  }
  .contact-form.expanded {
    padding: 16px;
  }
}
/* ========== CUTSCENE OVERLAY ========== */
.cutscene-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background-color: #000;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
@media (prefers-reduced-motion: reduce) {
  .cutscene-overlay {
    display: none !important;
  }
}
/*# sourceMappingURL=styles.css.map */