:root {
  color-scheme: dark;
  --bg: #03070b;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(0, 0, 0, 0.55);
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --cyan: #67e8f9;
  --cyan-strong: #22d3ee;
  --orange: #fdba74;
  --lime: #bef264;
  --violet: #d8b4fe;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.ambient,
.grid-layer,
.analog-facade {
  inset: 0;
  pointer-events: none;
  position: fixed;
}

.ambient {
  background:
    radial-gradient(circle at 80% 18%, rgba(0, 211, 255, 0.13), transparent 30%),
    radial-gradient(circle at 48% 84%, rgba(110, 45, 255, 0.12), transparent 34%);
}

.grid-layer {
  background-image:
    linear-gradient(to right, #7dd3fc 1px, transparent 1px),
    linear-gradient(to bottom, #7dd3fc 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.12;
}

.analog-facade {
  background:
    radial-gradient(ellipse at 12% 18%, rgba(132, 255, 214, 0.2), transparent 24%),
    radial-gradient(ellipse at 26% 30%, rgba(253, 186, 116, 0.18), transparent 34%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(112deg, rgba(132, 255, 214, 0.08) 0 1px, transparent 1px 42px),
    linear-gradient(150deg, rgba(18, 27, 24, 0.92), rgba(13, 17, 19, 0.78) 48%, rgba(3, 7, 11, 0) 76%);
  clip-path: ellipse(92% 74% at 0% 0%);
  mask-image:
    radial-gradient(120% 95% at 0% 0%, #000 0 54%, rgba(0, 0, 0, 0.82) 63%, rgba(0, 0, 0, 0.22) 76%, transparent 88%);
  opacity: 0.86;
  z-index: 0;
}

.analog-facade::before {
  background:
    radial-gradient(ellipse at 7% 15%, transparent 0 18%, rgba(132, 255, 214, 0.22) 18.5% 19.2%, transparent 19.8% 100%),
    radial-gradient(ellipse at 7% 15%, transparent 0 31%, rgba(253, 186, 116, 0.14) 31.5% 32.1%, transparent 32.8% 100%),
    radial-gradient(ellipse at 7% 15%, transparent 0 45%, rgba(255, 255, 255, 0.08) 45.3% 45.8%, transparent 46.4% 100%);
  content: "";
  inset: 0;
  mask-image: radial-gradient(100% 90% at 0% 0%, #000 0 48%, transparent 76%);
  position: absolute;
}

.site-header {
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

section[id] {
  scroll-margin-top: 96px;
}

.header-inner,
.section {
  margin: 0 auto;
  max-width: 1280px;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 1;
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 80px;
}

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

.brand-mark {
  align-items: center;
  background: rgba(103, 232, 249, 0.1);
  border: 1px solid rgba(103, 232, 249, 0.3);
  border-radius: 16px;
  box-shadow: 0 0 28px rgba(0, 220, 255, 0.22);
  color: var(--cyan);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.brand-name,
.brand-subtitle {
  display: block;
  text-transform: uppercase;
}

.brand-name {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.brand-subtitle {
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
}

.desktop-nav {
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  font-size: 0.92rem;
  gap: 30px;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--cyan);
}

.button {
  align-items: center;
  border-radius: 16px;
  border: 1px solid transparent;
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button.primary {
  background: var(--cyan-strong);
  color: #021014;
}

.button.primary:hover {
  background: #67e8f9;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button.large {
  min-height: 52px;
  padding: 0 22px;
}

.menu-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: white;
  display: none;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.mobile-nav {
  background: rgba(0, 0, 0, 0.82);
  padding: 0 20px 20px;
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  padding: 12px 0;
}

.back-to-top {
  align-items: center;
  background: rgba(34, 211, 238, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.36), 0 0 24px rgba(34, 211, 238, 0.22);
  color: #021014;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 18px;
  transform: translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease;
  width: 48px;
  z-index: 30;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  padding-bottom: 72px;
  padding-top: 92px;
}

.reveal {
  animation: rise-in 720ms ease both;
}

.hero-visual {
  animation-delay: 120ms;
  position: relative;
}

.hero-visual::before {
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.2), rgba(255, 255, 255, 0.05), rgba(251, 146, 60, 0.2));
  border-radius: 32px;
  content: "";
  filter: blur(24px);
  inset: -16px;
  position: absolute;
}

.signal {
  align-items: center;
  background: rgba(103, 232, 249, 0.1);
  border: 1px solid rgba(103, 232, 249, 0.3);
  border-radius: 999px;
  color: #cffafe;
  display: inline-flex;
  font-size: 0.94rem;
  gap: 10px;
  margin: 0 0 28px;
  padding: 9px 16px;
}

.signal span {
  background: var(--cyan);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(0, 220, 255, 1);
  height: 8px;
  width: 8px;
}

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

h1 {
  font-size: clamp(3.4rem, 8vw, 6.9rem);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 28px;
}

h1 span {
  background: linear-gradient(90deg, var(--cyan), white, var(--orange));
  background-clip: text;
  color: transparent;
  display: block;
}

.hero-text {
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.72;
  max-width: 690px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.logo-card,
.service-card,
.feature-card,
.contact-panel {
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}

.logo-card {
  background: var(--panel-strong);
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  padding: 24px;
  position: relative;
}

.system-animation {
  aspect-ratio: 2 / 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(103, 232, 249, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(103, 232, 249, 0.08), rgba(190, 242, 100, 0.04), rgba(253, 186, 116, 0.07));
  border: 1px solid rgba(103, 232, 249, 0.16);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.system-showcase {
  margin: 42px auto 0;
  max-width: 820px;
}

.system-showcase p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 16px 0 0;
  text-align: center;
}

.system-animation::before {
  background-image:
    linear-gradient(to right, rgba(125, 211, 252, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(125, 211, 252, 0.1) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  opacity: 0.45;
  position: absolute;
}

.system-wires {
  inset: 0;
  position: absolute;
  z-index: 2;
}

.system-wires path {
  animation: wire-draw 8s ease-in-out infinite;
  fill: none;
  stroke: rgba(103, 232, 249, 0.58);
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  stroke-linecap: round;
  stroke-width: 2;
}

.system-hub,
.device-node {
  align-items: center;
  border: 1px solid rgba(103, 232, 249, 0.28);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.16);
  color: var(--cyan);
  display: inline-flex;
  justify-content: center;
  position: absolute;
  z-index: 3;
}

.system-hub {
  animation: hub-pulse 8s ease-in-out infinite;
  background: rgba(4, 12, 15, 0.88);
  border-color: rgba(190, 242, 100, 0.34);
  border-radius: 18px;
  color: var(--lime);
  height: 64px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
}

.device-node {
  animation: chaos-order 8s cubic-bezier(0.2, 0.78, 0.2, 1) infinite;
  background: rgba(2, 8, 12, 0.78);
  border-radius: 15px;
  height: 46px;
  left: 50%;
  top: 50%;
  transform: translate(var(--chaos-x), var(--chaos-y)) rotate(var(--chaos-r)) scale(0.92);
  width: 46px;
}

.device-node svg,
.system-hub svg {
  height: 25px;
  width: 25px;
}

.node-bulb {
  --chaos-a-x: -238px;
  --chaos-a-y: -108px;
  --chaos-a-r: -64deg;
  --chaos-b-x: 48px;
  --chaos-b-y: 96px;
  --chaos-b-r: 38deg;
  --chaos-c-x: -160px;
  --chaos-c-y: 18px;
  --chaos-c-r: -18deg;
  --final-x: -215px;
  --final-y: -82px;
  --final-r: 0deg;
  color: var(--orange);
}

.node-camera {
  --chaos-a-x: 212px;
  --chaos-a-y: -116px;
  --chaos-a-r: 72deg;
  --chaos-b-x: -96px;
  --chaos-b-y: -72px;
  --chaos-b-r: -44deg;
  --chaos-c-x: 222px;
  --chaos-c-y: 30px;
  --chaos-c-r: 28deg;
  --final-x: -170px;
  --final-y: 66px;
  --final-r: 0deg;
}

.node-doorbell {
  --chaos-a-x: -24px;
  --chaos-a-y: 104px;
  --chaos-a-r: 58deg;
  --chaos-b-x: 214px;
  --chaos-b-y: -34px;
  --chaos-b-r: -54deg;
  --chaos-c-x: -226px;
  --chaos-c-y: -22px;
  --chaos-c-r: 24deg;
  --final-x: -222px;
  --final-y: 42px;
  --final-r: 0deg;
  color: var(--lime);
}

.node-speaker {
  --chaos-a-x: 126px;
  --chaos-a-y: 98px;
  --chaos-a-r: -66deg;
  --chaos-b-x: -218px;
  --chaos-b-y: 78px;
  --chaos-b-r: 26deg;
  --chaos-c-x: 88px;
  --chaos-c-y: -110px;
  --chaos-c-r: -22deg;
  --final-x: 175px;
  --final-y: 62px;
  --final-r: 0deg;
}

.node-tv {
  --chaos-a-x: -176px;
  --chaos-a-y: 116px;
  --chaos-a-r: 52deg;
  --chaos-b-x: 176px;
  --chaos-b-y: 96px;
  --chaos-b-r: -36deg;
  --chaos-c-x: -22px;
  --chaos-c-y: -118px;
  --chaos-c-r: 14deg;
  --final-x: 215px;
  --final-y: -80px;
  --final-r: 0deg;
  color: var(--orange);
}

.node-phone {
  --chaos-a-x: 236px;
  --chaos-a-y: 22px;
  --chaos-a-r: -78deg;
  --chaos-b-x: -42px;
  --chaos-b-y: -116px;
  --chaos-b-r: 34deg;
  --chaos-c-x: 152px;
  --chaos-c-y: 114px;
  --chaos-c-r: -18deg;
  --final-x: 132px;
  --final-y: -34px;
  --final-r: 0deg;
}

.node-tablet {
  --chaos-a-x: -86px;
  --chaos-a-y: -120px;
  --chaos-a-r: 62deg;
  --chaos-b-x: 232px;
  --chaos-b-y: -96px;
  --chaos-b-r: -24deg;
  --chaos-c-x: -118px;
  --chaos-c-y: 112px;
  --chaos-c-r: 38deg;
  --final-x: 132px;
  --final-y: 34px;
  --final-r: 0deg;
}

.node-laptop {
  --chaos-a-x: 28px;
  --chaos-a-y: -122px;
  --chaos-a-r: -54deg;
  --chaos-b-x: -236px;
  --chaos-b-y: -54px;
  --chaos-b-r: 46deg;
  --chaos-c-x: 56px;
  --chaos-c-y: 106px;
  --chaos-c-r: -30deg;
  --final-x: -24px;
  --final-y: -94px;
  --final-r: 0deg;
}

.node-plug {
  --chaos-a-x: -238px;
  --chaos-a-y: 8px;
  --chaos-a-r: 82deg;
  --chaos-b-x: 96px;
  --chaos-b-y: -86px;
  --chaos-b-r: -48deg;
  --chaos-c-x: -212px;
  --chaos-c-y: 104px;
  --chaos-c-r: 28deg;
  --final-x: -24px;
  --final-y: 76px;
  --final-r: 0deg;
  color: var(--lime);
}

.radio-wave {
  animation: radio-pulse 8s ease-out infinite;
  border: 1px solid rgba(103, 232, 249, 0.42);
  border-radius: 999px;
  height: 80px;
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  width: 80px;
  z-index: 1;
}

.wave-two {
  animation-delay: 0.5s;
  border-color: rgba(190, 242, 100, 0.34);
}

.device-wave {
  animation-duration: 8s;
  height: 54px;
  width: 54px;
}

.wave-camera {
  left: calc(50% - 170px);
  top: calc(50% + 66px);
}

.wave-tv {
  border-color: rgba(253, 186, 116, 0.36);
  left: calc(50% + 215px);
  top: calc(50% - 80px);
}

.wave-phone {
  animation-delay: 0.75s;
  left: calc(50% + 132px);
  top: calc(50% - 34px);
}

.logo-frame {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px;
}

.logo-frame img {
  border-radius: 18px;
  width: 100%;
}

.about,
.experience,
.services,
.labs,
.contact {
  padding-bottom: 80px;
  padding-top: 80px;
}

.about-band {
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.about {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
}

.about h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1;
  margin-bottom: 0;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.74;
  margin-bottom: 0;
}

.experience-band {
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.055), rgba(255, 255, 255, 0.025), rgba(253, 186, 116, 0.045));
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.experience {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.experience-copy h2 {
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  line-height: 1.04;
  margin-bottom: 20px;
}

.experience-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.experience-grid {
  display: grid;
  gap: 16px;
}

.experience-grid article {
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.experience-grid [data-icon] {
  color: var(--cyan);
  display: inline-flex;
  margin-bottom: 14px;
}

.experience-grid h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}

.experience-grid p {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.62;
  margin-bottom: 0;
}

.philosophy {
  padding-bottom: 0;
  padding-top: 54px;
}

.philosophy p {
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.28rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  padding: 28px;
}

.section-heading {
  max-width: 760px;
}

.eyebrow {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.cyan-text {
  color: var(--cyan);
}

.orange-text {
  color: var(--orange);
}

.section-heading h2,
.spaces h2,
.contact-panel h2 {
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1.02;
  margin-bottom: 20px;
}

.section-heading p,
.spaces p,
.feature-card p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.service-card {
  background: var(--panel);
  border-radius: 18px;
  min-height: 244px;
  padding: 26px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.service-card:hover {
  border-color: rgba(103, 232, 249, 0.4);
  transform: translateY(-2px);
}

.service-card [data-icon],
.feature-card [data-icon] {
  color: var(--cyan);
  display: inline-flex;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.24rem;
  margin-bottom: 12px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.62;
  margin-bottom: 0;
}

.question-carousel {
  margin-top: 72px;
}

.questions-section {
  padding-bottom: 112px;
}

.questions-section .question-carousel {
  margin-top: 0;
}

.carousel-heading {
  margin-bottom: 28px;
  max-width: 760px;
}

.carousel-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.04;
  margin-bottom: 0;
}

.carousel-window {
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(103, 232, 249, 0.16);
  border-radius: 24px;
  min-height: 330px;
  overflow: hidden;
  position: relative;
}

.question-slide {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  inset: 0;
  opacity: 0;
  padding: 28px;
  pointer-events: none;
  position: absolute;
  transform: translateX(18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.question-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  transform: translateX(0);
}

.question-copy {
  align-self: start;
}

.question-kicker {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.question-copy h3 {
  font-size: clamp(1.8rem, 3.5vw, 3.3rem);
  line-height: 1.04;
  margin-bottom: 18px;
}

.question-copy p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.68;
  margin-bottom: 0;
}

.cartoon-panel {
  align-self: start;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 78% 22%, rgba(34, 211, 238, 0.13), transparent 28%),
    radial-gradient(circle at 20% 78%, rgba(253, 186, 116, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  justify-self: end;
  max-width: 300px;
  width: 100%;
}

.cartoon-panel img {
  height: 100%;
  inset: 0;
  object-fit: contain;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.cartoon-panel::before {
  background-image:
    linear-gradient(to right, rgba(125, 211, 252, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(125, 211, 252, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  inset: 0;
  opacity: 0.8;
  position: absolute;
}

.person {
  background: linear-gradient(180deg, rgba(103, 232, 249, 0.18), rgba(103, 232, 249, 0.04));
  border: 1px solid rgba(103, 232, 249, 0.35);
  border-radius: 999px 999px 26px 26px;
  bottom: 34px;
  height: 118px;
  left: 42px;
  position: absolute;
  width: 92px;
  z-index: 2;
}

.person::before {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  content: "";
  height: 58px;
  left: 16px;
  position: absolute;
  top: -44px;
  width: 58px;
}

.person::after {
  color: #071016;
  content: "?";
  font-size: 1.6rem;
  font-weight: 800;
  left: 35px;
  position: absolute;
  top: -34px;
}

.person.relaxed::after,
.person.relieved::after {
  content: "";
}

.person.thinking::after {
  content: "...";
  font-size: 1rem;
  left: 29px;
  top: -29px;
}

.person span {
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  height: 18px;
  left: 22px;
  position: absolute;
  top: 34px;
  width: 48px;
}

.thought,
.human-note {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  position: absolute;
  z-index: 3;
}

.thought-left {
  height: 52px;
  left: 112px;
  top: 52px;
  width: 52px;
}

.mini-router,
.organized-hub,
.choice,
.ai-window,
.speed-gauge,
.security-shield,
.backup-drive,
.backup-cloud {
  align-items: center;
  background: rgba(2, 8, 12, 0.78);
  border: 1px solid rgba(103, 232, 249, 0.3);
  border-radius: 18px;
  color: var(--cyan);
  display: inline-flex;
  justify-content: center;
  position: absolute;
  z-index: 2;
}

.mini-router {
  height: 82px;
  right: 80px;
  top: 100px;
  width: 112px;
}

.mini-router svg,
.organized-hub svg,
.choice svg,
.ai-window svg,
.security-shield svg,
.backup-drive svg,
.backup-cloud svg {
  height: 42px;
  width: 42px;
}

.broken-signal {
  height: 100px;
  position: absolute;
  right: 28px;
  top: 32px;
  width: 160px;
  z-index: 1;
}

.broken-signal i {
  border: 2px solid rgba(253, 186, 116, 0.7);
  border-bottom: 0;
  border-left-color: transparent;
  border-radius: 999px 999px 0 0;
  display: block;
  height: 34px;
  margin: 8px auto;
  width: 54px;
}

.device-stack {
  display: flex;
  gap: 12px;
  position: absolute;
  right: 54px;
  top: 222px;
  z-index: 2;
}

.device-stack span,
.app-cloud b {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--cyan);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.security-shield {
  color: var(--lime);
  height: 132px;
  right: 84px;
  top: 58px;
  width: 132px;
}

.security-shield svg {
  height: 64px;
  width: 64px;
}

.backup-drive {
  bottom: 70px;
  color: var(--cyan);
  height: 86px;
  right: 210px;
  width: 112px;
}

.backup-cloud {
  color: var(--orange);
  height: 96px;
  right: 58px;
  top: 76px;
  width: 126px;
}

.backup-arrow {
  color: var(--lime);
  position: absolute;
  right: 166px;
  top: 174px;
  z-index: 3;
}

.backup-arrow svg {
  height: 44px;
  width: 44px;
}

.app-cloud {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 48px);
  position: absolute;
  right: 64px;
  top: 58px;
  z-index: 2;
}

.organized-hub {
  bottom: 56px;
  color: var(--lime);
  height: 84px;
  right: 78px;
  width: 118px;
}

.choice {
  height: 96px;
  top: 86px;
  width: 108px;
}

.choice.local {
  right: 190px;
}

.choice.cloud {
  color: var(--orange);
  right: 54px;
}

.choice-line {
  border-top: 2px dashed rgba(255, 255, 255, 0.3);
  height: 2px;
  position: absolute;
  right: 158px;
  top: 134px;
  width: 44px;
  z-index: 1;
}

.ai-window {
  color: var(--lime);
  height: 116px;
  right: 72px;
  top: 78px;
  width: 150px;
}

.human-note {
  bottom: 70px;
  color: var(--orange);
  height: 48px;
  letter-spacing: 0.12em;
  right: 100px;
  text-transform: uppercase;
  width: 128px;
}

.carousel-controls {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 20px;
}

.carousel-controls button {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
  width: 44px;
}

.carousel-controls button:hover,
.carousel-controls button.is-active {
  background: rgba(103, 232, 249, 0.16);
  border-color: rgba(103, 232, 249, 0.45);
}

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

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dots button {
  height: 10px;
  padding: 0;
  width: 10px;
}

.spaces-band {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.spaces {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 80px;
  padding-top: 80px;
}

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

.check-list p {
  align-items: center;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  font-size: 1rem;
  gap: 12px;
  margin: 0;
  min-height: 58px;
  padding: 16px;
}

.check-list [data-icon] {
  color: var(--orange);
  flex: 0 0 auto;
}

.labs {
  display: grid;
  gap: 24px;
  grid-template-columns: 2fr 1fr;
}

.feature-card {
  border-radius: 24px;
  padding: 32px;
}

.feature-card h2 {
  font-size: clamp(2.25rem, 4vw, 3.1rem);
  margin-bottom: 20px;
}

.labs-card {
  background: linear-gradient(135deg, rgba(190, 242, 100, 0.1), rgba(103, 232, 249, 0.05));
  border-color: rgba(190, 242, 100, 0.2);
}

.labs-card [data-icon] {
  color: var(--lime);
}

.media-card {
  background: linear-gradient(135deg, rgba(216, 180, 254, 0.1), rgba(103, 232, 249, 0.05));
  border-color: rgba(216, 180, 254, 0.2);
}

.media-card [data-icon] {
  color: var(--violet);
}

.media-disabled [data-feature="media"] {
  display: none;
}

.media-disabled .labs {
  grid-template-columns: 1fr;
}

.contact-panel {
  align-items: center;
  background: var(--panel-strong);
  border-color: rgba(103, 232, 249, 0.2);
  border-radius: 24px;
  box-shadow: 0 0 60px rgba(0, 220, 255, 0.08);
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr minmax(300px, 0.8fr);
  padding: 44px;
}

.contact-links {
  display: grid;
  gap: 16px;
}

.contact-links a {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  gap: 16px;
  min-height: 62px;
  overflow-wrap: anywhere;
  padding: 16px;
  transition: background 160ms ease;
}

.contact-links a:hover {
  background: rgba(255, 255, 255, 0.075);
}

.contact-links [data-icon] {
  color: var(--cyan);
  flex: 0 0 auto;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form em {
  color: rgba(255, 255, 255, 0.48);
  font-style: normal;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: white;
  font: inherit;
  line-height: 1.5;
  min-width: 0;
  outline: none;
  padding: 14px 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(103, 232, 249, 0.72);
  box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.1);
}

.contact-form button {
  justify-self: start;
}

footer {
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  padding: 32px 20px;
  position: relative;
  text-align: center;
  z-index: 1;
}

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

[data-icon] svg,
[data-menu-icon] svg {
  display: block;
  height: 24px;
  width: 24px;
}

.service-card [data-icon] svg,
.feature-card [data-icon] svg {
  height: 38px;
  width: 38px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chaos-order {
  0% {
    opacity: 0.82;
    transform: translate(var(--chaos-a-x), var(--chaos-a-y)) rotate(var(--chaos-a-r)) scale(0.9);
  }
  14% {
    opacity: 0.9;
    transform: translate(var(--chaos-b-x), var(--chaos-b-y)) rotate(var(--chaos-b-r)) scale(1.04);
  }
  28% {
    opacity: 0.86;
    transform: translate(var(--chaos-c-x), var(--chaos-c-y)) rotate(var(--chaos-c-r)) scale(0.94);
  }
  48%,
  82% {
    opacity: 1;
    transform: translate(var(--final-x), var(--final-y)) rotate(var(--final-r)) scale(1);
  }
  100% {
    opacity: 0.82;
    transform: translate(var(--chaos-a-x), var(--chaos-a-y)) rotate(var(--chaos-a-r)) scale(0.9);
  }
}

@keyframes wire-draw {
  0%,
  50% {
    opacity: 0;
    stroke-dashoffset: 420;
  }
  62%,
  86% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: 420;
  }
}

@keyframes radio-pulse {
  0%,
  58% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
  70% {
    opacity: 0.55;
  }
  90% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.7);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
}

@keyframes hub-pulse {
  0%,
  50% {
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.12);
  }
  64%,
  86% {
    box-shadow: 0 0 34px rgba(190, 242, 100, 0.24), 0 0 60px rgba(34, 211, 238, 0.14);
  }
  100% {
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.12);
  }
}

@media (max-width: 980px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero,
  .about,
  .experience,
  .spaces,
  .labs,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

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

  .question-slide {
    grid-template-columns: 1fr;
  }

  .cartoon-panel {
    justify-self: center;
    max-width: 340px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 72px;
  }

  .brand-mark {
    border-radius: 14px;
    height: 42px;
    width: 42px;
  }

  .brand-name {
    font-size: 1.28rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
  }

  .hero,
  .about,
  .experience,
  .services,
  .spaces,
  .labs,
  .contact {
    padding-bottom: 64px;
    padding-top: 64px;
  }

  h1 {
    font-size: 3.4rem;
  }

  .hero-actions,
  .button.large {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .question-carousel {
    margin-top: 52px;
  }

  .carousel-window {
    min-height: 590px;
  }

  .question-slide {
    padding: 20px;
  }

  .person {
    left: 24px;
    transform: scale(0.86);
    transform-origin: bottom left;
  }

  .mini-router,
  .security-shield,
  .backup-drive,
  .backup-cloud,
  .backup-arrow,
  .app-cloud,
  .organized-hub,
  .choice,
  .ai-window,
  .human-note {
    transform: scale(0.82);
    transform-origin: center;
  }

  .choice.local {
    right: 136px;
  }

  .choice.cloud {
    right: 22px;
  }

  .device-stack {
    right: 24px;
  }

  .logo-card,
  .contact-panel,
  .feature-card {
    border-radius: 18px;
    padding: 22px;
  }

  .signal {
    align-items: flex-start;
    border-radius: 16px;
  }

  .signal span {
    margin-top: 6px;
  }
}
