/* Immersive studio — inspired by editorial scroll + cinematic dark UI */

body.theme-immersive {
  --font-display: "Outfit", system-ui, sans-serif;
  background: #050608;
}

.theme-immersive .grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.theme-immersive .mesh-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
}

.theme-immersive .ambient,
.theme-immersive .ambient .orb { display: none; }

.theme-immersive .shell {
  position: relative;
  z-index: 3;
}

.theme-immersive .scroll-progress {
  height: 2px;
  background: linear-gradient(90deg, var(--blue-deep), var(--cyan));
  z-index: 50;
}

/* Minimal header */
.theme-immersive .site-header {
  padding: 24px clamp(20px, 4vw, 48px);
}
.theme-immersive .header-bar {
  max-width: none;
  border: none;
  background: transparent;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
}
.theme-immersive .brand-text {
  font-size: 11px;
  letter-spacing: 0.45em;
  font-weight: 500;
}
.theme-immersive .nav a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  padding: 8px 12px;
}
.theme-immersive .nav a:hover,
.theme-immersive .nav a[aria-current="page"] {
  color: #fff;
  background: transparent;
}
.theme-immersive .nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  border-radius: 0;
  padding: 10px 18px;
}

/* Stage hero */
.stage-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(100px, 14vh, 140px) clamp(20px, 5vw, 64px) clamp(48px, 8vh, 80px);
  overflow: hidden;
}
.stage-hero__scroll {
  position: absolute;
  top: calc(var(--header-height) + 24px);
  left: clamp(20px, 5vw, 64px);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
}
.stage-hero__scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}
.stage-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 8.4vw, 7.25rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  max-width: 18ch;
  position: relative;
  z-index: 2;
}
.stage-hero__title .dim {
  color: rgba(255, 255, 255, 0.35);
}
.stage-hero__title .accent {
  display: block;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stage-hero__lede {
  margin: clamp(24px, 4vw, 40px) 0 0;
  max-width: 42ch;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.75;
  position: relative;
  z-index: 2;
}
.stage-hero__mark-wrap {
  position: absolute;
  right: clamp(-5%, 2vw, 8%);
  top: 50%;
  transform: translateY(-50%);
  width: min(50vw, 480px);
  z-index: 1;
  pointer-events: none;
}
.stage-hero__mark {
  width: 100%;
  opacity: 0.9;
  filter: drop-shadow(0 0 80px rgba(0, 229, 255, 0.25));
  will-change: transform;
}
.stage-hero__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(32px, 5vw, 56px);
  position: relative;
  z-index: 2;
}
.stage-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.stage-hero__chips span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

/* Chapters */
.chapter {
  position: relative;
  padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--border-subtle);
}
.chapter__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.chapter__grid > * { min-width: 0; }
.chapter__sticky {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}
.chapter__index {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  margin-bottom: 8px;
}
.chapter__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.chapter__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 20px;
  max-width: 22ch;
}
.chapter__body {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.8;
  margin: 0;
}

/* Service rail (Noomo-style horizontal) */
.service-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 32px 0 8px;
  margin-top: 40px;
  scrollbar-width: none;
}
.service-rail::-webkit-scrollbar { display: none; }
.service-card {
  flex: 0 0 min(78vw, 340px);
  scroll-snap-align: start;
  padding: 32px;
  min-height: 220px;
  border: 1px solid var(--border-subtle);
  background: rgba(8, 12, 18, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.service-card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateY(-4px);
}
.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.service-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.service-card__tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* Work showcase (Active Theory–style panels) */
.work-showcase {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 48px;
}
.work-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(36px, 6vw, 56px) clamp(28px, 4vw, 48px);
  background: rgba(10, 14, 22, 0.5);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: background 0.5s;
}
.work-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(0, 229, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}
.work-panel:hover {
  background: rgba(12, 18, 28, 0.85);
}
.work-panel:hover::before { opacity: 1; }
.work-panel__index {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 12px;
}
.work-panel h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.work-panel p {
  margin: 0;
  color: var(--text-muted);
  max-width: 48ch;
}
.work-panel__arrow {
  font-size: 1.5rem;
  color: var(--cyan);
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
}
.work-panel:hover .work-panel__arrow {
  opacity: 1;
  transform: translateX(6px);
}
.work-panel--media {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
}
.work-panel__cta {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  transition: transform 0.3s;
}
.work-panel:hover .work-panel__cta { transform: translateX(4px); }
.work-panel__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #05080d;
}
.work-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.9s var(--ease-out);
}
.work-panel:hover .work-panel__media img { transform: scale(1.04); }
.work-panel__media--aikyo {
  background: radial-gradient(ellipse 70% 80% at 50% 60%, rgba(160, 130, 230, 0.28), rgba(5, 8, 13, 0) 70%), #05080d;
}
.work-panel__media--aikyo img {
  object-fit: contain;
  padding: 8% 0 0;
  transform-origin: 50% 100%;
}
.work-panel:hover .work-panel__media--aikyo img { transform: scale(1.06) rotate(-2deg); }

.nowrap { white-space: nowrap; }

/* Case studies (work page) */
.case {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 110px) clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  border-top: 1px solid var(--border-subtle);
}
.case--flip .case__text { order: 2; }
.case h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 12px 0 18px;
}
.case__text > p:not(.eyebrow) { color: var(--text-muted); line-height: 1.75; margin: 0; max-width: 46ch; }
.case__facts { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 12px; }
.case__facts li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; font-size: 14px; line-height: 1.55; }
.case__facts b { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); font-weight: 500; padding-top: 3px; }
.case__facts span { color: var(--text-muted); }
.case .btn-primary { border-radius: 0; text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; padding: 16px 28px; }

.case__devices { position: relative; aspect-ratio: 16 / 11.5; }
.device { position: absolute; margin: 0; overflow: hidden; background: #000; }
.device img { display: block; width: 100%; height: auto; }
.device--laptop {
  left: 0;
  top: 0;
  width: 86%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.device--back {
  left: auto;
  right: 0;
  top: 16%;
  width: 70%;
  z-index: 1;
  opacity: 0.55;
  transform: perspective(1400px) rotateY(-8deg);
}
.device__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  background: #0c0f14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.device__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.device__bar span { margin-left: 10px; font-size: 10px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.4); }
.device--phone {
  right: 4%;
  bottom: 0;
  width: 22%;
  aspect-ratio: 9 / 19;
  border: 5px solid #151a22;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  z-index: 3;
}
.device--phone img { height: 100%; object-fit: cover; object-position: top; }

.case__stage {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.9;
  background: radial-gradient(ellipse 60% 70% at 45% 60%, rgba(160, 130, 230, 0.22), transparent 70%);
}
.case__stage img { position: absolute; bottom: 0; height: auto; transition: transform 0.9s var(--ease-out); }
.case__stage-main { left: 8%; width: 46%; z-index: 2; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)); }
.case__stage-side { right: 6%; width: 40%; bottom: 4%; opacity: 0.9; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)); }
.case__stage:hover .case__stage-main { transform: translateY(-8px) rotate(-2deg); }
.case__stage:hover .case__stage-side { transform: translateY(-4px) rotate(2deg); }

/* Principles + process lists */
.principles,
.process {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}
.principles { grid-template-columns: repeat(3, 1fr); }
.process { grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.principles li,
.process li {
  background: rgba(2, 10, 22, 0.55);
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.principles b,
.process b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.principles span,
.process span {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.process li::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cyan);
}

/* Studio: usual way vs Trygon */
.compare {
  margin-top: 40px;
  border: 1px solid var(--border-subtle);
  background: rgba(2, 10, 22, 0.55);
}
.compare__row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 0 28px;
  padding: 18px 24px;
  border-top: 1px solid var(--border-subtle);
  align-items: start;
}
.compare__row:first-child { border-top: 0; }
.compare__row--head {
  padding-block: 14px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.compare__row--head span:last-child { color: var(--cyan); }
.compare__row b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
}
.compare__old,
.compare__new { font-size: 0.95rem; line-height: 1.6; }
.compare__old { color: var(--text-subtle); }
.compare__new { color: #e6f6fb; position: relative; padding-left: 18px; }
.compare__new::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.7);
}
.compare i { display: none; }
.compare + .principles { margin-top: 16px; }

/* Capabilities */
.caps {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}
.cap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px 26px;
  background: rgba(2, 10, 22, 0.62);
  overflow: hidden;
}
.cap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 0% 0%, rgba(0, 229, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.cap:hover::before { opacity: 1; }
.cap header { display: flex; align-items: baseline; gap: 14px; }
.cap__no {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cap h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.cap__pitch { margin: 0; color: var(--text-muted); font-size: 0.98rem; line-height: 1.6; }
.cap__list { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cap__list li {
  font-size: 12px;
  padding: 6px 10px;
  color: #cfeaf2;
  border: 1px solid rgba(127, 244, 255, 0.14);
  background: rgba(0, 229, 255, 0.04);
}
.cap__seen {
  margin: auto 0 0;
  padding-top: 10px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.cap__seen a { color: var(--cyan); }
.cap__seen a:hover { text-decoration: underline; }

.cap-flow {
  margin-top: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 28px;
  align-items: center;
}
.cap-flow ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.cap-flow li {
  position: relative;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  padding: 8px 12px;
  border: 1px solid var(--border-accent);
  background: rgba(0, 229, 255, 0.05);
  white-space: nowrap;
}
.cap-flow li + li { margin-left: 22px; }
.cap-flow li + li::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.15), var(--cyan));
}
.cap-flow p { margin: 0; max-width: 46ch; color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* Process timeline */
.steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(0, 86, 210, 0.7) 75%, rgba(0, 86, 210, 0.15));
  opacity: 0.6;
}
.step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.step__icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-accent);
  background: radial-gradient(circle at 50% 35%, rgba(0, 229, 255, 0.16), transparent 70%), #04101f;
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.16);
  transition: box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
.step:hover .step__icon { border-color: var(--cyan); box-shadow: 0 0 36px rgba(0, 229, 255, 0.32); }
.step__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step__no { font-size: 10px; letter-spacing: 0.22em; color: var(--text-subtle); }
.step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.step p { margin: 0; color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; }
.step__out {
  margin-top: 8px;
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e6f6fb;
  border: 1px solid rgba(127, 244, 255, 0.18);
  background: rgba(0, 229, 255, 0.05);
}
.step__out::before { content: "→ "; color: var(--cyan); }

.own {
  margin-top: 20px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  border: 1px solid var(--border-accent);
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.08), rgba(0, 86, 210, 0.05) 55%, transparent);
}
.own__title { margin: 0; font-family: var(--font-display); font-size: 1rem; font-weight: 500; color: #fff; }
.own ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.own li { position: relative; padding-left: 20px; font-size: 0.9rem; color: var(--text-muted); }
.own li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); }

/* Enquiry form */
.enquiry-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.enquiry-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 12px 0 18px;
}
.enquiry-intro p:not(.eyebrow) { color: var(--text-muted); max-width: 40ch; margin: 0; line-height: 1.7; }
.enquiry-intro h1 { margin-top: 12px; }
.next-steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: step;
}
.next-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.next-steps li::before {
  content: "0" counter(step);
  grid-row: span 2;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  padding-top: 3px;
}
.next-steps b { color: #fff; font-weight: 500; }
.enquiry {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid rgba(127, 244, 255, 0.14);
  background: rgba(2, 12, 26, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.enquiry__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.enquiry .field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.enquiry .field > span,
.enquiry legend {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200, 240, 255, 0.65);
  padding: 0;
}
.enquiry legend { margin-bottom: 10px; }
.enquiry em { font-style: normal; color: var(--text-subtle); letter-spacing: 0.1em; margin-left: 6px; }
.enquiry input[type="text"],
.enquiry input[type="email"],
.enquiry input[type="tel"],
.enquiry textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding: 13px 14px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.enquiry textarea { resize: vertical; min-height: 104px; }
.enquiry input::placeholder,
.enquiry textarea::placeholder { color: rgba(255, 255, 255, 0.28); }
.enquiry input:focus,
.enquiry textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.04);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block;
  padding: 10px 14px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.chips label:hover span { border-color: rgba(127, 244, 255, 0.45); color: #fff; }
.chips input:checked + span {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.1);
  color: #fff;
}
.chips input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.enquiry__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.enquiry__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 4px; }
.enquiry .btn-primary {
  border-radius: 0;
  padding: 16px 32px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  border: 0;
  cursor: pointer;
}
.enquiry .btn-primary:disabled { opacity: 0.6; cursor: progress; }
.enquiry__status { margin: 0; font-size: 14px; line-height: 1.5; flex: 1 1 220px; }
.enquiry__status.is-ok { color: #9ff3e6; }
.enquiry__status.is-error { color: #ffb4a8; }
.enquiry__status a { color: inherit; text-decoration: underline; }

/* CTA chapter */
.chapter--cta {
  border: none;
  padding-bottom: clamp(100px, 14vh, 160px);
}
.cta-immersive {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-immersive h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}
.cta-immersive p {
  margin: 0 0 32px;
  color: var(--text-muted);
}
.cta-immersive .btn-primary {
  border-radius: 0;
  padding: 16px 36px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.theme-immersive .site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 6, 8, 0.9);
}
.theme-immersive .footer-inner { max-width: 1280px; }

/* Inner pages */
.page-immersive {
  padding: calc(var(--header-height) + 48px) clamp(20px, 5vw, 64px) 64px;
  max-width: 1280px;
  margin: 0 auto;
}
.page-immersive h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0 0 20px;
}
.page-immersive .lede {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 0 48px;
}

.reveal-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal-fade.is-in {
  opacity: 1;
  transform: none;
}

.theme-immersive .work-item {
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
  padding: clamp(24px, 4vw, 40px);
  transition: border-color 0.35s var(--ease-out), background 0.35s var(--ease-out);
}
.theme-immersive .work-item:hover {
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.04);
}
.theme-immersive .work-item h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  font-weight: 500;
}

@media (max-width: 768px) {
  .chapter { padding-top: 48px; padding-bottom: 48px; }
  .chapter__grid > * > :last-child { margin-bottom: 0; }
  .service-rail { margin-top: 24px; padding: 0 0 4px; }
  .chapter__grid { grid-template-columns: 1fr; gap: 12px; }
  .chapter__sticky { position: static; }
  .stage-hero {
    min-height: 0;
    justify-content: flex-start;
    padding-top: calc(var(--header-height) + 88px);
    padding-bottom: 56px;
  }
  .stage-hero__mark-wrap {
    right: -20%;
    top: 28%;
    width: 75vw;
    opacity: 0.5;
  }
  .work-panel,
  .work-panel--media { grid-template-columns: 1fr; }
  .work-panel--media .work-panel__media { order: -1; }
  .case { grid-template-columns: 1fr; }
  .case--flip .case__text { order: 0; }
  .case__devices { aspect-ratio: 16 / 13; }
  .device--phone { width: 28%; border-width: 4px; border-radius: 16px; }
  .principles,
  .process { grid-template-columns: 1fr; }
  .compare__row { grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 14px 16px; }
  .compare__row b { grid-column: 1 / -1; }
  .compare__new { padding-left: 0; }
  .compare__new::before { display: none; }
  .compare + .principles { grid-template-columns: repeat(3, 1fr); }
  .compare + .principles li { padding: 14px 12px 16px; gap: 6px; }
  .compare + .principles b { font-size: 0.9rem; }
  .compare + .principles span { font-size: 0.8rem; }
  .compare__row--head { display: none; }
  .compare__row:nth-child(2) { border-top: 0; }
  .compare i {
    display: block;
    font-style: normal;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2px;
    color: var(--text-subtle);
  }
  .compare__new i { color: var(--cyan); }
  .compare__new::before { top: 1.9em; }
  .caps { grid-template-columns: 1fr; margin-top: 24px; }
  .cap { padding: 24px 20px 20px; }
  .cap-flow { grid-template-columns: 1fr; }
  .cap-flow ol { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; }
  .cap-flow li { padding: 7px 8px; font-size: 9px; letter-spacing: 0.1em; }
  .cap-flow li + li { margin-left: 12px; }
  .cap-flow li + li::before { width: 12px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; margin-top: 28px; }
  .steps::before { display: none; }
  .step__icon { width: 48px; height: 48px; margin-bottom: 10px; }
  .step__icon svg { width: 22px; height: 22px; }
  .step h3 { font-size: 1.1rem; }
  .step p { font-size: 0.85rem; }
  .own { padding: 18px; }
  .enquiry-wrap,
  .enquiry__row { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .cap-flow { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-hero__scroll::after { animation: none; }
  .reveal-fade { opacity: 1; transform: none; }
}
